#reportCatalog,.report-category-tabs,.report-catalog-layout { min-width:0; --report-border:#dce6e1; --report-muted:#647b75; --report-teal:#155e5c; }
.report-category-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; padding:5px; margin-bottom:20px; border:1px solid var(--report-border); border-radius:12px; background:#edf2ef; }
.report-category-tabs>button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; border:0; border-radius:8px; padding:9px 12px; background:transparent; color:#526f68; font:600 .79rem/1.35 var(--font-app,'Inter',sans-serif); cursor:pointer; }
.report-category-tabs>button[aria-selected="true"] { color:#fff; background:var(--report-teal); box-shadow:0 3px 9px #174d4319; }
.report-category-tabs>button small { display:grid; place-items:center; flex:0 0 20px; height:20px; border-radius:5px; background:#dfe9e3; color:#446c61; font-size:.65rem; }
.report-category-tabs>button[aria-selected="true"] small { background:#ffffff26; color:#fff; }
.report-category-tabs>button:disabled { opacity:.42; cursor:not-allowed; }
.report-category-tabs>button:focus-visible,.report-list-item:focus-visible { outline:3px solid #1b8b85; outline-offset:3px; }
.report-catalog-layout { display:grid; grid-template-columns:minmax(200px,260px) minmax(0,1fr); border:1px solid var(--report-border); border-radius:16px; background:#fff; overflow:clip; min-height:460px; }
.report-list-panel { min-width:0; border-right:1px solid var(--report-border); background:#f8faf8; }
.report-list-heading { padding:20px 16px 12px; }
.report-list-heading>.eyebrow { display:block; margin-bottom:12px; color:#5e7970; font-size:.63rem; letter-spacing:.09em; }
.report-list-heading label { display:block; }
.report-list-heading .sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.report-list-heading input { width:100%; min-width:0; background:#fff; font-size:.78rem; padding:9px 10px; }
.report-list { display:flex; flex-direction:column; gap:3px; padding:0 8px; }
.report-list-item { display:flex; align-items:flex-start; gap:9px; width:100%; min-width:0; border:1px solid transparent; border-radius:9px; padding:13px 9px; text-align:left; background:transparent; color:#2d4d43; cursor:pointer; }
.report-list-item:hover { background:#edf3ee; }
.report-list-item[aria-current="page"] { border-color:#bed9cb; background:#e5f1ea; box-shadow:inset 3px 0 #267866; }
.report-list-item>span:nth-child(2) { min-width:0; flex:1; }
.report-list-item strong { display:block; font:600 .8rem/1.5 var(--font-app,'Inter',sans-serif); }
.report-list-item small { display:block; margin-top:4px; color:var(--report-muted); font:400 .7rem/1.5 var(--font-app,'Inter',sans-serif); }
.report-list-icon { display:block; flex:0 0 17px; width:17px; padding-top:2px; color:#628674; }
.report-list-icon svg { display:block; width:17px; height:20px; }
.report-list-arrow { align-self:center; font-size:1.25rem; color:#78988b; }
.report-list-count,.report-list-placeholder { padding:12px 16px; font-size:.72rem; line-height:1.6; color:#70867b; }
.report-content-panel { min-width:0; padding:clamp(16px,2vw,28px); }
.report-empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:390px; padding:20px; color:#6e857d; }
.report-empty-state>svg { width:48px; height:48px; margin-bottom:18px; color:#89a99b; }
.report-empty-state h3 { margin:0 0 10px; color:#294f43; font:700 1.1rem/1.5 var(--font-display,'Plus Jakarta Sans',sans-serif); }
.report-empty-state p { max-width:340px; margin:0 0 15px; font-size:.86rem; line-height:1.7; }
.report-empty-state small { font-size:.72rem; }
.report-view-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid var(--report-border); }
.report-view-heading h2 { font:700 clamp(1.05rem,1.5vw,1.4rem)/1.45 var(--font-display,'Plus Jakarta Sans',sans-serif); margin:5px 0 8px; letter-spacing:-.025em; }
.report-view-heading p { margin:0; color:var(--report-muted); font-size:.78rem; line-height:1.65; }
.report-view-actions { display:flex; flex:0 0 auto; gap:8px; }
.report-view-actions .btn { padding:10px 14px; }
.report-content-panel .report-builder { margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; min-width:0; }
.report-filters { padding:12px 14px; border:1px solid var(--report-border); border-radius:10px; background:#f8faf8; margin-bottom:18px; }
.report-filters>summary { cursor:pointer; color:#365e4e; font-size:.8rem; font-weight:600; }
.report-filters>summary small { margin-left:12px; color:#789084; font-size:.69rem; font-weight:400; }
.report-builder-filters,.import-template-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:14px; align-items:start; margin:18px 0; }
.report-builder label,.import-template-filters label { display:flex; flex-direction:column; gap:6px; min-width:0; }
.report-builder label>span { font-size:.7rem; color:#597566; font-weight:600; }
.report-builder-filters :is(input,select),.import-template-filters :is(input,select) { min-width:0; width:100%; max-width:100%; font-size:.8rem; }
.report-builder-columns { margin:12px 0; font-size:.78rem; }
.report-builder-columns>div { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:9px; padding:14px 0; }
.report-builder-columns label { flex-direction:row; align-items:center; font-size:.74rem; font-weight:400; }
.report-builder input[type="checkbox"] { width:16px; height:16px; margin:0; }
.report-results-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.report-results-meta p { font-size:.72rem; color:var(--report-muted); }
.report-results-meta .btn { flex:0 0 auto; }
.report-builder .table-wrap { max-width:100%; overflow:auto; }
.report-builder table { width:100%; min-width:calc(var(--report-columns,8)*110px); table-layout:auto; font-size:.77rem; }
.report-builder table td { max-width:340px; min-width:90px; overflow-wrap:normal; word-break:normal; white-space:normal; }
.report-builder table :is(th,td):first-child { min-width:36px; width:36px; }
.report-builder .pagination-bar { padding-block:12px 0; font-size:.75rem; }
.report-document { margin-block:20px; padding:12px; border:1px solid var(--report-border); border-radius:10px; background:#f5f8f5; }
.report-document iframe { display:block; width:100%; height:70vh; min-height:400px; border:0; background:#fff; }
.report-document img { display:block; max-width:100%; max-height:70vh; margin:auto; object-fit:contain; }
.report-download-dialog { width:min(510px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; border:1px solid #c8d9d0; padding:24px; border-radius:18px; color:#254a3e; background:#fff; box-shadow:0 30px 90px #102f373d; }
.report-download-dialog::backdrop { background:#132f3b80; backdrop-filter:blur(3px); }
.report-download-heading h3 { font-family:var(--font-display,'Plus Jakarta Sans',sans-serif); font-size:1.2rem; margin:7px 0; }
.report-download-heading p { font-size:.8rem; line-height:1.65; color:#6c8277; margin:0 0 18px; }
.report-download-dialog fieldset { display:flex; flex-direction:column; gap:8px; padding:0; border:0; margin:0 0 18px; }
.report-download-dialog legend { padding:0; margin-bottom:8px; font-size:.72rem; font-weight:600; }
.report-download-dialog .report-format-option { display:flex; flex-direction:row; align-items:center; gap:12px; border:1px solid #d7e3db; border-radius:10px; padding:12px; cursor:pointer; }
.report-format-option:has(input:checked) { border-color:#4e9680; background:#eef6f0; }
.report-download-dialog .report-format-option input { flex:0 0 17px; width:17px; height:17px; margin:0; }
.report-format-option>span { flex:1; }
.report-download-dialog .report-format-option>span { text-transform:none; letter-spacing:normal; }
.report-format-option strong { display:block; font-size:.83rem; }
.report-format-option small { display:block; font-size:.7rem; line-height:1.5; margin-top:4px; font-weight:400; color:#6b8176; }
.report-format-option>b { padding:4px 6px; font:600 .7rem var(--font-app,'Inter',sans-serif); border-radius:5px; background:#e5ece7; color:#577362; }
.report-download-dialog form>label { margin-bottom:14px; }
.report-download-dialog select { width:100%; font-size:.82rem; }
.report-download-actions { display:flex; justify-content:flex-end; gap:10px; padding-top:16px; margin-top:20px; border-top:1px solid #e0e8e1; }
.report-category-mobile,.report-picker-mobile { display:none; }
.report-provenance { margin-top:16px; padding:12px; font-size:.75rem; background:#f4f7f5; border:1px solid #dce6e1; border-radius:10px; }
.report-provenance dl { display:grid; grid-template-columns:120px minmax(0,1fr); gap:8px; }
.report-provenance dd { margin:0; overflow-wrap:anywhere; }
.report-provenance dt { font-weight:600; }
.audit-control-section { padding:18px 0; border-bottom:1px solid #dce6e1; font-size:.8rem; }
.audit-control-section>summary { padding:8px 0; cursor:pointer; font-weight:600; font-size:.9rem; }
.audit-control-section p,.audit-controls-notice { line-height:1.65; color:#586e65; font-size:.8rem; }
.audit-control-section table { min-width:600px; }
.audit-control-section textarea,.audit-control-detail textarea { min-height:88px; width:100%; }
.audit-control-section button { margin-block:6px; }
.audit-evidence-json { max-height:420px; max-width:100%; white-space:pre-wrap; overflow:auto; overflow-wrap:anywhere; padding:16px; border-radius:10px; background:#f3f6f4; font-size:.74rem; }
.audit-control-detail { padding-top:20px; margin-top:20px; border-top:2px solid #dce6e1; }
.audit-controls-notice { padding:12px 16px; background:#fff7e8; border:1px solid #e4d2ac; border-radius:10px; }
#reports [hidden],.report-builder[hidden],.report-empty-state[hidden] { display:none !important; }
@media(max-width:980px) {
 .report-catalog-layout { grid-template-columns:minmax(170px,210px) minmax(0,1fr); }
 .report-view-heading { flex-direction:column; }
 .report-view-actions { align-self:flex-end; }
}
@media(max-width:760px) {
 .report-category-tabs { display:none; }
 .report-category-mobile,.report-picker-mobile { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; font-size:.76rem; font-weight:600; }
 .report-category-mobile select,.report-picker-mobile select { width:100%; min-width:0; }
 .report-catalog-layout { display:block; min-height:280px; }
 .report-list-panel { border-right:0; border-bottom:1px solid var(--report-border); }
 .report-content-panel { padding:16px; }
 .has-open-report .report-list-panel { display:none; }
 .report-empty-state { min-height:220px; }
 .report-filters>summary small { display:none; }
 .report-results-meta { flex-direction:column; align-items:flex-start; }
 .report-view-actions { align-self:stretch; justify-content:flex-end; }
}
.audit-control-detail .hint { overflow-wrap: anywhere; }
