/* Page: reports — auto-split from the old single styles.css, 91 rule block(s). Do not duplicate class names across files. */

.report-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:16px;border:1px solid var(--border,#d8e4ea);border-radius:18px;background:linear-gradient(135deg,rgba(9,82,111,.12),rgba(14,165,233,.04));overflow:hidden;position:relative}

.report-hero:after{content:"";position:absolute;inset-inline-end:-80px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(14,165,233,.12),transparent 70%);pointer-events:none}

.report-eyebrow{display:inline-block;font-size:11px;letter-spacing:1.4px;font-weight:800;color:#15a7d1;margin-bottom:8px}

.report-hero h2{margin:0 0 7px;font-size:27px}

.report-hero p{margin:0;max-width:780px;color:var(--muted,#6b7d88);line-height:1.8}

.report-hero-actions{display:flex;gap:8px;flex-wrap:wrap;z-index:1}

.report-kpi-grid{display:flex!important;flex-wrap:wrap;gap:12px;margin-bottom:16px}

.report-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:7px;margin-bottom:16px;border:1px solid var(--border,#d8e4ea);border-radius:14px;background:var(--surface,#fff)}

.report-tabs button{border:0;background:transparent;color:var(--text,#153244);padding:10px 16px;border-radius:10px;font-weight:700;cursor:pointer}

.report-builder-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,.75fr);gap:14px}

.report-builder-card,.report-builder-side{min-width:0}

.report-form-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}

.report-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted,#6b7d88)}

.report-form-grid input,.report-form-grid select{width:100%}

.report-scope-hint{margin:13px 0;padding:11px 13px;border-radius:11px;border-inline-start:4px solid #0ea5e9;background:rgba(14,165,233,.07);color:var(--text,#153244)}

.report-section-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px;border:1px solid var(--border,#d8e4ea);border-radius:12px;background:var(--surface-2,#f4f8fa)}

.report-section-picker>b{margin-inline-end:4px}

.report-section-picker label{display:flex;align-items:center;gap:6px;font-size:13px}

.report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

.report-quality-list{display:flex;flex-direction:column;gap:12px}

.report-quality-list>div{display:flex;gap:11px;align-items:flex-start;padding:11px;border-radius:12px;background:var(--surface-2,#f4f8fa);border:1px solid var(--border,#d8e4ea)}

.report-quality-list>div>b{display:grid;place-items:center;min-width:34px;height:34px;border-radius:9px;background:#0b617e;color:#fff}

.report-quality-list span{display:flex;flex-direction:column;gap:3px}

.report-quality-list small{color:var(--muted,#6b7d88);line-height:1.55}

.report-template-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}

.report-template{display:flex;flex-direction:column;min-height:220px}

.report-template-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:rgba(14,165,233,.09);font-size:24px;margin-bottom:8px}

.report-template h3{margin:4px 0 7px}

.report-template p{color:var(--muted,#6b7d88);line-height:1.7;flex:1}

.report-template-actions{display:flex;gap:7px;margin-top:12px}

.report-template-actions button{flex:1}

.report-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:10px}

.report-archive-item{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid var(--border,#d8e4ea);border-radius:12px;background:var(--surface-2,#f7fafb)}

.report-archive-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:rgba(14,165,233,.09);font-size:21px}

.report-archive-item>div:nth-child(2){display:flex;flex-direction:column;gap:3px}

.report-archive-item small,.report-archive-item span{color:var(--muted,#6b7d88);font-size:11px}

.report-preview-shell{background:#dfe7eb;padding:18px;max-height:72vh;overflow:auto;border-radius:14px}

.rpt-cover{display:flex;justify-content:space-between;gap:20px;border-bottom:4px solid #0b617e;padding-bottom:18px;margin-bottom:18px}

.rpt-cover span{color:#66818f;font-size:12px}

.rpt-cover h1{margin:7px 0;font-size:27px;color:#0b3852}

.rpt-cover p{margin:0;color:#466373}

.rpt-doc-meta{display:flex;flex-direction:column;gap:6px;text-align:left;min-width:190px}

.rpt-doc-meta b{color:#0b617e}

.rpt-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}

.rpt-kpis>div{background:#f2f7f9;border:1px solid #d6e4ea;padding:12px;border-radius:9px}

.rpt-kpis small{display:block;color:#67808c}

.rpt-kpis b{display:block;margin-top:5px;color:#102a3a}

.rpt-kpis-live{grid-template-columns:repeat(4,minmax(0,1fr))}

.rpt-kpis-live>div{min-height:78px}

.rpt-kpis-live span{display:block;margin-top:4px;color:#78909c;font-size:10px}

.rpt-section{margin:22px 0}

.rpt-section h3{color:#0b617e;border-bottom:1px solid #dce7eb;padding-bottom:8px;margin-bottom:10px}

.rpt-section p{line-height:1.9}

.rpt-table{width:100%;border-collapse:collapse;font-size:11px}

.rpt-table th{background:#0b3852;color:#fff;padding:9px;text-align:right}

.rpt-table td{border-bottom:1px solid #dce7eb;padding:8px;vertical-align:top}

.rpt-exceptions{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.rpt-exceptions>div{border:1px solid #f1c8c8;background:#fff7f7;padding:9px;border-radius:8px}

.rpt-exceptions span{color:#c92b36;font-weight:900;margin-left:7px}

.rpt-exceptions small{display:block;color:#6b7e88;margin-top:4px}

.rpt-ok{background:#eefbf4;padding:11px;border-radius:8px;color:#147245}

.rpt-note{display:block;margin-top:8px;color:#6b7d88}

@media (max-width:1250px){
.report-template-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:1250px){
.report-builder-layout{grid-template-columns:1fr}
}

@media (max-width:1250px){
.report-form-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:720px){
.report-hero{align-items:flex-start;flex-direction:column}
}

@media (max-width:720px){
.report-template-grid,.report-archive-grid,.report-form-grid{grid-template-columns:1fr}
}

@media (max-width:720px){
.report-tabs{overflow-x:auto;flex-wrap:nowrap}
}

@media (max-width:720px){
.report-tabs button{white-space:nowrap}
}

@media (max-width:720px){
.rpt-cover{flex-direction:column}
}

@media (max-width:720px){
.rpt-doc-meta{text-align:right}
}

@media (max-width:720px){
.rpt-kpis{grid-template-columns:1fr 1fr}
}

@media (max-width:720px){
.rpt-exceptions{grid-template-columns:1fr}
}

@media (max-width:720px){
.report-preview-shell{padding:8px}
}

.report-form-upload-box{margin:13px 0;padding:13px;border:1px solid var(--border,#d8e4ea);border-radius:12px;background:linear-gradient(135deg,rgba(14,165,233,.055),rgba(255,255,255,.18));display:flex;flex-direction:column;gap:10px}

.report-form-upload-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

.report-form-upload-head>div{display:flex;flex-direction:column;gap:3px}

.report-form-upload-head b{color:var(--text,#153244)}

.report-form-upload-head small{color:var(--muted,#6b7d88)}

.report-form-upload-btn{min-width:180px}

.report-form-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:30px}

.report-form-file-name{display:inline-flex;align-items:center;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 9px;border-radius:9px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.22);color:#18733d;font-weight:800;font-size:12px}

.report-form-file-empty{color:var(--muted,#6b7d88);font-size:12px}

.report-use-form{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text,#153244)}

.report-form-pdf-note{display:block;color:#a56a00;line-height:1.6}

.report-uploaded-form-preview{display:grid;place-items:center;max-height:70vh;overflow:auto;background:#eef3f6;padding:12px;border-radius:12px}

.report-uploaded-form-preview img{max-width:100%;height:auto;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.14)}

.rpt-form-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:0;pointer-events:none}

@media (max-width:720px){
.report-form-upload-head{align-items:stretch;flex-direction:column}
}

@media (max-width:720px){
.report-form-upload-btn{width:100%}
}

@media (max-width:720px){
.report-form-file-name{max-width:100%}
}
