/* Westminster 1.8 – Presentation architecture: Midnight Navy / Antique Gold / Slate / Teal.
   The deep simulation, save keys and domain actions remain unmodified. */
:root{--wm18-bg:#07131f;--wm18-navy:#0b1b29;--wm18-surface:#112535;--wm18-surface-2:#172e40;--wm18-glass:#102533e8;--wm18-stroke:#355166;--wm18-stroke-soft:#294354;--wm18-gold:#e7bf82;--wm18-gold-light:#f5d8a5;--wm18-warm:#f2eee6;--wm18-muted:#a7bdc9;--wm18-teal:#75b5ae;--wm18-danger:#e6a49b;--wm18-shadow:0 22px 80px #0005}
*{scrollbar-color:#49677b #0c1d2b}
body.wm18-curated{--gold:#e7bf82;--panel:#122738;--bg:#081520;--line:#385164;--muted:#afc2cd}
body.wm18-overlay-open{overflow:hidden!important}
body.wm18-curated:not(.wm18-show-legacy) :is(#wm11-toggle,.wm69-launch,#wm74-talk,#p76-launch,#a78-launch,#lw83-launch,#m84-launch,#cin87-launch,#c85-launch,#i86-launch,#st88-launch){display:none!important}
#w17-launch{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:20px;z-index:10030;max-width:calc(100vw - 40px);padding:13px 20px;border-radius:10px;background:linear-gradient(115deg,#eccc94,#d7a967);color:#122737;border:1px solid #fae0b2;box-shadow:0 10px 35px #0009;font:800 12px system-ui,sans-serif;letter-spacing:.08em;cursor:pointer}
#w17-launch:hover{background:#f5d59f;transform:translateY(-2px)}
body.wm18-overlay-open #w17-launch,body:has(.wmcp-backdrop) #w17-launch,body:has(.wm80-desk-overlay) #w17-launch,body:has(.wm80-policy-overlay) #w17-launch{display:none!important}
.wm18-shell{position:fixed;inset:0;z-index:2147482100;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 87% -10%,#153548 0,transparent 35%),var(--wm18-bg);color:var(--wm18-warm);font:14px/1.55 Inter,'Segoe UI',system-ui,sans-serif;letter-spacing:normal}
.wm18-shell *{box-sizing:border-box;min-width:0}
.wm18-shell button,.wm18-shell input{font:inherit}
.wm18-shell button{cursor:pointer}
.wm18-shell :is(button,input,a,summary):focus-visible{outline:3px solid #f8d9a4!important;outline-offset:3px}
.wm18-shell [hidden]{display:none!important}
.wm18-shell .wm18-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.wm18-top{display:flex;align-items:center;gap:clamp(12px,1.7vw,28px);min-height:83px;padding:12px clamp(18px,3vw,50px);background:#071723e8;border-bottom:1px solid #365063;backdrop-filter:blur(18px);box-shadow:0 5px 30px #0002;z-index:2;flex-shrink:0}
.wm18-brand{display:flex;align-items:center;gap:10px;margin-right:auto;color:#f4d6a5;font:700 clamp(19px,1.8vw,25px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:.045em;white-space:nowrap}
.wm18-brand img{height:57px;width:57px;object-fit:contain}
.wm18-brand span{display:block;margin-top:5px;font:750 10px system-ui,sans-serif;letter-spacing:.28em;color:#d6ad73}
.wm18-topmeta,.wm18-top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.wm18-week{color:var(--wm18-gold);border:1px solid #5d5548;background:#172737;padding:7px 13px;letter-spacing:.13em;font-size:10px;font-weight:800;border-radius:50px}
.wm18-position{font-size:12px;color:#c3d0d7;white-space:nowrap}
.wm18-top .wm18-btn{white-space:nowrap}
.wm18-iconbutton{height:39px;width:42px;display:grid;place-items:center;border-radius:8px;color:#e1e8ed;border:1px solid #4b6577;background:#223949;font-size:18px!important}
.wm18-iconbutton:hover{background:#36556b}
.wm18-workspace{display:grid;grid-template-columns:minmax(210px,245px) minmax(0,1fr);min-height:0;flex:1;overflow:hidden}
.wm18-side{min-height:0;overflow:auto;padding:30px 14px 24px 20px;background:linear-gradient(165deg,#102536,#0a1c2b);border-right:1px solid #2c4659;display:flex;flex-direction:column;gap:18px}
.wm18-side-eyebrow,.wm18-eyebrow{font-size:10px;letter-spacing:.19em;color:var(--wm18-gold);font-weight:800;text-transform:uppercase}
.wm18-side-eyebrow{padding:0 12px;color:#8fabbc}
.wm18-menu{display:grid;gap:5px}
.wm18-menuitem{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:13px 9px;color:#c0d1da;border:1px solid transparent;border-radius:9px;background:transparent}
.wm18-menuitem:hover{background:#183244;color:#fff}
.wm18-menuitem[aria-current=page]{color:#ffebcc;border-color:#466071;background:linear-gradient(95deg,#304253,#183143);box-shadow:inset 3px 0 var(--wm18-gold)}
.wm18-menuicon{height:34px;width:34px;flex:0 0 34px;display:grid;place-items:center;font:23px Georgia,serif;color:#e1b978;border:1px solid #425c6b;background:#102738;border-radius:8px}
.wm18-menuitem b{font-weight:730;font-size:12px;display:block}.wm18-menuitem small{display:block;font-size:10px;color:#96adbc;margin-top:2px;line-height:1.45}.wm18-chevron{margin-left:auto;color:#8da6b5;font-size:22px}
.wm18-side-bottom{margin-top:auto;padding:17px 15px;border-top:1px solid #385165;background:#102536;border-radius:10px;display:grid;gap:7px}
.wm18-side-bottom small{font-size:10px;letter-spacing:.12em;color:#93aebf}.wm18-side-bottom strong{font:22px Georgia,serif;color:#ebcd99;overflow-wrap:anywhere}.wm18-side-bottom span{color:#b5c7d0;font-size:12px}.wm18-side-bottom button{color:#f2d5a1;background:transparent;border:0;text-align:left;padding:8px 0 0;font-size:12px;font-weight:750}
.wm18-content{min-height:0;overflow:auto;scrollbar-gutter:stable;padding:clamp(20px,2.5vw,40px) clamp(20px,3.1vw,54px);max-width:1800px;width:100%;margin:auto;outline:none}
.wm18-feature{min-height:300px;display:flex;align-items:flex-end;position:relative;overflow:hidden;padding:clamp(24px,3vw,45px);border:1px solid #486071;border-radius:14px;background:#102839;box-shadow:var(--wm18-shadow)}
.wm18-feature:before{content:'';position:absolute;inset:0;background:linear-gradient(95deg,#071520f7 4%,#071520e9 36%,#07152079 70%,#07152047),var(--wm18-scene) center 45%/cover;filter:saturate(.85)}
.wm18-feature:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08172580,transparent 55%);pointer-events:none}
.wm18-feature-body{position:relative;z-index:1;max-width:790px}
.wm18-feature h1{margin:13px 0 13px;color:var(--wm18-gold-light);font:normal clamp(32px,3.6vw,57px)/1.13 Georgia,serif;letter-spacing:-.018em;text-wrap:balance}
.wm18-feature p{margin:0;max-width:670px;color:#dae2e7;font-size:14px;line-height:1.7;text-wrap:pretty}
.wm18-feature-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:21px}
.wm18-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 17px!important;border-radius:8px!important;font-weight:780!important;font-size:12px!important;line-height:1.3;white-space:normal;text-align:center;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.wm18-btn:hover{transform:translateY(-1px)}
.wm18-btn-primary{background:linear-gradient(125deg,#f2d49f,#d9aa69)!important;color:#142737!important;border:1px solid #ffe0ad!important}
.wm18-btn-primary:hover{background:#f6dcae!important}
.wm18-btn-secondary{background:#263e51!important;color:#f1e8d8!important;border:1px solid #627988!important}
.wm18-btn-secondary:hover{background:#35536a!important}
.wm18-btn-quiet{background:#183040!important;border:1px solid #587386!important;color:#dfedf2!important}
.wm18-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:19px 0}
.wm18-metric{background:linear-gradient(145deg,#172d3c,#102536);border:1px solid #354e61;border-radius:11px;min-height:121px;display:flex;flex-direction:column;justify-content:center;padding:18px 20px}
.wm18-metric>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#93b3c2}
.wm18-metric strong{font:normal clamp(21px,2vw,30px)/1.2 Georgia,serif;color:#f1d7ad;margin:8px 0 4px;overflow-wrap:anywhere}.wm18-metric em{font-size:15px;font-style:normal;color:#9baebc}.wm18-metric small{color:#a5bdc8;font-size:11px}
.wm18-featuregrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:18px;margin-top:20px}
.wm18-card{background:linear-gradient(145deg,#152b3a,#0e2232);border:1px solid #355367;border-radius:12px;padding:clamp(19px,2.2vw,29px);min-width:0}
.wm18-cardtop,.wm18-sectionhead,.wm18-cardactions,.wm18-bottom-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.wm18-card h2,.wm18-sectionhead h2{font:normal clamp(22px,2.1vw,30px)/1.25 Georgia,serif;color:#edcf9f;margin:12px 0}
.wm18-cardintro{font-size:13px;line-height:1.65;color:#bcd0d9;margin:0 0 10px}
.wm18-counter{font-size:11px;color:#d6ebeb;border:1px solid #466675;background:#113644;border-radius:50px;padding:7px 10px}
.wm18-tasklist{margin:18px 0}.wm18-task{display:flex;gap:13px;align-items:flex-start;border-top:1px solid #304c5e;padding:12px 0}.wm18-taskdot{margin-top:7px;flex:0 0 8px;width:8px;height:8px;background:#ddb676;border-radius:50%}.wm18-task strong{display:block;font-size:13px;font-weight:700;color:#e3eef1}.wm18-task small{display:block;font-size:11px;color:#a3bbc7;line-height:1.5;margin-top:5px}
.wm18-cardactions{justify-content:flex-start;margin-top:12px}
.wm18-card-visual{display:flex;align-items:flex-end;min-height:340px;background:linear-gradient(0deg,#071521f9 3%,#0715219c 53%,#07152159),var(--wm18-scene) center/cover}.wm18-card-visual-inner{max-width:430px}.wm18-card-visual h2{font-size:clamp(24px,2.5vw,37px)}.wm18-card-visual p{color:#d7e2e8;font-size:13px;line-height:1.65}
.wm18-bottom-row{padding:20px 0;border-bottom:1px solid #2c4659}.wm18-inline-note{display:flex;gap:13px;align-items:center}.wm18-inline-note>span{color:#e7bd7c;font:30px Georgia,serif}.wm18-inline-note strong{display:block;color:#e8eef0;font-size:12px}.wm18-inline-note small{display:block;color:#a2b8c4;font-size:11px}.wm18-textlink{background:none;border:0;padding:10px 0;color:#f2cd91;font-size:12px;font-weight:700}
.wm18-sectionhead{margin:30px 0 17px}.wm18-sectionhead h2{margin:6px 0 0}.wm18-subtle{font-size:11px;color:#a6bdc7}
.wm18-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.wm18-scene{min-height:305px;display:flex;align-items:end;text-align:left;position:relative;overflow:hidden;border:1px solid #466074;border-radius:12px;padding:22px;color:#f6e9da;background:linear-gradient(0deg,#071522fc 1%,#071522aa 45%,#07152218 100%),var(--wm18-scene) center/cover;transition:transform .2s ease,border-color .2s ease}
.wm18-scene:hover{transform:translateY(-3px);border-color:#e1bd7e}.wm18-scene-overlay{display:grid;gap:8px;max-width:420px}.wm18-scene small{font-size:10px;font-weight:800;letter-spacing:.16em;color:#f3ca91}.wm18-scene strong{font:normal clamp(24px,2.4vw,35px) Georgia,serif;color:#f6d6a8}.wm18-scene span span{font-size:12px;color:#d1e1e6}.wm18-scene b{font-size:12px;color:#ffdcac;margin-top:9px}
.wm18-twoactions{margin:20px 0;padding:23px;border-radius:12px;border:1px solid #39566a;background:#13293a;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.wm18-twoactions strong{color:#edd3a8}.wm18-twoactions p{margin:6px 0 0;color:#adc2cc;font-size:12px}
.wm18-analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.wm18-metric-select{text-align:left;cursor:pointer;color:inherit}.wm18-metric-select[aria-pressed=true]{box-shadow:inset 0 3px var(--wm18-gold);border-color:#af946d}.wm18-metric-select:hover{background:#213c4e}
.wm18-chart{min-height:225px;width:100%;margin:18px 0 8px}.wm18-chart svg{display:block;width:100%;height:auto;max-height:255px}.wm18-chart-empty{min-height:215px;background:#0b1d2b;border:1px dashed #3b5363;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center}.wm18-chart-empty span{font:40px Georgia,serif;color:#8cb5bb}.wm18-chart-empty strong{color:#dfcba9;margin:5px 0}.wm18-chart-empty p{color:#aac0cc;font-size:12px;max-width:350px}.wm18-note{font-size:11px;color:#93aebf;line-height:1.6}
.wm18-ledger{margin:22px 0}.wm18-ledger div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #375063}.wm18-ledger dt{font-size:12px;color:#aec3cc}.wm18-ledger dd{font:normal 22px Georgia,serif;color:#f0d3a5;margin:0}.wm18-stackactions{display:grid;gap:9px}.wm18-stackactions .wm18-btn{width:100%}
.wm18-search{display:flex;align-items:center;gap:9px;border:1px solid #577185;background:#102434;border-radius:8px;padding:8px 13px;min-width:245px;max-width:340px;flex:1;color:#dcb884}.wm18-search>span:first-child{font-size:23px}.wm18-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#f7eddd;padding:4px;font-size:12px}.wm18-search input::placeholder{color:#9db4c1}
.wm18-systemgroup{margin:24px 0}.wm18-systemgroup h3{font:normal 24px Georgia,serif;color:#efd1a1;margin:0 0 13px}.wm18-systemgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wm18-system{width:100%;min-height:102px;display:flex;align-items:center;gap:16px;text-align:left;background:linear-gradient(115deg,#182f40,#102638);border:1px solid #3a5569;border-radius:11px;padding:19px;color:#ecf1f2}.wm18-system:hover{border-color:#d5b178;background:#294255}.wm18-system-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border:1px solid #617486;background:#102434;border-radius:9px;color:#f0c990;font:27px Georgia,serif}.wm18-system strong{display:block;font-size:13px;margin-bottom:3px}.wm18-system small{display:block;color:#a5bdc7;font-size:11px;line-height:1.5}.wm18-system-arrow{margin-left:auto;color:#dabb89;font-size:17px}.wm18-help{margin:25px 0;border:1px solid #385064;border-radius:9px;padding:16px 20px;background:#0e2434}.wm18-help summary{cursor:pointer;font-weight:700;font-size:12px;color:#e6c78e}.wm18-help p{font-size:12px;color:#bbced7}.wm18-help .wm18-btn{margin:6px 5px 0 0}
.wm18-empty{padding:23px 0;color:#abc2cd;font-size:12px}.wm18-footer{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;margin:30px 0 0;padding:20px 0;border-top:1px solid #304759;color:#90a9b8;font-size:10px;letter-spacing:.07em}.wm18-footer span:first-child{font-weight:800;color:#b4a083}
.wm18-toast{position:fixed;right:28px;bottom:26px;max-width:min(430px,calc(100vw - 40px));background:#294656;border:1px solid #e1bb79;box-shadow:0 20px 45px #0008;border-radius:10px;padding:16px 19px;font-size:13px;color:#fff8eb;z-index:10}
/* Harmonise legacy deep screens without changing IDs or game bindings. */
body.wm18-curated>header{background:linear-gradient(110deg,#091926,#152c3c);border-bottom:1px solid #7b6650;min-height:80px;gap:16px;padding:16px clamp(16px,2vw,32px)}
body.wm18-curated>header h1{font:normal clamp(24px,2.5vw,37px)/1.12 Georgia,serif;letter-spacing:-.03em;color:#f1cb92}
body.wm18-curated>header .buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;min-width:0}
body.wm18-curated>header .buttons button{min-height:43px;padding:10px 15px;border-radius:7px;color:#ecd6b5;border:1px solid #516a78;background:#243d4f;font-size:12px;white-space:normal}
body.wm18-curated>header #next{background:#e1b97b;color:#112738;font-weight:800;border-color:#f3dca9}
body.wm18-curated>.layout{grid-template-columns:minmax(205px,230px) minmax(0,1fr)!important;max-width:1560px;gap:20px;padding:24px clamp(14px,2.5vw,40px)}
body.wm18-curated>.layout main{min-width:0;grid-column:2}
body.wm18-curated>.layout>.right{display:none!important}
body.wm18-curated>.layout>.nav{grid-column:1;grid-row:1 / span 3;position:sticky;top:14px;align-self:start;max-height:calc(100vh - 29px);overflow-y:auto;padding:14px;background:linear-gradient(165deg,#152c3e,#0d2332);border-radius:12px;border:1px solid #3b5266}
body.wm18-curated>.layout>.nav button{border-radius:7px;margin:4px 0;width:100%;min-height:37px;color:#d4e0e6;border:1px solid transparent;background:#122b3b;font-size:12px;text-align:left;padding:8px 11px;white-space:normal}
body.wm18-curated>.layout>.nav button.on{color:#ffdfaa;background:#344a56;border-color:#856c4c}
body.wm18-curated>.layout>.nav button:hover{background:#304d60}
body.wm18-curated>.layout>.nav .navgroup summary{font-size:11px;color:#efd2a4;letter-spacing:.01em}
body.wm18-curated>.layout>.nav .navsearch{border-radius:7px;background:#0b1d2b;border:1px solid #466074;max-width:100%}
body.wm18-curated>.layout .panel{border:1px solid #385467;border-radius:12px;background:linear-gradient(145deg,#172e40,#112537);box-shadow:0 12px 35px #0002}
body.wm18-curated>.layout .hero{border-radius:12px;border:1px solid #4a6170;overflow:hidden;min-height:230px;height:auto;padding-top:230px}
body.wm18-curated>.layout .heroContent{right:20px}
body.wm18-curated>.layout .heroContent h2{font:normal clamp(24px,2.7vw,39px) Georgia,serif;color:#f5d4a5}
body.wm18-curated>.layout .metric{border-radius:8px;background:#152e3d;border:1px solid #3b586c;padding:13px}
body.wm18-curated>.layout .metric b{color:#f0d2a0}
body.wm18-curated :is(.wm80-desk-overlay,.wm80-policy-overlay,.cin87-overlay,.p76-overlay,.lw83-overlay,.m84-overlay) :is(button,input,textarea,select){max-width:100%}
body.wm18-curated :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #f4d3a0!important;outline-offset:2px}
body.wm18-curated :is(.wm80-desk-overlay,.wm80-policy-overlay,.cin87-overlay,.p76-overlay,.lw83-overlay,.m84-overlay){color:#f2eee5}
/* Make action rows wrap, especially inside layered legacy dialogs. */
body.wm18-curated :is(.buttons,.actions,.wm49actions,.lw83-actions,.wm80-actions,.cin87-actions,.p76-actions){flex-wrap:wrap!important}
body.wm18-curated :is(.buttons,.actions,.wm49actions,.lw83-actions,.wm80-actions,.cin87-actions,.p76-actions) > :is(button,a){flex-shrink:0;max-width:100%}
@media(max-width:1100px){.wm18-workspace{grid-template-columns:205px minmax(0,1fr)}.wm18-featuregrid{grid-template-columns:minmax(0,1fr)}.wm18-feature{min-height:275px}.wm18-card-visual{min-height:250px}.wm18-position{display:none}}
@media(max-width:820px){.wm18-top{min-height:75px;padding:12px 18px}.wm18-workspace{display:flex;flex-direction:column}.wm18-side{overflow-x:auto;overflow-y:hidden;flex:0 0 auto;padding:9px 12px;border-right:0;border-bottom:1px solid #385569;display:block}.wm18-side-eyebrow,.wm18-side-bottom,.wm18-menuitem small,.wm18-chevron{display:none!important}.wm18-menu{display:flex;gap:7px;min-width:max-content}.wm18-menuitem{width:auto;padding:10px 12px;border-radius:8px;white-space:nowrap}.wm18-menuicon{width:28px;height:28px;flex-basis:28px;font-size:18px}.wm18-content{padding:20px}.wm18-topmeta{display:none}.wm18-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}body.wm18-curated>.layout{grid-template-columns:170px minmax(0,1fr)!important}}
@media(max-width:640px){.wm18-brand{font-size:17px}.wm18-brand img{width:38px;height:39px}.wm18-brand span{font-size:8px}.wm18-top .wm18-btn-quiet{display:none}.wm18-content{padding:13px}.wm18-feature{min-height:300px;padding:23px}.wm18-feature h1{font-size:33px}.wm18-feature p{font-size:12px}.wm18-feature-actions .wm18-btn{flex:1}.wm18-metrics{grid-template-columns:1fr 1fr;gap:9px}.wm18-metric{padding:13px;min-height:98px}.wm18-metric strong{font-size:20px}.wm18-metric:nth-child(3){grid-column:span 2}.wm18-scenes,.wm18-systemgrid{grid-template-columns:1fr}.wm18-scene{min-height:235px}.wm18-cardactions{align-items:stretch}.wm18-cardactions .wm18-btn{flex:1}.wm18-search{min-width:100%;max-width:unset}body.wm18-curated>.layout{display:block!important;padding:14px!important}body.wm18-curated>.layout>.nav{position:relative;max-height:170px;overflow:auto;margin-bottom:16px}body.wm18-curated>.layout main{grid-column:auto}body.wm18-curated>header{align-items:flex-start}body.wm18-curated>header .buttons{justify-content:flex-start;width:100%}}
@media(prefers-reduced-motion:reduce){.wm18-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Lightweight outer landing page still uses its original w17 component names. */
.w17-hub{background:var(--wm18-bg,#071521);min-height:100vh;margin:0;color:#f5efe3;font:14px system-ui,sans-serif}
.w17-hub *{box-sizing:border-box}.w17-hub .w17-bar{background:#091a29;border-bottom:1px solid #365168;padding:15px 4vw;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}
.w17-hub .w17-brand a{display:flex;align-items:center;gap:13px;text-decoration:none;color:#f4d09b;font:700 25px Georgia,serif}
.w17-hub .w17-brand img{height:55px;width:55px;object-fit:contain}.w17-hub .w17-brand small{display:block;letter-spacing:.22em;font:700 10px system-ui;color:#bc9a6b}
.w17-hub .w17-nav a{color:#e6c18c;text-decoration:none;font-size:12px}
.w17-hub .w17-main{max-width:1440px;margin:auto;padding:clamp(20px,3vw,44px)}
.w17-hub .w17-hero{display:flex;flex-direction:column;justify-content:end;align-items:start;min-height:450px;border:1px solid #456273;border-radius:14px;overflow:hidden;padding:clamp(28px,4vw,58px);background:linear-gradient(90deg,#061722f6,#0617229e 55%,#0617223e),url('westminster-scene.jpg') center/cover;box-shadow:0 30px 60px #0005}
.w17-hub .w17-kicker{font-size:11px;color:#e8bd7f;font-weight:800;letter-spacing:.15em}
.w17-hub .w17-hero h1{font:normal clamp(42px,5vw,72px) Georgia,serif;color:#f1d2a1;margin:14px 0}
.w17-hub .w17-hero p{font-size:15px;color:#d9e5e9;max-width:600px;line-height:1.7}
.w17-hub .w17-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:21px}
.w17-hub .w17-primary,.w17-hub .w17-secondary{display:inline-block;text-decoration:none;border-radius:8px;padding:14px 18px;font-size:13px;font-weight:750}
.w17-hub .w17-primary{background:#e9c28b;color:#152838;border:1px solid #fae1b3}.w17-hub .w17-secondary{background:#294354;color:#f0e9db;border:1px solid #698290}
.w17-hub .w17-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:18px}.w17-hub .w17-panel{border-radius:11px;background:linear-gradient(140deg,#172e3f,#0f2332);border:1px solid #3d5567;padding:26px}.w17-hub .w17-panel h2,.w17-hub .w17-panel h3{font:normal 27px Georgia,serif;color:#f0d3a6;margin:11px 0}.w17-hub .w17-panel p{color:#b8ced7;font-size:13px;line-height:1.7}.w17-hub .w17-note{font-size:12px;color:#a9bfcc}
@media(max-width:700px){.w17-hub .w17-columns{grid-template-columns:1fr}.w17-hub .w17-hero{min-height:370px;padding:24px}}
/* At phone widths all four navigation destinations remain visible, no sideways scrolling. */
@media(max-width:640px){.wm18-side{overflow:visible!important;padding:10px 12px!important}.wm18-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important;gap:8px!important}.wm18-menuitem{width:100%!important;justify-content:flex-start!important;padding:8px 9px!important;white-space:normal!important}.wm18-menuitem b{font-size:11px}.wm18-menuicon{width:24px;height:24px;flex:0 0 24px}}
/* Deep-screen polish: visual consistency for conversations, cinematic stories, press and policy. */
body.wm18-curated .wm74-overlay{background:radial-gradient(ellipse at 85% 0,#1b3949,#071521 65%);color:#f3eee5}
body.wm18-curated .wm74-stage{width:min(1220px,100%);background:linear-gradient(145deg,#112a3c,#0c1f30);border-left:1px solid #3e5969;border-right:1px solid #3e5969}
body.wm18-curated .wm74-stage>header{background:#091b2a;border-bottom:1px solid #465c6d;min-height:72px;padding:16px clamp(16px,3vw,40px)}
body.wm18-curated .wm74-location{min-height:290px;padding:26px clamp(20px,3vw,44px);align-items:end;gap:25px;position:relative;isolation:isolate;border-bottom:1px solid #425767;background-position:center 40%!important}
body.wm18-curated .wm74-location:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#081a2be0,transparent 80%);z-index:-1}
body.wm18-curated .wm74-person{width:118px;height:148px;border:2px solid #ddb87a;border-radius:12px;object-fit:cover;box-shadow:0 13px 30px #000b;background:#132e3e;flex-shrink:0}
body.wm18-curated .wm74-location h2{font:normal clamp(30px,4vw,53px)/1.15 Georgia,serif;color:#f2d2a4}
body.wm18-curated .wm74-location small{font-weight:800;letter-spacing:.16em}
body.wm18-curated .wm74-body{padding:clamp(18px,3vw,38px);max-width:1100px;margin:auto}
body.wm18-curated .wm74-log{max-height:50vh;min-height:170px;background:#0a1d2d;border-color:#3d586a;padding:clamp(12px,2vw,22px)}
body.wm18-curated .wm74-message{border:1px solid #435a6c;background:#233e53;border-radius:11px;padding:17px 20px;max-width:min(75%,780px)}
body.wm18-curated .wm74-message.player{background:#4a4036;border-color:#847157}
body.wm18-curated .wm74-error{border-left:3px solid #d7b073;background:#132a3b;border-radius:0 6px 6px 0;padding:12px 16px;color:#c4d6df}
body.wm18-curated .wm74-body textarea{border-color:#658397;min-height:110px;background:#102839;border-radius:9px;width:100%}
body.wm18-curated .wm74-actions button{border-radius:8px;min-height:44px;padding:11px 17px;background:#294557;border:1px solid #658293;color:#f3e9db}
body.wm18-curated .wm74-actions .wm74-send{background:#e7bf82;color:#15283b;border-color:#f4d4a2}
body.wm18-curated .cin87-window{border-color:#667e89;background:#0c2031;border-radius:13px}
body.wm18-curated .cin87-intro h2,body.wm18-curated .cin87-location h2{color:#f0d2a2}
body.wm18-curated .cin87-tile{background:#162e41;border:1px solid #4b6173;min-width:0;transition:transform .18s ease,border-color .18s ease}
body.wm18-curated .cin87-tile:hover{transform:translateY(-2px);border-color:#e2bf85}
body.wm18-curated .cin87-options button{background:#1b3749;border:1px solid #537186;border-radius:8px;line-height:1.55;min-height:54px;white-space:normal}
body.wm18-curated .cin87-primary{background:#e7bd80;color:#162838;border-radius:8px;min-height:43px}
body.wm18-curated .p76-overlay{background:#081826}
body.wm18-curated .p76-header{border-color:#465a69}
body.wm18-curated .p76-header h2,body.wm18-curated .p76-hero h3{color:#f4d4a2}
body.wm18-curated .p76-hero{border-color:#4e6879;overflow:hidden}
body.wm18-curated .p76-decision,body.wm18-curated .p76-main aside,body.wm18-curated .p77-news{border-color:#3e5669;background:#12293b}
body.wm18-curated .p76-primary{background:#e1b879;color:#122a3b}
body.wm18-curated :is(.p76-topic,.p76-channels button,.p76-choices button,.p77-actions button){min-height:44px;border-color:#516a7b;color:#edecdf;background:#1d364a}
body.wm18-curated :is(.p76-choices,.p76-channels,.p77-actions){gap:10px}
body.wm18-curated :is(.wm80-desk-overlay,.wm80-policy-overlay){background:#081a29;color:#f5f0e7}
@media(max-width:680px){body.wm18-curated .wm74-location{min-height:220px;align-items:center;padding:20px;gap:14px}body.wm18-curated .wm74-person{width:83px;height:105px}body.wm18-curated .wm74-location h2{font-size:31px}body.wm18-curated .wm74-message{max-width:95%}body.wm18-curated .wm74-stage>header{gap:10px}}

/* Consolidate the formerly detached foreign-affairs launcher and unhide legacy screen navigation when requested. */
body.wm18-curated:not(.wm18-show-legacy) #int70-launch{display:none!important}
body.wm18-curated>.layout>.nav.wm49nav:not(.wm49expanded) button:not(#wm49tools){display:block!important}
body.wm18-curated>.layout>.nav.wm49nav #wm49tools{display:none!important}
/* Tablet navigation: keep all four areas on screen rather than requiring a hidden scroll gesture. */
@media(min-width:641px) and (max-width:820px){.wm18-side{overflow:visible!important}.wm18-menu{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-width:0!important}.wm18-menuitem{width:100%!important;white-space:normal!important;justify-content:center!important}.wm18-menuitem b{font-size:11px}.wm18-menuicon{flex:0 0 27px}}
