/* V109 History / Workspace report only. Existing SQL, filters, exports unchanged. */
body.v84-workspace-shell .v109-history-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 -3px}
body.v84-workspace-shell .v109-history-pills a{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;min-height:36px;border:1px solid var(--v86-line);background:var(--v86-card);border-radius:99px;color:var(--v86-muted);font-size:11px;font-weight:800;white-space:nowrap;text-decoration:none}
body.v84-workspace-shell .v109-history-pills a:hover{border-color:var(--v86-accent);color:var(--v86-accent)}
body.v84-workspace-shell .v109-history-pills a[aria-current="page"]{background:var(--v86-tint);border-color:var(--v86-accent);color:var(--v86-accent)}
body.v84-workspace-shell .v86-page.v86-report{gap:13px}
body.v84-workspace-shell .v86-report-filters{gap:10px;padding:15px!important;border-radius:14px}
body.v84-workspace-shell .v86-filter-heading h3{font-size:13px}
body.v84-workspace-shell .v86-report-filters .v86-filter-fields{gap:8px}
body.v84-workspace-shell .v86-report-filter-actions{gap:9px}
body.v84-workspace-shell .v86-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.v84-workspace-shell .v86-report-metrics .v86-stat{padding:13px 14px;min-height:96px;gap:4px;border-radius:13px}
body.v84-workspace-shell .v86-report-metrics .v86-stat>strong{font-size:clamp(17px,1.85vw,23px);line-height:1.18;overflow-wrap:anywhere}
body.v84-workspace-shell .v109-count-kpi{background:linear-gradient(128deg,#132747,#234771)!important;border-color:#2c537c!important}
body.v84-workspace-shell .v109-count-kpi small,body.v84-workspace-shell .v109-count-kpi strong,body.v84-workspace-shell .v109-count-kpi .v86-stat-foot{color:#eff6ff!important}
body.v84-workspace-shell .v109-count-kpi small,body.v84-workspace-shell .v109-count-kpi .v86-stat-foot{color:#cadcf3!important}
body.v84-workspace-shell .v86-report-results{gap:12px;padding:17px!important;border-radius:15px}
body.v84-workspace-shell .v86-record-list{gap:6px}
body.v84-workspace-shell .v86-record>summary{min-height:59px;padding:12px 14px}
body.v84-workspace-shell .v86-record-details{gap:9px;padding:13px}
body.v84-workspace-shell .v86-report-export :is(a,button){min-height:34px;padding:7px 10px}
body.v84-workspace-shell .v86-report-results-head{gap:9px}
@media(max-width:960px){body.v84-workspace-shell .v86-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.v84-workspace-shell .v86-report-metrics>.v86-stat:last-child{grid-column:auto}}
@media(max-width:540px){body.v84-workspace-shell .v86-page.v86-report{gap:10px}body.v84-workspace-shell .v86-section-intro p{font-size:11px}body.v84-workspace-shell .v109-history-pills{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:0 0 4px;scrollbar-width:thin}body.v84-workspace-shell .v109-history-pills a{padding:7px 11px;min-height:33px}body.v84-workspace-shell .v86-report-filters{padding:12px!important}body.v84-workspace-shell .v86-report-filters .v86-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body.v84-workspace-shell .v86-report-filters label{min-width:0}body.v84-workspace-shell .v86-report-filters input,body.v84-workspace-shell .v86-report-filters select{min-width:0;font-size:11px;padding:7px 5px}body.v84-workspace-shell .v86-report-filter-actions>*{flex:1;text-align:center;justify-content:center}body.v84-workspace-shell .v86-report-metrics{gap:7px}body.v84-workspace-shell .v86-report-metrics .v86-stat{padding:11px!important;min-height:88px}body.v84-workspace-shell .v86-report-metrics .v86-stat small{font-size:10px}body.v84-workspace-shell .v86-report-metrics .v86-stat>strong{font-size:clamp(14px,4.5vw,20px)}body.v84-workspace-shell .v86-report-metrics .v86-stat-foot{font-size:9px}body.v84-workspace-shell .v86-report-results{padding:12px!important}body.v84-workspace-shell .v86-record>summary{padding:11px!important}body.v84-workspace-shell .v86-report-export{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
@media print{body.v84-workspace-shell .v109-history-pills{display:none!important}body.v84-workspace-shell .v109-count-kpi{background:#fff!important;border-color:#aaa!important}body.v84-workspace-shell .v109-count-kpi :is(small,strong,span){color:#111!important}}
/* V136 compact report, preserve print and native disclosure controls. */
@media screen{
body.v84-workspace-shell .v86-page.v86-report{gap:9px!important}
body.v84-workspace-shell .v86-report-filters{padding:11px!important;gap:8px!important}
body.v84-workspace-shell .v86-report-metrics .v86-stat{min-height:0!important;padding:11px!important;gap:4px!important}
body.v84-workspace-shell .v86-report-results{padding:12px!important;gap:9px!important}
body.v84-workspace-shell .v86-record>summary{min-height:0!important;padding:10px 12px!important;gap:6px 10px!important}
body.v84-workspace-shell .v86-record-title strong{word-break:normal!important;overflow-wrap:break-word!important;line-height:1.35!important}
body.v84-workspace-shell .v86-record-amount{font-variant-numeric:tabular-nums;word-break:normal!important}
body.v84-workspace-shell .v86-record-details{padding:10px!important;gap:8px!important}
}
@media screen and (max-width:760px){
body.v84-workspace-shell .v86-record-head{display:none!important}
body.v84-workspace-shell .v86-record>summary{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)!important;grid-template-areas:'title amount' 'date status'!important;align-items:start!important}
body.v84-workspace-shell .v86-record-title{grid-area:title!important;min-width:0!important}
body.v84-workspace-shell .v86-record time{grid-area:date!important;grid-column:1!important;line-height:1.4!important}
body.v84-workspace-shell .v86-record-amount{grid-area:amount!important;text-align:right!important;min-width:0!important;overflow-wrap:anywhere!important}
body.v84-workspace-shell .v86-record .v86-status{grid-area:status!important;justify-self:end!important;max-width:100%;white-space:normal!important;text-align:right!important}
body.v84-workspace-shell .v86-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
}
