:root{--paper:#f6f3ec;--white:#fffefb;--ink:#242c29;--muted:#686c62;--line:#dddcd1;--red:#782e40;--red-dark:#542033;--gold:#be9e62;--green:#597163;--sand:#ece5d8;--radius:5px;color-scheme:light;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}a{color:inherit}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b79455;outline-offset:4px}button{color:inherit}button:disabled{opacity:.35}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(2.8rem,5vw,4.5rem);line-height:1.09;letter-spacing:-.047em;margin-bottom:22px}h1 em{color:var(--red);font-weight:400}h2{font-size:2.25rem;letter-spacing:-.035em;line-height:1.2;margin-bottom:20px}h3{font-size:1.12rem;line-height:1.4;margin-bottom:9px}p{margin-bottom:16px}.muted{color:var(--muted)}.small{font-size:.85rem}.tiny{font-size:.7rem;letter-spacing:.04em}.lead{font-size:1.1rem;max-width:700px;color:var(--muted);line-height:1.7}.eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.16em;line-height:1.6;color:var(--red);margin-bottom:18px}.small-line{display:inline-block;width:25px;height:1px;background:var(--red);vertical-align:middle;margin-right:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;padding:15px 23px;min-height:50px;background:var(--red);color:#fffdf5;border:1px solid var(--red);border-radius:3px;text-decoration:none;font-weight:600;font-size:.87rem;transition:background .15s,transform .15s}.button:hover{background:var(--red-dark);border-color:var(--red-dark);transform:translateY(-1px)}.button span{font-size:1.25rem;font-weight:400}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.text-button{border:0;background:transparent;padding:7px 0;text-decoration:none;font-size:.8rem}.text-button:hover{text-decoration:underline}.text-link{color:var(--red);text-decoration:none;border-bottom:1px solid #b78d93;padding-bottom:5px;font-size:.87rem;font-weight:600}.text-link span{margin-left:15px}.tag{display:inline-block;font-size:.61rem;letter-spacing:.12em;font-weight:bold;background:#ede6dd;color:var(--red);padding:5px 9px;border-radius:2px}.topbar{height:106px;max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 42px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:.59rem;line-height:1.45;letter-spacing:.15em}.brand strong{font-size:.85rem;letter-spacing:.08em}.brand-mark{font-family:Georgia,serif;background:var(--red);color:#f9e8bf;width:36px;height:43px;border-radius:2px;display:grid;place-items:center;font-size:1.5rem;box-shadow:inset 0 0 0 3px #ffffff15}.topbar nav{display:flex;gap:28px;align-items:center}.edition{font-size:.59rem;letter-spacing:.13em;color:var(--muted);border-left:1px solid var(--line);padding-left:25px}footer{max-width:1196px;margin:50px auto 0;padding:24px 0;display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);font-size:.71rem;color:var(--muted)}footer .text-button{font-size:inherit}.landing{max-width:1196px;margin:auto}.hero{display:grid;grid-template-columns:1.13fr 1fr;gap:50px;align-items:center;min-height:650px;padding:75px 0}.hero h1{font-size:clamp(3.6rem,5.5vw,5.2rem)}.hero .eyebrow{margin-bottom:30px}.hero-lead{font-size:1.28rem;line-height:1.6;margin-bottom:18px}.hero-text{max-width:445px;font-size:.97rem}.hero-actions{display:flex;gap:20px;align-items:center;margin-top:30px}.hero-actions .tiny{font-size:.58rem}.hero-facts{display:flex;gap:27px;color:var(--muted);font-size:.75rem;margin-top:42px}.hero-facts span{border-right:1px solid var(--line);padding-right:25px}.hero-facts span:last-child{border:0;padding:0}.hero-facts b{font-size:1rem;color:var(--ink);margin-right:6px}.hero-art{height:470px;position:relative;background:radial-gradient(ellipse at 50% 55%,#ded8c6aa,transparent 67%)}.paper{position:absolute;width:290px;height:355px;top:5px;left:65px;background:var(--white);box-shadow:4px 16px 45px #34312b15}.paper-back{transform:rotate(8deg);left:78px;top:17px;background:#eae4d8}.paper-front{transform:rotate(-5deg);padding:25px 25px}.paper-top{display:flex;justify-content:space-between;letter-spacing:.11em;font-size:.49rem;border-bottom:1px solid var(--line);padding-bottom:14px}.paper h2{font-size:1.85rem;margin-top:24px;margin-bottom:14px}.mini-rule{height:2px;background:var(--ink);width:40px;margin-bottom:15px}.paper-stat{display:flex;justify-content:space-between;font-size:.64rem;margin:7px 0}.paper-stat b{font-family:Georgia,serif;font-size:.9rem}.paper-line{height:3px;background:#e9e7df;width:90%;margin:12px 0}.paper-line.short{width:60%}.stamp{position:absolute;left:23px;bottom:24px;color:var(--red);border:1px solid #782e4055;padding:4px 10px;font-size:.5rem;letter-spacing:.2em;transform:rotate(-3deg)}.red-box{position:absolute;top:225px;left:185px;width:239px;transform:rotate(8deg);filter:drop-shadow(12px 20px 13px #28231b2d)}.box-handle{height:48px;width:88px;border:9px solid #4d1725;border-bottom:0;border-radius:11px 11px 0 0;position:absolute;left:73px;top:-35px;background:transparent}.box-front{background:linear-gradient(135deg,#953f51,#652337);border:3px solid #612237;border-radius:5px;box-shadow:inset 0 0 0 6px #ffffff08,5px 7px 0 #451a27;padding:18px 22px 26px;position:relative;display:flex;flex-direction:column;align-items:center;color:#e5c689}.box-front .box-crest{font-size:36px;line-height:1.3}.box-front>span:not(.box-crest){font-family:Georgia,serif;letter-spacing:.12em;font-size:.8rem;margin:4px 0 8px}.box-front i{width:27px;height:10px;background:linear-gradient(90deg,#aa884e,#e9d8a3,#aa884e);border-radius:2px;position:absolute;top:-5px}.box-front small{text-align:center;font-size:.42rem;letter-spacing:.2em;line-height:1.8}.art-note{position:absolute;bottom:-5px;left:45px;transform:rotate(-6deg);font-family:Georgia,serif;font-style:italic;font-size:.9rem;color:#787465}.intro-band{display:grid;grid-template-columns:.6fr 1fr 1.1fr;gap:40px;align-items:start;border-top:1px solid var(--line);padding:45px 0 35px}.intro-band .eyebrow{padding-top:7px}.intro-band h2{font-size:2.4rem}.intro-band p:last-child{color:var(--muted);font-size:.95rem;padding-top:5px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;padding:30px 0 65px}.chapter-no{font-family:Georgia,serif;font-size:1.8rem;color:var(--red);display:block;margin-bottom:13px}.how-grid h3{font-family:Georgia,serif;font-size:1.5rem;font-weight:400}.how-grid p{color:var(--muted);font-size:.9rem}.inheritance{display:grid;grid-template-columns:1fr 1.2fr;background:var(--sand);padding:48px;gap:60px;align-items:center}.inheritance h2{font-size:2.8rem}.closing{text-align:center;padding:75px 0 40px}.closing h2{font-size:2.8rem}.budget-chart{display:flex;gap:26px;align-items:center}.donut{width:220px;min-width:200px;position:relative;aspect-ratio:1}.donut svg{width:100%;height:100%}.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.donut-label small{font-size:.46rem;letter-spacing:.08em}.donut-label strong{font-size:1.55rem;font-family:Georgia,serif;font-weight:400}.donut-label span{font-size:.64rem;color:var(--muted)}.slice.health{stroke:#782e40}.slice.welfare{stroke:#b26d72}.slice.education{stroke:#c09c65}.slice.defence{stroke:#607369}.slice.interest{stroke:#a9b3a4}.slice.transport{stroke:#527d91}.slice.justice{stroke:#8c7199}.slice.other{stroke:#ccc6b8}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.dot.health{background:#782e40}.dot.welfare{background:#b26d72}.dot.education{background:#c09c65}.dot.defence{background:#607369}.dot.interest{background:#a9b3a4}.dot.transport{background:#527d91}.dot.justice{background:#8c7199}.dot.other{background:#ccc6b8}.legend{list-style:none;padding:0;margin:0;width:100%;font-size:.72rem}.legend li{display:grid;grid-template-columns:1fr auto;gap:3px 12px;border-bottom:1px solid #0000000d;padding:8px 0}.legend li>span:last-child{grid-column:1/-1;text-align:right;font-size:.63rem;color:var(--muted)}.legend-name{display:flex;align-items:center;gap:8px}.compact{flex-direction:column;gap:4px}.inheritance .legend li{grid-template-columns:1fr auto auto}.inheritance .legend li>span:last-child{grid-column:auto}.inheritance .compact{flex-direction:row;gap:20px}.setup{max-width:1110px;margin:65px auto}.setup>h1{text-align:center}.setup>.eyebrow,.setup>.lead{text-align:center;margin-left:auto;margin-right:auto}.setup .lead{margin-bottom:40px}.electorates{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.electorate{text-align:left;padding:32px 28px;background:var(--white);border:1px solid var(--line);border-radius:4px;transition:transform .15s,border .15s;display:flex;flex-direction:column;align-items:flex-start}.electorate:hover{transform:translateY(-5px);border-color:var(--red)}.electorate h2{font-size:1.7rem}.electorate p{font-size:.9rem;color:var(--muted)}.electorate .quote{font-family:Georgia,serif;color:var(--ink);font-size:1.05rem}.electorate .text-link{margin-top:auto;padding-top:15px}.setup-note{max-width:650px;text-align:center;color:var(--muted);font-size:.83rem;margin:35px auto}.setup-note b{color:var(--ink)}.resume{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 25px;background:var(--sand);margin-bottom:25px}.resume p{margin:3px 0 0;font-size:.8rem}.game-main{max-width:1196px;margin:auto;outline:none}.timeline{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;padding:24px 0;border-bottom:1px solid var(--line);margin:0 0 40px;gap:15px}.timeline li{display:flex;gap:12px;align-items:center;color:#999b90}.timeline li>span{height:28px;min-width:28px;display:grid;place-items:center;border:1px solid #d7d8cc;border-radius:50%;font-size:.65rem}.timeline small{display:block;font-size:.54rem;letter-spacing:.1em}.timeline b{font-size:.76rem;font-weight:400}.timeline .current{color:var(--red)}.timeline .current>span{background:var(--red);border-color:var(--red);color:var(--white)}.timeline .done{color:var(--green)}.page-heading{display:flex;justify-content:space-between;gap:25px;align-items:center}.page-heading h1{font-size:3.2rem}.page-heading .lead{font-size:.95rem;max-width:650px}.phase-stamp{display:block;border:1px solid #782e4040;color:var(--red);padding:15px 20px;text-align:center;transform:rotate(4deg);font-size:1rem;font-family:Georgia,serif;flex-shrink:0}.phase-stamp b{font-family:Arial,sans-serif;font-weight:400;font-size:.48rem;letter-spacing:.12em}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--white);border:1px solid var(--line);margin:25px 0 35px}.stats>div{padding:20px 24px;border-right:1px solid var(--line)}.stats>div:last-child{border-right:0}.stats>div>span{font-size:.61rem;font-weight:600;letter-spacing:.1em;color:var(--muted)}.stats strong{display:block;font-family:Georgia,serif;font-size:2.15rem;font-weight:400;line-height:1.3;margin:5px 0}.stats strong small{font-size:1.1rem}.stats p{font-size:.65rem;color:var(--muted);margin:0}.stats .borrowing{background:#f2e9e6}.game-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:35px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:5px}.section-heading h2{font-size:1.65rem;margin-bottom:15px}.section-heading>.tiny{color:var(--muted);font-size:.55rem}.policy{display:grid;grid-template-columns:1fr 170px;gap:20px;padding:24px 0;border-bottom:1px solid var(--line)}.policy .eyebrow{font-size:.53rem;margin-bottom:7px}.policy h3{font-size:1.03rem}.policy p{font-size:.78rem;color:var(--muted);margin-bottom:7px}.policy details{font-size:.7rem;color:var(--muted)}summary{cursor:pointer}details p{margin-top:10px}details[open]{padding-bottom:8px}.control{text-align:center;align-self:center}.control>.tiny{font-size:.49rem;letter-spacing:.04em}.stepper{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:3px;background:var(--white);margin:5px 0}.stepper button{height:44px;min-width:38px;background:transparent;border:0;font-size:1.3rem}.stepper button:hover:not(:disabled){background:var(--sand)}.stepper output{font-size:.97rem;font-weight:600;white-space:nowrap}.control>small{font-size:.56rem;color:var(--muted)}.market{background:#293d34;color:#f7f4e9;padding:26px;border-radius:3px}.market .eyebrow{color:#cdb990;font-size:.53rem}.aside-title{display:flex;justify-content:space-between}.market-icon{font-size:1.3rem;color:#d2b784}.market h3{font-family:Georgia,serif;font-weight:400;font-size:1.6rem}.market p{font-size:.77rem;color:#ccd1c6}.market dl{margin-top:22px}.market dl div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #ffffff24;font-size:.74rem}.market dd{margin:0;font-weight:bold}.market .tiny{font-size:.61rem;color:#b5c0b1}.panel{background:var(--white);border:1px solid var(--line);padding:26px;border-radius:3px}.side-column .panel{margin-top:25px}.panel>.eyebrow{font-size:.58rem}.panel .tiny{font-size:.6rem}.side-column .donut{width:190px;min-width:0}.investment{border:1px solid var(--line);padding:22px;margin-top:22px;background:#eeebe2}.investment .tag{margin-bottom:12px;background:#e3ded1}.investment p{font-size:.8rem;color:var(--muted)}.investment>label:not(.check){display:block;font-size:.75rem}.check{display:flex;gap:10px;align-items:flex-start;font-size:.82rem}.check input{accent-color:var(--red);width:17px;height:17px;flex-shrink:0}select{width:100%;padding:11px 12px;background:var(--white);border:1px solid #c6c5b8;color:var(--ink);font-size:.83rem;border-radius:3px;margin-top:7px}.commit-panel{padding:28px 0;display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:space-between}.commit-panel strong{font-family:Georgia,serif;font-size:1.4rem;font-weight:400}.commit-panel p{font-size:.77rem;max-width:320px;margin:5px 0;color:var(--muted)}.adviser{padding:28px 10px;color:var(--muted)}.adviser-label{font-size:.51rem;letter-spacing:.13em}.adviser p{font-family:Georgia,serif;font-style:italic;font-size:1.3rem;color:var(--ink);margin:12px 0}.adviser small{font-size:.7rem}.model-footnote{font-size:.64rem;color:var(--muted);max-width:800px;margin:40px 0}.model-footnote .text-button{font-size:inherit}.event-layout{display:grid;grid-template-columns:280px 1fr;gap:60px;padding:10px 35px 30px}.event-decoration{background:#e9e3d7;border:1px solid #d8cebf;height:365px;padding:30px;position:relative;transform:rotate(-3deg);margin-top:55px;box-shadow:5px 7px 0 #ded8cb}.event-decoration>span{font-size:.8rem;letter-spacing:.2em;color:var(--red);line-height:1.6}.event-decoration>b{display:block;font-family:Georgia,serif;font-weight:400;color:var(--red);font-size:9rem;line-height:1.5}.event-decoration small{font-size:.5rem;letter-spacing:.15em;position:absolute;bottom:30px;left:30px}.event-content h1{font-size:3rem}.event-content .lead{font-size:.95rem}.event-content form{margin-top:30px}.event-content fieldset{border:0;padding:0;margin:0}.choice{display:flex;gap:14px;padding:20px;background:var(--white);border:1px solid var(--line);margin:12px 0;border-radius:3px;cursor:pointer;align-items:flex-start}.choice:hover{border-color:#aa7a82}.choice:has(input:checked){border-color:var(--red);background:#f2e8e6;box-shadow:inset 3px 0 var(--red)}.choice input{accent-color:var(--red);margin-top:6px;flex-shrink:0;width:16px;height:16px}.choice>span{flex:1}.choice strong{display:block;font-size:.94rem;margin-bottom:5px}.choice span span{display:block;color:var(--muted);font-size:.81rem}.choice small{display:block;color:var(--red);font-size:.69rem;margin-top:8px}.choice i{font-style:normal;color:var(--red)}.funding-label{display:block;font-size:.8rem;margin-top:25px}.form-error{color:#a22833;font-size:.85rem}.event-content .tiny{margin-top:20px}.outcome-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}.metric{border-bottom:2px solid var(--line);padding:10px 0 20px}.metric .eyebrow{color:var(--muted);font-size:.55rem;margin-bottom:8px}.metric strong{font-family:Georgia,serif;font-size:2.1rem;font-weight:400}.metric strong small{font-size:1rem}.metric p{font-size:.66rem;color:var(--muted);margin:6px 0 0}.report-list article{display:flex;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}.report-list article>span{font-family:Georgia,serif;font-size:1.2rem;color:var(--red)}.report-list p{color:var(--muted);font-size:.84rem;margin:0}.households{margin-top:28px;padding:25px;background:var(--sand)}.households h3{font-family:Georgia,serif;font-size:1.4rem;font-weight:400}.households>div{display:flex;justify-content:space-between;font-size:.82rem;border-bottom:1px solid #00000012;padding:10px 0}.households .tiny{margin:15px 0 0;font-size:.65rem}.group-row{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:.8rem}.panel details{margin-top:20px;color:var(--muted);font-size:.8rem}.next-row{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid var(--line);margin-top:40px;padding-top:28px}.next-row>.muted{font-size:.8rem}.election{text-align:center;max-width:900px;margin:60px auto}.election .lead{margin:20px auto}.election-result{display:inline-block;background:var(--red);color:#fff;font-size:.62rem;letter-spacing:.18em;padding:8px 15px;margin-bottom:25px}.election h1{font-size:3.6rem}.legacy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0 40px}.legacy-grid h2{font-size:2.6rem;margin-bottom:12px}.legacy-grid p{font-size:.83rem;color:var(--muted)}.legacy-grid small{font-size:.65rem;color:var(--muted)}.spark{width:100%;color:var(--red)}.spark text{font-family:Arial,sans-serif;font-size:8px;fill:var(--muted)}.legacy-future{background:var(--sand);padding:35px;display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:35px 0}.legacy-future p{font-size:.86rem;color:var(--muted)}.legacy-future .tiny{font-size:.67rem}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.8rem;text-align:right}th,td{padding:13px 10px;border-bottom:1px solid #00000016;white-space:nowrap}thead th{font-size:.67rem;color:var(--muted)}th:first-child{text-align:left}caption{text-align:left;font-size:.72rem;color:var(--muted);padding-bottom:14px}.history h2{font-size:1.7rem}.notice{padding:15px;border-left:3px solid var(--red);background:#f2e6df;font-size:.85rem}dialog{max-width:660px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:35px;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#18241bc2;backdrop-filter:blur(3px)}dialog h2{font-size:2.4rem}dialog h3{margin-top:24px}dialog p,dialog li{font-size:.86rem;color:var(--muted)}dialog li{margin:9px 0}dialog a{color:var(--red)}#close-dialog{margin-top:25px}.review-ledger>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.review-ledger dd{margin:0;font-weight:bold}.skip{position:fixed;left:10px;top:-80px;z-index:20;background:var(--red);color:white;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.model-page{max-width:820px;margin:55px auto;padding:0 25px}.model-page h1{font-size:3rem}.model-page h2{font-size:1.8rem;margin-top:40px}.model-page p,.model-page li{color:var(--muted);font-size:.93rem}.model-page code{font-size:.8rem;background:var(--sand);padding:3px}
@media(min-width:1400px){.hero{min-height:690px}.hero-art{transform:scale(1.08)}}
@media(max-width:1250px){.landing,.game-main{margin-left:35px;margin-right:35px}.setup{margin-left:35px;margin-right:35px}footer{margin-left:35px;margin-right:35px}.hero-art{transform:scale(.93);transform-origin:center}.hero{gap:10px}.inheritance{gap:25px;padding:35px}.inheritance .compact{flex-direction:column}.intro-band{grid-template-columns:.6fr 1fr 1fr;gap:25px}}
@media(max-width:950px){.game-grid{grid-template-columns:1.5fr 1fr;gap:22px}.policy{grid-template-columns:1fr}.control{max-width:220px;text-align:left}.stepper{width:190px}.side-column .panel{padding:18px}.stats>div{padding:17px}.stats strong{font-size:1.85rem}.hero h1{font-size:3.7rem}.hero-art{transform:scale(.8);transform-origin:left center}.hero-copy{position:relative;z-index:1}.hero-actions{flex-wrap:wrap}.intro-band{grid-template-columns:1fr 1.5fr}.intro-band .eyebrow{grid-column:1/-1;margin-bottom:0}.hero-facts{gap:15px}.hero-facts span{padding-right:12px}.event-layout{grid-template-columns:180px 1fr;gap:35px;padding:0}.event-decoration{height:285px;padding:23px}.event-decoration>b{font-size:6rem}.event-content h1{font-size:2.7rem}.legacy-future{grid-template-columns:1fr}.electorates{gap:12px}.electorate{padding:25px 20px}.electorate h2{font-size:1.5rem}.legacy-grid .panel{padding:20px}.legacy-grid h2{font-size:2.1rem}}
@media(max-width:700px){.topbar{height:84px;padding:0 20px}.topbar nav{gap:18px}.edition{display:none}.brand-mark{height:36px;width:30px}.brand strong{font-size:.74rem}.text-button{font-size:.73rem}.landing,.game-main,.setup{margin-left:20px;margin-right:20px}.hero{grid-template-columns:1fr;padding:42px 0 25px;min-height:0}.hero h1{font-size:clamp(2.8rem,9.5vw,4rem)}.hero-copy .eyebrow{font-size:.55rem}.hero-lead{font-size:1.13rem}.hero-art{height:410px;width:400px;max-width:100%;margin:10px auto 0;transform:scale(.85);transform-origin:top left;margin-bottom:-60px}.paper{left:28px}.paper-back{left:40px}.red-box{left:145px}.art-note{left:15px;bottom:0}.hero-facts{margin-top:28px;font-size:.66rem}.hero-facts b{font-size:.85rem}.intro-band{grid-template-columns:1fr;padding:35px 0 15px;gap:5px}.intro-band h2{font-size:2.15rem}.intro-band>p:last-child{max-width:450px}.how-grid{grid-template-columns:1fr;gap:20px;padding:15px 0 35px}.how-grid article{padding-left:45px;position:relative}.chapter-no{font-size:1.4rem}.how-grid .chapter-no{position:absolute;left:0;top:-1px}.how-grid h3{font-size:1.35rem}.inheritance{grid-template-columns:1fr;padding:26px;gap:20px}.inheritance h2{font-size:2.3rem}.inheritance .compact{flex-direction:column}.inheritance .legend{font-size:.67rem}.closing{padding:50px 0 15px}.closing h2{font-size:2.2rem}footer{margin:35px 20px 0;flex-direction:column;gap:5px;padding:20px 0;font-size:.62rem}.setup{margin-top:40px}.setup h1{font-size:2.9rem}.setup .lead br{display:none}.electorates{grid-template-columns:1fr}.electorate{padding:24px}.electorate .chapter-no{display:none}.electorate h2{font-size:1.8rem;margin-bottom:10px}.electorate .text-link{padding-top:4px}.resume{flex-direction:column;align-items:flex-start}.timeline{gap:5px;margin-bottom:30px;padding:20px 0}.timeline li{flex-direction:column;gap:6px;text-align:center}.timeline b{font-size:.54rem}.timeline small{font-size:.45rem}.timeline li>span{width:24px;height:24px;font-size:.6rem}.page-heading{display:block}.page-heading h1{font-size:2.55rem}.page-heading .eyebrow{font-size:.57rem}.phase-stamp{display:none}.stats{grid-template-columns:1fr 1fr;margin:20px 0 30px}.stats>div{padding:15px 18px}.stats>div:nth-child(2){border-right:0}.stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.stats>div>span{font-size:.55rem}.stats strong{font-size:2rem}.stats p{font-size:.6rem}.game-grid{grid-template-columns:1fr;gap:20px}.side-column{display:grid;grid-template-columns:1fr}.side-column .panel{margin-top:20px}.side-column .compact{flex-direction:row}.side-column .donut{width:160px;min-width:140px}.side-column .donut-label strong{font-size:1.2rem}.side-column .legend{font-size:.64rem}.section-heading>.tiny{font-size:.45rem}.policy{grid-template-columns:1fr 142px;gap:12px;padding:20px 0}.policy-copy h3{font-size:.95rem}.policy p{font-size:.73rem}.control{width:142px}.stepper{width:142px}.stepper button{min-width:32px}.stepper output{font-size:.8rem}.control>.tiny{font-size:.41rem}.control>small{font-size:.5rem}.adviser{display:none}.commit-panel{display:block}.commit-panel .button{width:100%;margin-top:18px}.market{padding:23px}.event-layout{grid-template-columns:1fr;padding:0;gap:0}.event-decoration{display:none}.event-content h1{font-size:2.7rem}.event-content .lead{font-size:.92rem}.choice{padding:17px 14px}.event-content .button{width:100%}.outcome-grid{grid-template-columns:1fr 1fr;gap:15px}.metric strong{font-size:1.8rem}.next-row{flex-direction:column;align-items:stretch}.next-row .button{width:100%}.election{margin:35px 0}.election h1{font-size:2.8rem}.legacy-grid{grid-template-columns:1fr}.legacy-grid .spark{height:100px}.legacy-grid .panel{padding:25px}.legacy-future{padding:25px;gap:20px}.legacy-future h2{font-size:2rem}.history{padding:18px}.table-wrap table{font-size:.73rem}.model-footnote{font-size:.6rem;margin:30px 0}dialog{padding:25px}dialog h2{font-size:2rem}.hero-actions .button{min-width:185px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Allow narrow screens to shrink grid tracks without clipping copy or controls. */
.hero-copy,.game-grid>*,.legacy-future>*,.inheritance>*{min-width:0}
@media(max-width:700px){.hero{grid-template-columns:minmax(0,1fr)}.hero-actions{flex-wrap:wrap;gap:14px}.hero-art{width:100%;overflow:visible}.hero-facts{gap:14px}.hero-facts span{padding-right:14px}.side-column .compact{flex-direction:column}.topbar nav{gap:12px}.model-page .table-wrap{max-width:100%}}
@media(max-width:360px){.hero-art{transform:scale(.72);margin-bottom:-100px}.policy{grid-template-columns:1fr}.control{justify-self:start}.topbar{padding:0 14px}.brand{gap:8px}.topbar nav{gap:9px}.topbar .text-button{font-size:.65rem}.hero-facts{gap:10px}.hero-facts span{padding-right:10px}}
@media(max-width:700px){.stats,.outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats>div,.metric{min-width:0}.stats strong{font-size:clamp(1.45rem,7vw,2rem)}.stats p{overflow-wrap:anywhere}.section-heading{gap:12px}.section-heading>.tiny{flex-shrink:0}}
@media(max-width:360px){.stats>div{padding:14px 10px}.stats>div>span{font-size:.47rem}.metric strong{font-size:1.5rem}.section-heading{align-items:flex-start}.section-heading>.tiny{max-width:70px}.group-row{gap:10px}}

.slice.housing{stroke:#b67b45}.dot.housing{background:#b67b45}
.policy-group{font-family:Georgia,serif;font-weight:400;font-size:1.5rem;margin:28px 0 6px}.policy-copy .policy-cost{color:var(--ink);font-size:.75rem}.delivery-panel{padding:24px;background:var(--sand);margin:24px 0;border-radius:3px}.delivery-panel dl{margin:0}.delivery-panel dl>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.8rem}.delivery-panel dd{margin:0;font-weight:600}.delivery-panel .tiny{font-size:.65rem;margin:16px 0 0}

/* Keep the editor stable under repeated taps and drag gestures. */
.stepper,.number-setting,button{touch-action:manipulation}
.policy{grid-template-columns:minmax(0,1fr) 210px}
.control,.stepper{width:100%;min-width:0}
.stepper button{min-width:48px;min-height:48px;flex-shrink:0}
.stepper output{font-size:.9rem}
.control input[type=range]{width:100%;min-height:44px;accent-color:var(--red);touch-action:pan-y}
.number-setting{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.75rem}
.number-setting input{width:88px;min-height:44px;font-size:16px;border:1px solid var(--line);border-radius:3px;padding:8px;background:var(--white)}
.control>small{display:block;font-size:.68rem;margin-top:8px}
.debt-intro{padding:18px 22px;background:var(--sand);margin:20px 0}
.debt-intro p{font-size:.85rem;margin:5px 0 0}
.live-budget{position:sticky;top:0;z-index:10;background:var(--white);border:1px solid var(--line);box-shadow:0 4px 12px #242c2915;margin:22px 0;padding:10px 16px}
.live-heading{font-size:.64rem;font-weight:bold;letter-spacing:.05em;display:flex;justify-content:space-between;gap:10px}
.live-heading span{font-weight:normal;letter-spacing:0}
.live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:8px}
.live-grid>div{min-width:0}.live-grid span,.live-grid small{display:block;font-size:.72rem}
.live-grid strong{font-family:Georgia,serif;font-weight:normal;font-size:1.7rem;display:block;font-variant-numeric:tabular-nums}
.live-borrowing{color:var(--red)}.live-budget>.text-button{padding:4px 0;font-size:.72rem}
.consequences{margin:24px 0}.consequence{border-left:3px solid var(--gold);background:var(--sand);padding:16px;margin:12px 0}.consequence.severe{border-color:var(--red);background:#f3e4e5}.consequence.improvement{border-color:var(--green);background:#e6eee6}.consequence h3{margin-top:8px}.consequence p{font-size:.85rem;margin-bottom:0}
.emergency{margin:24px 0;padding:20px;border:1px solid var(--red)}.emergency select{display:block;width:100%;min-height:48px;font-size:16px;margin:12px 0;white-space:normal}
.policy,.commit-panel{scroll-margin-top:175px}
@media(max-width:700px){.policy{grid-template-columns:minmax(0,1fr)}.control{max-width:360px;justify-self:stretch}.live-budget{padding:8px 12px}.live-heading{font-size:.58rem}.live-heading span{max-width:155px;text-align:right}.live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;padding-top:5px}.live-grid strong{font-size:1.32rem;line-height:1.3}.live-grid span,.live-grid small{font-size:.65rem;line-height:1.4}.live-budget>.text-button{font-size:.65rem}.policy,.commit-panel{scroll-margin-top:210px}}

.live-budget>.risk-button{float:right}

.response-details article{border-top:1px solid var(--line);padding:14px 0}.response-details h4{margin:0 0 6px}.response-details p,.response-report p{font-size:.85rem}.response-report{margin:24px 0}

.favourable,.stats .borrowing.favourable,.live-borrowing.favourable{color:var(--green)}
.adverse,.stats .borrowing.adverse,.live-borrowing.adverse{color:var(--red)}
.neutral,.stats .borrowing.neutral,.live-borrowing.neutral{color:var(--ink,#242c29)}
.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.comparison-grid article{border-bottom:1px solid var(--line);padding-bottom:15px}.comparison-grid h3{font-size:.85rem;margin:0 0 8px}.comparison{display:block;font-size:1.15rem;font-variant-numeric:tabular-nums}.change{display:block;font-size:.8rem;margin-top:5px;font-weight:600}.fiscal-report{margin:24px 0}.pending{color:#765316;font-weight:bold}.service-note{grid-column:1/-1;font-size:.8rem;margin:8px 0}.delivery-panel dl>div{flex-wrap:wrap}.delivery-panel dd{margin-left:12px}.households small{display:block;font-size:.7rem}.group-row{gap:12px}.group-row .comparison{font-size:1rem}
@media(max-width:600px){.comparison-grid{grid-template-columns:1fr}.comparison{font-size:1rem}}

.service-note{flex-basis:100%}.stats .borrowing.favourable strong,.stats .borrowing.favourable span{color:var(--green)}.stats .borrowing.neutral strong,.stats .borrowing.neutral span{color:var(--ink)}

.stats .borrowing.favourable{background:#e6eee6}.stats .borrowing.neutral{background:var(--sand)}

/* Equal prominence for the four governing priorities. */
.priority-dashboard{margin:28px 0 36px}.priority-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.priority-card{min-width:0;margin:0!important;padding:24px}.priority-card h3{font-family:Georgia,serif;font-size:1.55rem;font-weight:400;margin:0 0 18px}.priority-card p{font-size:.82rem;color:var(--muted)}.priority-card .review-ledger{font-size:.82rem}.priority-card dd{text-align:right;overflow-wrap:anywhere}.priority-card dt{min-width:0}.economy-details>summary{cursor:pointer;font-size:.85rem;padding:12px 0}.economy-details .economy-panel{margin-top:12px}.priority-card .comparison{display:block}.priority-dashboard>.tiny{margin-top:16px}
@media(max-width:700px){.priority-grid{grid-template-columns:1fr;gap:14px}.priority-card{padding:20px}.priority-card .review-ledger>div{gap:12px}.priority-dashboard .section-heading h2{font-size:1.6rem}}

/* UX pass: support always visible, one control per decision, warnings in view */
.live-grid.live-grid-5{grid-template-columns:1.15fr repeat(4,minmax(0,1fr))}
.live-support{border-right:1px solid var(--line);padding-right:12px}
.live-support strong{font-size:2rem}
.live-support.favourable strong{color:var(--green)}
.live-support.adverse strong{color:var(--red)}
.live-support small{color:var(--muted)}
.live-groups{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:.72rem;color:var(--muted);border-top:1px solid var(--line);margin-top:8px;padding-top:6px}
.live-groups b{color:var(--ink);font-variant-numeric:tabular-nums}
.live-groups em{font-style:normal;font-variant-numeric:tabular-nums}
.live-groups .main-group{color:var(--ink)}
.live-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.live-actions .text-button{padding:4px 0;font-size:.72rem}
.live-actions .risk-button.has-risks{color:var(--red);font-weight:bold;display:inline-flex;align-items:center;gap:6px}
.risk-dot{width:8px;height:8px;border-radius:50%;background:var(--red);display:inline-block}
.live-ok{font-size:.72rem;color:var(--green)}
.policy-warning{font-size:.75rem!important;font-weight:bold;color:var(--ink)!important;background:var(--sand);border-left:3px solid var(--gold);padding:6px 10px;margin:4px 0 8px}
.policy-warning.severe{background:#f3e4e5;border-color:var(--red)}
.policy details .number-setting{margin:8px 0 4px;max-width:260px;color:var(--ink)}
.control>small:empty{display:none}
@media(max-width:700px){
 .live-grid.live-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}
 .live-support{grid-column:1/-1;border-right:0;padding-right:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
 .live-support strong{font-size:1.6rem}
 .live-groups{display:none}
 .live-actions .text-button{font-size:.65rem}
}

/* UX pass 2: sectioned desk, who-notices tags, deliver from the bar */
[hidden]{display:none!important}
.desk-tabs{display:flex;gap:4px;margin:10px -16px -10px;padding:0 16px;border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.desk-tabs::-webkit-scrollbar{display:none}
.desk-tab{display:flex;align-items:center;gap:8px;white-space:nowrap;border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 12px 8px;font-size:.8rem;color:var(--muted);min-height:44px}
.desk-tab span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid currentColor;font-size:.65rem}
.desk-tab[aria-pressed="true"]{color:var(--red);border-bottom-color:var(--red);font-weight:bold}
.desk-tab:hover{color:var(--ink)}
.desk-section>.section-heading{margin-top:6px}
.section-next{display:flex;justify-content:flex-end;padding:22px 0 8px}
.empty-section{padding:22px 0}
.game-grid{scroll-margin-top:230px}
.notice-tags{list-style:none;padding:0;margin:4px 0 8px;display:flex;flex-wrap:wrap;gap:5px}
.notice-tags li{font-size:.66rem;line-height:1.3;padding:3px 8px;border-radius:999px;background:var(--sand);color:var(--muted)}
.notice-tags li.main{background:#f0e1e3;color:var(--red);font-weight:bold}
.notice-tags li.everyone{background:transparent;border:1px solid var(--line)}
.live-actions .deliver-button{min-height:38px;padding:8px 16px;gap:14px;font-size:.78rem;margin-left:auto}
.live-actions .risk-button{order:3}
#review-ledger{margin:20px 0}
@media(max-width:700px){
 .desk-tabs{margin:6px -12px -8px;padding:0 12px}
 .desk-tab{padding:8px 8px 6px;font-size:.72rem}
 .live-actions .deliver-button{min-height:36px;padding:6px 12px}
 .game-grid{scroll-margin-top:200px}
}

/* ==========================================================================
   Dispatch Box theme (hybrid direction)
   The page is the Treasury desk (dark green, brass). Anything read closely —
   the ledger bar, budget sections, panels, memos, dialogs — is parchment.
   Colours are set as variables per surface, so existing rules inherit them.
   ========================================================================== */
:root{
 --desk:#0f2a22;--desk-2:#163a2f;--desk-3:#1c4638;--desk-line:#2f5a4b;--brass:#d9b56a;--brass-dark:#b8944a;
 --parch:#f6efdd;--box:#8c1d2f;--box-dark:#5a1220;--newsprint:#f1ece2;
 --paper:var(--desk);--white:var(--desk-2);--ink:#efe6d2;--muted:#c3bca8;--line:var(--desk-line);
 --red:var(--brass);--red-dark:var(--brass-dark);--gold:var(--brass);--green:#8fcfa8;--sand:var(--desk-2);
 --good:#8fcfa8;--bad:#ff9d91;--on-accent:#10291f;
 --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
 --serif:Georgia,"Times New Roman",serif;--mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
 font-family:var(--sans);color-scheme:dark;
}
body{background:var(--desk);color:var(--ink)}
/* Parchment surfaces: redefine the palette locally */
.desk-section,.panel,.live-budget,.stats,dialog,.event-content,.notice,.choice,.paper-scope,.clipping{
 --ink:#2b241a;--muted:#5f5646;--line:#d8ccb0;--white:#fbf7ec;--sand:#efe5cc;--red:var(--box);--red-dark:var(--box-dark);
 --green:#2f6b55;--gold:#9a7630;--good:#2f6b55;--bad:#a3182c;--on-accent:#fdf8ea;color:var(--ink);color-scheme:light}
.eyebrow,.edition,.adviser-label,.live-heading,.phase-stamp b,.timeline small,.election-result,.control>span.tiny,.section-heading>.tiny,.hero-actions .tiny{font-family:var(--mono);font-weight:500}
.eyebrow{letter-spacing:.14em}
h1,h2,.stats strong,.live-grid strong,.chapter-no{font-family:var(--serif)}
.button{background:var(--red);border-color:var(--red);color:var(--on-accent)}
.button:hover{background:var(--red-dark);border-color:var(--red-dark)}
.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}
.button.secondary:hover{border-color:var(--red);color:var(--red)}
.tag{background:var(--sand);color:var(--red)}
.favourable,.stats .borrowing.favourable,.live-borrowing.favourable,.stats .borrowing.favourable strong,.stats .borrowing.favourable span,.live-support.favourable strong{color:var(--good)}
.adverse,.stats .borrowing.adverse,.live-borrowing.adverse,.live-support.adverse strong{color:var(--bad)}
.pending{color:var(--gold)}
.skip{background:var(--brass);color:var(--desk)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--brass)}
.desk-section :focus-visible,.panel :focus-visible,.live-budget :focus-visible,dialog :focus-visible,.event-content :focus-visible{outline-color:var(--box)}

/* Header, timeline, footer on the desk */
.topbar{border-bottom-color:var(--desk-line)}
.brand-mark{background:var(--box);color:var(--brass);border:1px solid var(--brass);box-shadow:none}
.brand{font-family:var(--serif);letter-spacing:.08em}
.timeline{border-bottom-color:var(--desk-line)}
.timeline li{color:#9fb2a8}
.timeline li>span{border-color:var(--desk-line)}
.timeline .current{color:var(--brass)}
.timeline .current>span{background:var(--brass);border-color:var(--brass);color:var(--desk)}
.timeline .done{color:var(--good)}
.phase-stamp{border-color:#d9b56a66;color:var(--brass)}
footer{border-top-color:var(--desk-line)}

/* The ledger bar: parchment with a brass edge */
.live-budget{background:var(--parch);border:0;border-bottom:3px solid var(--brass);box-shadow:0 10px 28px #0000004d;border-radius:3px;padding:10px 18px}
.live-heading{color:var(--box);letter-spacing:.12em}
.live-heading span{font-family:var(--sans);color:var(--muted)}
.live-grid{padding-top:4px}
.live-grid strong{font-size:1.55rem;line-height:1.25}
.live-support strong{font-size:2rem}
.live-groups{margin-top:6px}
.debt-intro{background:transparent;border:1px solid var(--desk-line);border-left:3px solid var(--brass)}
.desk-tabs{margin-bottom:-10px}

/* Budget sections are sheets on the desk */
.desk-section{background:var(--parch);border-radius:3px;padding:6px 28px 18px;box-shadow:0 12px 30px #00000059}
.desk-section>.section-heading{border-bottom:2px solid var(--ink);margin:0 0 4px;padding-top:14px}
.desk-section>.section-heading h2{margin-bottom:10px}
.desk-section[data-section="taxes"]>.section-heading{border-bottom-color:var(--box)}
.desk-section .policy:last-of-type{border-bottom:0}
.stepper{background:#fffdf6}
.stepper output{font-family:var(--mono);font-weight:500;font-size:1rem}
.investment{background:var(--sand);border-color:var(--line)}
.investment .tag{background:#e2d6b8}
.commit-panel{border-top:1px solid var(--line)}
.side-column .panel,.panel{border:0;box-shadow:0 10px 26px #00000047}
.adviser{color:var(--muted)}
.adviser p{color:var(--ink)}

/* The markets panel becomes the red box */
.market{background:var(--box);border:2px solid var(--box-dark);box-shadow:inset 0 0 0 6px #7a1828,0 12px 30px #00000059}
.market .eyebrow,.market-icon{color:var(--brass)}
.market dl div{border-top-color:#ffffff26}

/* Setup: electorate cards on the desk */
.electorate{background:var(--desk-2);border-color:var(--desk-line);color:var(--ink)}
.electorate:hover{border-color:var(--brass)}
.electorate .quote{color:var(--ink);font-style:italic}
.electorate p{color:var(--muted)}
.resume{background:var(--desk-2);border:1px solid var(--desk-line)}

/* Dialogs are memos */
dialog{background:var(--parch);border:0;border-top:4px solid var(--box)}
dialog::backdrop{background:#07140fd9}

/* Results and ending on the desk */
.report-list article{border-bottom-color:var(--desk-line)}
.households,.legacy-future,.delivery-panel{background:var(--desk-2)}
.households>div{border-bottom-color:var(--desk-line)}
.election-result{background:var(--brass);color:var(--desk)}
th,td{border-bottom-color:#ffffff1f}
.panel th,.panel td{border-bottom-color:#0000001a}
.notice{background:var(--parch);border-left-color:var(--box)}
.model-page code{background:var(--desk-2)}

/* In-tray events: a private office memo, advisers and timeline on the desk */
.event-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"head aside" "body aside";column-gap:32px;row-gap:0;padding:0;align-items:start}
.memo-head,.memo-body{--ink:#2b241a;--muted:#5f5646;--line:#d8ccb0;--white:#fbf7ec;--sand:#efe5cc;--red:var(--box);--red-dark:var(--box-dark);--green:#2f6b55;--gold:#9a7630;--good:#2f6b55;--bad:#a3182c;--on-accent:#fdf8ea;color:var(--ink);background:var(--parch);color-scheme:light}
.memo-head{grid-area:head;padding:28px 40px 6px;border-radius:3px 3px 0 0;box-shadow:0 12px 30px #00000059}
.memo-body{grid-area:body;padding:0 40px 30px;border-radius:0 0 3px 3px;box-shadow:0 18px 30px #00000059}
.memo-meta{display:flex;justify-content:space-between;gap:12px;font-family:var(--mono);font-size:.62rem;letter-spacing:.12em;color:var(--box);border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:22px}
.memo-head h1{font-size:clamp(2.2rem,4vw,3rem)}
.memo-head .lead{color:var(--muted);font-size:.95rem}
.event-content form{margin-top:0}
.event-aside{grid-area:aside;display:flex;flex-direction:column;gap:18px;position:sticky;top:20px}
.advisers,.bites{background:var(--desk-2);border:1px solid var(--desk-line);padding:20px 22px}
.advisers .eyebrow,.bites .eyebrow{margin-bottom:12px}
.advisers blockquote{margin:0 0 14px}
.advisers blockquote:last-child{margin-bottom:0}
.advisers cite{display:block;font-style:normal;font-family:var(--mono);font-size:.6rem;letter-spacing:.12em;color:var(--brass)}
.advisers blockquote p{font-family:var(--serif);font-size:1.02rem;line-height:1.45;margin:4px 0 0}
.bites dl{margin:0}
.bites dl>div{display:grid;grid-template-columns:118px 1fr;gap:10px;padding:8px 0;border-top:1px solid var(--desk-line);font-size:.82rem}
.bites dt{font-weight:bold}
.bites dd{margin:0;color:var(--muted)}
.choice{align-items:flex-start;flex-wrap:wrap}
.choice-tags{display:flex!important;flex-wrap:wrap;gap:6px;margin-top:10px}
.choice-tags b{font-size:.68rem;font-weight:600;background:var(--sand);border-radius:999px;padding:3px 9px;color:var(--ink)}
.clipping{--ink:#111;background:var(--newsprint);border:1px solid #111;padding:6px 9px;width:190px;flex-shrink:0;align-self:center;color:#111;transform:rotate(1deg)}
.clipping small{display:block;font-family:var(--sans);font-size:.55rem;font-weight:700;letter-spacing:.1em;color:#5c564a}
.clipping{font-family:"Arial Black","Helvetica Neue",Arial,sans-serif;font-weight:900;font-size:.78rem;line-height:1.15;text-transform:uppercase}
@media(max-width:950px){.event-layout{grid-template-columns:minmax(0,1fr) 280px;column-gap:20px}}
@media(max-width:760px){
 .event-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "aside" "body"}
 .memo-head{border-radius:3px 3px 0 0;padding:22px 20px 4px}
 .memo-body{padding:4px 20px 24px}
 .event-aside{position:static;gap:0;background:var(--parch);padding:0 20px}
 .advisers,.bites{--ink:#2b241a;--muted:#5f5646;background:#efe5cc;border:0;color:#2b241a;padding:14px 16px;margin-bottom:10px}
 .advisers cite{color:var(--box)}
 .advisers .eyebrow,.bites .eyebrow{color:var(--box)}
 .bites dl>div{border-top-color:#d8ccb0;grid-template-columns:96px 1fr}
 .clipping{width:100%;margin-top:10px;transform:none}
 .memo-meta{flex-direction:column;gap:2px}
}

/* Landing on the desk */
.landing .hero-art{height:auto;background:none;display:flex;align-items:center;justify-content:center;position:relative;transform:none}
.box-art{width:100%;max-width:500px;height:auto}
.hero-clipping{position:absolute;right:4%;bottom:6%;width:180px;transform:rotate(5deg);box-shadow:4px 6px 0 #08190f}
.hero .eyebrow{color:var(--brass)}
.hero-facts span{border-right-color:var(--desk-line)}
.hero-facts b{color:var(--ink)}
.intro-band{border-top-color:var(--desk-line)}
.inheritance{background:var(--desk-2);border:1px solid var(--desk-line)}
.inheritance .legend li{border-bottom-color:#ffffff14}
.inheritance .donut-label span{color:var(--muted)}
.slice.health,.dot.health{stroke:#c0485e;background:#c0485e}
.dot.health{stroke:none}
@media(max-width:700px){
 .landing .hero-art{width:100%;margin:10px 0 0;transform:none}
 .hero-clipping{width:150px;right:0;bottom:0;font-size:.68rem}
}

/* The press: newsprint only where the papers speak */
:root{--tabloid:"Arial Black","Helvetica Neue",Helvetica,Arial,sans-serif;--tab-red:#c4121a}
.live-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:0;margin-top:8px;padding-top:0}
.live-groups>span{background:var(--newsprint);border:1px solid #1a1a1a;padding:5px 8px;color:#111;font-size:.72rem;line-height:1.3;min-width:0}
.live-groups>span.main-group{box-shadow:3px 3px 0 #1a1a1a}
.live-groups .paper-name{display:block;font-style:normal;font-family:var(--serif);font-weight:bold;font-size:.7rem;border-bottom:1px solid #1a1a1a;margin-bottom:3px}
.live-groups>span b,.live-groups>span em{font-family:var(--sans)}
.live-groups>span{font-family:var(--tabloid);text-transform:uppercase;letter-spacing:-.01em}
.live-groups>span b{margin-left:4px;text-transform:none;letter-spacing:0;font-weight:bold}
.live-groups>span em{text-transform:none;letter-spacing:0;font-weight:bold}
.live-groups .favourable{color:#1d6b4f}.live-groups .adverse{color:var(--tab-red)}
.press-gallery{margin:22px 0}
.press-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.press-cell{background:var(--newsprint);border:2px solid #111;padding:10px 12px;color:#111;min-width:0}
.press-row .press-cell:nth-child(1){transform:rotate(-.8deg)}
.press-row .press-cell:nth-child(2){transform:rotate(.6deg)}
.press-row .press-cell:nth-child(3){transform:rotate(-.4deg)}
.press-cell header{display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-bottom:3px double #111;padding-bottom:4px;margin-bottom:8px}
.paper-name{font-family:var(--serif);font-weight:bold;font-size:.95rem}
.mood{font-family:var(--sans);font-size:.6rem;font-weight:800;letter-spacing:.08em;color:#5c564a}
.mood.good{color:#1d6b4f}.mood.bad{color:var(--tab-red)}
.press-headline{font-family:var(--tabloid);font-weight:900;text-transform:uppercase;font-size:1.05rem;line-height:1.05;letter-spacing:-.01em;margin:0 0 8px}
.press-support{font-size:.72rem;margin:0;color:#3a362e}
.press-support .favourable{color:#1d6b4f}.press-support .adverse{color:var(--tab-red)}

/* The morning after: the one screen where the tabloid takes over */
.morning-after{margin:10px 0 34px}
.morning-after>.eyebrow{color:var(--brass)}
.papers{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}
.front-page{width:auto;transform:rotate(-.5deg);padding:20px 26px 16px;box-shadow:10px 12px 0 #07140f;text-transform:none;font-family:var(--sans);font-weight:normal;font-size:1rem}
.front-page header{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;border-bottom:5px solid #111;padding-bottom:8px;margin-bottom:12px}
.masthead{font-family:var(--serif);font-weight:bold;font-size:2.4rem;line-height:1;color:#111}
.fp-note{font-family:var(--sans);font-size:.62rem;font-weight:800;letter-spacing:.1em;text-align:right;color:#111}
.fp-kicker{display:inline-block;background:var(--tab-red);color:#fff;font-family:var(--sans);font-weight:800;font-size:.66rem;letter-spacing:.14em;padding:4px 9px}
.front-page h2{font-family:var(--tabloid);font-weight:900;text-transform:uppercase;font-size:clamp(2.2rem,4.6vw,3.8rem);line-height:.95;letter-spacing:-.03em;margin:12px 0 16px;color:#111}
.fp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:2px solid #111;margin:0}
.fp-stats>div{padding:10px 12px 2px 0}
.fp-stats>div+div{border-left:1px solid #111;padding-left:12px}
.fp-stats dt{font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#111}
.fp-stats dd{margin:2px 0 0;font-family:var(--tabloid);font-weight:900;font-size:1.25rem;color:#111}
.fp-stats .good{color:#1d6b4f}.fp-stats .bad{color:var(--tab-red)}
.other-papers{display:flex;flex-direction:column;gap:18px;padding-top:8px}
.small-paper{width:auto;padding:0;border:0;background:none;text-transform:none;font-family:var(--sans);font-weight:normal;transform:none}
.small-paper .press-cell{box-shadow:6px 8px 0 #07140f}
.small-paper:nth-child(1) .press-cell{transform:rotate(1.4deg)}
.small-paper:nth-child(2) .press-cell{transform:rotate(-1deg)}
.small-paper .press-headline{font-size:1.4rem}
.morning-after>.tiny{margin-top:16px}
@media(max-width:950px){.papers{grid-template-columns:1fr}.other-papers{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .press-row{grid-template-columns:1fr}
 .other-papers{grid-template-columns:1fr}
 .front-page{padding:16px 16px 12px}
 .masthead{font-size:1.7rem}
 .fp-stats dd{font-size:1rem}
 .fp-stats>div+div{padding-left:8px}
}

/* Election night */
.swingometer{width:100%;max-width:460px;height:auto;display:block;margin:6px auto 10px}
.verdicts{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;margin:10px 0 40px;align-items:start}
.verdict-voters{border:1px solid var(--desk-line);background:var(--desk-2);padding:24px;text-align:center}
.verdict-big{font-family:var(--serif);font-size:4rem;line-height:1;margin:8px 0}
.verdict-big.good{color:var(--good)}.verdict-big.bad{color:var(--bad)}
.verdict-country .review-ledger>div{flex-wrap:wrap}
.verdict-country .review-ledger dd{text-align:right}
.verdict-country .review-ledger p{flex-basis:100%;margin:2px 0 0;font-size:.75rem;color:var(--muted)}
.verdict-country .comparison{display:inline}
.verdict-country .change{display:inline;margin-left:10px}
@media(max-width:800px){.verdicts{grid-template-columns:1fr}}

/* Mobile: a compact ledger bar (support, borrowing, warnings, deliver); papers live in the Review tab */
@media(max-width:700px){
 .live-budget{padding:8px 12px 0}
 .live-heading span{display:none}
 .live-grid.live-grid-5{grid-template-columns:1fr 1fr;gap:2px 12px}
 .live-grid-5 .live-support{grid-column:auto;display:block;border-right:1px solid var(--line);padding-right:10px}
 .live-grid-5 .live-support strong,.live-grid-5 .live-borrowing strong{font-size:1.5rem;line-height:1.2}
 .live-grid-5 .live-receipts,.live-grid-5 .live-spending,.live-grid-5 .live-debt{display:none}
 .live-grid-5 small{font-size:.62rem}
 .live-budget .live-groups{display:none}
 .live-actions{flex-wrap:nowrap;gap:8px;padding:6px 0 2px}
 .live-actions [data-action="debt"]{display:none}
 .live-actions .risk-button,.live-actions .live-ok{order:0;font-size:.64rem;line-height:1.3;min-width:0}
 .live-actions .deliver-button{order:1;flex-shrink:0}
 .desk-tabs{margin:4px -12px 0}
 .desk-section{padding:4px 16px 14px}
 .memo-meta span+span{display:none}
}
.choice>.clipping{flex:0 0 190px}
@media(max-width:760px){.choice>.clipping{flex:1 1 100%;margin-left:30px;width:auto}}
.donut-label{inset:22%;border-radius:50%;background:var(--white)}
.not-found{text-align:center;padding:80px 20px}
.not-found a{color:var(--brass)}
.model-page .num{text-align:right}

/* Continuous canvas: transparent objects sit directly on the page green. */
.landing .hero-red-box{min-width:0;margin:0}
.red-box-art{display:block;width:100%;height:auto}
@media(min-width:951px){
 .landing .hero{grid-template-columns:minmax(0,1fr) minmax(0,1.28fr);gap:20px}
 .hero h1{font-size:clamp(3.6rem,5vw,4.65rem)}
}
@media(max-width:700px){
 .landing .hero-red-box{margin:20px 0 0}
}

/* ==========================================================================
   Dark throughout (replaces the parchment reading surfaces).
   Large cream panels on the dark desk caused glare. Panels are now a slightly
   lighter green with soft cream text; newsprint stays only for the press
   (headline strip, morning-after front page, likely-headline clippings).
   ========================================================================== */
.desk-section,.panel,.live-budget,.stats,dialog,.event-content,.notice,.choice,.paper-scope,.memo-head,.memo-body{
 --ink:#e6ddc8;--muted:#b3ad9a;--line:#2f5a4b;--white:#1b4236;--sand:#224b3e;--red:var(--brass);--red-dark:var(--brass-dark);
 --green:#8fcfa8;--gold:var(--brass);--good:#8fcfa8;--bad:#ff9d91;--on-accent:#10291f;color:var(--ink);color-scheme:dark}
body{--ink:#e6ddc8}
.desk-section,.live-budget,.memo-head,.memo-body,dialog{background:#17392e}
.desk-section,.panel,.memo-head,.memo-body{box-shadow:none;border:1px solid #28523f}
.live-budget{box-shadow:0 8px 20px #0000004d;border:1px solid #28523f;border-bottom:3px solid var(--brass)}
.panel{background:#17392e}
.priority-card{background:#1b4236!important}
.live-heading{color:var(--brass)}
.stepper{background:#10291f;border-color:#2f5a4b}
.stepper button:hover:not(:disabled){background:#224b3e}
.stats .borrowing{background:#3a1c22}
.stats .borrowing.favourable{background:#1d3f30}
.stats .borrowing.neutral{background:#224b3e}
.choice{background:#1b4236}
.choice:has(input:checked){background:#2a4a33;border-color:var(--brass);box-shadow:inset 3px 0 var(--brass)}
.choice input{accent-color:var(--brass)}
.consequence{background:#224b3e}
.consequence.severe{background:#3a1c22;border-color:#ff9d91}
.consequence.improvement{background:#1d3f30}
.notice-tags li{background:#224b3e;color:#c9c2ad}
.notice-tags li.main{background:#4a3a1c;color:#f0d68a}
.policy-warning{background:#3a3220;color:var(--ink)!important}
.policy-warning.severe{background:#3a1c22}
.investment{background:#1b4236}
.investment .tag{background:#1f4538}
.choice-tags b{background:#224b3e}
.desk-section>.section-heading{border-bottom-color:#2f5a4b}
.desk-section[data-section="taxes"]>.section-heading{border-bottom-color:var(--brass)}
.memo-meta{color:var(--brass)}
.number-setting input,select{background:#10291f;color:var(--ink);border-color:#2f5a4b}
.desk-tabs{border-top-color:#2f5a4b}
/* newsprint accents, a touch less bright */
.live-groups>span,.press-cell,.clipping{background:#e3dccb}
@media(max-width:760px){.advisers,.bites{background:#1b4236;color:var(--ink)}.event-aside{background:#17392e}.advisers cite,.advisers .eyebrow,.bites .eyebrow{color:var(--brass)}}
.live-groups>span.main-group,.live-groups>span.main-group .paper-name{color:#111}
/* newsprint keeps its own ink */
.live-groups>span,.live-groups>span b,.live-groups>span em,.press-cell,.press-cell b,.clipping{color:#111}
.live-groups .favourable,.press-support .favourable{color:#1d6b4f}
.live-groups .adverse,.press-support .adverse{color:#c4121a}
.press-support{color:#3a362e}
.desk-section .tag,.panel .tag,.investment .tag,.memo-body .tag{color:#f0d68a}
.press-support em,.press-support b,.live-groups>span em.neutral,.press-support em.neutral{color:#111}
.press-support em.favourable,.live-groups>span em.favourable{color:#1d6b4f}
.press-support em.adverse,.live-groups>span em.adverse{color:#c4121a}
.mood.bad,.live-groups>span em.adverse,.press-support em.adverse,.fp-stats .bad{color:#a30e15}.mood.good{color:#17563f}
@media(max-width:760px){.advisers,.bites{--ink:#e6ddc8;--muted:#b3ad9a;color:#e6ddc8}.bites dl>div{border-top-color:#2f5a4b}}
/* Editorial illustrations share the dark canvas; figures and controls stay clear. */
.editorial-art{display:block;width:100%;height:auto;object-fit:contain;pointer-events:none;user-select:none}
.electorate .editorial-art-electorate{height:190px;margin:0 0 20px;object-position:center}
.electorate:has(.editorial-art){display:flex;flex-direction:column}
.electorate:has(.editorial-art) .text-link{margin-top:auto;padding-top:18px}
.memo-head .editorial-art-event{height:220px;margin:12px 0 20px;object-position:center}
.memo-head:has(.editorial-art){border-bottom:0}
.memo-body{border-top:0}
.election .editorial-art-legacy{height:400px;margin:0 auto;max-width:1100px;object-fit:cover;object-position:center}
@media(max-width:760px){.memo-head .editorial-art-event{height:150px;margin:8px 0 14px}.election .editorial-art-legacy{height:180px}}
@media(max-width:700px){.electorate .editorial-art-electorate{height:145px;margin-bottom:14px}}
/* Consequences 1.7: tiers, streaks, causes and good news */
.consequence-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.consequence .streak{font-size:.62rem;font-weight:bold;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border:1px solid currentColor;border-radius:999px;opacity:.85}
.consequence.warning{border-color:var(--gold)}
.consequence.watch{border-left-style:dashed;background:#1f4538}
.consequence.info{border-color:#8fa9b8;background:#1d3a44}
.consequence .causes-title{font-size:.68rem!important;font-weight:bold;letter-spacing:.06em;text-transform:uppercase;margin:10px 0 2px}
.consequence .causes{margin:0;padding-left:18px;font-size:.85rem}
.consequence .options-note{border-top:1px solid #2f5a4b;padding-top:8px;margin-top:10px;font-style:italic}
.consequences .good-news{margin-top:22px}
.live-actions .risk-button.has-early{color:var(--brass);font-weight:bold;display:inline-flex;align-items:center;gap:6px}
.risk-button.has-early .risk-dot{background:var(--brass)}
.policy-warning.watch{border-left-style:dashed}
.response-details h4 small{font-weight:normal;opacity:.75;margin-left:6px}
.emergency .carried{font-style:italic}

/* Illustrated consequences: a leading story, compact secondary pressures. */
.consequences{container-type:inline-size}
.consequence-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;align-items:start}
.consequence-single{grid-template-columns:1fr}
.consequence-layout .consequence{margin:0 0 14px;min-width:0;display:flow-root}
.consequence .story-art{float:right;width:108px;height:90px;object-fit:contain;margin:0 0 8px 14px}
.consequence-featured .story-art{float:none;width:100%;height:240px;object-fit:contain;margin:8px 0 18px}
.consequence-featured{padding:24px;background:#1d3b31}
.consequence-featured h3{font-family:var(--serif);font-size:1.75rem;font-weight:400;line-height:1.2}
.consequence-secondary>.eyebrow{margin:0 0 12px}
.consequence-good{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.consequence-good .consequence{min-width:0;display:flow-root;margin:0}
.consequence .options-note{clear:both}
@container(max-width:720px){.consequence-layout,.consequence-good{grid-template-columns:1fr}.consequence-featured .story-art{height:175px}.consequence-featured{padding:18px}.consequence-featured h3{font-size:1.4rem}}
/* Results papers share the engraved, dark editorial palette. */
.morning-after .front-page,.morning-after .press-cell{background:#19392f;color:#e6ddc8;border:1px solid #446050;box-shadow:5px 6px 0 #0b2119;transform:none}
.morning-after .front-page header{border-bottom:3px double #be9e62}
.morning-after .masthead,.morning-after .paper-name{color:#e6ddc8;font-family:var(--serif);font-weight:400}
.morning-after .fp-note{color:#b3ad9a}
.morning-after .fp-kicker{background:none;color:#d9b56a;padding:4px 0}
.morning-after .front-page h2{color:#e6ddc8;font-family:var(--serif);font-weight:400;text-transform:none;line-height:1.12;font-size:clamp(1.7rem,3.5vw,2.8rem);letter-spacing:-.025em}
.morning-after .press-headline{color:#e6ddc8;font-family:var(--serif);font-weight:400;text-transform:none;line-height:1.2}
.morning-after .press-cell header{border-color:#be9e62}
.morning-after .front-page>.story-art{display:block;width:100%;height:250px;object-fit:contain;margin:8px 0 16px}
.morning-after .small-paper .story-art{display:block;width:100%;height:120px;object-fit:contain;margin:10px 0 0}
.morning-after .small-paper .press-cell{transform:none}
.morning-after .fp-stats,.morning-after .fp-stats>div+div{border-color:#446050}
.morning-after .fp-stats dt{color:#b3ad9a}
.morning-after .fp-stats dd{color:#e6ddc8}
.morning-after .fp-stats .good,.morning-after .mood.good{color:#8fcfa8}
.morning-after .fp-stats .bad,.morning-after .mood.bad{color:#ff9d91}
.morning-after .mood:not(.good):not(.bad){color:#b3ad9a}
@media(max-width:700px){.morning-after .front-page>.story-art{height:170px}.morning-after .small-paper .story-art{height:100px}.consequence-featured .story-art{height:150px}.consequence .story-art{max-width:100%}}

/* Small thematic signposts keep the service figures and controls in the foreground. */
.delivery-panel dt{display:flex;align-items:center;gap:10px;min-width:0}
.delivery-panel dt .story-art{width:52px;height:40px;object-fit:contain;flex:none}
.delivery-panel dl>div{align-items:center;gap:8px}
.delivery-panel .service-note{flex-basis:100%;margin-left:0}
.delivery-panel dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto}
.delivery-panel dd{margin-left:0}
.delivery-panel .service-note{grid-column:1/-1}
@media(max-width:420px){.delivery-panel dl>div{grid-template-columns:1fr}.delivery-panel dd:not(.service-note){margin-left:62px}}
/* The ending: one verdict per screen, then the record */
.end-progress{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;list-style:none;padding:0;margin:26px 0 0;font-family:var(--mono);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.end-progress li.current{color:var(--brass)}
.end-progress li.done button{font-size:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--ink);text-decoration:underline}
.end-stage{text-align:center;max-width:900px;margin:44px auto 60px}
.end-stage h1{font-size:clamp(2.4rem,6vw,3.8rem);margin:6px 0 18px}
.end-stage .lead{margin:16px auto;max-width:680px}
.poll-groups{list-style:none;padding:0;margin:0 auto 10px;max-width:520px}
.poll-groups li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-bottom:1px solid var(--desk-line);padding:10px 4px;text-align:left;animation:end-rise .5s ease both;animation-delay:calc(.3s + var(--i)*.55s)}
.poll-groups small{display:block;color:var(--muted);font-size:.7rem}
.poll-groups b{font-family:var(--serif);font-size:1.6rem}
.good{color:var(--good)}.bad{color:var(--bad)}
.swingometer .needle{transform-box:view-box;transform-origin:250px 230px;transform:rotate(var(--turn));animation:end-swing 2.4s cubic-bezier(.3,1.35,.5,1) 2s both}
.end-stamp{display:inline-block;font-family:var(--mono);font-weight:700;font-size:clamp(1.3rem,4vw,2rem);letter-spacing:.16em;border:4px solid currentColor;padding:10px 22px;margin:18px 0 6px;transform:rotate(-3deg);animation:end-stamp .35s cubic-bezier(.2,1.6,.4,1) both;animation-delay:var(--stamp-delay,4.4s)}
.ten-years .end-stamp{--stamp-delay:3.4s}
.end-after{animation:end-rise .6s ease both;animation-delay:calc(var(--stamp-delay,4.4s) + .4s)}
.ten-years .end-after{--stamp-delay:3.4s}
.end-nav{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:30px}
.verdict-table{width:100%;text-align:left;margin:10px 0}
.verdict-table tbody tr{animation:end-rise .5s ease both;animation-delay:calc(.4s + var(--i)*.5s)}
.verdict-table small,.cheered-table small{display:block;color:var(--muted);font-weight:normal;font-size:.72rem}
.verdict-chip{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}
.ending-paper{max-width:720px;margin:0 auto;text-align:left;animation:end-drop .7s cubic-bezier(.2,1.2,.4,1) .2s both}
.ending-paper .ending-line{font-size:1.05rem;color:#222;margin:0 0 12px}
.ending-paper .epitaph{font-family:var(--serif);font-style:italic;font-size:1.1rem;color:#111;border-left:4px solid var(--tab-red);padding-left:12px;margin:0 0 14px}
.ending-paper .fp-stats .good{color:#17563f}.ending-paper .fp-stats .bad{color:#a30e15}
.end-share{margin-top:22px;display:flex;flex-direction:column;align-items:center;gap:8px}
#share-status{font-size:.8rem;color:var(--muted);max-width:620px}
.cheered-table{width:100%;text-align:left}
.cheered-table tr.clash{background:#3a3220}
.cheered-table tr.clash{box-shadow:inset 4px 0 var(--brass)}
.record-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.record-nav a{border:1px solid var(--desk-line);padding:6px 12px;font-size:.8rem;text-decoration:none}
.full-record{margin-bottom:20px}
@keyframes end-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes end-swing{from{transform:rotate(0deg)}to{transform:rotate(var(--turn))}}
@keyframes end-stamp{from{opacity:0;transform:scale(2.2) rotate(-3deg)}to{opacity:1;transform:rotate(-3deg)}}
@keyframes end-drop{from{opacity:0;transform:translateY(-30px) rotate(-3deg)}to{opacity:1;transform:rotate(-.5deg)}}
@media(prefers-reduced-motion:reduce){.poll-groups li,.swingometer .needle,.end-stamp,.end-after,.verdict-table tbody tr,.ending-paper{animation:none!important}}
@media(max-width:700px){.end-stage{margin:28px 0 40px}.verdict-table th,.verdict-table td,.cheered-table th,.cheered-table td{font-size:.8rem}}
.end-progress button{padding:0;line-height:inherit;border:0;background:none}
@media(max-width:700px){
 .ten-years .table-wrap,.cheered .table-wrap{overflow:visible}
 .verdict-table thead,.cheered-table thead{display:none}
 .verdict-table tr,.cheered-table tr{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;padding:12px 8px;border-bottom:1px solid var(--desk-line)}
 .verdict-table th,.cheered-table th{grid-column:1/-1;padding:0;border:0}
 .verdict-table td,.cheered-table td{padding:0;border:0}
 .verdict-table td[data-label="Verdict"],.cheered-table td[data-label="The country ten years on"]{grid-column:1/-1}
 .verdict-table td::before,.cheered-table td::before{content:attr(data-label);display:block;font-size:.62rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
}
/* Engraved endings: outcome-specific illustrations, with the verdict in HTML. */
.election-scene{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;text-align:center}
.election-numbers{min-width:0}
.editorial-art-ending{display:block;width:100%;height:330px;object-fit:contain;margin:12px auto 22px}
.election-scene>.editorial-art-ending{height:auto;max-height:470px}
.editorial-art-horizon{display:block;width:100%;height:180px;object-fit:contain;margin:12px auto 20px}
.verdict-measure{display:flex;gap:12px;align-items:center}
.verdict-measure .story-art{width:44px;height:36px;object-fit:contain;flex:none}
.ending-paper{max-width:860px;background:#19392f;color:#e6ddc8;border:1px solid #446050;box-shadow:5px 6px 0 #0b2119}
.ending-paper header{border-bottom:3px double #be9e62}
.ending-paper .masthead{color:#e6ddc8;font-family:var(--serif);font-weight:400}
.ending-paper .fp-note{color:#b3ad9a}
.ending-paper .fp-kicker{background:none;color:#d9b56a;padding:4px 0}
.ending-paper h2{color:#e6ddc8;font-family:var(--serif);font-weight:400;text-transform:none;line-height:1.12;font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.025em}
.ending-paper .ending-line,.ending-paper .epitaph{color:#e6ddc8}
.ending-paper .epitaph{border-color:#be9e62}
.ending-paper .fp-stats,.ending-paper .fp-stats>div+div{border-color:#446050}
.ending-paper .fp-stats dt{color:#b3ad9a}
.ending-paper .fp-stats dd{color:#e6ddc8}
.ending-paper .fp-stats .good{color:#8fcfa8}.ending-paper .fp-stats .bad{color:#ff9d91}
@media(max-width:700px){.election-scene{grid-template-columns:1fr;gap:4px}.election-scene>.editorial-art-ending{height:170px;margin:0 auto 12px}.editorial-art-ending{height:210px}.editorial-art-horizon{height:120px}.ending-paper{transform:none}.verdict-measure{gap:8px}.verdict-measure .story-art{width:36px;height:30px}}
.legacy-intro{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:20px;text-align:left}
.legacy-intro .editorial-art-horizon{height:230px;margin:0}
@media(max-width:700px){.legacy-intro{grid-template-columns:1fr;gap:0;text-align:center}.legacy-intro .editorial-art-horizon{height:150px;margin:0 auto 10px}}
.ending-paper .fp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}

.scenario-choice{display:block;max-width:620px;margin:24px auto 8px}.scenario-choice select{display:block;width:100%;padding:12px;background:var(--white);border:1px solid var(--line);color:var(--ink)}.scenario-choice+p{text-align:center}.defence-report{margin:18px 0;padding:16px;border:1px solid var(--line);background:var(--white)}.defence-report dl div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.defence-report dd{margin:0}.defence-report .small{margin:12px 0}
