/* Institutional presentation. Business actions and printed documents retain their behavior. */
@media screen {
    :root { --ui-surface: #fff; --ui-soft: #f4f6f8; --ui-text: #283b4b; --ui-muted: #566575; --ui-border: #d8e0e6; --ui-accent: #365c70; }
    html[data-adison-theme="dark"] { --ui-surface: var(--ad-surface); --ui-soft: var(--ad-bg); --ui-text: var(--ad-text); --ui-muted: var(--ad-muted); --ui-border: var(--ad-border); --ui-accent: #b8d3ed; }
    #primary-menu-trigger { border: 0; background: transparent; color: inherit; padding: 0; }
    #primary-menu-trigger:focus-visible, .adison-drawer :focus-visible, .adison-footer a:focus-visible, .adison-case :focus-visible { outline: 3px solid #6b9bb9; outline-offset: 3px; }
    body.adison-navigation-open { overflow: hidden; }
    .adison-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; padding: 24px; width: min(360px, 90vw); max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; border-right: 1px solid var(--ui-border); background: var(--ui-surface); color: var(--ui-text); box-shadow: 12px 0 48px #0003; overflow-y: auto; overscroll-behavior: contain; }
    .adison-drawer::backdrop { background: rgb(12 23 34 / 60%); }
    .adison-drawer[open] { animation: adison-drawer-in 260ms cubic-bezier(.2, .8, .2, 1) both; }
    .adison-drawer[open]::backdrop { animation: adison-backdrop-in 260ms ease both; }
    .adison-drawer.adison-drawer-closing { animation: adison-drawer-out 220ms ease-in both; }
    .adison-drawer.adison-drawer-closing::backdrop { animation: adison-backdrop-out 220ms ease-in both; }
    @keyframes adison-drawer-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
    @keyframes adison-drawer-out { from { transform: translateX(0); } to { transform: translateX(-100%); } }
    @keyframes adison-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
    @keyframes adison-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
    .adison-drawer-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 16px; border-bottom: 1px solid var(--ui-border); }
    .adison-drawer-heading span { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--ui-muted); }
    .adison-drawer-heading h2 { font-size: 23px; margin: 5px 0 0; color: var(--ui-text); }
    .adison-drawer-close { border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-soft); color: var(--ui-text); font-size: 26px; width: 44px; height: 44px; cursor: pointer; }
    .adison-drawer ul { list-style: none; margin: 0; }
    .adison-drawer li { border-bottom: 1px solid var(--ui-border); }
    .adison-drawer a, .adison-drawer-group { display: block; width: 100%; padding: 14px 10px; color: var(--ui-text); background: transparent; font: inherit; font-weight: 700; line-height: 1.5; text-align: left; border: 0; border-radius: 4px; }
    .adison-drawer [hidden], #primary-menu [hidden] { display: none !important; }
    .adison-drawer-group { cursor: pointer; padding-right: 32px; position: relative; }
    .adison-drawer-group::after { content: '+'; position: absolute; right: 12px; }
    .adison-drawer-group[aria-expanded="true"]::after { content: '−'; }
    .adison-drawer li > ul { display: none !important; padding: 0 0 12px 12px; }
    .adison-drawer .adison-group-open > ul { display: block !important; }
    .adison-drawer li li { border: 0; }
    .adison-drawer li li a { font-weight: 400; font-size: 14px; }
    .adison-drawer a:hover, .adison-drawer-group:hover { background: var(--ui-soft); color: var(--ui-accent); }
    .adison-drawer .icon-angle-down { display: none; }

    #footer.adison-footer { margin-top: 0; background: #233440; border-top: 3px solid #8c9b91; color: #d4dde3; }
    .adison-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding: 44px 0 32px; }
    #footer.adison-footer h2 { color: #fff; font-size: 23px; line-height: 1.45; font-weight: 500; margin: 12px 0; }
    #footer.adison-footer h3 { color: #fff; font-size: 14px; letter-spacing: .03em; margin: 4px 0 12px; }
    .adison-footer-eyebrow { color: #c1d0d7; text-transform: uppercase; font-size: 11px; letter-spacing: .13em; font-weight: 700; }
    .adison-footer p { font-size: 13px; line-height: 1.8; margin: 10px 0; max-width: 350px; }
    #footer.adison-footer a { color: #e0e9ee; display: block; padding: 7px 0; font-size: 14px; overflow-wrap: anywhere; }
    #footer.adison-footer a:hover { color: #fff; text-decoration: underline !important; }
    .adison-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff30; padding: 16px 0; font-size: 12px; }
    html[data-adison-theme="dark"] #footer.adison-footer { background: #111923; }

    #content.adison-case { background: var(--ui-soft); }
    .adison-case .content-wrap { padding: 32px 0 48px; }
    .adison-case .section.header-stick { margin-top: 0 !important; padding: 0; background: transparent; overflow: visible; }
    .adison-case-list .form-widget, .adison-case-detail > .content-wrap > .section > .container { padding: 24px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
    .adison-case label { font-size: 12px; letter-spacing: .02em; color: var(--ui-muted); }
    .adison-case .form-group { margin-bottom: 16px; }
    .adison-case .form-control { min-height: 44px; }
    .adison-case .select2-container { max-width: 100%; }
    .adison-case .select2-selection--single { min-height: 44px; }
    .adison-case .select2-selection__rendered { line-height: 42px !important; }
    .adison-case .select2-selection__arrow { height: 42px !important; }
    .adison-case-results { margin-top: 24px; }
    .adison-case .table-responsive { border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); width: 100%; -webkit-overflow-scrolling: touch; }
    .adison-case .table { margin-bottom: 0; }
    .adison-case .table th { font-size: 12px; letter-spacing: .02em; background: var(--ui-soft); color: var(--ui-muted); }
    .adison-case .table :is(th, td) { padding: 14px 16px; vertical-align: middle; }
    .adison-case .table td { font-size: 14px; }
    .adison-case .table .button { white-space: nowrap; }
    .adison-case-summary p { overflow-wrap: anywhere; margin-bottom: 18px; }
    .adison-case-summary label { margin-bottom: 4px; }
    .adison-case-detail .fancy-title h3 { font-size: 23px; }
    .adison-case-detail .fancy-title .adison-case-heading { font-size: 23px; line-height: 1.4; overflow-wrap: anywhere; }
    .adison-case-detail .fancy-title .text-green { color: var(--ui-accent) !important; }
    .adison-case :is(#btnBusqueda, .button-amber, .button-green) { background: #365c70; color: #fff; text-shadow: none; }
    .adison-case :is(#btnBusqueda, .button-amber, .button-green):hover { background: #284756; color: #fff; }
    .adison-case-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
    .adison-case-actions .button { margin: 0; height: auto; min-height: 44px; white-space: normal; line-height: 1.5; padding: 12px 16px; }
    .adison-case #myTab { flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding-bottom: 2px; }
    .adison-case #myTab .nav-item { flex: 0 0 auto; }
    .adison-case #myTab .nav-link { padding: 13px 16px; white-space: nowrap; }
    .adison-case #myTab .nav-link.active { border-top: 3px solid var(--ui-accent); font-weight: 700; }
    .adison-case #myTabContent { padding: 24px 0 0; }
    .adison-case #myTabContent > .tab-pane > .row { margin-left: 0; margin-right: 0; }
    .adison-case .table-container-number { background: var(--ui-surface); border-color: var(--ui-border); }
    .adison-case .table-container-number span { color: var(--ui-text); }
    .loaderwait { background: rgb(12 23 34 / 65%); }
    .loaderwait .spiner_contend { width: min(420px, calc(100% - 32px)); margin-left: 0; top: 50%; transform: translate(-50%, -50%); padding: 28px; border: 1px solid var(--ui-border); border-radius: 10px; background: var(--ui-surface); color: var(--ui-text); box-shadow: 0 16px 64px #0004; transition: none; }
    .loaderwait #spinnerText { color: var(--ui-text); font-size: 16px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
    .loaderwait #spinnerPercent { color: var(--ui-accent); margin: 8px 0 0; font-size: 24px; }
    .loaderwait .loader { width: 36px; height: 36px; border: 3px solid var(--ui-border); border-top-color: var(--ui-accent); box-shadow: none; animation: adison-loading 1s linear infinite; }
    @keyframes adison-loading { to { transform: rotate(360deg); } }
}
@media screen and (min-width: 1200px) {
    #primary-menu-trigger { display: none; }
}
@media screen and (max-width: 1199px) {
    .adison-navigation-ready #header, .adison-navigation-ready #header-wrap { height: 80px !important; }
    .adison-navigation-ready #header #header-wrap > .container { display: flex; align-items: center; height: 80px; width: 100%; max-width: none; padding: 0 20px; }
    .adison-navigation-ready #primary-menu-trigger { display: block; position: static; opacity: 1; pointer-events: auto; width: 44px; height: 44px; line-height: 44px; flex-shrink: 0; margin-right: 10px; }
    .adison-navigation-ready #header #logo { float: none; margin: 0 auto 0 0 !important; padding: 0; border: 0; height: 64px !important; }
    .adison-navigation-ready #header #logo img { max-width: 100%; height: 64px !important; }
    .adison-navigation-ready #header #primary-menu { float: none; display: flex; align-items: center; flex-shrink: 0; height: 80px; border: 0; }
    .adison-navigation-ready #header :is(#top-cart, #top-notificacion) { position: relative; float: none; top: auto; right: auto; margin: 0 0 0 14px !important; }
    .adison-navigation-ready #top-cart .top-cart-content { top: 50px; right: 0; max-width: calc(100vw - 32px); }
    .adison-footer-grid { gap: 24px; }
}
@media screen and (max-width: 767px) {
    .adison-navigation-ready #header #header-wrap > .container { padding: 0 12px; }
    .adison-navigation-ready #header #logo { min-width: 0; }
    .adison-navigation-ready #header #logo img { height: auto !important; max-height: 64px; width: auto; object-fit: contain; }
    .adison-footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
    .adison-footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
    .adison-case .content-wrap { padding: 20px 0 32px; }
    .adison-case-list .form-widget { padding: 16px; }
    .adison-case-detail > .content-wrap > .section > .container { width: calc(100% - 24px); padding: 16px; }
    .adison-case .button { min-height: 44px; }
    .adison-case-actions { flex-direction: column; }
    .adison-case-list #btnBusqueda { width: 100%; margin: 0; }
    .adison-case .table { min-width: 600px; }
    /* Preserve column relationships instead of the template's global stacked-table rules. */
    .adison-case .table { display: table; }
    .adison-case .table thead { display: table-header-group; }
    .adison-case .table tbody { display: table-row-group; }
    .adison-case .table tr { display: table-row; margin: 0; padding: 0; }
    .adison-case .table :is(th, td) { display: table-cell; text-align: left; }
    .adison-case .table td::before { display: none; }
    .adison-case .input-group > .form-control { min-width: 0; }
}
/* Show case-list pagination only after the results. */
.adison-case-list .adison-case-filter-submit { display: flex; align-items: flex-end; }
.adison-case-list .adison-case-filter-submit #btnBusqueda { width: 100%; min-height: 44px; height: auto; margin: 0; padding: 10px 8px; line-height: 24px; }
.adison-case-list .Pag_TablaAsunto { display: none; }
.adison-case-list #TablaAsunto + .Pag_TablaAsunto { display: block; }

/* The two case lists use their existing rows and data-labels as mobile cards. */
@media screen and (max-width: 991px) {
    .adison-case-list .section > .container { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-case-list .adison-case-results { margin-top: 16px; }
    .adison-case-list .adison-case-results > .table-responsive { border: 0; border-radius: 0; background: transparent; overflow: visible; }
    .adison-case-list #TablaAsunto { display: block; width: 100%; min-width: 0; border: 0; background: transparent; }
    /* Keep the column headings available to assistive technology. */
    .adison-case-list #TablaAsunto > thead { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    .adison-case-list #TablaAsunto > tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; }
    .adison-case-list #TablaAsunto > tbody > tr { display: block; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
    .adison-case-list #TablaAsunto > tbody > tr > td { display: block; width: auto; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
    .adison-case-list #TablaAsunto > tbody > tr > td + td { margin-top: 14px; }
    .adison-case-list #TablaAsunto > tbody > tr > td:first-child:empty { display: none; }
    .adison-case-list #TablaAsunto > tbody > tr > td:nth-child(2) { margin-top: 0; }
    .adison-case-list #TablaAsunto .adison-case-reference { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--ui-accent); }
    .adison-case-list #TablaAsunto .adison-case-origin { display: inline-block; margin-top: 6px; font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--ui-muted); }
    .adison-case-list #TablaAsunto > tbody > tr > td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; margin: 0 0 4px; color: var(--ui-muted); font-size: 11px; font-weight: 700; line-height: 1.5; text-align: left; letter-spacing: .04em; }
    .adison-case-list #TablaAsunto > tbody > tr > td:last-child { border-top: 1px solid var(--ui-border); padding-top: 12px; }
    .adison-case-list #TablaAsunto .button { display: block; width: 100%; min-height: 44px; margin: 0; padding: 10px 16px; line-height: 24px; height: auto; }
    .adison-case-list #TablaAsunto > tfoot { display: none; }
    .adison-case-list .Pag_TablaAsunto .Lbl_Botonera { width: 100% !important; padding: 8px 0 !important; font-size: 13px; color: var(--ui-muted); }
    .adison-case-list .Pag_TablaAsunto .pagination { flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
    .adison-case-list .Pag_TablaAsunto .page-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 0; border-radius: 4px; }
}
/* Demand and promotion lists share a compact filter panel and labelled mobile records. */
@media screen and (min-width: 992px) {
    .adison-record-list #TablaPromociones :is(th, td):last-child { width: 1%; white-space: nowrap; text-align: right; }
}
.adison-record-list .adison-record-filters { margin: 0 0 20px; padding: 20px 8px 4px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
.adison-record-list .form-widget.adison-record-filters { padding: 20px 20px 4px; }
.adison-record-list .adison-record-submit { display: flex; align-items: flex-end; }
.adison-record-list .adison-record-submit > .button { width: 100%; min-height: 44px; height: auto; margin: 0; padding: 10px 16px; line-height: 24px; background: #365c70; color: #fff; }
.adison-record-list .adison-record-results ._Paginacion { display: none; }
.adison-record-list .adison-record-results table + ._Paginacion { display: block; padding: 8px 12px; }
.adison-record-list .Lbl_Botonera { width: 100% !important; color: var(--ui-muted); font-size: 13px; }
.adison-record-list .pagination { flex-wrap: wrap; gap: 4px; }
.adison-record-list .dropdown-toggle { color: var(--ui-text); background: var(--ui-soft); border-color: var(--ui-border); }
.adison-record-list .dropdown-toggle:hover, .adison-record-list .dropdown-toggle:focus { color: var(--ui-text); background: var(--ui-surface); border-color: var(--ui-accent); }
html[data-adison-theme="dark"] .adison-record-list .adison-record-results .button-red { background-color: #803f4b; color: #fff; border-color: #b17782; }
html[data-adison-theme="dark"] .adison-record-list .adison-record-results .button-red:hover { background-color: #974958; }
.adison-record-list .page-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 0; border-radius: 4px; }
@media screen and (max-width: 991px) {
    .adison-record-list .section > .container { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-record-list .row:has(> .adison-record-results) { margin-left: 0; margin-right: 0; }
    .adison-record-list .adison-record-results { overflow: visible; border: 0; background: transparent; }
    .adison-record-list .adison-record-results > table { display: block; width: 100%; min-width: 0; border: 0; background: transparent; }
    .adison-record-list .adison-record-results > table > thead { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    .adison-record-list .adison-record-results > table > tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .adison-record-list .adison-record-results > table > tbody > tr { display: block; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
    .adison-record-list .adison-record-results > table > tbody > tr > td { display: block; width: auto; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
    .adison-record-list .adison-record-results > table > tbody > tr > td + td { margin-top: 14px; }
    .adison-record-list .adison-record-results > table > tbody > tr > td:empty { display: none; }
    .adison-record-list .adison-record-results td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--ui-muted); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; text-align: left; }
    .adison-record-list :is(#TablaSolicitudRegistro, #TablaSolicitudRegistroLaboral, #TablaSolicitud, #TablaAgenda) td:first-child,
    .adison-record-list #TablaPromociones td:nth-child(2) { margin-top: 0; font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--ui-accent); }
    .adison-record-list .adison-record-results td:has(.button, .btn-group) { border-top: 1px solid var(--ui-border); padding-top: 12px; }
    .adison-record-list .adison-record-results td > span:has(center) { flex-wrap: wrap; gap: 8px; }
    .adison-record-list .adison-record-results center { display: inline-block; max-width: 100%; text-align: left; }
    .adison-record-list .adison-record-results .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; min-height: 44px; height: auto; margin: 4px 0; padding: 10px 12px; line-height: 24px; white-space: normal; }
    .adison-record-list .adison-record-results .button[title]::after { content: attr(title); }
    .adison-record-list .badge { max-width: 100%; padding: 6px 8px; white-space: normal; line-height: 1.4; }
    .adison-record-list .btn-group { width: 100%; }
    .adison-record-list .dropdown-toggle { width: 100%; min-height: 44px; }
    .adison-record-list .dropdown-menu { width: 100%; min-width: 0; max-width: 100%; }
    .adison-record-list .dropdown-item { white-space: normal; }
    .adison-record-list .dropdown-item a { display: block; padding: 8px 0; }
    .adison-record-list .adison-record-results tfoot:empty { display: none; }
}
/* Requests and the pending agenda keep both sections visible in the tab navigation. */
.adison-request-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; margin-bottom: 24px; }
.adison-request-tabs .nav-link { display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%; padding: 12px; text-align: center; white-space: normal; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); color: var(--ui-text); }
.adison-request-tabs .nav-link.active { background: #365c70; border-color: #365c70; color: #fff; font-weight: 700; }
.adison-request-list .tab-pane > div { padding-left: 0; padding-right: 0; }
html[data-adison-theme="dark"] .adison-request-list .adison-record-results .button-cancelar { background-color: #803f4b; color: #fff; border-color: #b17782; }
@media screen and (max-width: 991px) {
    .adison-request-tabs .nav-link { font-size: 13px; }
    #MD_SolicitudNotificacionActuario.adison-record-list .modal-dialog { width: auto; max-width: calc(100% - 16px); margin: 8px auto; }
    #MD_SolicitudNotificacionActuario #MD_PartesNotificar { margin-top: 16px; overflow-wrap: anywhere; }
    #MD_SolicitudNotificacionActuario #MD_PartesNotificar td:first-child { font-size: 17px; font-weight: 700; color: var(--ui-accent); }
}
/* Detail sections retain their tables on desktop and become labelled records on mobile. */
.adison-document-relation { display: none; }
@media screen and (max-width: 991px) {
    .adison-case-detail #TablaDocumentos .linked-shape { position: static; width: auto; height: auto; margin: 0; padding: 0; }
    .adison-case-detail #TablaDocumentos .linked-shape :is(.Linked, .icon-linked) { display: none; }
    .adison-case-detail #TablaDocumentos .adison-document-relation { display: block; font-size: 12px; font-weight: 400; color: var(--ui-muted); }
    .adison-case-detail #TablaDocumentos tr::after { display: none; }
    .adison-case-detail #TablaDocumentos td:has(.linked-shape) { position: static; }
    .adison-case-detail .section > .container { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-case-detail #myTab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; border: 0; }
    .adison-case-detail #myTab .nav-link { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 44px; padding: 10px 8px; white-space: normal; text-align: center; font-size: 13px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); color: var(--ui-text); }
    .adison-case-detail #myTab .nav-link.active { background: var(--ui-accent); color: var(--ui-surface); border-color: var(--ui-accent); font-weight: 700; }
    html[data-adison-theme="dark"] .adison-case-detail #myTab .nav-link.active { color: var(--ad-bg) !important; }
    .adison-case-detail #myTabContent { padding-top: 16px; }
    .adison-case-detail #myTabContent .tab-pane > .row { margin-left: 0; margin-right: 0; }
    .adison-case-detail #myTabContent .table-responsive { overflow: visible; border: 0; background: transparent; }
    .adison-case-detail #myTabContent .table { display: block; width: 100%; min-width: 0; border: 0; }
    .adison-case-detail #myTabContent .table > thead { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    .adison-case-detail #myTabContent .table > tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .adison-case-detail #myTabContent .table > tbody > tr { display: block; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
    .adison-case-detail #myTabContent .table > tbody > tr > td { display: block; width: auto; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
    .adison-case-detail #myTabContent .table > tbody > tr > td + td { margin-top: 12px; }
    .adison-case-detail #myTabContent .table > tbody > tr > td:empty { display: none; }
    .adison-case-detail #myTabContent .table td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; line-height: 1.5; font-weight: 700; color: var(--ui-muted); letter-spacing: .03em; text-align: left; }
    .adison-case-detail #myTabContent .table td:first-child,
    .adison-case-detail #TablaDocumentos td:nth-child(2) { font-size: 17px; font-weight: 700; color: var(--ui-accent); }
    .adison-case-detail #myTabContent .table .button { height: auto; min-height: 44px; margin: 4px 4px 0 0; padding: 10px 12px; line-height: 24px; white-space: normal; }
    .adison-case-detail :is(#TablaDocumentos, #TablaBuzon, #TableAudiencia) .button[title]::after { content: attr(title); margin-left: 6px; }
    .adison-case-detail #myTabContent .dropdown-toggle { min-height: 44px; }
    .adison-case-detail #myTabContent .dropdown-menu { max-width: 100%; min-width: 180px; }
    .adison-case-detail #myTabContent .dropdown-item { white-space: normal; }
    .adison-case-detail #myTabContent .dropdown-item a { display: block; padding: 8px 0; }
    .adison-case-detail #myTabContent tfoot:empty { display: none; }
    .adison-case-detail #myTabContent ._Paginacion .Lbl_Botonera { width: 100% !important; font-size: 13px; color: var(--ui-muted); }
    .adison-case-detail #myTabContent .pagination { flex-wrap: wrap; gap: 4px; }
    .adison-case-detail #myTabContent .page-link { min-width: 44px; min-height: 44px; }
}
/* Keep audience playback horizontal with a persistent, separate close control. */
.adison-audience-viewer { z-index: 2147483647; }
.adison-audience-viewer .fancybox-bg { background: #141b24; opacity: 1; }
.adison-audience-viewer .fancybox-toolbar { background: #20252b; }
.adison-audience-viewer .fancybox-slide--iframe { padding: 44px 16px 0; }
.adison-audience-viewer .fancybox-slide--iframe .fancybox-content { width: min(1100px, 100%) !important; height: auto !important; aspect-ratio: 16 / 9; max-width: min(100%, calc((100vh - 60px) * 16 / 9)); max-width: min(100%, calc((100dvh - 60px) * 16 / 9)); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); padding: 0; margin: 0; background: #000; overflow: hidden; }
@media screen and (max-width: 991px) {
    .adison-audience-viewer .fancybox-slide--iframe { padding-left: 0; padding-right: 0; }
}
/* Give document reading the available mobile viewport, above floating support. */
@media screen and (max-width: 991px) {
    .adison-document-viewer { z-index: 2147483647; }
    .adison-document-viewer .fancybox-bg { background: #20252b; opacity: 1; }
    .adison-document-viewer .fancybox-slide--iframe { padding: 44px 0 0; overflow: hidden; }
    .adison-document-viewer .fancybox-slide--iframe::before { display: none; }
    .adison-document-viewer .fancybox-slide--iframe .fancybox-content { display: block; width: 100% !important; height: 100% !important; max-width: none; max-height: none; margin: 0; padding: 0; }
    .adison-document-viewer .fancybox-toolbar { background: #20252b; }
}
@media (prefers-reduced-motion: reduce) {
    .adison-drawer[open], .adison-drawer[open]::backdrop { animation: none; }
    .loaderwait .loader { animation-duration: 3s; }
}
/* Notification dashboard and message reading share the institutional palette. */
.adison-notifications-container { margin-top: 28px; margin-bottom: 40px; }
.adison-notification-filters { margin-bottom: 24px; border-color: var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
.adison-notification-filters .card-header { background: var(--ui-soft); border-color: var(--ui-border); }
.adison-notification-filters .btn-link { color: var(--ui-text); white-space: normal; text-align: left; }
.adison-notifications .adison-notification-tabs > .tab-nav { display: flex; flex-wrap: wrap; gap: 8px; height: auto; border: 0; }
.adison-notifications .adison-notification-tabs > .tab-nav > li { float: none; height: auto; margin: 0; border: 0; flex: 1 1 150px; }
.adison-notifications .adison-notification-tabs > .tab-nav > li > a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 48px; padding: 10px 12px; line-height: 1.5; white-space: normal; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); color: var(--ui-text); }
.adison-notifications .adison-notification-tabs > .tab-nav > li.ui-tabs-active > a { top: 0; background: #365c70; border-color: #365c70; color: #fff !important; }
.adison-notifications .adison-notification-tabs > .tab-container { padding: 20px 0 0; border: 0; }
.adison-notification-tabs .tab-content > .row { margin: 0; }
.adison-notifications .adison-record-results { width: 100%; }
.adison-notifications .adison-notification-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; white-space: normal; background: #365c70; border-color: #365c70; color: #fff; }
.adison-notification-message { width: 100%; padding: 24px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
.adison-notification-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.adison-notification-subject { margin: 0; font-size: 22px; line-height: 1.5; color: var(--ui-text); overflow-wrap: anywhere; }
.adison-notification-summary small { flex-shrink: 0; color: var(--ui-muted); }
.adison-notification-body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ui-border); line-height: 1.7; overflow-wrap: anywhere; overflow-x: auto; }
.adison-notification-body img { max-width: 100%; height: auto; }
.adison-notification-documents { display: flex; flex-wrap: wrap; gap: 12px; }
.adison-notification-heading { min-width: 0; }
.adison-notification-description { margin: 10px 0 0; color: var(--ui-muted); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.adison-notification-attachment { display: flex; align-items: center; gap: 14px; width: 320px; max-width: 100%; min-height: 76px; margin: 0; padding: 16px 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-accent); text-align: left; cursor: pointer; font: inherit; line-height: 1.5; }
.adison-notification-attachment > i { flex: 0 0 auto; font-size: 28px; }
.adison-notification-attachment > span { min-width: 0; overflow-wrap: anywhere; }
.adison-notification-attachment strong { display: block; font-size: 16px; }
.adison-notification-folio { display: block; margin-top: 3px; color: var(--ui-muted); font-size: 14px; }
.adison-notification-attachment:hover { background: var(--ui-soft); border-color: var(--ui-accent); }
.adison-notification-attachment:focus-visible { outline: 3px solid var(--ui-accent); outline-offset: 3px; }
@media screen and (max-width: 991px) {
    :is(.adison-notifications, .adison-notification-reader) > .container { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-notifications .adison-notification-tabs > .tab-nav > li { flex-basis: calc(50% - 8px); }
    .adison-notifications .adison-record-results td:first-child { font-size: 18px; font-weight: 700; color: var(--ui-accent); }
    .adison-notifications .adison-record-results td:has(.adison-notification-open) { border-top: 1px solid var(--ui-border); padding-top: 12px; }
    .adison-notifications .adison-notification-open { width: 100%; }
    .adison-notification-message { padding: 16px; }
    .adison-notification-summary { flex-direction: column; gap: 8px; }
    .adison-notification-subject { font-size: 19px; }
    .adison-notification-attachment { width: 100%; }
}

/* Public agreement search retains date/subject queries and the original print actions. */
.adison-public-agreements .adison-public-search { padding: 24px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
.adison-public-search .fancy-title { margin-bottom: 20px; }
.adison-public-search h2 { font-size: 18px; line-height: 1.5; color: var(--ui-text); }
.adison-public-search .adison-public-links { border-left: 1px solid var(--ui-border); }
.adison-public-links > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ui-border); color: var(--ui-accent); line-height: 1.6; overflow-wrap: anywhere; }
.adison-public-links > a:last-child { border-bottom: 0; }
.adison-public-links > a:hover { text-decoration: underline; }
.adison-public-links i { margin-left: 4px; }
.adison-public-agreements .adison-public-results { padding-top: 20px; padding-bottom: 32px; }
.adison-public-results-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.adison-public-results-actions .button { min-height: 44px; margin: 0; }
.adison-public-results .adison-record-results { width: 100%; }
.adison-public-results #TablaLista > h3 { margin: 20px 0 12px; font-size: 18px; line-height: 1.5; color: var(--ui-text); overflow-wrap: anywhere; }
.adison-public-results :is(td, th) { overflow-wrap: anywhere; }
.adison-public-results td:first-child { color: var(--ui-accent); }
.adison-public-results td a { color: var(--ui-accent); text-decoration: underline; text-underline-offset: 3px; }
.adison-agreement-origin { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--ui-muted); }
.adison-agreement-origin:empty { display: none; }
@media screen and (max-width: 1199px) {
    .adison-public-search .adison-public-links { margin-top: 8px; padding-top: 20px; border-left: 0; border-top: 1px solid var(--ui-border); }
}
@media screen and (max-width: 991px) {
    .adison-public-agreements .adison-public-search { padding: 16px; }
    .adison-public-agreements > .adison-public-results { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-public-results .adison-record-results > table > tbody > tr > td:first-child:not([colspan]) { font-size: 18px; font-weight: 700; }
    .adison-public-results .adison-record-results > table > tbody > tr > td[colspan] { color: var(--ui-muted); font-size: 14px; }
    .adison-public-results-actions .button { width: 100%; }
    .adison-public-agreements .input-group > .form-control { min-width: 0; }
}
/* Stable desktop columns prevent long party names from squeezing the reference. */
@media screen and (min-width: 992px) {
    .adison-public-results :is(#TablaLista > table, #TablaAcuerdos) { table-layout: fixed; width: 100%; }
    .adison-public-results #TablaLista > table th:first-child { width: 18%; }
    .adison-public-results #TablaLista > table th:nth-child(2) { width: 41%; }
    .adison-public-results #TablaLista > table th:nth-child(3) { width: 41%; }
    .adison-public-results #TablaAcuerdos th:first-child { width: 16%; }
    .adison-public-results #TablaAcuerdos th:nth-child(2) { width: 18%; }
    .adison-public-results #TablaAcuerdos th:nth-child(3) { width: 30%; }
    .adison-public-results #TablaAcuerdos th:nth-child(4) { width: 36%; }
    .adison-public-results th { overflow-wrap: normal; word-break: normal; }
    .adison-public-agreements .adison-public-results td { vertical-align: top; }
}
/* Public directory and resource library. */
.adison-directory-container { margin-top: 28px; margin-bottom: 40px; }
.adison-directory #FormBusqueda { padding: 20px 20px 4px; margin-bottom: 24px; }
.adison-directory-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.adison-directory-card { min-width: 0; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); overflow-wrap: anywhere; }
.adison-directory-card .card-body { padding: 24px; }
.adison-directory-card .adison-directory-name { margin: 0 0 6px; font-size: 20px; line-height: 1.4; color: var(--ui-accent); }
.adison-directory-role { margin: 0 0 20px; color: var(--ui-muted); line-height: 1.5; }
.adison-directory-contact { gap: 12px 0; padding-top: 16px; border-top: 1px solid var(--ui-border); font-size: 14px; line-height: 1.7; }
.adison-directory-contact b { font-size: 12px; color: var(--ui-muted); }
.adison-directory-contact i { color: var(--ui-accent); }
.adison-directory-responsibility { margin-top: 32px; padding: 20px; border-top: 1px solid var(--ui-border); font-size: 13px; line-height: 1.8; color: var(--ui-muted); overflow-wrap: anywhere; }
.adison-manuals .content-wrap { padding: 32px 0 40px; }
.adison-manual-group + .adison-manual-group { margin-top: 40px; }
.adison-manual-group h2 { margin-bottom: 20px; font-size: 23px; line-height: 1.4; color: var(--ui-text); }
.adison-manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; list-style: none; }
.adison-manual-grid > li { min-width: 0; }
.adison-manual-grid a { display: flex; align-items: flex-start; gap: 16px; height: 100%; padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
.adison-manual-grid a > i { flex: 0 0 auto; margin-top: 3px; font-size: 26px; color: var(--ui-accent); }
.adison-manual-grid a > span { min-width: 0; overflow-wrap: anywhere; }
.adison-manual-grid strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; }
.adison-manual-grid small { display: block; margin-top: 8px; color: var(--ui-muted); font-size: 12px; }
.adison-manual-grid a:hover { border-color: var(--ui-accent); background: var(--ui-soft); }
.adison-manual-grid a:focus-visible { outline: 3px solid var(--ui-accent); outline-offset: 3px; }
@media screen and (max-width: 991px) {
    .adison-directory > .container, .adison-manuals .content-wrap > .container { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-directory-results, .adison-manual-grid { grid-template-columns: minmax(0, 1fr); }
    .adison-directory #FormBusqueda, .adison-directory-card .card-body { padding: 16px; }
    .adison-directory-card .adison-directory-name { font-size: 19px; }
    .adison-directory-responsibility { padding: 16px 0; }
    .adison-manuals .content-wrap { padding-top: 24px; }
    .adison-manual-group h2 { font-size: 20px; }
    .adison-manual-grid a { padding: 16px; gap: 12px; }
}

/* Public edicts use the shared record cards and bottom pagination. */
.adison-edicts .content-wrap { padding-bottom: 20px; }
.adison-edicts .fancy-title { margin-bottom: 20px; }
.adison-edicts .fancy-title h2 { font-size: 18px; line-height: 1.5; color: var(--ui-text); }
.adison-edict-results { padding-bottom: 32px; }
.adison-edicts .adison-edict-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: auto; margin: 0; padding: 10px 12px; font-size: 13px; line-height: 1.5; white-space: normal; }
.adison-edicts .adison-edict-open i { margin: 0; }
.adison-edicts #the-canvas { width: 100%; }
@media screen and (min-width: 992px) {
    .adison-edicts #TablaDocumentosEdictos { table-layout: fixed; width: 100%; }
    .adison-edicts #TablaDocumentosEdictos th:nth-child(1) { width: 40%; }
    .adison-edicts #TablaDocumentosEdictos th:nth-child(2) { width: 22%; }
    .adison-edicts #TablaDocumentosEdictos th:nth-child(3) { width: 16%; }
    .adison-edicts #TablaDocumentosEdictos th:nth-child(4) { width: 22%; text-align: center; }
    .adison-edicts #TablaDocumentosEdictos td { overflow-wrap: anywhere; vertical-align: top; }
}
@media screen and (max-width: 991px) {
    .adison-edicts > .adison-edict-results { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-edicts #TablaDocumentosEdictos td:nth-child(2) { font-size: 19px; font-weight: 700; color: var(--ui-accent); }
    .adison-edicts .adison-record-results center, .adison-edicts .adison-edict-open { width: 100%; }
}

/* Public notices retain their query and PDF actions in responsive record layouts. */
.adison-cedulas .content-wrap { padding-bottom: 20px; }
.adison-cedulas .fancy-title { margin-bottom: 20px; }
.adison-cedulas .fancy-title h2 { font-size: 18px; line-height: 1.5; color: var(--ui-text); }
.adison-cedula-results { padding-bottom: 32px; }
.adison-cedulas .adison-cedula-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: auto; margin: 0; padding: 10px 12px; font-size: 13px; line-height: 1.5; white-space: normal; }
.adison-cedulas .adison-record-results .adison-cedula-open[title]::after { content: none; }
@media screen and (min-width: 992px) {
    .adison-cedulas #TablaNotificacion { table-layout: fixed; width: 100%; }
    .adison-cedulas #TablaNotificacion th:nth-child(1) { width: 45%; }
    .adison-cedulas #TablaNotificacion th:nth-child(2) { width: 30%; }
    .adison-cedulas #TablaNotificacion th:nth-child(3) { width: 25%; text-align: center; }
    .adison-cedulas #TablaNotificacion td { overflow-wrap: anywhere; vertical-align: top; }
}
@media screen and (max-width: 991px) {
    .adison-cedulas > .adison-cedula-results { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-cedulas #TablaNotificacion td:first-child { font-size: 19px; font-weight: 700; color: var(--ui-accent); }
    .adison-cedulas .adison-record-results center, .adison-cedulas .adison-cedula-open { width: 100%; }
}

/* Public judgments: complete filters and readable public-version records. */
.adison-sentencias .content-wrap { padding-bottom: 0; }
.adison-sentencias .fancy-title { margin-bottom: 20px; }
.adison-sentencias .fancy-title h2 { font-size: 18px; line-height: 1.5; color: var(--ui-text); }
.adison-sentencia-notice { margin: 0; padding: 12px 16px; border-left: 3px solid var(--ui-accent); background: var(--ui-soft); color: var(--ui-muted); font-size: 14px; line-height: 1.6; }
.adison-sentencia-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.adison-sentencias .adison-sentencia-actions .button, .adison-sentencias .adison-sentencia-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: auto; margin: 0; padding: 10px 16px; font-size: 13px; line-height: 1.5; white-space: normal; }
.adison-sentencias #BtnNuevaBusqueda { background: var(--ui-soft); color: var(--ui-text); border: 1px solid var(--ui-border); }
.adison-sentencia-updated { color: var(--ui-muted); font-size: 13px; }
.adison-sentencia-results { padding-bottom: 32px; }
.adison-sentencias .adison-record-results .adison-sentencia-open[title]::after { content: none; }
@media screen and (min-width: 992px) {
    .adison-sentencias #TableSentencia { table-layout: fixed; width: 100%; }
    .adison-sentencias #TableSentencia th:nth-child(1) { width: 28%; }
    .adison-sentencias #TableSentencia th:nth-child(2) { width: 12%; }
    .adison-sentencias #TableSentencia th:nth-child(3) { width: 12%; }
    .adison-sentencias #TableSentencia th:nth-child(4) { width: 17%; }
    .adison-sentencias #TableSentencia th:nth-child(5) { width: 13%; }
    .adison-sentencias #TableSentencia th:nth-child(6) { width: 18%; text-align: center; }
    .adison-sentencias #TableSentencia th, .adison-sentencias #TableSentencia td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
}
@media screen and (max-width: 991px) {
    .adison-sentencias .content-wrap > .container, .adison-sentencias > .adison-sentencia-results { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-sentencias #TableSentencia td:first-child:not([colspan]) { font-size: 18px; font-weight: 700; color: var(--ui-accent); }
    .adison-sentencias .adison-record-results center, .adison-sentencias .adison-sentencia-open { width: 100%; }
}
@media screen and (max-width: 767px) {
    .adison-sentencia-dates > div + div { margin-top: 20px; }
    .adison-sentencia-actions .button { flex: 1 1 100%; }
}

/* Labor bulletin records retain their query and PDF actions. */
.adison-boletin .content-wrap { padding-bottom: 20px; }
.adison-boletin .fancy-title { margin-bottom: 20px; }
.adison-boletin .fancy-title h2 { font-size: 18px; line-height: 1.5; color: var(--ui-text); }
.adison-boletin-results { padding-bottom: 32px; }
.adison-boletin .adison-boletin-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: auto; margin: 0; padding: 10px 12px; font-size: 13px; line-height: 1.5; white-space: normal; }
.adison-boletin .adison-record-results .adison-boletin-open[title]::after { content: none; }
@media screen and (min-width: 992px) {
    .adison-boletin #TablaBoletinJudicialLaboral { table-layout: fixed; width: 100%; }
    .adison-boletin #TablaBoletinJudicialLaboral th:nth-child(1) { width: 20%; }
    .adison-boletin #TablaBoletinJudicialLaboral th:nth-child(2) { width: 42%; }
    .adison-boletin #TablaBoletinJudicialLaboral th:nth-child(3) { width: 16%; }
    .adison-boletin #TablaBoletinJudicialLaboral th:nth-child(4) { width: 22%; text-align: center; }
    .adison-boletin #TablaBoletinJudicialLaboral td { overflow-wrap: anywhere; vertical-align: top; }
}
@media screen and (max-width: 991px) {
    .adison-boletin > .adison-boletin-results { width: 100% !important; max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-boletin #TablaBoletinJudicialLaboral td:first-child { font-size: 19px; font-weight: 700; color: var(--ui-accent); }
    .adison-boletin .adison-record-results center, .adison-boletin .adison-boletin-open { width: 100%; }
}

/* Media summaries retain desktop tabs and mobile PDF/HTML actions. */
.adison-sintesis #side-navigation { display: grid; grid-template-columns: minmax(260px, 30%) minmax(0, 1fr); gap: 24px; margin: 0; padding: 0; border: 0; background: transparent; }
.adison-sintesis #side-navigation > .sidebar, .adison-sintesis #ListaDocumentos { width: auto; min-width: 0; margin: 0; float: none; }
.adison-sintesis #FormBusqueda { padding: 18px !important; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
.adison-sintesis #FormBusqueda .form-group { margin: 0; }
.adison-sintesis #RangoFechas { font-size: 14px; min-height: 44px; }
.adison-sintesis-help { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ui-muted); }
.adison-sintesis #ListElementosSideNav { margin: 16px 0 0; padding: 0; border: 0; background: transparent; }
.adison-sintesis #ListElementosSideNav li { float: none; margin: 0 0 8px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); }
.adison-sintesis #ListElementosSideNav li a { display: block; float: none; padding: 14px 32px 14px 14px; color: var(--ui-text); white-space: normal; overflow-wrap: anywhere; line-height: 1.6; text-align: left; }
.adison-sintesis #ListElementosSideNav li.ui-tabs-active a { background: var(--ui-soft); color: var(--ui-accent); border-left: 3px solid var(--ui-accent); }
.adison-sintesis #ListaDocumentos > .ui-tabs-panel { padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); }
.adison-sintesis #ListaDocumentos h3 { font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.adison-sintesis #ListaDocumentos iframe { display: block; width: 100%; height: max(500px, 70vh); border: 1px solid var(--ui-border); }
.adison-sintesis #ListaDocumentos .contenido { width: 100%; padding: 0; overflow-wrap: anywhere; }
.adison-sintesis #ListaBotones { margin-top: 18px; }
.adison-sintesis #ListaBotones > .button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; height: auto; margin: 0 0 12px; padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); font-size: 15px; font-weight: 600; line-height: 1.6; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; overflow-wrap: anywhere; }
.adison-sintesis #ListaBotones > .button i { flex: 0 0 24px; margin: 0; font-size: 24px; color: var(--ui-accent); }
.adison-sintesis #DialogoContenido .modal-dialog { max-width: 900px; }
.adison-sintesis #DialogoContenido .modal-content { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); background: var(--ui-surface); color: var(--ui-text); }
.adison-sintesis #DialogoContenido .modal-header, .adison-sintesis #DialogoContenido .modal-footer { flex-shrink: 0; border-color: var(--ui-border); }
.adison-sintesis #DialogoContenido .modal-title { font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.adison-sintesis #DialogoContenido .close { flex-shrink: 0; min-width: 44px; min-height: 44px; color: var(--ui-text); opacity: 1; text-shadow: none; }
.adison-sintesis #DialogoContenido .modal-body { overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere; line-height: 1.7; }
.adison-sintesis #DialogoContenido .modal-body img, .adison-sintesis .contenido img { max-width: 100%; height: auto; }
.adison-sintesis #DialogoContenido .modal-footer .btn { min-height: 44px; padding: 10px 24px; background: var(--ui-soft); border: 1px solid var(--ui-border); color: var(--ui-text); }
@media screen and (max-width: 767px) {
    .adison-sintesis .content-wrap > .container { width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
    .adison-sintesis #side-navigation { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .adison-sintesis #DialogoContenido .modal-dialog { margin: 8px; }
    .adison-sintesis #DialogoContenido .modal-content { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
    .adison-sintesis #DialogoContenido .modal-header, .adison-sintesis #DialogoContenido .modal-body, .adison-sintesis #DialogoContenido .modal-footer { padding: 16px; }
}

/* The legacy mobile table rules must not turn calendar days into cards. */
body:has(.adison-sintesis) .daterangepicker { max-width: calc(100vw - 16px); max-height: 70vh; overflow: auto; }
body:has(.adison-sintesis) .daterangepicker table { display: table; border: 0; }
body:has(.adison-sintesis) .daterangepicker thead { display: table-header-group; }
body:has(.adison-sintesis) .daterangepicker tbody { display: table-row-group; }
body:has(.adison-sintesis) .daterangepicker tr { display: table-row; margin: 0; padding: 0; }
body:has(.adison-sintesis) .daterangepicker th, body:has(.adison-sintesis) .daterangepicker td { display: table-cell; }
body:has(.adison-sintesis) .daterangepicker td::before { content: none; }
html[data-adison-theme="dark"] body:has(.adison-sintesis) .daterangepicker td.in-range { background: var(--ad-hover); color: var(--ad-text); }
html[data-adison-theme="dark"] body:has(.adison-sintesis) .daterangepicker th.available span { border-color: var(--ad-text); }

/* Public guides and privacy documents share the institutional reading palette. */
.adison-tutorial-row { row-gap: 24px; }
.adison-tutorial-row + .adison-tutorial-row { margin-top: 24px; }
.adison-tutorial-card { display: flex; flex-direction: column; }
.adison-tutorial-heading { flex: 1; padding: 20px; border: 1px solid var(--ui-border); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--ui-surface); }
.adison-tutorial-heading h2 { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ui-text); }
.adison-tutorials .playerWrap { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ui-border); border-radius: 0 0 8px 8px; background: #101820; }
.adison-tutorials .playerWrap iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.adison-privacy-document { max-width: 880px; margin: 0 auto; padding: 36px 40px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.adison-privacy-document h1 { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--ui-border); font-size: 30px; line-height: 1.35; color: var(--ui-text); }
.adison-privacy-document h2, .adison-privacy-document .titulo-parrafo { margin: 32px 0 12px; font-size: 21px; line-height: 1.5; font-weight: 700; color: var(--ui-text); text-align: left; }
.adison-privacy-document p, .adison-privacy-document .parrafo { margin: 0 0 20px; text-align: left; }
.adison-privacy-document .parrafo-container { margin: 0 0 28px; }
.adison-privacy-document .contenido-parrafo { text-align: left; }
.adison-privacy-document ul { margin: 0 0 20px; padding-left: 24px; }
.adison-privacy-document li { margin-bottom: 10px; }
.adison-privacy-document .contenido-parrafo ul { padding-left: 0; list-style: none; }
.adison-privacy-document a { text-decoration: underline; text-underline-offset: 3px; }
.adison-privacy-document .contact-info { padding: 20px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-soft); }
.adison-privacy-document .firma { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--ui-border); }
.adison-privacy-document .firma h4 { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ui-muted); }
@media screen and (max-width: 991px) {
    .adison-privacy .content-wrap { padding-left: 16px; padding-right: 16px; }
    .adison-tutorials .content-wrap > .container { width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
}
@media screen and (max-width: 767px) {
    .adison-privacy-document { padding: 24px 20px; }
    .adison-privacy-document h1 { font-size: 25px; }
    .adison-privacy-document h2, .adison-privacy-document .titulo-parrafo { font-size: 19px; }
    .adison-tutorial-heading { padding: 16px; }
    .adison-tutorial-heading h2 { font-size: 18px; }
}

#page-title.adison-tutorial-title span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ui-muted); }
