/* Local, responsive normality diagnostics; preserve the shared site design. */
.normality-section{scroll-margin-top:24px}
.normality-section [hidden]{display:none!important}
.normality-section .calculator-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start}
.normality-section .results{position:static;min-width:0}
.normality-section .panel-title{align-items:flex-start;flex-wrap:wrap;gap:8px}
.normality-section textarea{width:100%;min-height:220px;resize:vertical;padding:15px;border:1px solid #aebdab;border-radius:9px;background:#fff;color:var(--ink);font:15px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4}
.normality-section textarea:focus-visible,.normality-section summary:focus-visible,.normality-table:focus-visible,.normality-chart:focus-visible{outline:3px solid #227954;outline-offset:4px}
.normality-section textarea[aria-invalid=true]{border-color:#9c4636}
.normality-help,.normality-status{font-size:12px;color:var(--muted);line-height:1.75;margin:11px 0 16px}
.normality-privacy{font-size:12px;line-height:1.7;color:var(--green);margin:22px 0 0}
.normality-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}
.normality-summary dt{font-size:12px;color:#536950}
.normality-summary dd{margin:3px 0 0;font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.normality-section figure{margin:0 0 28px;padding:16px 12px;background:#fff;border:1px solid #cbd9c5;border-radius:12px}
.normality-section figcaption{font-size:15px;font-weight:650;margin:0 0 8px}
.normality-chart{width:100%;overflow-x:auto}
.normality-chart svg{display:block;width:100%;min-width:520px;height:auto;min-height:180px;overflow:visible}
.normality-chart text{font:14px system-ui,sans-serif;fill:#364e43}
.normality-chart .normality-axis-label{font-size:14px;font-weight:600}
.normality-axis{stroke:#64776b;stroke-width:1.3}
.normality-gridline{stroke:#e5ece4;stroke-width:1}
.normality-bar{fill:#2a765d}
.normality-point{fill:#235b48;fill-opacity:.62}
.normality-reference{stroke:#9b4d35;stroke-width:2;stroke-dasharray:7 5}
.normality-section .normality-plot-note{font-size:12px;line-height:1.7;color:#536950;margin:8px 0 0}
.normality-section details{border-top:1px solid #cbd9c5;padding:15px 0;margin:0}
.normality-section summary{cursor:pointer;font-size:13px;font-weight:650;line-height:1.6}
.normality-table{max-height:360px;overflow:auto;margin-top:14px;font-variant-numeric:tabular-nums}
.normality-table table{border-collapse:collapse;min-width:100%;font-size:12px;background:#fff;color:#243d31}
.normality-table caption{text-align:left;line-height:1.7;font-size:11px;padding-bottom:10px}
.normality-table th,.normality-table td{padding:9px 12px;text-align:right;border:1px solid #d3dfd0;white-space:nowrap}
.normality-table th{background:#eff4eb;font-weight:600}
.normality-test{padding-top:18px!important;margin-top:4px!important}
.normality-test dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:17px}
.normality-test dt{font-size:12px;color:#536950;line-height:1.6}
.normality-test dd{font-size:18px;font-weight:600;margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.normality-test .normality-wide{grid-column:1/-1}
.normality-test .normality-wide dd{font-size:13px;line-height:1.7}
.normality-notes{padding-left:20px;font-size:12px;line-height:1.8;color:#624326}
.normality-notes:empty{display:none}
.normality-copy-status{font-size:11px;color:var(--green);line-height:1.7;min-height:18px}
@media(max-width:900px){.normality-section .calculator-layout{grid-template-columns:1fr}.normality-section figure{padding:15px 10px}.normality-chart svg{min-height:0}}
@media(max-width:480px){.normality-section .results{padding:22px 14px}.normality-chart text{font-size:14px}.normality-chart .normality-axis-label{font-size:14px}.normality-test dl{grid-template-columns:1fr}}
@media print{.normality-section .form-panel,.normality-copy-status,.normality-section .result-actions{display:none!important}.normality-section .calculator-layout{display:block}.normality-section figure{break-inside:avoid}.normality-section .results{border:0}.normality-chart svg{max-height:270px}}
