.reading-block{max-width:800px;margin:17px 0}.reading-paragraph p{line-height:1.85;margin-bottom:17px}.reading-block h3{margin:24px 0 10px}.reading-block ul{padding-left:23px;margin:10px 0}.reading-block li{margin:10px 0;line-height:1.8}.table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.rich-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.6;min-width:340px}.rich-table th,.rich-table td{text-align:left;vertical-align:top;padding:11px 13px;border-bottom:1px solid var(--line)}.rich-table th{font-weight:650;color:var(--muted);background:var(--chrome)}.rich-table td:first-child{font-weight:550}.example-output{border-left:2px solid #b6cbbf;margin:0 0 20px;padding-left:14px}.output-label{font-size:11px;color:var(--muted)}.example-output pre{padding:7px 0 0;font-size:13px}.setup h3{margin:4px 0 10px}.rule{font-weight:550}.reading-heading{margin-bottom:0}.topic-demo-link{display:inline-block;margin:0 0 15px;font-size:12px}.demo-slot{border:1px solid #cbd9d1;border-radius:6px;margin:27px 0 8px;padding:23px;max-width:100%;min-width:0;background:#fafcf9;scroll-margin-top:calc(var(--header) + 20px)}.demo-title{font-size:20px;margin:8px 0}.demo-intro{font-size:13px;color:var(--muted);line-height:1.7}.demo-controls{display:flex;align-items:flex-end;gap:13px;flex-wrap:wrap;margin:17px 0}.demo-controls .demo-controls{margin:0}.demo-controls[hidden],.demo-controls [hidden]{display:none!important}.demo-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);max-width:100%;min-width:0}.demo-field input,.demo-field select{max-width:100%;height:37px;border:1px solid #cbd5cc;border-radius:4px;background:white;color:var(--ink);padding:6px 9px;font-size:13px}.demo-field input{width:145px}.demo-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:17px;border-top:1px solid var(--line);margin-top:17px}.demo-button{border:1px solid #b9c9bf;border-radius:4px;padding:7px 12px;background:white;color:var(--accent);font-size:12px}.demo-button:hover:enabled{background:#eaf1eb}.demo-button:disabled{color:#88938d;background:transparent;border-color:var(--line)}.demo-step{font-size:11px;color:var(--muted);margin-left:auto}.demo-explanation{font-size:13px;line-height:1.75;min-height:45px;margin:17px 0}.demo-code{border:1px solid var(--line);background:var(--code);border-radius:4px;padding:10px 0;max-height:390px;overflow:auto;font-size:12px;line-height:1.7}.demo-code-line{display:block;min-width:max-content;padding:0 14px 0 6px;white-space:pre}.demo-code-line.active{background:#dce9dd;box-shadow:inset 3px 0 var(--accent);font-weight:600}.demo-line-number{display:inline-block;width:42px;color:#7b8980;user-select:none;font:10px ui-monospace,monospace}.demo-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin:17px 0}.demo-value{min-width:0;margin:13px 0;overflow-wrap:anywhere}.demo-value h4{font-size:11px;color:var(--muted);font-weight:500;margin:0 0 7px}.demo-value p{font-size:13px;line-height:1.7;margin:0}.demo-stack{padding-left:22px;margin:0;font-size:13px}.demo-stack li{padding:3px 0}.demo-error{color:#9f362b!important;font-weight:600}.demo-selected td{background:#e0eddf;font-weight:600}.selection-check{color:var(--accent);font-weight:700}.demo-command{font:12px ui-monospace,monospace;color:var(--accent);overflow-wrap:anywhere;margin:10px 0}.demo-graph{max-width:100%;overflow-x:auto;margin:12px 0}.demo-graph svg{display:block;width:100%;min-width:430px;height:auto}.demo-edge{fill:none;stroke:#91a69a;stroke-width:2}.demo-node circle{fill:#edf4ed;stroke:var(--accent);stroke-width:1.5}.demo-node>text:not(.demo-ref){fill:var(--ink);text-anchor:middle;font:13px ui-monospace,monospace}.demo-ref{fill:var(--accent);font:11px ui-sans-serif,system-ui,sans-serif}.demo-node.inactive{opacity:.4}.demo-node.inactive circle{stroke-dasharray:3 2}.demo-match{font:16px ui-monospace,monospace!important;white-space:pre-wrap;overflow-wrap:anywhere}.demo-match mark{background:#dce9b8;padding:1px 2px}.demo-slot pre:focus-visible,.table-scroll:focus-visible{outline:2px solid #668fdb;outline-offset:2px}
@media(max-width:680px){.reading-block{font-size:14px}.reading-block p{line-height:1.8}.reading-block li{font-size:13px}.rich-table{font-size:12px}.rich-table th,.rich-table td{padding:9px 10px}.demo-slot{padding:16px 12px;margin-left:-3px;margin-right:-3px}.demo-title{font-size:18px}.demo-controls{gap:11px}.demo-field{flex:1 1 125px}.demo-field select,.demo-field input{width:100%;font-size:12px}.demo-step{margin-left:0}.demo-code{font-size:11px}.demo-line-number{width:34px}.demo-explanation{min-height:0}.demo-values{grid-template-columns:1fr 1fr;gap:7px}.demo-value h4{font-size:11px}.demo-graph svg{min-width:430px}.example-output pre{font-size:12px}}
.demo-actions{position:sticky;top:var(--header);z-index:8;background:#fafcf9;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:14px 0}.demo-actions .demo-step{white-space:nowrap}
.fallback-output{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:var(--code);font:13px/1.7 ui-monospace,monospace}
