body:not(.editorial-page){margin:0;background:#f8f8f4;color:#192d28;font:18px/1.7 system-ui,sans-serif}body:not(.editorial-page)>header,body:not(.editorial-page)>footer{padding:24px}.allocation-article{--allocation-line:#789485;--allocation-surface:#edf2ed;--allocation-ink:#192d28;--allocation-link:#176149;max-width:1040px;margin:auto;padding:28px 22px 80px}.allocation-article *{box-sizing:border-box;min-width:0}.allocation-article a{color:var(--allocation-link);text-underline-offset:3px;overflow-wrap:anywhere}.allocation-article p,.allocation-article li{max-width:78ch}.allocation-article h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.13;letter-spacing:-.035em;max-width:26ch}.allocation-article h2{font-size:1.8rem;line-height:1.25;margin-top:3rem}.allocation-article h3{font-size:1.5rem;line-height:1.3;margin-top:2.6rem}.allocation-article h4{font-size:1.1rem;line-height:1.4;margin-top:1.8rem}.allocation-article :is(h1,h2,h3,h4){scroll-margin-top:110px}.allocation-article .scope-table{max-width:100%;overflow:auto;margin:26px 0;border:1px solid var(--allocation-line);border-radius:8px}.allocation-article table{border-collapse:collapse;width:100%;min-width:700px;font-size:.94rem;line-height:1.55}.allocation-article td,.allocation-article th{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--allocation-line)}.allocation-article th{font-weight:650}.allocation-article thead{background:var(--allocation-surface)}.allocation-article .scope-contents{border-left:3px solid var(--allocation-line);padding:18px 24px;margin:36px 0}.allocation-article .scope-contents ul{padding-left:20px;margin-bottom:0}.allocation-article .toc-level-3{margin-left:1.25rem;font-size:.94em}.allocation-article figure{margin:28px 0}.allocation-article figcaption{font-size:.9rem;line-height:1.6;margin-top:12px}.allocation-article .prompt-tool{border:1px solid var(--allocation-line);padding:24px;border-radius:12px;margin:30px 0;background:var(--allocation-surface)}.allocation-article .prompt-tool h3{margin-top:0}.allocation-article button{font:inherit;background:var(--allocation-ink);color:var(--allocation-surface);padding:12px 20px;border:1px solid var(--allocation-ink);border-radius:8px;cursor:pointer}.allocation-article summary{cursor:pointer;padding:12px 0;font-weight:650}.allocation-article textarea{display:block;width:100%;max-width:100%;min-height:320px;margin-top:8px;padding:14px;background:var(--allocation-surface);color:var(--allocation-ink);border:1px solid var(--allocation-line);font:14px/1.6 ui-monospace,monospace;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}.allocation-article label{display:block;font-size:.9rem}.allocation-article #prompt-copy-status{min-height:1.7em;font-size:.94rem}.allocation-article :is(a,button,summary,textarea,.scope-table):focus-visible{outline:3px solid var(--allocation-link);outline-offset:4px}[data-reading-theme="dark"] .allocation-article{--allocation-line:#769687;--allocation-surface:#22382e;--allocation-ink:#eff8f1;--allocation-link:#a4dec0;color:inherit}@media(max-width:800px){}@media(max-width:480px){.allocation-article{padding:22px 16px 60px}.allocation-article h2{font-size:1.5rem}.allocation-article h3{font-size:1.3rem}.allocation-article .scope-contents{padding:14px 16px}}@media(max-width:760px){.allocation-article .scope-table table{display:table;min-width:700px}.allocation-article .scope-table thead{display:table-header-group}.allocation-article .scope-table tbody{display:table-row-group}.allocation-article .scope-table tr{display:table-row}.allocation-article .scope-table th,.allocation-article .scope-table td{display:table-cell;white-space:normal}.allocation-article .scope-table td::before{display:none}}


.allocation-article .evidence-figure img{display:block;width:100%;height:auto;border:1px solid var(--allocation-line);border-radius:12px;background:#f8faf7}.allocation-article li+li{margin-top:.65rem}.allocation-article code{font-size:.9em;overflow-wrap:anywhere}.allocation-article button:hover{filter:brightness(.9)}html:has(.allocation-article){scroll-behavior:auto!important}
[data-reading-theme="dark"] body:not(.editorial-page){background:#13251e;color:#eff8f1}body:not(.editorial-page)>header a,body:not(.editorial-page)>footer a{color:inherit}.allocation-article .evidence-figure{max-width:800px}

.allocation-article .diagram-scroll{overflow-x:auto;max-width:100%}.allocation-article .diagram-scroll img{width:800px;max-width:none}.allocation-article .diagram-scroll:focus-visible{outline:3px solid var(--allocation-link);outline-offset:3px}
.allocation-article .diagram-scroll img{width:1040px}

/* Reset inherited stacked-table widths when retaining native table layout. */
@media(max-width:760px){.allocation-article .scope-table table{table-layout:fixed}.allocation-article .scope-table th,.allocation-article .scope-table td{width:auto;min-width:0;padding:16px;border-bottom:1px solid var(--allocation-line)}.allocation-article .scope-table tr{padding:0}}

/* The seven-column example needs readable cells inside the scroll region. */
.allocation-article .scope-table table{min-width:900px;table-layout:auto}
@media(max-width:760px){.allocation-article .scope-table table{min-width:900px;table-layout:auto}.allocation-article .scope-table th,.allocation-article .scope-table td{width:auto;min-width:0}}

/* Fit the full decision path on desktop; retain readable, scrollable labels on mobile. */
.allocation-article .evidence-figure{max-width:none}.allocation-article .diagram-scroll img{width:100%;min-width:800px;max-width:none}.allocation-article .scroll-hint{font-size:.88rem;margin-bottom:8px}

/* Keep each route question narrower than the smallest viewport. */
.allocation-article .scope-table table{table-layout:fixed}

/* Column widths remain readable at 320px; scroll the table, not the document. */
.allocation-article .scope-table table{width:100%;min-width:calc(var(--columns,3)*220px);table-layout:fixed}.allocation-article .scope-table th,.allocation-article .scope-table td{overflow-wrap:anywhere}.allocation-article .diagram-scroll img{width:100%;min-width:800px;height:auto}

/* The original route diagram keeps its aspect ratio. */
.allocation-article .diagram-scroll img{min-width:760px;width:100%;height:auto}
.allocation-article .byline,.allocation-article .breadcrumbs{font-size:.9rem}
.allocation-article :is(button,a,summary):focus-visible{outline-offset:4px}
