.a-panel{padding:22px;margin-bottom:20px}.a-filters{align-items:end}.a-check{display:flex;gap:8px;max-width:220px}.a-check input{width:auto}.a-progress-title{display:flex;justify-content:space-between;gap:16px}.a-panel progress{display:block;width:100%;height:12px;margin:18px 0;accent-color:#6756d6}.a-table{font-variant-numeric:tabular-nums;min-width:1500px}.a-table th{white-space:normal;min-width:110px}.a-table td{vertical-align:top}.a-link,.a-sort{background:none;border:0;padding:0;color:inherit;text-align:left;cursor:pointer;font:inherit}.a-link{color:#6551ca;font-weight:600}.a-sort{font-size:12px;font-weight:600}.a-breadcrumb,.a-joblist{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.a-chart{padding:22px;max-width:1000px}.a-chart svg{width:100%;height:auto;display:block}.a-axis{stroke:#dad9e2;fill:none;stroke-width:1}.a-line{stroke:#6b54da;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.a-pre{white-space:pre-wrap;word-break:break-word;font:12px/1.5 ui-monospace,monospace;max-height:460px;overflow:auto}.a-negative{color:#b24250;font-weight:700}.a-expand[hidden]{display:none}.a-panel details{padding:12px 0}.a-panel summary{cursor:pointer;font-weight:600}.a-table td:first-child{min-width:200px}.a-table .actions{flex-wrap:wrap;min-width:180px}
.a-link{color:#e58aa5}.a-panel progress{accent-color:var(--accent)}.a-line{stroke:var(--accent)}.a-axis{stroke:var(--line)}.a-panel>.tablewrap{max-height:62vh;overflow:auto}.a-table>thead>tr>th{position:sticky;top:0;background:#25262e;z-index:2}.a-table>tbody>tr:not(.a-expand)>td:first-child,.a-table>thead>tr>th:first-child{position:sticky;left:0;background:#292a32;z-index:3;box-shadow:1px 0 var(--line)}.a-table>tbody>tr:not(.a-expand)>td:last-child,.a-table>thead>tr>th:last-child{position:sticky;right:0;background:#292a32;z-index:3;box-shadow:-1px 0 var(--line)}.a-table>thead>tr>th:first-child,.a-table>thead>tr>th:last-child{z-index:4}.a-check{flex-direction:row!important;align-items:center!important;min-width:170px}.a-check input{flex:none}

/* r14: readable summary, explicit drill-down, no pinned action overlay. */
.a-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0}
.a-table-toolbar .help{margin:0}.a-table-toolbar .btn{flex:none}
.a-table.a-compact{min-width:0;table-layout:fixed;width:100%}
.a-table.a-compact th{min-width:0;white-space:normal}
.a-table.a-compact th,.a-table.a-compact td{padding:14px 10px;overflow-wrap:anywhere}
.a-table.a-compact th:first-child{width:20%}.a-table.a-compact th:last-child{width:16%}
.a-table.a-compact th:nth-child(2),.a-table.a-compact th:nth-child(3){width:14%}
.a-table.a-compact td{font-size:13px}
.a-table .actions{min-width:0;gap:6px}.a-table .actions .btn{white-space:normal;text-align:left;font-size:11px;padding:6px 8px}
.a-table>tbody>tr:not(.a-expand)>td:last-child,.a-table>thead>tr>th:last-child{position:static;box-shadow:none}
.a-table.a-compact>tbody>tr:not(.a-expand)>td:first-child,.a-table.a-compact>thead>tr>th:first-child{position:static;box-shadow:none;min-width:0}
.a-table .a-percent{font-size:18px;font-weight:700;white-space:nowrap;color:#f4f0e9;border-bottom:1px dashed #bc748b;padding:3px 0}
.a-table .a-drill{display:flex;flex-direction:column;gap:6px;width:100%;min-height:42px;padding:3px 0;overflow-wrap:anywhere}
.a-drill-hint{font-size:11px;color:var(--muted);font-weight:500}
.a-data-row{cursor:pointer}.a-data-row:hover>td{background:#32333d!important}.a-data-row .a-link:hover{color:#ffc0d3}
.a-link[aria-busy=true]{opacity:.55}.a-link:focus-visible,.a-sort:focus-visible{outline:2px solid #e58aa5;outline-offset:4px}
#a-load-error:not(:empty){padding:12px;margin-bottom:12px;color:#ffb8c5;border:1px solid #8e5262;border-radius:8px}
.a-table.a-detailed{min-width:2800px}.a-table.a-detailed td{white-space:nowrap}
@media(max-width:700px){
 .a-panel{padding:14px}.a-progress-title{flex-wrap:wrap}.a-table-scroll:has(.a-compact){max-height:none!important;overflow:visible!important}
 .a-table.a-compact,.a-compact tbody,.a-compact .a-data-row,.a-compact .a-data-row>td{display:block;width:100%}
 .a-compact thead{display:none}.a-compact .a-data-row{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:8px}
 .a-table.a-compact .a-data-row>td{position:static!important;display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:8px;min-width:0}
 .a-compact .a-data-row>td:before{content:attr(data-label);color:var(--muted);font-size:12px;align-self:center}
 .a-table.a-compact .a-data-row>td:first-child{display:block}.a-compact .a-data-row>td:first-child:before{display:none}
 .a-compact .a-expand:not([hidden]),.a-compact .a-expand>td{display:block;width:100%}.a-compact .a-chart{padding:8px}
}

.a-chart{max-width:none;width:100%;white-space:normal}.a-chart-heading{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.a-chart-heading>label{min-width:240px}.a-chart-kpis{display:flex;gap:24px}.a-chart-kpis>span{font-size:12px;color:var(--muted)}.a-chart-kpis strong{display:block;color:var(--ink);font-size:24px;margin-top:4px}.a-chart-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;margin:18px 0}.a-current-key{color:#f3a5c0}.a-before-key{color:#86d2d7}.a-plot-scroll{overflow-x:auto}.a-chart .a-plot{min-width:560px;width:100%;touch-action:pan-y}.a-gridline{stroke:#484952;stroke-width:1;stroke-dasharray:3 4}.a-axis-label{fill:#d8d6df;font-size:12px}.a-axis-before{fill:#86d2d7}.a-series-current{stroke:#f18baa;stroke-width:2.5;fill:none}.a-series-before{stroke:#86d2d7;stroke-width:2;stroke-dasharray:6 4;fill:none}circle.a-series-current{fill:#f18baa;stroke:none}circle.a-series-before{fill:#86d2d7;stroke:none}.a-cursor{stroke:#b0adb9;stroke-width:1}.a-cursor[hidden]{display:none}.a-chart-tooltip{display:flex;gap:16px;flex-wrap:wrap;background:#24252c;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:13px;min-height:76px}.a-chart-tooltip>span{flex:1;min-width:240px}.a-chart-tooltip small{display:block;color:var(--muted);margin-top:6px;font-size:11px}.a-day-picker{display:flex;gap:16px;align-items:center;font-size:12px;margin:12px 0}.a-day-picker input{max-width:400px;accent-color:var(--accent)}
.a-panel>.a-table-scroll:has(.a-expand:not([hidden])){max-height:none;overflow-x:auto}
.a-table:has(.a-expand:not([hidden]))>thead>tr>th{position:static;box-shadow:none}
.a-chart .a-day-picker{flex-direction:row;justify-content:flex-start}.a-chart .a-day-picker input{width:65%;padding:0;min-width:100px}

/* r15 report scope and actionable analysis */
.a-report-scope{padding:16px;background:#22232a;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.a-type-switch{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.a-report-scope .help{margin-bottom:0}.a-risk-badge{font-size:11px;color:#f4b2c6}.a-row-decline>td:first-child{box-shadow:inset 3px 0 #e17898!important}.a-row-decline .a-drill{padding-left:6px}
.a-analysis-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.a-analysis-heading h2{margin:0}.a-analysis-heading>.btn{flex:none}.a-analysis-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.a-analysis-kpis article{border:1px solid var(--line);padding:16px;border-radius:10px}.a-analysis-kpis span,.a-analysis-kpis small{display:block;color:var(--muted);font-size:12px}.a-analysis-kpis strong{display:block;font-size:21px;margin:8px 0}.a-analysis-cards,.a-analysis-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.a-analysis-card{border:1px solid var(--line);border-left:4px solid #7aaca9;padding:18px;border-radius:10px;background:#272830}.a-analysis-card.a-problem{border-left-color:#ee819f;background:#332b33}.a-analysis-card.a-mix{border-left-color:#dab77b}.a-card-heading{display:flex;justify-content:space-between;gap:10px;align-items:start}.a-card-heading .a-link{overflow-wrap:anywhere}.a-card-heading .a-risk-badge{max-width:130px;text-align:right}.a-card-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;font-size:11px;color:var(--muted)}.a-card-numbers strong{display:block;font-size:15px;color:var(--ink);margin-top:4px}.a-analysis-card p{font-size:13px}.a-caution{color:#e7c99a;font-size:12px!important}.a-analysis-block{border:1px solid var(--line);border-radius:10px;padding:18px;margin:16px 0}.a-analysis-block h3{margin:0 0 12px}.a-analysis-block li{margin:10px 0;line-height:1.65}.a-analysis-block p{line-height:1.65}.a-analysis-block ul{padding-left:20px}.a-analysis-panel{scroll-margin-top:20px}.a-table.a-compact th:first-child{width:18%}.a-table.a-compact th:nth-child(2){width:10%}.a-table.a-compact th:nth-child(3),.a-table.a-compact th:nth-child(4){width:13%}.a-table.a-compact th:last-child{width:15%}
@media(max-width:1100px){.a-analysis-kpis{grid-template-columns:1fr}.a-analysis-cards,.a-analysis-blocks{grid-template-columns:1fr}.a-analysis-heading{flex-wrap:wrap}}

/* r17 source analysis */
#a-provenance [data-source-table]{margin:22px 0}
#a-provenance form.filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) minmax(170px,.7fr) auto;gap:10px;align-items:center;margin:12px 0}
#a-provenance form.filters>*{min-width:0;width:100%;margin:0}
#a-provenance table{min-width:920px;width:100%}
#a-provenance th,#a-provenance td{position:static;white-space:normal}
#a-provenance td:first-child{min-width:200px;max-width:300px;overflow-wrap:anywhere}
#a-provenance tr.a-problem>td{background:#332b33}
#a-provenance tr.a-problem>td:first-child{box-shadow:inset 3px 0 #ee819f}
@media(max-width:900px){#a-provenance form.filters{grid-template-columns:1fr 1fr}}
@media(max-width:540px){#a-provenance form.filters{grid-template-columns:1fr}}

.a-history-event{border:1px solid var(--line);padding:14px;border-radius:10px;margin:12px 0}.a-history-event table{min-width:560px;width:100%}.a-history-event td{vertical-align:top;position:static}.a-history-event .a-pre{max-width:380px;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}

/* r25: compact ready-report sphere picker */
.a-view-controls{margin-top:12px;flex-wrap:wrap}.a-view-controls button{max-width:100%;white-space:normal;text-align:left}
.a-sphere-options{max-height:300px;overflow:auto;display:grid;gap:4px;border:1px solid var(--line,#444);border-radius:10px;padding:10px}
.a-sphere-options .a-check{display:flex;align-items:center;gap:10px;padding:7px 6px;margin:0}.a-sphere-options .a-check[hidden]{display:none}
.a-sphere-options input{flex:0 0 auto;width:16px;height:16px}.a-sphere-options span{overflow-wrap:anywhere}
#a-full-form{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(150px,1fr));align-items:end;gap:14px}
#a-full-form>label{min-width:0;width:100%;max-width:none}#a-full-form input:not([type=checkbox]),#a-full-form select{width:100%;min-width:0;max-width:none}#a-full-form>.a-check{grid-column:span 2;min-height:42px}#a-full-form input[type=checkbox]{width:16px;height:16px;flex:0 0 16px}#a-full-form>.btn{min-height:40px;white-space:normal}
@media(max-width:1000px){#a-full-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#a-full-form{grid-template-columns:1fr}#a-full-form>.a-check{grid-column:auto}}
