/* CertCore v27.0 — Reports canonical sales-prep core */
[data-page="reports"]{overflow:auto;background:#f5f8fd}.reports-final-page{gap:8px;padding-top:8px;min-height:100%}
.reports-final-toolbar{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;min-width:0}.reports-final-title{display:flex;align-items:center;gap:8px;min-width:205px;flex:0 0 auto}.reports-final-title>span{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#eef4ff;color:#2563eb}.reports-final-title b{display:block;font-size:10px;color:#173149}.reports-final-title small{display:block;font-size:7px;color:#7f90a2;margin-top:2px}.reports-final-controls{display:grid;grid-template-columns:72px repeat(4,minmax(105px,1fr)) auto auto auto auto;gap:6px;align-items:center;flex:1;min-width:0}.reports-final-controls .mini-select,.reports-final-controls .btn{height:34px;min-width:0;font-size:7.5px;white-space:nowrap}.reports-final-controls .mini-select{width:100%;padding:0 7px}
.report-kpis-final{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.report-kpis-final .report-kpi{padding:8px 10px;min-width:0}.report-kpis-final .report-kpi-icon{width:30px;height:30px}.report-kpis-final .report-kpi small{font-size:7px}.report-kpis-final .report-kpi strong{font-size:14px}.report-kpis-final .report-kpi em{font-size:6.5px}
.reports-main-grid-final{grid-template-columns:minmax(0,1.7fr) minmax(260px,.75fr);gap:8px}.reports-bottom-grid-final{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(250px,.76fr);gap:8px;flex:1;min-height:0;align-items:stretch}.report-final-card{padding:10px!important;border-radius:14px!important;min-height:0;overflow:hidden;display:flex;flex-direction:column}.report-final-card .section-head{margin-bottom:6px}.report-final-card .section-head h2{font-size:10px}.report-final-card .section-sub{font-size:7px}.report-final-card .bar-chart{height:198px}.report-final-card .bars{grid-template-columns:repeat(12,minmax(0,1fr));gap:5px}.report-final-card .bar{width:7px}.report-final-card .donut-wrap{height:198px}.report-final-card .donut-chart{width:132px;height:132px}.report-final-card .donut-hole{width:78px;height:78px}.report-final-card .expiry-list{max-height:205px;overflow:auto;padding-right:2px;flex:1;min-height:0}.report-final-card .expiry-row{padding:7px}.report-shortcuts-final{display:grid;grid-template-columns:1fr;gap:5px}.report-shortcuts-final button{padding:7px}.report-shortcuts-final button>span{width:26px;height:26px}.reports-audit-note{margin-top:7px;padding:6px 7px;border-radius:7px;background:#fff7e6;color:#9a6700;font-size:6.8px;border:1px solid #f8dfab}.report-empty-state{min-height:112px}
@media(max-width:1280px){.reports-final-toolbar{align-items:flex-start}.reports-final-title{min-width:180px}.reports-final-controls{grid-template-columns:70px repeat(2,minmax(115px,1fr)) repeat(4,auto)}.reports-final-controls [data-cc-report-filter="status"],.reports-final-controls [data-cc-report-filter="validity"]{display:none}.reports-bottom-grid-final{grid-template-columns:1fr 1fr}.report-shortcuts-card{grid-column:1/-1}.report-shortcuts-final{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.reports-final-toolbar{display:block}.reports-final-title{margin-bottom:8px}.reports-final-controls{grid-template-columns:repeat(2,1fr)}.reports-final-controls [data-cc-report-filter="status"],.reports-final-controls [data-cc-report-filter="validity"]{display:block}.report-kpis-final{grid-template-columns:repeat(2,1fr)}.reports-main-grid-final,.reports-bottom-grid-final{grid-template-columns:1fr}.report-shortcuts-card{grid-column:auto}.report-shortcuts-final{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.reports-final-controls{grid-template-columns:1fr}.report-kpis-final{grid-template-columns:1fr}.report-shortcuts-final{grid-template-columns:1fr}}
@media print{.sidebar,.topbar,.reports-final-toolbar,.footer,.report-shortcuts-card{display:none!important}.app-shell,.main,.content,.route-page,.clean-page{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.route-page:not([data-page="reports"]){display:none!important}.reports-final-page{gap:8px!important}.premium-card{box-shadow:none!important;break-inside:avoid}.reports-bottom-grid-final{grid-template-columns:1fr 1fr!important}}

/* v27.1 — canonical report balance + empty states */
.reports-bottom-grid-final>.report-final-card{min-height:224px}
.report-expiry-empty{flex:1;min-height:150px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px;border:1px solid #e3ebf4;border-radius:12px;background:linear-gradient(135deg,#fbfdff 0%,#f6fbf8 100%)}
.report-expiry-empty-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e9f8f1;color:#0d9b69;font-size:18px}
.report-expiry-empty b{display:block;margin:0 0 5px;color:#1c344c;font-size:12px;line-height:1.25}
.report-expiry-empty small{display:block;color:#7b8da0;font-size:8px;line-height:1.55;max-width:420px}
.report-expiry-empty em{font-style:normal;white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid #cfe9dc;background:#fff;color:#16805d;font-size:7.5px;font-weight:800}
.verification-card .verification-metrics{margin-top:2px}
.verification-card .verification-progress{margin-top:auto;padding-top:8px}
.report-shortcuts-card .report-shortcuts-final{margin-top:2px;flex:1;align-content:start}
@media(max-width:1280px){.reports-bottom-grid-final>.report-final-card{min-height:210px}.report-expiry-empty{min-height:132px}}
@media(max-width:700px){.report-expiry-empty{grid-template-columns:42px 1fr}.report-expiry-empty em{grid-column:2;justify-self:start}}


/* CertCore v28.11 canonical reports mobile finishing */
@media(max-width:760px){
  .reports-final-page{padding:8px!important}
  .reports-final-controls{grid-template-columns:1fr!important}
  .report-kpis-final{grid-template-columns:1fr 1fr!important}
  .report-shortcuts-final{grid-template-columns:1fr 1fr!important}
  .reports-final-controls .btn{width:100%!important;justify-content:center!important}
}
@media(max-width:430px){.report-kpis-final,.report-shortcuts-final{grid-template-columns:1fr!important}}
