.analysis-page{padding-block:45px}.analysis-intro{margin-bottom:30px}.analysis-intro>span{color:#167568;font-weight:700}.analysis-intro h1{font-size:40px;margin:10px 0}.analysis-card{background:#fff;border:1px solid #dbe4e4;border-radius:16px;padding:24px;margin-bottom:20px;color:#193742}.analysis-card h2{font-size:21px}.analysis-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.analysis-editor label{display:block;font-weight:700;margin-block:10px}.analysis-editor input:not([type=checkbox]),.analysis-editor select,.analysis-editor textarea{display:block;width:100%;box-sizing:border-box;font:inherit;border:1px solid #bdcccc;border-radius:8px;padding:10px;background:#fafcfc;color:#193742;margin-top:7px}.analysis-editor textarea{resize:vertical}.analysis-editor button{font:inherit;cursor:pointer;border:1px solid #167568;border-radius:8px;background:#167568;color:white;padding:10px 18px}.analysis-editor button:disabled{opacity:.5;cursor:not-allowed}.analysis-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:30px}.analysis-help,.analysis-actions span{font-size:14px;color:#526570}#analysis-error{background:#fff0ee;color:#9b271d;padding:15px}#import-status{color:#166558}.analysis-report{box-sizing:border-box;width:210mm;max-width:100%;margin:30px auto;background:white;color:#173440;padding:12mm;box-shadow:0 8px 35px #102a3820;font-size:13px;line-height:1.6}[hidden]{display:none!important}#report-letterhead{width:100%;height:30mm;object-fit:contain;margin-bottom:4mm}.report-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #167568;padding-bottom:12px;gap:20px}.report-heading h2{font-size:26px;margin:0}.report-heading strong{max-width:45%;overflow-wrap:anywhere}.report-details{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 15px;padding:15px 0;overflow-wrap:anywhere}.report-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.report-stat{background:#edf5f3;border:1px solid #d6e7e1;border-radius:8px;text-align:center;padding:10px 2px}.report-stat strong{display:block;font-size:24px;color:#126558}.analysis-report h3{font-size:16px;margin:16px 0 8px}.report-table{width:100%;border-collapse:collapse;text-align:right}.report-table th{background:#edf5f3}.report-table td,.report-table th{padding:8px;border-bottom:1px solid #dce5e5}.level-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-left:7px}.report-charts{display:grid;grid-template-columns:1.2fr 1fr;gap:25px;align-items:center}.bar-row{display:grid;grid-template-columns:65px 1fr 24px;align-items:center;gap:8px;margin:10px 0}.bar-track{height:14px;background:#edf1f3;border-radius:3px;overflow:hidden}.bar-fill{height:100%}#report-donut{display:block;width:180px;max-width:100%;margin:auto}.report-method{font-size:11px;color:#526570;border-top:1px solid #dce5e5;padding-top:12px}.report-signatures{display:flex;justify-content:space-between;gap:20px;text-align:center;margin-top:20px}.report-signatures>div{width:45%;overflow-wrap:anywhere}.report-signatures strong{display:block;margin-top:7px}.analysis-editor :focus-visible{outline:3px solid #f7b84b;outline-offset:3px}@media(max-width:700px){.analysis-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-report{padding:16px}.report-stats{grid-template-columns:repeat(3,1fr)}.report-details{grid-template-columns:repeat(2,1fr)}.report-charts{grid-template-columns:1fr}}@page{size:A4 portrait;margin:10mm}@media print{html,body{background:white!important;margin:0!important;padding:0!important}body>header,body>footer,.skip,.analysis-intro,.analysis-editor{display:none!important}main,.analysis-page{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}.analysis-report{width:190mm;max-width:none;margin:0;padding:5mm;box-shadow:none;font-size:12px;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-stats{grid-template-columns:repeat(5,1fr)}.report-details{grid-template-columns:repeat(3,1fr)}.report-charts{grid-template-columns:1.2fr 1fr}}

/* Refined analysis workspace and print infographic */
.analysis-page{--ink:#173b47;--teal:#157d72;max-width:1180px}
.analysis-intro{position:relative;overflow:hidden;background:linear-gradient(115deg,#143443,#1b554f);border-radius:24px;padding:38px 40px;color:#fff;box-shadow:0 15px 35px #173b4712}
.analysis-intro>span{display:inline-block;color:#a8e4d1;background:#ffffff10;border:1px solid #ffffff20;padding:5px 12px;border-radius:30px;font-size:13px}
.analysis-intro h1{color:#fff;font-weight:900;font-size:44px;letter-spacing:-1px}
.analysis-intro p{color:#d6e7e4;max-width:620px;line-height:1.9;margin-bottom:0;position:relative}
.intro-orbit{position:absolute;left:50px;top:20px;width:170px;height:170px;border:22px solid #ffffff0b;border-top-color:#80d4bb;border-left-color:#dfb974;border-radius:50%;transform:rotate(-25deg);display:grid;place-items:center}
.intro-orbit span{font-size:55px;color:#ffffff80;transform:rotate(25deg)}
.analysis-steps{display:flex;gap:28px;align-items:center;margin:26px 8px 30px;color:#536e75;font-size:14px}
.analysis-steps span{display:flex;align-items:center;gap:9px}.analysis-steps b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#deeee8;color:#176e60}
.analysis-card{border-color:#e0e9e8;padding:28px;border-radius:18px;box-shadow:0 5px 22px #1b414905}
.analysis-card h2{border-bottom:1px solid #e6eeec;padding-bottom:17px;color:var(--ink);letter-spacing:-.3px}
.analysis-card>p{color:#62767c;font-size:14px}
.analysis-editor label{font-size:14px;color:#35535d}
.analysis-editor input:not([type=checkbox]),.analysis-editor select,.analysis-editor textarea{padding:12px;border-color:#d8e3e1;border-radius:10px;background:#fbfdfc;transition:border-color .2s,box-shadow .2s}
.analysis-editor input:focus,.analysis-editor textarea:focus,.analysis-editor select:focus{border-color:#258b7a;box-shadow:0 0 0 3px #258b7a10}
.analysis-editor input[type=file]{border:1px dashed #a8c8be;background:#f3f9f6;padding:17px}
.analysis-editor input::file-selector-button{border:0;border-radius:7px;padding:8px 12px;background:#dceee5;color:#205d50;font:inherit;margin-inline-end:12px;cursor:pointer}
.analysis-editor textarea{line-height:1.9;min-height:150px}
.analysis-actions{padding:18px;background:#edf4f1;border:1px solid #dde9e4;border-radius:14px}
.analysis-editor button{font-weight:700;transition:background .2s,transform .2s}
.analysis-editor button:hover:not(:disabled){background:#105f57;transform:translateY(-1px)}
.analysis-editor #remove-letterhead{background:transparent;border:0;color:#687a7e;padding:4px 0;font-size:12px}
.analysis-editor #print-report{background:white;color:#166c61;border-color:#b0cbc1}
.analysis-report{border:1px solid #dfe7e6;border-top:5px solid #177b6c;border-radius:5px;padding:10mm;box-shadow:0 18px 55px #183c4514}
.report-heading{border-bottom:1px solid #d8e5e0;padding-bottom:14px}
.report-heading>div>span{font-size:11px;color:#4e7a72;letter-spacing:.2px}.report-heading h2{font-weight:900;font-size:29px;color:#183e48}
.report-heading>strong{font-size:14px}
.report-details{font-size:11px;gap:7px 12px;padding:14px 0}
.report-stats{gap:7px}.report-stat{background:#f8faf9;border:1px solid #e0e9e5;border-top:3px solid #a8c8c0;border-radius:9px;font-size:10px;padding:10px 2px;color:#566e73}
.report-stat strong{font-size:27px;font-weight:900;line-height:1.6;color:#214d57}
.report-stat:last-child{background:#e9f4ef;border-color:#badbce;border-top-color:#178574}.report-stat:last-child strong{color:#147563}
.report-insight{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin-top:14px;padding:10px 12px;border-right:3px solid #bca36b;border-radius:5px;background:#faf8f1;font-size:10px;color:#66614e}
.report-insight strong{color:#756232}
.report-table{font-size:11px}.report-table th{font-size:10px;color:#56716f;background:#f0f5f2;font-weight:700}
.report-table td,.report-table th{padding:7px 10px;border-color:#edf1ef}.report-table td:first-child{font-weight:700}.report-table td:last-child{font-weight:800}
.report-table tr:nth-child(even){background:#fbfcfb}
.report-charts{gap:12px;margin-top:17px;align-items:stretch;grid-template-columns:1.15fr 1fr}
.chart-panel{border:1px solid #e1e9e5;background:#fcfdfc;border-radius:12px;padding:12px}
.analysis-report .chart-panel h3{margin:0 0 14px;font-size:12px;color:#31555b}
.bar-row{grid-template-columns:56px 1fr 42px;gap:7px;margin:15px 0;font-size:10px}.bar-row>strong{text-align:left;color:#3a5c62;font-size:11px}
.bar-track{height:11px;border-radius:20px;background:#ecf0ee}.bar-fill{border-radius:20px;min-width:0}
#report-donut{width:140px;overflow:visible}.report-legend{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;margin-top:7px}
.legend-item{display:flex;align-items:center;gap:4px;font-size:8px;color:#52696d}.legend-item i{width:6px;height:6px;border-radius:50%;flex-shrink:0}.legend-item strong{margin-inline-start:auto;color:#284b52}
.report-method{font-size:9px;line-height:1.8;margin-top:14px}.report-signatures{margin-top:16px;font-size:10px;color:#6c7d7e}.report-signatures strong{font-size:12px;color:#274d56;margin-top:5px}
.report-signatures>div{border-top:1px solid #dce5e1;padding-top:9px}
@media(max-width:800px){.intro-orbit{left:-50px;opacity:.4}.analysis-intro{padding:28px}.analysis-intro p{max-width:80%}.analysis-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.analysis-intro h1{font-size:34px}.analysis-steps{gap:12px;justify-content:space-between;font-size:10px;margin-inline:0}.analysis-steps span{gap:5px}.analysis-steps b{width:23px;height:23px;flex-shrink:0}.analysis-card{padding:18px}.analysis-fields{gap:10px}.analysis-report{padding:15px}.report-heading h2{font-size:23px}.report-stats{grid-template-columns:repeat(2,1fr)}.report-stat:last-child{grid-column:1/-1}.report-details{grid-template-columns:repeat(2,1fr)}.report-charts{grid-template-columns:1fr}.report-legend{font-size:11px}.legend-item{font-size:11px}.report-table td,.report-table th{padding:7px 4px;font-size:10px}.report-insight{display:grid}}
@media print{.analysis-steps{display:none!important}.analysis-report{width:190mm;border:0;border-top:3px solid #177b6c;border-radius:0;padding:4mm;box-shadow:none}.report-stats{grid-template-columns:repeat(5,1fr)}.report-stat:last-child{grid-column:auto}.report-details{grid-template-columns:repeat(3,1fr)}.report-charts{grid-template-columns:1.15fr 1fr}.report-insight{display:flex}.report-heading h2{font-size:27px}.legend-item{font-size:8px}.report-table td,.report-table th{font-size:11px}.chart-panel{break-inside:avoid}}

/* Permanent school letterhead: preserve the original aspect ratio on screen and paper. */
.analysis-report #report-letterhead{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;margin:0 0 5mm;break-inside:avoid}
@media print{.analysis-report #report-letterhead{display:block!important;width:100%;height:auto;margin-bottom:4mm}}

/* Keep the school footer at the bottom of the report sheet without overlaying content. */
.analysis-report{display:flex;flex-direction:column;min-height:297mm}
.analysis-report> *{flex-shrink:0}
.report-footer{margin-top:auto;padding-top:6mm;break-inside:avoid}
#report-footer-image{display:block;width:100%;height:auto;object-fit:contain}
@media screen and (max-width:700px){.analysis-report{min-height:0}.report-footer{margin-top:16px}}
@media print{.analysis-report{min-height:276mm}.report-footer{margin-top:auto;padding-top:4mm}#report-footer-image{display:block!important;width:100%;height:auto}}

/* Full-width footer, while report text keeps its existing side spacing. */
.analysis-report{--report-side-padding:10mm;padding-inline:var(--report-side-padding)}
.report-footer{margin-inline:calc(-1 * var(--report-side-padding));align-self:stretch}
@media screen and (max-width:520px){.analysis-report{--report-side-padding:15px}}
@page{size:A4 portrait;margin:10mm 0}
@media print{.analysis-report{--report-side-padding:14mm;width:210mm;max-width:100%;padding-inline:var(--report-side-padding)}}

/* Center the report title in preview and print. */
.analysis-report .report-heading{justify-content:center;text-align:center}

/* A separate watermark layer keeps text at full opacity and prints without background graphics. */
.analysis-report{position:relative;isolation:isolate}
.analysis-report> :not(.report-watermark){position:relative;z-index:1}
.analysis-report>.report-watermark{position:absolute;z-index:0;inset-inline:0;top:50%;transform:translateY(-50%);display:block;width:100%;max-width:none;height:auto;margin:0;opacity:.045;pointer-events:none;user-select:none;image-rendering:auto}
@media print{.analysis-report>.report-watermark{display:block!important;opacity:.045;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Coordinated, print-sharp SVG charts and level colors. */
.report-charts{grid-template-columns:1.15fr 1fr;gap:12px}
.chart-panel{background:linear-gradient(145deg,#fff,#f6faf8);border:1px solid #dae7e1;border-radius:14px;padding:12px;box-shadow:0 3px 10px #193d4805}
.analysis-report .chart-panel h3{font-size:12px;display:flex;align-items:center;gap:7px;margin-bottom:8px}
.chart-panel h3::before{content:'';display:inline-block;width:4px;height:15px;background:#208477;border-radius:3px}
.count-chart{display:block;width:100%;height:auto;overflow:visible;direction:ltr}
.count-chart text{font-family:inherit}.count-chart g:focus{outline:none}.count-chart g:focus rect,.count-chart g:hover rect{stroke:#173b47;stroke-width:1.5}
#report-donut{width:132px;filter:drop-shadow(0 3px 3px #153d4310)}
#report-donut circle[tabindex]:hover,#report-donut circle[tabindex]:focus{stroke-width:30;outline:none}
.report-legend{display:grid;grid-template-columns:1fr;gap:3px;margin-top:5px}
.legend-item{display:grid;grid-template-columns:7px 1fr auto 37px;gap:5px;font-size:9px;align-items:center;padding:2px 0;border-bottom:1px solid #eaf0ec}
.legend-item small{color:#60777a;font-size:8px}.legend-item strong{font-size:10px;font-variant-numeric:tabular-nums}.legend-item:last-child{border-bottom:0}
.report-table tbody tr{background:var(--level-tint)!important}
.report-table tbody td:first-child{color:var(--level-color);border-inline-start:3px solid var(--level-color)}
.report-table tbody td:last-child{color:var(--level-color)}
@media screen and (max-width:520px){.report-charts{grid-template-columns:1fr}.count-chart{max-width:380px;margin:auto}#report-donut{width:175px}.legend-item{font-size:12px}.legend-item small{font-size:10px}.legend-item strong{font-size:12px}}
@media print{.report-charts{grid-template-columns:1.15fr 1fr}.chart-panel{box-shadow:none;padding:10px}#report-donut{filter:none;width:125px}.count-chart{width:100%}.legend-item{font-size:9px}.legend-item small{font-size:8px}.legend-item strong{font-size:10px}}

/* Subtle decorative waves: independent layers preserve text and logo opacity. */
.analysis-page{position:relative;isolation:isolate}
.analysis-page::before{content:'';position:absolute;inset:0;z-index:-1;background:url('../images/report-waves.svg') center top / 100% auto repeat-y;pointer-events:none}
.analysis-report>.report-waves{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:fill;border-radius:inherit;pointer-events:none;user-select:none}
.analysis-report>.report-watermark{z-index:1}
.analysis-report> :not(.report-watermark):not(.report-waves){position:relative;z-index:2}
@media print{.analysis-page::before{display:none}.analysis-report>.report-waves{display:block!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* One accessible summary for every invalid score. */
#analysis-error{border:1px solid #edc8c4;border-inline-start:4px solid #ba4a43;border-radius:12px;padding:18px;color:#7f302b;background:#fff6f4;margin-block:16px}.error-title{display:block;font-size:16px}#analysis-error p{font-size:13px;margin:8px 0 12px}.score-errors-scroll{max-height:330px;overflow:auto}.score-errors{width:100%;border-collapse:collapse;text-align:right;font-size:13px}.score-errors th,.score-errors td{padding:10px;border-bottom:1px solid #efd7d3;vertical-align:top}.score-errors th{background:#fbe8e4;position:sticky;top:0}.score-errors td{background:#fffaf9}.score-errors .invalid-score{font-weight:800;overflow-wrap:anywhere;max-width:200px;white-space:pre-wrap;unicode-bidi:plaintext}.score-errors th:first-child{width:80px}@media(max-width:520px){.score-errors th,.score-errors td{padding:7px;font-size:11px}#analysis-error{padding:12px}}

/* Performance distribution: clear hierarchy, color badges and proportional meters. */
.report-table{border-collapse:separate;border-spacing:0 5px;table-layout:fixed}
.report-table thead th{background:#244b55;color:#fff;border:0;font-size:10px;font-weight:700;padding:9px 10px}
.report-table thead th:first-child{border-radius:0 8px 8px 0;width:23%}
.report-table thead th:nth-child(2){width:33%}
.report-table thead th:nth-child(3){width:17%;text-align:center}
.report-table thead th:last-child{border-radius:8px 0 0 8px;width:27%}
.report-table tbody tr{background:transparent!important}
.report-table tbody th,.report-table tbody td{background:var(--level-tint);border:0;border-block:1px solid #e8efeb;padding:8px 10px;vertical-align:middle}
.report-table tbody th{border-inline-start:3px solid var(--level-color);border-radius:0 8px 8px 0;text-align:right}
.report-table tbody td:last-child{border-inline-end:1px solid #e8efeb;border-radius:8px 0 0 8px}
.performance-badge{display:inline-flex;align-items:center;gap:5px;color:var(--level-color);font-weight:800;white-space:nowrap;font-size:11px}
.performance-badge .level-dot{background:var(--level-color);width:7px;height:7px;margin:0;box-shadow:0 0 0 3px #ffffffb0;flex-shrink:0}
.performance-range{color:#49636b;font-size:10px}
.performance-count{text-align:center}.performance-count strong{display:inline-grid;place-items:center;min-width:29px;height:26px;padding-inline:4px;border-radius:7px;background:#ffffffcf;color:var(--level-color);font-size:17px;font-weight:900;line-height:1}
.performance-ratio strong{display:block;color:var(--level-color);font-size:12px;font-weight:800;margin-bottom:4px;line-height:1.2}
.performance-meter{display:block;height:5px;border-radius:9px;background:#dfe8e5;overflow:hidden}
.performance-meter>span{display:block;height:100%;border-radius:inherit;background:var(--level-color)}
@media screen and (max-width:520px){.report-table thead th,.report-table tbody th,.report-table tbody td{padding:7px 5px}.performance-badge{font-size:10px;gap:4px}.performance-range{font-size:9px}.performance-count strong{font-size:15px;min-width:23px}.performance-ratio strong{font-size:11px}}
@media print{.report-table{border-spacing:0 4px}.report-table thead th{padding:7px 9px}.report-table tbody th,.report-table tbody td{padding:6px 9px}.performance-count strong{height:23px;font-size:16px}.performance-badge{font-size:11px}.performance-range{font-size:10px}.performance-meter{height:4px}}

/* A single A4 sheet; only the report body is scaled when unusually long data needs it. */
.report-body{min-width:0}
@page{size:A4 portrait;margin:0}
@media print{
 html,body{width:210mm!important;height:auto!important;min-height:0!important}
 .analysis-report{box-sizing:border-box;width:210mm;max-width:none;height:296mm;min-height:296mm;margin:0!important;padding:8mm 14mm 0;border:0;break-before:avoid;break-after:avoid;break-inside:avoid;overflow:visible}
 .report-body{flex:0 0 auto;min-height:0;zoom:var(--report-print-scale,1)}
 .analysis-report #report-letterhead{margin-bottom:3mm}
 .report-heading{padding-bottom:8px}.report-heading h2{font-size:25px}
 .report-details{padding:10px 0;gap:5px 10px}
 .report-stat{padding:7px 2px}.report-stat strong{font-size:24px}
 .report-insight{margin-top:10px;padding:7px 10px}
 .analysis-report h3{margin-top:12px;margin-bottom:6px}
 .report-table{border-spacing:0 3px}
 .report-table tbody th,.report-table tbody td{padding:5px 8px}
 .report-charts{margin-top:10px}.chart-panel{padding:8px}
 .report-signatures{margin-top:12px}.report-signatures>div{padding-top:6px}
 .report-footer{flex:0 0 auto;margin-top:auto;padding-top:3mm}
}

/* Isolate the printed sheet from all site layout and pagination. */
@media print{
 html,body{display:block!important;box-sizing:border-box!important;width:210mm!important;height:296mm!important;min-height:0!important;max-height:296mm!important;margin:0!important;padding:0!important;overflow:hidden!important}
 body> :not(#main-content){display:none!important}
 #main-content> :not(.analysis-page),.analysis-page> :not(#report){display:none!important}
 #main-content,.analysis-page{display:block!important;position:static!important;box-sizing:border-box!important;width:210mm!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;transform:none!important}
 #main-content::before,#main-content::after,.analysis-page::before,.analysis-page::after{display:none!important}
 #report.analysis-report{position:absolute!important;top:0!important;left:0!important;right:auto!important;box-sizing:border-box!important;width:210mm!important;height:296mm!important;min-height:0!important;max-height:296mm!important;margin:0!important;padding:8mm 14mm 0!important;overflow:hidden!important;break-before:auto!important;break-after:auto!important;break-inside:avoid!important}
 #report .report-body{display:flow-root;flex:none}
 #report .report-footer{margin-bottom:0!important}
}

/* Balanced form fields and a full-width, structured report metadata panel. */
.analysis-editor .report-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;align-items:stretch}
.analysis-editor .report-inputs>label{display:flex;flex-direction:column;justify-content:space-between;gap:8px;margin:0;font-size:13px;line-height:1.6;color:#39565e}
.analysis-editor .report-inputs input{height:48px;min-width:0;margin:0;padding:11px 13px;background:#f8fbfa;border-color:#d8e5df;border-radius:10px;font-size:14px}
.analysis-editor input::placeholder{font-size:12px;color:#81928e;font-weight:400}
.analysis-editor .report-inputs input[type=number]{font-variant-numeric:tabular-nums}
.analysis-editor .form-section-note{margin:0 0 20px;color:#738781;font-size:13px}
#import-options .analysis-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.report-body .report-details{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0;padding:0;margin:12px 0;border:1px solid #dce7e1;border-radius:10px;overflow:hidden;background:#f9fcfa}
.report-detail{grid-column:span 3;min-width:0;padding:8px 12px;border-top:1px solid #e3ece6;border-inline-end:1px solid #e3ece6}
.report-detail-wide{grid-column:span 6;border-top:0}
.report-detail:nth-child(2),.report-detail:last-child{border-inline-end:0}
.detail-label{display:block;font-size:9px;font-weight:500;color:#72877d;margin-bottom:3px;line-height:1.5}
.detail-value{display:block;font-size:12px;font-weight:800;color:#254e47;line-height:1.6;overflow-wrap:anywhere;unicode-bidi:plaintext}
@media screen and (max-width:800px){.analysis-editor .report-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media screen and (max-width:520px){.analysis-editor .report-inputs{grid-template-columns:1fr;gap:15px}.report-detail{grid-column:span 6;padding:7px 9px}.report-detail-wide{grid-column:span 12}.report-detail:nth-child(2){border-top:1px solid #e3ece6}.report-detail-wide,.report-detail:nth-child(even){border-inline-end:0}.detail-value{font-size:11px}}
@media print{.report-body .report-details{grid-template-columns:repeat(12,minmax(0,1fr));margin:9px 0;border-radius:8px}.report-detail{grid-column:span 3;padding:6px 9px}.report-detail-wide{grid-column:span 6}.detail-label{font-size:8px;margin-bottom:2px}.detail-value{font-size:11px;line-height:1.5}}

/* Center report metadata labels and entered values in preview and print. */
.report-body .report-detail{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.report-body .detail-label,.report-body .detail-value{text-align:center}

/* Paper-card finish for chart panels, with a subtle lower-left fold. */
.report-charts .chart-panel{position:relative;isolation:isolate;border-radius:14px 14px 14px 3px;padding-bottom:22px;box-shadow:0 5px 14px rgba(27,65,66,.09),0 1px 3px rgba(27,65,66,.04)}
.report-charts .chart-panel::after{content:'';position:absolute;left:-1px;bottom:-1px;width:20px;height:20px;background:linear-gradient(45deg,#edf3ef 0%,#edf3ef 48%,#b8cec5 49%,#dbe8e1 58%,#f4f8f5 100%);clip-path:polygon(0 0,100% 0,100% 100%);filter:drop-shadow(1px -1px 1px rgba(35,70,60,.12));pointer-events:none;z-index:1}
@media print{.report-charts .chart-panel{box-shadow:0 2px 6px rgba(27,65,66,.06);padding-bottom:18px;break-inside:avoid}.report-charts .chart-panel::after{width:16px;height:16px;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Larger folded corners with a separate shadow layer and soft panel gradients. */
.report-charts .chart-panel{--fold-size:29px;padding-bottom:32px;background:linear-gradient(135deg,#ffffff 0%,#f0f8f4 55%,#dfede7 100%);box-shadow:0 7px 18px rgba(27,65,66,.11),0 2px 5px rgba(27,65,66,.05)}
.report-charts .chart-panel:nth-child(2){background:linear-gradient(135deg,#ffffff 0%,#f0f6fa 55%,#e1edf0 100%)}
.report-charts .chart-panel::before{content:'';position:absolute;left:1px;bottom:1px;width:var(--fold-size);height:var(--fold-size);background:rgba(33,66,59,.24);clip-path:polygon(0 0,100% 0,100% 100%);transform:translate(2px,-2px);filter:blur(3px);pointer-events:none;z-index:0}
.report-charts .chart-panel::after{width:var(--fold-size);height:var(--fold-size);background:linear-gradient(45deg,#a7bfb4 0%,#c8dbd0 45%,#edf5ef 80%,#ffffff 100%);filter:drop-shadow(2px -2px 2px rgba(32,64,55,.24));box-shadow:inset -1px 1px 0 rgba(255,255,255,.85)}
.report-charts .chart-panel:nth-child(2)::after{background:linear-gradient(45deg,#a7bec8 0%,#cbdde4 45%,#eff6fa 80%,#ffffff 100%)}
@media print{.report-charts .chart-panel{--fold-size:24px;padding-bottom:27px;box-shadow:0 3px 8px rgba(27,65,66,.09);print-color-adjust:exact;-webkit-print-color-adjust:exact}}
