/* Calm operating directory, with reference-inspired report sheets. */
.report-directory{background:var(--panel,#fff);border:1px solid var(--line,#d7dee8);border-radius:10px;padding:28px;margin-bottom:20px;color:var(--txt,#172033)}
.report-directory header h1{margin:0 0 8px;font-size:26px;line-height:1.4;letter-spacing:-.02em;color:var(--txt,#172033)}
.report-directory header p{margin:0 0 28px;color:var(--muted,#667085);font-size:15px;line-height:1.6;max-width:75ch}
.rd-quick-section{margin-bottom:28px}
.rd-quick-section h2{font-size:15px;font-weight:650;margin:0 0 12px;color:var(--brand-deep,#164e4a)}
#rdQuick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f2f7f6;border:1px solid #d5e5e1;border-radius:8px;overflow:hidden}
.rd-quick-link{position:relative;display:grid;align-content:center;gap:7px;text-align:left;padding:18px 38px 18px 18px;background:transparent;border:0;border-right:1px solid #d5e5e1;border-radius:0;font:inherit;color:#164e4a;min-height:90px;cursor:pointer}
.rd-quick-link:last-child{border-right:0}.rd-quick-link:hover{background:#e6f0ed}.rd-quick-link strong{font-size:17px;font-weight:650}.rd-quick-link>span:not(.rd-quick-arrow){font-size:14px;color:#4a625e;line-height:1.5}.rd-quick-arrow{position:absolute;right:16px;top:20px;font-size:20px}
.rd-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line,#d7dee8)}
.rd-toolbar .rd-mobile-category{display:none}
.rd-toolbar label,.report-selector-grid label{display:grid;gap:7px;font-size:14px;font-weight:650;min-width:0}
.rd-toolbar input,.rd-toolbar select,.report-selector-grid select{width:100%;min-width:0;min-height:44px;font:inherit;font-weight:400;color:var(--txt,#172033);background:var(--panel,#fff);border:1px solid var(--line,#d7dee8);border-radius:6px;padding:9px 12px}
.rd-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;margin-top:24px}
#rdCategories{display:flex;flex-direction:column;gap:4px;align-self:start}
.rd-category-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:var(--muted,#667085);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.rd-category-button>span:last-child{font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted,#667085)}
.rd-category-button:hover{background:#f5f7fa}.rd-category-button[aria-pressed="true"]{background:#e9f2ef;color:#164e4a;font-weight:700}
.rd-state-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.rd-state-filters button{min-height:44px;border:1px solid var(--line,#d7dee8);background:var(--panel,#fff);border-radius:6px;padding:8px 11px;font:inherit;font-size:14px;color:var(--muted,#667085);cursor:pointer}
.rd-state-filters button[aria-pressed="true"]{border-color:#164e4a;background:#164e4a;color:#fff}.rd-state-filters button:hover:not([aria-pressed="true"]){background:#f5f7fa}
.rd-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.rd-list-heading h2{font-size:18px;margin:0;line-height:1.5}
.rd-reset{min-height:44px;padding:8px;background:none;border:0;font:inherit;font-size:14px;color:#216b61;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#rdCount{font-size:14px;color:var(--muted,#667085);margin:6px 0 18px}
.rd-state-note{margin:0 0 16px;color:#77531a;font-size:14px;line-height:1.6}
#rdList{padding:0}
.rd-category h3{font-size:14px;font-weight:650;color:var(--muted,#667085);padding:10px 12px;margin:20px 0 0;background:#f7f9fa;border-bottom:1px solid var(--line,#d7dee8)}
.rd-category:first-child h3{margin-top:0}
.rd-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;min-height:80px;padding:16px 12px;border:0;border-bottom:1px solid var(--line,#d7dee8);border-radius:0;background:var(--panel,#fff);font:inherit;color:var(--txt,#172033);cursor:pointer}
.rd-row:hover,.rd-family>summary:hover{background:var(--bg-soft,#f5f7fa)}
.rd-row:disabled{opacity:.6;cursor:wait}
.rd-name{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.rd-name strong{font-size:15px;font-weight:600}
.rd-name small{font-size:13px;color:var(--muted,#667085)}
.rd-row-meta{display:grid;gap:6px;justify-items:end;flex-shrink:0}.rd-row-meta>small{font-size:12px;color:var(--muted,#667085)}
.rd-status{padding:3px 8px;border-radius:4px;font-size:13px;font-weight:500;white-space:nowrap;line-height:1.5}.rd-status.is-available{color:#175b49;background:#eef6f2}.rd-status.is-limited{color:#805015;background:#fff5e5}.rd-status.is-unavailable{color:#5d6572;background:#eef0f3}
.rd-variant-count{font-size:13px;color:#216b61;font-weight:500;white-space:nowrap}
.rd-family>summary{display:flex;align-items:center;gap:12px;padding:16px 12px;min-height:80px;cursor:pointer;font-size:15px;border-bottom:1px solid var(--line,#d7dee8);list-style:none}.rd-family>summary::-webkit-details-marker{display:none}.rd-family>summary .rd-name{flex:1}.rd-family>summary::after{content:'›';font-size:24px;line-height:1;color:var(--muted,#667085)}.rd-family[open]>summary::after{transform:rotate(90deg)}
.rd-variants{padding-left:18px;border-left:2px solid #b8d2ca;margin:0 0 12px 12px}
.rd-empty{padding:32px 12px;font-size:15px}.rd-empty p{margin:0 0 16px}
.rd-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#d7dee8);font-size:14px;color:var(--muted,#667085)}.rd-pagination button{min-height:44px}
.report-directory :is(button,input,select,summary):focus-visible{outline:3px solid #2f7d73;outline-offset:3px}
.report-workspace .report-selector-grid.is-single-variant{grid-template-columns:minmax(0,1fr) auto}
.report-workspace .report-selector-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:16px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:8px}
#rsContext{grid-column:1/-1;font-size:14px;line-height:1.6;color:var(--muted);margin:0}
#rsContext:empty{display:none}
.report-selector-grid .btn{min-height:44px}
.report-workspace #reportFilters{border-radius:8px}
.reference-report-layout>.panel{border:0!important;border-radius:0!important;box-shadow:none!important}
.reference-report-layout .special-report-head{display:grid;grid-template-columns:1fr;padding:20px 0 16px;border-bottom:2px solid #263238;background:transparent}
.reference-report-layout .special-report-head b{font-size:22px;line-height:1.5}
.report-hotel-heading{font-size:15px;font-weight:650;margin-bottom:8px}
.reference-report-layout .special-report-head small{font-size:14px;line-height:1.7;color:var(--muted)}
.reference-report-layout .special-report-head .actions{justify-content:flex-end;margin-top:12px;gap:8px}
.reference-report-layout .special-report-head .actions button{min-width:76px;min-height:44px}
.reference-report-layout>.panel>.panel-b{padding:20px 0}
.reference-report-layout .specialized-detail-disclosure{border:0!important;border-radius:0!important}
.reference-report-layout .specialized-detail-disclosure>summary{padding:14px 0;border-bottom:1px solid var(--line);background:transparent}
.reference-report-layout .specialized-detail-disclosure>.panel-b{padding:16px 0}
.reference-report-layout .specialized-table-wrap{overflow:auto;max-height:70vh;scrollbar-width:thin;scrollbar-color:var(--brand,#2f7d73) #eef1f4}
.reference-report-layout .report-table{width:100%;font-size:14px;line-height:1.65;color:var(--txt);font-variant-numeric:tabular-nums}
.reference-report-layout .report-table th,.reference-report-layout .report-table td{padding:10px 12px;vertical-align:top}
.reference-report-layout .report-table thead th{background:#f4f6f7;border-top:1px solid #3a4650;border-bottom:2px solid #3a4650;white-space:normal;min-width:78px;color:#172033}
.reference-report-layout .report-table tbody tr:nth-child(even):not(.report-group-row):not(.report-subtotal-row){background:#f8fafb}
.reference-report-layout .report-table tbody tr:hover:not(.report-group-row):not(.report-subtotal-row){background:#eef5f3}
.reference-report-layout .report-table .right{text-align:right;white-space:nowrap}
.reference-report-layout .report-table .report-group-row th{background:#e8eeed;border-top:1px solid #475467;padding-top:13px}
.reference-report-layout .report-subtotal-row td,.reference-report-layout tfoot th,.reference-report-layout tfoot td{background:#f0f4f3;font-weight:700;border-top:1px solid #475467;border-bottom:3px double #475467}
.reference-report-layout .report-warning-list{margin:14px 0;border:1px solid #dfd4b5;background:#fffcf5;padding:12px 16px}
.reference-report-layout .report-warning-list .note{margin:4px 0;padding:0;border:0;background:none;font-size:14px;line-height:1.6;color:#694718}
.reference-report-layout .specialized-date-contract{font-size:13px;line-height:1.7;background:var(--bg-soft);border:0;gap:8px 20px}
.report-date-method{margin:12px 0;border-bottom:1px solid var(--line,#d7dee8)}.report-date-method>summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--muted,#667085);font-size:14px;line-height:1.6}.report-date-method>summary:focus-visible{outline:3px solid #2f7d73;outline-offset:3px}
@media print{.report-date-method>summary{display:none}.report-date-method>.specialized-date-contract{display:flex!important}}
.reference-report-layout .cards.grid{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--line)}
.reference-report-layout .cards.grid .card{flex:1 1 160px;border:0;border-radius:0;box-shadow:none;padding:12px;background:none}
.reference-report-layout .cards.grid .card .big{font-size:20px;font-variant-numeric:tabular-nums}
.trial-balance-summary{margin:20px 0}
.trial-balance-state{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;border:1px solid var(--line);font-size:14px;line-height:1.6}
.trial-balance-state.balanced b{color:#175b49}.trial-balance-state.unbalanced b{color:#914511}
.trial-balance-state span{color:var(--muted)}
.trial-balance-summary dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:16px 0}
.trial-balance-summary dt{font-size:14px;color:var(--muted);margin-bottom:8px}
.trial-balance-summary dd{margin:0;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}
.trial-balance-table{min-width:850px}
.trial-balance-table thead tr:first-child th{text-align:center!important;border-bottom:1px solid #88939b}
.trial-balance-table thead tr:first-child th:first-child{text-align:left!important;min-width:220px}
.trial-balance-table tbody th{text-align:left;font-weight:500;border-bottom:1px solid #ddd}
.trial-balance-table td:nth-child(2),.trial-balance-table td:nth-child(4),.trial-balance-table td:nth-child(6){border-left:1px solid #d7dee8}
.trial-balance-table tfoot td[colspan]{font-size:12px;font-weight:400}
.report-method-notes>summary{padding:8px 0;min-height:44px;cursor:pointer;color:#694718;font-size:14px;font-weight:600}
.reference-report-layout .report-warning-list{padding:8px 14px}
.reference-report-layout .report-warning-list .note{line-height:1.55}
.report-workspace #periodScopeNote{margin:10px 0;font-size:13px;line-height:1.6}
.report-workspace .report-reading-guide{border-left:1px solid var(--line);padding:10px 14px;margin-bottom:12px}
.reference-report-layout .special-report-head{padding-top:10px}
@media print{.report-method-notes>p{display:block!important}.report-method-notes>summary{min-height:0}}
.report-workspace [hidden]{display:none!important}
@media(max-width:760px){.report-directory{padding:18px 14px}.rd-toolbar{grid-template-columns:minmax(0,1fr)}.rd-row{align-items:flex-start;gap:8px;flex-direction:column}.rd-status{font-size:13px}.rd-variants{padding-left:12px}.rd-family>summary{padding:16px 8px}.report-workspace .report-selector-grid{grid-template-columns:minmax(0,1fr)}.trial-balance-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-report-layout .special-report-head b{font-size:20px}.reference-report-layout .special-report-head .actions{justify-content:stretch}.reference-report-layout .special-report-head .actions button{flex:1}#rdList{max-height:none;padding-right:0}}
@media(max-width:1050px){.rd-layout{grid-template-columns:180px minmax(0,1fr);gap:18px}.rd-quick-link{padding-left:14px}.rd-quick-link strong{font-size:16px}.rd-variant-count{display:none}}
@media(max-width:760px){.report-directory header h1{font-size:23px}.report-directory header p{margin-bottom:22px}.rd-quick-section{margin-bottom:22px}#rdQuick{grid-template-columns:minmax(0,1fr)}.rd-quick-link{min-height:76px;padding:14px 38px 14px 16px;border-right:0;border-bottom:1px solid #d5e5e1}.rd-quick-link:last-child{border-bottom:0}.rd-quick-link>span:not(.rd-quick-arrow){font-size:14px}.rd-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 10px;padding-bottom:20px}.rd-toolbar>label:first-child{grid-column:1/-1}.rd-toolbar .rd-mobile-category{display:grid}.rd-layout{display:block;margin-top:20px}#rdCategories{display:none}.rd-row-meta{display:flex;align-items:center;gap:10px}.rd-row{padding:14px 8px}.rd-name small,.rd-row-meta>small,.rd-status{font-size:14px}.rd-state-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.rd-state-filters button{font-size:14px;padding:8px}.rd-family>summary .rd-name{max-width:calc(100% - 24px)}.rd-pagination{gap:8px}.rd-pagination .btn{padding:8px}.report-workspace .report-selector-grid.is-single-variant{grid-template-columns:minmax(0,1fr)}}
@media print{#reportDirectory,.report-selector-grid{display:none!important}.reference-report-layout .specialized-table-wrap{max-height:none!important;overflow:visible!important}.reference-report-layout .report-table{font-size:9pt}.reference-report-layout .report-table th,.reference-report-layout .report-table td{padding:2mm}.reference-report-layout .report-table thead{display:table-header-group}.reference-report-layout .report-table tfoot{display:table-row-group}.reference-report-layout .report-table tr{break-inside:avoid}.reference-report-layout .report-table{min-width:0}.reference-report-layout .report-table thead th{background:white;color:black}.trial-balance-summary dl{display:flex;gap:5mm}.trial-balance-summary dd{font-size:11pt}.trial-balance-state{padding:2mm}.report-hotel-heading{font-size:11pt}}

/* Preset dates have one visible input; the shared range remains the request source. */
/* Keep category navigation available in both directory and report views. */
#mainContent.report-workspace:has(.report-navigation-shell){max-width:1480px}
.report-navigation-shell{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.report-navigation-content{min-width:0}
.report-persistent-navigation{position:sticky;top:var(--report-nav-top,180px);max-height:calc(100dvh - var(--report-nav-top,180px) - 20px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#adb7c4 #eef1f4;padding:10px;background:var(--panel,#fff);border:1px solid var(--line,#d7dee8);border-radius:6px}
.report-persistent-navigation .rd-mobile-category{display:none}
.report-persistent-navigation .rd-category-button:focus-visible{outline:2px solid var(--brand,#2f7d73);outline-offset:-2px}
.report-persistent-navigation .rd-category-button:disabled{cursor:wait;opacity:.6}
.report-persistent-navigation .rd-category-button{width:100%;flex-shrink:0;color:var(--txt,#172033)}
.report-persistent-navigation .rd-category-button[aria-expanded="true"],.report-persistent-navigation .rd-category-button.is-current-category{background:#e9f2ef;color:#164e4a;font-weight:700}
.report-persistent-navigation .rd-category-button[aria-expanded]::after{content:'';width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);flex-shrink:0;margin-right:3px}
.report-persistent-navigation .rd-category-button[aria-expanded="true"]::after{transform:rotate(45deg)}
.report-persistent-navigation .rd-category-button>span:first-child{flex:1}
.rd-sidebar-branch{padding:4px 0 10px 10px;border-bottom:1px solid var(--line,#d7dee8)}
.rd-sidebar-report{display:grid;gap:5px;width:100%;text-align:left;min-height:44px;padding:10px;border:0;border-radius:4px;background:transparent;color:var(--txt,#172033);font:inherit;font-size:14px;line-height:1.55;cursor:pointer;overflow-wrap:anywhere}
.rd-sidebar-report .rd-status{justify-self:start;font-size:12px;padding:1px 5px}
.rd-sidebar-report:hover,.rd-sidebar-family>summary:hover{background:var(--bg,#f5f7fa)}
.rd-sidebar-report[aria-current="page"]{background:#e9f2ef;box-shadow:inset 0 0 0 1px #2f7d73;color:#164e4a;font-weight:700}
.rd-sidebar-report:disabled{opacity:.6;cursor:wait}
.rd-sidebar-family>summary{padding:12px 6px;min-height:44px;font-size:14px;line-height:1.55;cursor:pointer;color:var(--txt,#172033)}
.rd-sidebar-family>.rd-sidebar-report{padding-left:18px}
.rd-sidebar-report:focus-visible,.rd-sidebar-family>summary:focus-visible{outline:2px solid var(--brand,#2f7d73);outline-offset:-2px}
.report-navigation-content .rd-layout{display:block}
@media(max-width:1050px) and (min-width:761px){.report-navigation-shell{grid-template-columns:230px minmax(0,1fr);gap:16px}}
@media(max-width:760px){.report-navigation-shell{display:block}.report-persistent-navigation{z-index:10;margin-bottom:14px;max-height:none;overflow:visible;padding:10px 12px;top:var(--report-nav-top,80px)}.report-persistent-navigation .rd-mobile-category{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:650}.report-persistent-navigation select{min-width:0;flex:1;width:100%;min-height:44px;padding:8px;border:1px solid var(--line,#d7dee8);border-radius:6px;background:var(--panel,#fff);color:var(--txt,#172033);font:inherit;font-weight:400}.report-navigation-content .rd-toolbar{grid-template-columns:1fr}}
@media print{.report-navigation-shell{display:block}.report-persistent-navigation{display:none!important}}
@media(max-width:760px){.report-persistent-navigation .rd-mobile-category+.rd-mobile-category{margin-top:8px}.report-persistent-navigation .rd-mobile-category>span{flex:0 0 84px}.report-persistent-navigation{max-height:calc(100dvh - var(--report-nav-top,80px) - 90px);overflow-y:auto}}
.report-workspace .report-hero:is([data-calendar-mode="day"],[data-calendar-mode="month"],[data-calendar-mode="year"]) .report-period-grid{grid-template-columns:minmax(128px,max-content);justify-content:start}
@media(max-width:760px){.report-workspace .report-hero:is([data-calendar-mode="day"],[data-calendar-mode="month"],[data-calendar-mode="year"]) .report-period-grid{grid-template-columns:minmax(0,1fr);justify-content:stretch}}
