/* Layout for Cover's manipulable count and one-row geometry. Type follows the reading theme. */
[data-cover-bound], [data-cover-count], [data-cover-cube] { margin:24px 0 30px; }
.cover-controls { display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; }
.cover-controls label { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.cover-controls input[type=range] { width:125px; max-width:100%; accent-color:#6860a4; }
.cover-controls select, .cover-controls button { font:inherit; color:inherit; background:white; border:1px solid var(--rule); border-radius:4px; padding:6px 9px; max-width:100%; }
.cover-controls button { cursor:pointer; }
.cover-controls button:focus-visible, [data-cover-cube] [role=button]:focus-visible { outline:2px solid #338bde; outline-offset:3px; }
.cover-controls output { min-width:2em; font-variant-numeric:tabular-nums; }
.cover-plot-scroll { overflow-x:auto; margin-top:16px; }
[data-count-plot], [data-bound-plot], [data-bound-limit] { display:block; width:100%; min-width:580px; }
.cover-axis-description { margin:14px 0 0; }
.cover-pictures { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.cover-pictures h4 { margin:0 0 8px; }
.cover-pictures svg { display:block; width:100%; height:auto; }
.cover-pictures p { margin:6px 0 14px; }
.cover-change, .cover-live { border:1px solid var(--rule); border-radius:6px; padding:14px; margin:16px 0; }
.cover-change h4 { margin:0 0 10px; }
.cover-change .cover-controls + .cover-controls { margin-top:14px; }
.cover-live p { margin:6px 0; }
.cover-live { background:#fafbfc; overflow-wrap:anywhere; }
[data-cover-bound] svg text, [data-cover-count] svg text, [data-cover-cube] svg text, [data-higher-cube] text { font:var(--body) 'Times New Roman',serif; fill:var(--ink,#222); }
.cover-axis { stroke:#555; stroke-width:1; }
.cover-grid { stroke:#e6e6e6; stroke-width:1; }
.cover-curve { fill:none; stroke:#226daf; stroke-width:2.5; }
.cover-reference { stroke:#868195; stroke-dasharray:5 4; }
.cover-boundary { fill:#b6a7dc; fill-opacity:.24; stroke:#7864a3; stroke-width:2; }
.cover-edge { stroke:#b4b4b4; stroke-width:1.2; }
.cover-positive { fill:#246ba5; }
.cover-negative { fill:#b54449; }
.cover-reasons li { margin:10px 0; }
[data-higher-cube] { display:block; width:100%; max-width:620px; }
@media (max-width:600px) {
 .cover-pictures { grid-template-columns:1fr; gap:12px; }
 .cover-pictures svg { max-width:350px; margin:0 auto; }
 .cover-controls { gap:12px; }
 .cover-controls label { width:100%; }
 .cover-controls input[type=range] { flex:1; }
 [data-cover-bound] svg text, [data-cover-count] svg text, [data-cover-cube] svg text, [data-higher-cube] text { font-size:16px; }
}
