
:root{--paper:#F4F2EC;--deck:#DBE5E0;--deck2:#C9DAD4;--ink:#263D45;--ink2:#39545B;--muted:#64787B;--line:#CCD8D1;--white:#FFFEFA;--copper:#B57755;--copper-soft:#EAD2C1;--pale:#ECF0E9;--sage:#D8E2D6;--corner:30px}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden}
html{background:var(--paper)}
body{color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default;opacity:.32}
:focus-visible{outline:3px solid var(--copper);outline-offset:4px}
[hidden]{display:none!important}
::selection{background:var(--copper-soft);color:var(--ink)}
.skip{position:fixed;top:-90px;left:12px;background:var(--ink);color:white;padding:12px 17px;z-index:200;border-radius:10px}.skip:focus{top:10px}
.app{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0}
.topbar{flex:0 0 86px;display:flex;align-items:center;gap:18px;padding:0 clamp(18px,3vw,46px);border-bottom:1px solid #DBE2DD;background:var(--paper);position:relative;z-index:10}
.burger{display:inline-flex;align-items:center;justify-content:center;gap:13px;background:var(--ink);border:1px solid var(--ink);color:var(--white);border-radius:999px;height:46px;padding:0 19px;font-weight:800;font-size:12px;letter-spacing:.015em;flex-shrink:0;transition:background .2s}
.burger:hover,.top-pill:hover{background:#41626A}
.burger-bars{width:18px;height:16px;display:flex;flex-direction:column;justify-content:center;gap:5px}.burger-bars i{display:block;width:18px;height:2px;background:#F5F4EE;border-radius:9px}
.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;flex-shrink:0}
.brand img{width:45px;height:45px}
.brand span{font-size:22px;line-height:1;font-weight:900;letter-spacing:-.075em}
.brand b{color:var(--copper)}
.topnav{margin-left:auto;display:flex;align-items:center;gap:8px;overflow:auto hidden;scrollbar-width:none;min-width:0;max-width:100%}.topnav::-webkit-scrollbar{display:none}
.top-pill{display:inline-flex;align-items:center;justify-content:space-between;gap:19px;white-space:nowrap;min-height:44px;background:var(--ink);color:var(--white);border:1px solid var(--ink);border-radius:99px;padding:12px 17px;font-size:12px;font-weight:780;line-height:1;transition:background .2s,transform .2s}
.top-pill[aria-current="page"]{background:#526E70;border-color:#526E70}
.top-pill .diagonal{font-size:17px;font-weight:400;color:#E3B99C}
.top-pill:hover{transform:translateY(-1px)}
.topbar-note{display:none}
.workspace{flex:1;min-height:0;display:flex;padding:18px clamp(14px,2.5vw,38px) clamp(14px,2.4vw,30px)}
.deck{position:relative;isolation:isolate;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(118deg,#E5EBE6 0%,#D8E4DF 60%,#C5D7D0 100%);border:1px solid #BDCCC5;border-radius:var(--corner);box-shadow:0 14px 45px rgba(50,76,73,.075)}
.deck:before{content:"";position:absolute;width:min(45vw,630px);aspect-ratio:1;border-radius:50%;right:-9%;top:-45%;border:1px solid rgba(56,99,91,.13);box-shadow:0 0 0 90px rgba(255,255,255,.07),0 0 0 180px rgba(255,255,255,.045);z-index:-1;pointer-events:none}




.viewport{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ABC1B9 transparent;outline:none}
.viewport::-webkit-scrollbar{width:8px}
.viewport::-webkit-scrollbar-thumb{background:#B3C7BE;border-radius:10px}
.pane{padding:clamp(20px,3vw,46px) clamp(23px,4vw,62px) 28px;min-height:100%;display:flex;flex-direction:column;justify-content:center}
.pane.fade-in{animation:slide-in .28s ease both}
@keyframes slide-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(315px,.92fr);align-items:center;gap:clamp(28px,4.5vw,78px);max-width:1390px;width:100%;margin-inline:auto}
.eyebrow{font-size:11px;font-weight:860;text-transform:uppercase;letter-spacing:.17em;display:flex;align-items:center;gap:12px;color:#526F74}
.eyebrow:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--copper)}
h1,h2,h3,p{margin-top:0}
.hero-title{font-size:clamp(57px,6.7vw,110px);font-weight:900;letter-spacing:-.084em;line-height:.99;margin:25px 0 24px;max-width:750px}
.hero-title em,.display-title em{color:#B27150;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;letter-spacing:-.065em}
.lede{max-width:525px;color:#546D72;font-size:clamp(14px,1.2vw,17px);line-height:1.8;margin-bottom:27px}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.cta{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid var(--ink);border-radius:100px;background:var(--ink);color:white;min-height:52px;padding:13px 22px;font-size:13px;font-weight:830;transition:background .2s,transform .2s}
.cta:hover{background:#41626A;transform:translateY(-2px)}
.cta .arrow{font-size:20px;font-weight:400}
.cta-alt{background:rgba(255,255,255,.48);color:var(--ink);border-color:#AFC5BC}
.cta-alt:hover{background:var(--white)}
.fineprint{margin:27px 0 0;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:680;color:#607C7B}
.fineprint .glyph{color:var(--copper);font-size:19px}
.file-card{position:relative;background:var(--white);border-radius:23px;padding:clamp(22px,2.3vw,35px);border:1px solid #ECE9E0;box-shadow:0 25px 70px rgba(53,80,73,.14);transform:rotate(3deg);max-width:465px;width:100%;justify-self:center}
.file-card::after{content:"";display:block;position:absolute;width:92px;height:92px;border:6px solid #D8E6DC;border-radius:50%;right:-28px;bottom:0;background:#D8A27D;z-index:-1}
.file-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px dashed #CADBD1}
.file-head span:first-child{font-size:10px;font-weight:900;letter-spacing:.12em;color:#697E7B}
.file-status{background:#E2EAD9;color:#60775A;border:1px solid #CFDEC2;font-size:10px;font-weight:790;padding:7px 13px;border-radius:99px;white-space:nowrap}
.file-title{font-size:clamp(28px,3vw,40px);font-weight:900;letter-spacing:-.066em;line-height:1.07;margin:22px 0 19px}
.file-title em{font-style:normal;color:#B27150}
.file-row{display:flex;align-items:center;gap:13px;padding:12px 0;border-top:1px solid #E7EBE4}
.file-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#E6EDE9;color:#557F7C;font-size:16px;flex-shrink:0}
.file-row strong{display:block;font-size:12px;line-height:1.4}
.file-row small{display:block;font-size:10px;color:#82948D;line-height:1.5;margin-top:2px}
.file-number{font-size:10px;font-weight:800;color:#9DB3AA;margin-left:auto}
.file-footer{margin-top:10px;padding-top:18px;border-top:1px solid #E7EBE4;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#859A92}










.display-title{font-size:clamp(46px,5.7vw,82px);letter-spacing:-.079em;line-height:1.04;font-weight:880;margin:20px 0 22px}
.section-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:clamp(25px,5vw,76px);width:100%;max-width:1350px;margin:auto}
.section-copy{max-width:660px}
.section-copy .lede{max-width:580px}
.section-label{font-size:11px;letter-spacing:.14em;font-weight:850;text-transform:uppercase;color:#71867E;margin:24px 0 13px}
.details{display:grid;gap:10px;margin-top:23px}
.detail-row{display:flex;align-items:start;gap:13px;font-size:14px;color:#526A6E;line-height:1.6}
.detail-row b{color:#A96E4F;font-weight:900}
.surface{background:rgba(255,254,250,.84);border:1px solid rgba(173,195,183,.74);border-radius:25px;padding:clamp(23px,3vw,43px);box-shadow:0 14px 45px rgba(43,75,67,.055)}
.surface-top{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:10px;letter-spacing:.12em;font-weight:900;color:#779087;text-transform:uppercase;border-bottom:1px solid #D8E2DA;padding-bottom:19px}
.surface h3{font-size:clamp(26px,3vw,43px);line-height:1.1;letter-spacing:-.065em;margin:22px 0}
.surface p{font-size:14px;line-height:1.75;color:#5D7575;margin:0}
.mini-list{display:grid;gap:0;margin-top:16px}
.mini-list div{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #DFE7DF;padding:14px 0;font-size:13px;font-weight:800}
.mini-list span:last-child{color:#B27150;font-size:11px;white-space:nowrap}
.mini-note{display:flex;align-items:center;gap:9px;font-size:12px;color:#738B82;padding-top:15px;border-top:1px solid #E2E8E1;margin-top:20px}
.marker{display:inline-flex;align-items:center;gap:8px;background:#E8EDE7;border:1px solid #CEDBD1;border-radius:99px;font-size:11px;font-weight:800;color:#506B65;padding:8px 12px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px;max-width:1350px;width:100%}
.card{background:rgba(255,254,250,.75);border:1px solid #C5D5CB;border-radius:20px;padding:25px;display:flex;flex-direction:column;min-height:185px}
.card .num{font:italic 30px Georgia,serif;color:#B27B5A}
.card h3{font-size:21px;line-height:1.2;letter-spacing:-.05em;margin:26px 0 8px}
.card p{font-size:13px;line-height:1.7;color:#627B78;margin:0}
.facts{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}
.fact{border:1px solid #B5CBBE;color:#4B6765;font-size:11px;font-weight:780;border-radius:99px;padding:9px 12px;background:rgba(255,255,255,.48)}
.rule-box{background:#2D4850;color:#F8F7F2;border-radius:23px;padding:clamp(22px,3vw,38px)}
.rule-box h3{font-size:clamp(28px,3.3vw,44px);line-height:1.12;letter-spacing:-.06em;margin:18px 0}
.rule-box p{color:#D0DFD9;font-size:14px;line-height:1.75;margin:0}
.rule-box .section-label{color:#E2B596}
.rule-box .tag{display:inline-block;margin-top:24px;background:#D6A581;color:#32434A;font-size:11px;font-weight:870;border-radius:99px;padding:9px 14px}
.empty-status{margin-top:17px;padding:17px 20px;border-radius:17px;background:#E6ECE5;border:1px solid #C8D8CD;color:#5F7872;font-size:13px;line-height:1.7}
.card-icon{font:italic 65px Georgia,serif;color:#AD7859}
.statusline{font-size:13px;line-height:1.7;color:#526E6E;margin:0}
.quote{font:italic clamp(31px,3.4vw,48px) Georgia,serif;line-height:1.18;letter-spacing:-.04em;color:#486B67}
.drawer-backdrop{position:fixed;inset:0;background:rgba(23,43,47,.5);z-index:90;backdrop-filter:blur(3px)}
.drawer{position:fixed;z-index:100;inset:0 auto 0 0;width:min(380px,91vw);background:#F8F7F2;box-shadow:25px 0 65px rgba(0,0,0,.14);display:flex;flex-direction:column;padding:27px 25px 24px;overflow-y:auto}
.drawer-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #D4DED6;padding-bottom:20px}
.drawer-title{font-size:22px;font-weight:900;letter-spacing:-.07em}
.drawer-title span{color:#B57755}
.drawer-close{width:41px;height:41px;background:#2B4850;color:white;border:0;border-radius:50%;font-size:21px}
.drawer-label{font-size:11px;letter-spacing:.16em;color:#7B9189;font-weight:850;text-transform:uppercase;margin:28px 0 12px}
.drawer-links{display:grid;gap:7px}
.drawer-link{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #D1DFD5;border-radius:13px;min-height:48px;padding:11px 15px;background:white;color:#314C51;font-size:13px;font-weight:800}
.drawer-link:hover,.drawer-link[aria-current="page"]{background:#DCE8DF}
.drawer-link .number{font:italic 16px Georgia,serif;color:#B17957}
.drawer-link .arr{margin-left:auto;color:#A66F51}
.drawer-bottom{margin-top:auto;padding-top:25px;color:#758A80;font-size:12px;line-height:1.7}
@media(max-height:770px) and (min-width:780px){.pane{padding-top:21px;padding-bottom:20px}.hero-title{font-size:clamp(54px,5.55vw,81px)}.display-title{font-size:clamp(43px,5vw,67px)}.file-card{max-width:420px;padding:25px}.file-row{padding:8px 0}.file-title{margin:15px 0}.lede{line-height:1.65}}
@media(max-width:1080px){
 .topbar{gap:12px;padding:0 18px}.brand span{font-size:19px}.brand img{width:41px;height:41px}.topnav{gap:5px}.top-pill{gap:10px;padding:11px 13px;font-size:11px}
 .hero-grid{gap:25px}.hero-title{font-size:clamp(50px,6vw,80px)}
 .file-card{padding:23px}.file-title{font-size:30px}
}
@media(max-width:760px){
 .topbar{flex:0 0 auto;min-height:108px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:58px 45px;column-gap:10px;row-gap:0;padding:5px 15px 0}
 .burger{height:39px;padding:0 13px;gap:9px;font-size:11px}
 .burger-bars{width:15px}.burger-bars i{width:15px}
 .brand{justify-self:end;gap:7px}.brand img{width:34px;height:34px}.brand span{font-size:17px}
 .topnav{grid-column:1 / -1;grid-row:2;margin-left:0;align-self:start;width:100%;padding-bottom:6px}
 .top-pill{min-height:35px;padding:9px 13px;font-size:11px;gap:10px}
 .top-pill .diagonal{font-size:14px}
 .workspace{padding:8px 9px 10px}
 .deck{border-radius:21px}
 
 
 
 .pane{justify-content:flex-start;padding:24px 20px 22px}
 .hero-grid,.section-grid{grid-template-columns:1fr;gap:26px}
 .hero-title{font-size:clamp(50px,9.2vw,72px);margin:17px 0 18px}
 .lede{font-size:14px;line-height:1.7;margin-bottom:21px}
 .file-card{transform:rotate(1deg);width:min(100%,440px);max-width:440px;padding:20px;margin-bottom:13px}
 .file-title{font-size:30px;margin:18px 0 15px}
 .file-row{padding:10px 0}
 .display-title{font-size:clamp(45px,8.4vw,69px);margin:16px 0}
 .surface{padding:24px}
 
 
 
 
 
 .cards{grid-template-columns:1fr}
 .card{min-height:140px;padding:20px}
 .card h3{margin:16px 0 8px}
 .section-grid{margin:0}
 .drawer{width:min(350px,95vw)}
}
@media(max-width:410px){
 .topbar{padding-inline:11px}.brand span{font-size:15px}.burger span.burger-text{display:none}.burger{min-width:42px;padding:0 12px}
 .pane{padding:19px 18px 20px}
 .hero-title{font-size:clamp(46px,11.4vw,57px)}
 .display-title{font-size:clamp(42px,11vw,56px)}
 .actions{gap:9px}.cta{min-height:45px;font-size:12px;gap:12px;padding:11px 15px}
 .file-card{padding:18px}.file-title{font-size:27px}
 .file-row{padding:8px 0}
 
 
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pane.fade-in{animation:none}*{transition:none!important}}







@media(hover:none),(pointer:coarse){}
@media(max-width:760px){}

/* Permanent left navigation. The rail never leaves the viewport. */
.app{flex-direction:row;align-items:stretch}
.app-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
.side-rail{--rail:72px;position:relative;z-index:35;display:flex;flex-direction:column;flex:0 0 var(--rail);width:var(--rail);min-width:0;height:100%;background:#F7F7F1;border-right:1px solid #D0DCD4;transition:width .18s ease,flex-basis .18s ease;overflow:hidden}
.rail-head{height:85px;flex:0 0 85px;display:flex;align-items:center;justify-content:center;padding:14px 10px;border-bottom:1px solid #DBE2DA}
.rail-toggle{min-width:47px;height:47px;border-radius:15px;background:#2D4B50;border:1px solid #2D4B50;display:flex;align-items:center;justify-content:center;gap:13px;color:#FCFDF9;padding:10px;transition:background .16s ease}
.rail-toggle:hover{background:#46696D}
.rail-toggle .burger-bars{width:19px;height:auto;gap:4px;flex:0 0 19px}
.rail-toggle .burger-bars i{width:19px;background:currentColor;height:2px}
.rail-text{display:none}
.rail-sections{flex:1;min-height:0;padding:17px 10px;display:flex;flex-direction:column;gap:5px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;scroll-snap-type:none}
.rail-sections::-webkit-scrollbar{width:0}
.rail-link{display:flex;align-items:center;justify-content:center;flex:0 0 49px;gap:14px;width:100%;min-width:0;border-radius:13px;padding:11px 9px;color:#506C69;border:1px solid transparent;transition:background .13s,color .13s,transform .13s;background:transparent}
.rail-link svg{flex:0 0 21px;width:21px;height:21px}
.rail-link:hover{background:#E3EBE4;color:#264C51}
.rail-link[aria-current="page"]{background:#2E5055;color:#FCFEFA;box-shadow:0 3px 8px rgba(35,71,68,.1)}
.rail-link[aria-current="page"]:hover{background:#3B6265}
.rail-foot{height:74px;flex:0 0 74px;display:flex;align-items:center;justify-content:center;gap:11px;border-top:1px solid #D8E2D9;padding:10px}
.rail-foot img{width:32px;height:32px;flex:0 0 32px}
.app.sidebar-expanded .side-rail{--rail:234px}
.app.sidebar-expanded .rail-head{justify-content:flex-start;padding:14px 17px}
.app.sidebar-expanded .rail-toggle{min-width:0;width:100%;justify-content:flex-start;padding:10px 13px}
.app.sidebar-expanded .rail-toggle .rail-text{font-size:12px;font-weight:800;white-space:nowrap}
.app.sidebar-expanded .rail-text{display:block}
.app.sidebar-expanded .rail-sections{padding:17px 13px;gap:5px}
.app.sidebar-expanded .rail-link{justify-content:flex-start;padding:11px 14px;gap:15px}
.app.sidebar-expanded .rail-link .rail-text{white-space:nowrap;font-size:13px;font-weight:750}
.app.sidebar-expanded .rail-foot{justify-content:flex-start;padding-inline:21px}
.app.sidebar-expanded .rail-foot .rail-text{font-size:11px;font-weight:900;letter-spacing:.04em;line-height:1.2;white-space:nowrap}
.rail-foot small{display:block;font-size:10px;letter-spacing:0;font-weight:550;color:#768E83;margin-top:4px}
.rail-backdrop{display:none}
.topbar{min-width:0}
.brand span{white-space:nowrap}
.workspace{min-width:0}
.viewport{touch-action:pan-y}
.pane.fade-in{animation:slide-in .15s ease both}
@keyframes slide-in{from{opacity:.84;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:1080px) and (min-width:761px){
 .side-rail{--rail:63px}
 .rail-head{padding-inline:7px}
 .rail-sections{padding-inline:8px}
 .app.sidebar-expanded .side-rail{--rail:205px}
 .app.sidebar-expanded .rail-link .rail-text{font-size:12px}
 .topbar{padding-inline:15px}
 .top-pill{gap:7px;padding-inline:11px}
 .hero-title{font-size:clamp(43px,5.4vw,75px)}
}
@media(max-width:760px){
 .side-rail{--rail:54px;z-index:45;background:#F5F6F0}
 .rail-head{height:66px;flex-basis:66px;padding:9px 6px}
 .rail-toggle{width:42px;min-width:42px;height:43px;padding:10px;border-radius:12px}
 .rail-toggle .burger-bars,.rail-toggle .burger-bars i{width:18px;flex-basis:18px}
 .rail-sections{padding:9px 5px;gap:3px}
 .rail-link{flex-basis:45px;padding:10px 8px;border-radius:11px;min-height:45px}
 .rail-link svg{width:20px;height:20px;flex-basis:20px}
 .rail-foot{height:58px;flex-basis:58px;padding:9px 7px}
 .rail-foot img{width:28px;height:28px;flex-basis:28px}
 .app.sidebar-expanded .side-rail{position:fixed;top:0;left:0;bottom:0;height:100dvh;--rail:min(278px,86vw);z-index:100;box-shadow:20px 0 55px rgba(19,45,44,.16)}
 .app.sidebar-expanded .rail-head{height:68px;flex-basis:68px;padding:9px 15px}
 .app.sidebar-expanded .rail-toggle{height:43px;width:100%;padding:9px 13px}
 .app.sidebar-expanded .rail-sections{padding:13px 12px;gap:4px}
 .app.sidebar-expanded .rail-link{padding:11px 13px;flex-basis:48px}
 .app.sidebar-expanded .rail-foot{height:66px;flex-basis:66px;padding:10px 18px}
 .rail-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(20,44,47,.39);z-index:90;touch-action:none}
 .topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:55px 45px;min-height:103px;flex:0 0 103px;padding:3px 12px 0;gap:0}
 .topbar .brand{grid-column:1;grid-row:1;justify-self:start;gap:7px}
 .topbar .brand img{width:33px;height:33px}
 .topbar .brand span{font-size:17px}
 .topnav{grid-column:1;grid-row:2;max-width:100%;width:100%;margin:0;padding-bottom:6px;align-self:start}
 .top-pill{min-height:38px;padding:10px 12px}
 .workspace{padding:7px 7px 9px}
 .deck{border-radius:19px}
 .pane{padding:23px 17px 22px}
 .hero-title{font-size:clamp(42px,10.2vw,66px)}
 .display-title{font-size:clamp(40px,9.3vw,63px)}
 
 
 
 .hero-grid{gap:18px}
 .file-card{max-width:350px}
}
@media(max-width:410px){
 .side-rail{--rail:50px}
 .app.sidebar-expanded .side-rail{--rail:min(268px,88vw)}
 .rail-head{height:61px;flex-basis:61px;padding:8px 3px}
 .rail-toggle{width:40px;min-width:40px;height:42px}
 .rail-sections{padding:7px 3px;gap:2px}
 .rail-link{min-height:43px;flex-basis:43px;padding:8px 6px}
 .rail-foot{height:54px;flex-basis:54px}
 .topbar{min-height:98px;flex-basis:98px;grid-template-rows:52px 42px;padding:2px 9px 0}
 .topbar .brand span{font-size:15px}
 .topbar .brand img{width:31px;height:31px}
 .topnav{gap:4px}
 .top-pill{font-size:10px;min-height:37px;padding:9px 10px}
 .pane{padding:18px 13px 20px}
 .hero-title{font-size:clamp(38px,10.7vw,50px)}
 .display-title{font-size:clamp(36px,10vw,51px)}
 
 
}
@media(prefers-reduced-motion:reduce){.side-rail,.rail-link,.rail-toggle{transition:none!important}.pane.fade-in{animation:none!important}}

/* Keep the content width steady while the mobile rail floats open. */
@media(max-width:760px){
 .app.sidebar-expanded .app-main{margin-left:54px}
 .side-rail .rail-link{touch-action:manipulation}
 .topnav,.rail-sections{-webkit-overflow-scrolling:touch}
}
@media(max-width:410px){.app.sidebar-expanded .app-main{margin-left:50px}}
@media(max-height:690px) and (min-width:761px){
 .rail-head{height:65px;flex-basis:65px}
 .rail-foot{height:47px;flex-basis:47px}
 .rail-sections{padding-block:6px;gap:2px}
 .rail-link{flex-basis:42px;min-height:42px;padding-block:7px}
}
@media(max-height:600px) and (max-width:760px){
 .rail-foot{display:none}
 .rail-sections{padding-top:5px;padding-bottom:5px;gap:1px}
 .rail-link{flex-basis:40px;min-height:40px}
}


/* The logo is the persistent menu toggle. Collapsed: emblem only. Expanded: full wordmark. */
.rail-head{padding-inline:10px}
.rail-toggle.rail-brand-toggle{background:transparent;border:0;color:var(--ink);padding:0;min-width:45px;width:45px;height:48px;border-radius:13px;gap:10px;flex-shrink:0;box-shadow:none}
.rail-toggle.rail-brand-toggle:hover{background:#E4EBE4}
.rail-toggle.rail-brand-toggle .rail-brand-mark{display:block;width:44px;height:44px;object-fit:contain;flex:0 0 44px}
.rail-brand-name{min-width:0;text-align:left;line-height:1.12;white-space:nowrap}
.rail-brand-name strong{display:block;color:#243F46;font-size:16px;font-weight:900;letter-spacing:-.073em;white-space:nowrap}
.rail-brand-name strong span{color:var(--copper)}
.rail-brand-name small{display:block;font-size:10px;letter-spacing:.065em;font-weight:670;color:#777F79;margin-top:6px;white-space:nowrap}
.app.sidebar-expanded .rail-head{padding-left:12px;padding-right:12px}
.app.sidebar-expanded .rail-toggle.rail-brand-toggle{width:100%;min-width:0;justify-content:flex-start;padding:0 4px;gap:10px;height:53px}
.app.sidebar-expanded .rail-brand-name{display:block;flex:1}


@media(max-width:1080px) and (min-width:761px){
 .app.sidebar-expanded .rail-head{padding-inline:8px}
 .app.sidebar-expanded .rail-toggle.rail-brand-toggle{gap:5px}
 .app.sidebar-expanded .rail-toggle.rail-brand-toggle .rail-brand-mark{width:37px;height:37px;flex-basis:37px}
 .app.sidebar-expanded .rail-brand-name strong{font-size:14px}
 .app.sidebar-expanded .rail-brand-name small{font-size:9px}
 
}
@media(max-width:760px){
 .rail-toggle.rail-brand-toggle{width:42px;min-width:42px;height:43px;padding:0}
 .rail-toggle.rail-brand-toggle .rail-brand-mark{width:39px;height:39px;flex-basis:39px}
 .app.sidebar-expanded .rail-head{padding:9px 12px}
 .app.sidebar-expanded .rail-toggle.rail-brand-toggle{height:48px;gap:12px;padding:0}
 .app.sidebar-expanded .rail-toggle.rail-brand-toggle .rail-brand-mark{width:43px;height:43px;flex-basis:43px}
 .app.sidebar-expanded .rail-brand-name strong{font-size:18px}
 .app.sidebar-expanded .rail-brand-name small{font-size:11px}
 
}
@media(max-width:410px){
 .rail-toggle.rail-brand-toggle{width:40px;min-width:40px;height:42px}
 .rail-toggle.rail-brand-toggle .rail-brand-mark{width:38px;height:38px;flex-basis:38px}
 
}


/* Quiet navigation. Four balanced, centred pills, no decorative arrows. */
.topbar{justify-content:center}
.topnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:10px;margin:0 auto;width:min(100%,680px);max-width:680px;overflow:visible}
.top-pill{min-width:0;justify-content:center;text-align:center;gap:0;min-height:46px;padding:13px 16px;border-radius:28px;font-size:13px;font-weight:790;letter-spacing:.01em;background:#2C4A50;box-shadow:0 2px 5px rgba(38,61,69,.055);transition:background .15s ease,box-shadow .15s ease,color .15s ease}
.top-pill[aria-current="page"]{background:#526D6E;border-color:#526D6E}
.top-pill:hover{background:#416269;transform:none;box-shadow:0 5px 13px rgba(38,61,69,.10)}
.app.sidebar-expanded .rail-brand-name small{white-space:normal;text-wrap:balance;font-size:10px;line-height:1.22;letter-spacing:0;max-width:152px;margin-top:5px}
@media(max-width:1080px) and (min-width:761px){
 .topnav{gap:7px;width:min(100%,640px);max-width:640px}
 .top-pill{font-size:12px;padding:11px 9px;min-height:44px}
}
@media(max-width:760px){
 .topbar{display:flex;align-items:center;justify-content:center;flex:0 0 65px;min-height:65px;max-height:65px;padding:0 10px;gap:0}
 .topnav{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-self:center;gap:7px;width:100%;max-width:100%;min-width:0;margin:0;overflow-x:auto;overflow-y:hidden;padding:5px 0;scrollbar-width:none}
 .top-pill{flex:1 0 auto;min-height:40px;min-width:69px;font-size:11px;padding:10px 11px;border-radius:24px}
 .app.sidebar-expanded .rail-brand-name small{font-size:10.5px;max-width:175px}
}
@media(max-width:410px){
 .topbar{flex-basis:62px;min-height:62px;max-height:62px;padding:0 7px}
 .topnav{gap:5px}
 .top-pill{min-height:39px;min-width:64px;padding:9px 9px;font-size:10.5px}
 .app.sidebar-expanded .rail-brand-name small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.top-pill{transition:none}}


/* Site v4 desktop and mobile release: permanent desktop navigation, five right-aligned tabs, flat content */
@media(min-width:761px){
  .app .side-rail{--rail:234px;transition:none}
  .app .rail-head{justify-content:flex-start;padding:14px 12px}
  .app .rail-toggle.rail-brand-toggle{width:100%;min-width:0;justify-content:flex-start;padding:0 4px;gap:10px;height:53px}
  .app .rail-text,.app .rail-brand-name{display:block}
  .app .rail-brand-name{flex:1}
  .app .rail-sections{padding:17px 13px;gap:5px}
  .app .rail-link{justify-content:flex-start;padding:11px 14px;gap:13px}
  .app .rail-link .rail-text{white-space:nowrap;font-size:13px;font-weight:750}
  .app .rail-brand-name small{white-space:normal;text-wrap:balance;font-size:10px;line-height:1.22;letter-spacing:0;max-width:155px;margin-top:5px}
}
@media(min-width:761px) and (max-width:1120px){
  .app .side-rail{--rail:205px}
  .app .rail-head{padding:10px 9px}
  .app .rail-toggle.rail-brand-toggle .rail-brand-mark{width:38px;height:38px;flex-basis:38px}
  .app .rail-brand-name strong{font-size:14px}
  .app .rail-brand-name small{font-size:9px;max-width:124px}
  .app .rail-link .rail-text{font-size:12px}
}
/* Top navigation: reserved left slot for future banner/logo and five right-anchored pills. */
.topbar{justify-content:flex-end;gap:18px}
.header-promo-slot{flex:1 1 auto;min-width:0;min-height:46px}
.topnav{margin-left:auto;margin-right:0;width:min(100%,780px);max-width:780px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:center}
.top-pill{justify-content:center;text-align:center;width:100%;min-width:0;padding:12px 10px}
.nav-short{display:none}
@media(min-width:761px) and (max-width:1120px){
  .topbar{padding:0 18px;gap:8px}
  .topnav{gap:6px;max-width:740px}
  .top-pill{padding:11px 7px;font-size:11px}
}
@media(max-width:760px){
  .header-promo-slot{display:none}
  .topbar{justify-content:flex-end;padding-left:8px;padding-right:8px}
  .topnav{margin:0 0 0 auto;display:flex;justify-content:flex-start;width:100%;max-width:100%;gap:5px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity}
  .top-pill{flex:1 0 auto;width:auto;min-width:55px;padding:10px 11px;font-size:10.5px;scroll-snap-align:start;white-space:nowrap}
  .nav-long{display:none}
  .nav-short{display:inline}
}
@media(max-width:410px){
  .topbar{padding-inline:6px}
  .topnav{gap:4px}
  .top-pill{font-size:10px;padding:10px 9px;min-width:52px}
}
/* Flat overview card with real detail-section links. */
.hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);max-width:1360px;gap:clamp(25px,3.7vw,64px);align-items:center}
.file-card{transform:none;max-width:545px;justify-self:stretch;width:100%;padding:clamp(22px,2.5vw,36px);border-radius:20px;box-shadow:0 12px 35px rgba(39,73,68,.08)}
.file-card::after{display:none}
.file-row{border-radius:9px;transition:background .14s ease;cursor:pointer;padding-left:8px;padding-right:8px;margin-left:-8px;margin-right:-8px;color:var(--ink)}
.file-row:hover,.file-row:focus-visible{background:#E7EFE8}
.file-row-copy{display:block;min-width:0;flex:1}
.file-row-copy strong,.file-row-copy small{display:block}
.file-head{gap:12px}
.file-status{flex-shrink:0}
@media(max-width:960px) and (min-width:761px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
  .hero-title{font-size:clamp(44px,5.4vw,66px)}
  .file-card{padding:20px}
  .file-title{font-size:27px}
  .file-row{padding-top:9px;padding-bottom:9px}
}
@media(max-width:760px){
  .hero-grid{grid-template-columns:1fr;gap:23px}
  .file-card{max-width:100%;width:100%;justify-self:stretch;margin:0 0 18px;transform:none;padding:22px}
  .file-row{min-height:46px}
  .hero-title{font-size:clamp(43px,10.2vw,65px)}
}
@media(max-width:410px){
  .file-card{padding:16px;border-radius:16px}
  .file-row{min-height:44px}
  .file-head span:first-child{font-size:9px}
  .file-title{font-size:27px}
  .file-row-copy strong{font-size:12px}
  .file-row-copy small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.file-row{transition:none}}


/* Compact desktop navigation preserves usable promo space even on smaller laptops. */
@media(min-width:761px) and (max-width:1120px){
 .topnav{width:min(620px,calc(100% - 105px));max-width:620px}
 .nav-long{display:none}
 .nav-short{display:inline}
 .top-pill{font-size:11px;padding-inline:7px}
}



/* Minimal right-side navigation, locale, and account actions */
.topbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 clamp(12px,2vw,30px);min-width:0}
.header-promo-slot{flex:1 1 auto;min-width:0;min-height:40px}
.topnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:0 1 615px;max-width:615px;width:auto;min-width:0;gap:7px;margin:0}
.topnav .top-pill{width:100%;min-width:0;min-height:42px;padding:11px 9px;font-size:12px;border-radius:24px}
.locale-picker{flex:0 0 auto;position:relative;z-index:40}
.locale-toggle{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;cursor:pointer;user-select:none;background:rgba(255,254,250,.84);border:1px solid #CCD7D0;border-radius:14px;height:42px;padding:0 10px;color:#2B484F;font-size:11px;font-weight:800;letter-spacing:.035em;min-width:79px;transition:background .16s,border-color .16s}
.locale-toggle::-webkit-details-marker{display:none}
.locale-toggle:hover,.locale-picker[open] .locale-toggle{background:#E9EFEB;border-color:#9DB8B0}
.locale-toggle svg{flex:0 0 13px;color:#688380;transition:transform .17s ease}
.locale-picker[open] .locale-toggle svg{transform:rotate(180deg)}
.flag-icon{display:block;flex:0 0 25px;width:25px;height:18px;object-fit:cover;border:1px solid #D6DDD6;border-radius:4px;background:#F5F7F3;box-shadow:0 1px 3px rgba(32,63,66,.08)}
.locale-panel{position:absolute;right:0;top:calc(100% + 9px);width:238px;max-height:min(440px,75dvh);padding:7px;background:#FEFEFB;border:1px solid #DAE3DB;border-radius:16px;box-shadow:0 18px 46px rgba(25,55,55,.15);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#C5D2CB transparent}
.locale-panel-head{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:10px 10px 9px;margin:0 0 3px;border-bottom:1px solid #EDF1EC;color:#526A69;font-size:10px;font-weight:850;letter-spacing:.025em;text-transform:none;white-space:nowrap}
.locale-panel-head small{font-size:9px;font-weight:550;letter-spacing:0;color:#83958F}
.locale-option{display:flex;align-items:center;gap:10px;padding:7px 10px;min-height:46px;border-radius:10px;color:#2D4B50;transition:background .13s ease}
.locale-option .flag-icon{width:25px;height:18px}
.locale-choice-copy{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;gap:2px}
.locale-choice-copy strong{font-size:12px;font-weight:760;line-height:1.1}
.locale-choice-copy small{font-size:10px;line-height:1.2;color:#83938D;font-weight:520}
.locale-option:hover,.locale-option:focus-visible{background:#F1F4F0}
.locale-option[aria-current="page"]{background:#E8EFEB;color:#24464C}
.locale-check{display:none;color:#446E64;flex:0 0 15px}
.locale-option[aria-current="page"] .locale-check{display:block}
.account-actions{flex:0 0 auto;display:flex;gap:6px;align-items:center}
.account-actions button{border:0;height:42px;padding:0 12px;border-radius:13px;white-space:nowrap;font-size:12px;font-weight:760;transition:background .15s ease}
.account-login{background:transparent;color:var(--ink)}
.account-login:hover{background:#E5EBE6}
.account-signup{background:#B57755;color:white}
.account-signup:hover{background:#9E6246}
.account-dialog{border:1px solid #C6D6CD;border-radius:20px;padding:0;max-width:min(400px,calc(100vw - 36px));background:#FEFDF9;color:var(--ink);box-shadow:0 20px 55px rgba(21,48,49,.24)}
.account-dialog::backdrop{background:rgba(21,48,49,.40)}
.account-dialog-inner{padding:30px;position:relative}
.account-dialog-inner h2{font-family:Georgia,serif;font-size:26px;margin:0 32px 14px 0}
.account-dialog-inner p{font-size:14px;line-height:1.65;color:#576C6F}
.account-dialog-x{position:absolute;right:17px;top:17px;border:0;background:#E8EEE9;border-radius:50%;width:32px;height:32px;font-size:21px;color:var(--ink)}
.account-dialog-button{margin-top:8px;background:var(--ink);color:white;border:0;border-radius:11px;padding:12px 16px;font-weight:750}
@media(min-width:761px) and (max-width:1239px){
 .topbar{flex:0 0 106px;min-height:106px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:49px 46px;gap:0 10px;padding:5px 15px}
 .header-promo-slot{grid-column:1;grid-row:1;min-height:0}
 .locale-picker{grid-column:2;grid-row:1;justify-self:end}
 .account-actions{grid-column:3;grid-row:1;justify-self:end}
 .topnav{grid-column:1 / -1;grid-row:2;justify-self:end;align-self:center;flex:none;width:min(100%,580px);max-width:580px;margin:0}
 .topnav .top-pill{min-height:39px}
}
@media(max-width:760px){
 .topbar{flex:0 0 103px;min-height:103px;max-height:103px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:47px 44px;gap:0 6px;padding:5px 8px}
 .header-promo-slot{grid-column:1;grid-row:1;min-height:0}
 .locale-picker{grid-column:2;grid-row:1;align-self:center}
 .account-actions{grid-column:3;grid-row:1;align-self:center;gap:3px}
 .account-actions button{height:36px;padding:0 9px;font-size:11px;border-radius:11px}
 .locale-toggle{height:36px;min-width:70px;padding:0 7px;gap:4px;border-radius:11px}
 .locale-toggle .flag-icon{width:23px;height:17px;flex-basis:23px}
 .locale-toggle svg{width:11px;height:11px}
 .topnav{grid-column:1 / -1;grid-row:2;align-self:center;display:flex;flex-wrap:nowrap;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;gap:5px;margin:0;scrollbar-width:none;scroll-snap-type:x proximity}
 .topnav .top-pill{flex:1 0 auto;min-width:55px;width:auto;min-height:37px;padding:9px 10px;font-size:10px;scroll-snap-align:start}
 .locale-panel{position:fixed;right:9px;top:57px;width:min(238px,calc(100vw - 66px));max-height:calc(100dvh - 72px)}
}
@media(max-width:410px){
 .topbar{padding:4px 5px;column-gap:4px}
 .locale-toggle{height:35px;min-width:65px;padding:0 5px}
 .account-actions button{height:35px;padding:0 7px;font-size:10px}
 .topnav .top-pill{min-width:52px;padding:8px 8px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .locale-toggle,.locale-toggle svg,.locale-option,.account-actions button{transition:none}
}

/* Canada is intentionally grouped first with two language choices.
   Australia and New Zealand are separated by Germany to prevent flag confusion. */
.locale-option[data-locale="fr-CA"]{margin-bottom:8px}
html[lang="fr-CA"] .hero-title{font-size:clamp(40px,4.9vw,78px)}
html[lang="fr-CA"] .display-title{font-size:clamp(38px,4.4vw,75px)}
html[lang="fr-CA"] .rail-brand-name small{font-size:9px}
@media(max-width:760px){
 html[lang="fr-CA"] .hero-title{font-size:clamp(36px,8.8vw,58px)}
 html[lang="fr-CA"] .display-title{font-size:clamp(34px,8.2vw,56px)}
}

/* Local support information is part of the existing Responsible Play section. */
.local-help{margin-top:20px;padding-top:15px;border-top:1px solid rgba(75,107,103,.22);display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:100%}
.local-help>strong{font-size:13px;font-weight:850;line-height:1.3;color:#28494D}
.local-help p{font-size:11px;line-height:1.5;margin:0 0 4px;color:#55716F}
.local-help a{font-size:12px;font-weight:750;color:#285B60;line-height:1.4;text-decoration:underline;text-decoration-color:#B7C9C3;text-underline-offset:3px}
.local-help a:hover{color:#945A3B}
@media(max-width:760px){.local-help{margin-top:14px;padding-top:12px;gap:8px}.local-help a{font-size:13px}}


/* Mobile navigation redesign: one compact header, zero permanently reserved rail width.
   Desktop rules above remain intact. */
.mobile-menu-trigger,.mobile-brand,.mobile-account-picker,.locale-sheet-scrim,.locale-sheet-close{display:none}
@media(max-width:760px){
  .app{display:flex;flex-direction:row;min-width:0}
  .app-main,.app.sidebar-expanded .app-main{width:100%;flex:1 1 auto;min-width:0;margin-left:0!important}
  .app .side-rail{
    position:fixed;left:0;top:0;bottom:0;height:100dvh;
    width:min(280px,88vw);min-width:0;--rail:min(280px,88vw);flex:0 0 auto;
    transform:translateX(-105%);visibility:hidden;pointer-events:none;
    z-index:100;overflow:hidden;box-shadow:0 0 0 transparent;
    transition:transform .2s ease,visibility .2s ease
  }
  .app.sidebar-expanded .side-rail{
    position:fixed;left:0;top:0;bottom:0;height:100dvh;
    width:min(280px,88vw);--rail:min(280px,88vw);
    transform:translateX(0);visibility:visible;pointer-events:auto;
    z-index:100;box-shadow:20px 0 55px rgba(19,45,44,.17)
  }
  .app.sidebar-expanded .rail-head{height:65px;flex-basis:65px}
  .app.sidebar-expanded .rail-link{min-height:46px}
  .topbar{
    display:flex;flex-direction:row;align-items:center;justify-content:space-between;
    flex:0 0 60px;height:60px;min-height:60px;max-height:60px;
    padding:0 12px;gap:9px;background:var(--paper);z-index:10
  }
  .topbar .topnav,.topbar .header-promo-slot,.topbar .account-actions{display:none!important}
  .mobile-menu-trigger{
    display:inline-flex;align-items:center;justify-content:center;
    width:38px;height:38px;flex:0 0 38px;padding:0;
    border:1px solid #D1DBD3;border-radius:12px;
    background:#FCFCF8;color:#2E5055
  }
  .mobile-menu-trigger:hover{background:#E7EFE8}
  .mobile-brand{
    display:inline-flex;align-items:center;gap:7px;flex:1 1 auto;min-width:0;
    white-space:nowrap;overflow:hidden;max-width:250px
  }
  .mobile-brand img{display:block;width:32px;height:32px;flex:0 0 32px}
  .mobile-brand span{overflow:hidden;text-overflow:ellipsis;font-size:clamp(12.5px,3.6vw,16px);letter-spacing:-.055em;line-height:1.1;font-weight:800}
  .mobile-brand strong{color:var(--copper)}
  .topbar .locale-picker{display:block;flex:0 0 auto;align-self:center;grid-column:auto;grid-row:auto;z-index:42}
  .topbar .locale-toggle{
    display:flex;align-items:center;gap:4px;justify-content:center;height:38px;min-width:66px;
    border-radius:12px;padding:0 7px;background:#FCFCF8;border:1px solid #D1DBD3
  }
  .topbar .locale-toggle .flag-icon{width:22px;height:16px;flex-basis:22px;border-radius:3px}
  .topbar .locale-toggle svg{width:10px;height:10px;flex:0 0 10px}
  .topbar .mobile-account-picker{display:block;position:relative;z-index:35;flex:0 0 38px}
  .mobile-account-toggle{
    display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;
    width:38px;height:38px;border-radius:12px;color:#2E5055;
    background:#FCFCF8;border:1px solid #D1DBD3
  }
  .mobile-account-toggle::-webkit-details-marker{display:none}
  .mobile-account-picker[open] .mobile-account-toggle{background:#E8EEE9}
  .mobile-account-menu{
    position:absolute;top:calc(100% + 9px);right:0;width:158px;z-index:5;
    background:#FEFEFA;border:1px solid #D4DED6;box-shadow:0 16px 35px rgba(20,55,55,.14);
    border-radius:14px;padding:7px;display:flex;flex-direction:column;gap:3px
  }
  .mobile-account-menu button{
    display:block;text-align:left;padding:12px 13px;min-height:43px;
    border:0;border-radius:10px;background:transparent;color:#29484D;font-size:13px;font-weight:700
  }
  .mobile-account-menu button:hover,.mobile-account-menu button:focus-visible{background:#E9EFEB}
  .mobile-account-menu button:last-child{background:#B57755;color:white}
  .mobile-account-menu button:last-child:hover{background:#9E6246}
  /* Bottom sheet and its full-screen scrim live inside the native details picker. */
  .locale-picker[open] .locale-sheet-scrim{
    display:block;position:fixed;inset:0;z-index:1;border:0;border-radius:0;
    background:rgba(23,48,50,.37);padding:0;margin:0;cursor:default
  }
  .topbar .locale-picker .locale-panel{
    display:none;position:fixed;left:0;right:0;top:auto;bottom:0;width:100%;max-width:none;
    max-height:min(78dvh,590px);overflow-y:auto;overscroll-behavior:contain;
    z-index:2;border:0;border-top:1px solid #D7E2D9;border-radius:24px 24px 0 0;
    padding:23px 15px calc(19px + env(safe-area-inset-bottom,0px));
    background:#FEFEFB;box-shadow:0 -15px 42px rgba(24,51,50,.13);
    scrollbar-width:thin
  }
  .topbar .locale-picker[open] .locale-panel{display:block}
  .locale-panel:before{
    content:"";display:block;position:absolute;top:9px;left:calc(50% - 18px);
    width:36px;height:4px;background:#CAD8D1;border-radius:9px
  }
  .locale-panel-head{
    font-size:13px;font-weight:850;letter-spacing:0;
    padding:10px 48px 13px 10px;margin-bottom:4px;color:#294B4D
  }
  .locale-panel-head small{font-size:10px;color:#79918B;white-space:nowrap}
  .locale-picker[open] .locale-sheet-close{
    display:flex;align-items:center;justify-content:center;
    position:absolute;top:24px;right:17px;z-index:2;
    width:32px;height:32px;padding:0;color:#4E6B6A;background:#EDF2EC;
    border:0;border-radius:50%
  }
  .locale-option{min-height:48px;padding:9px 12px;gap:12px;border-radius:12px}
  .locale-option .locale-choice-copy strong{font-size:13px}
  .locale-option .locale-choice-copy small{font-size:11px}
  .locale-option[data-locale="fr-CA"]{margin-bottom:8px}
  .workspace{padding:8px 8px 10px;width:100%;min-width:0}
  .deck{width:100%;max-width:100%;border-radius:20px}
  .pane{padding:clamp(20px,5vw,30px) clamp(16px,4vw,24px)}
  .hero-grid{grid-template-columns:1fr;gap:21px}
  .file-card{max-width:100%}
}
@media(max-width:360px){
  .topbar{padding:0 8px;gap:6px}
  .mobile-menu-trigger{width:36px;height:36px;flex-basis:36px;border-radius:10px}
  .mobile-brand{gap:4px}
  .mobile-brand img{width:28px;height:28px;flex-basis:28px}
  .mobile-brand span{font-size:12px;letter-spacing:-.06em}
  .topbar .locale-toggle{height:36px;min-width:61px;padding:0 5px;gap:3px}
  .topbar .locale-toggle .flag-icon{width:20px;height:15px;flex-basis:20px}
  .mobile-account-toggle{width:36px;height:36px;border-radius:10px}
  .topbar .mobile-account-picker{flex-basis:36px}
  .pane{padding:19px 14px}
}
@media(prefers-reduced-motion:reduce){
  .app .side-rail{transition:none}
}


/* Desktop discovery tools | 29 October 2026.
   Use an understated segmented bar instead of five large dark pills.
   The sidebar is for site sections; these links filter casino discovery. */
@media(min-width:1240px){
 .topbar{
   display:grid;grid-template-columns:minmax(0,1fr) minmax(0,600px) minmax(0,1fr);
   align-items:center;gap:12px;padding:0 22px;
 }
 .topbar .header-promo-slot{grid-column:1;grid-row:1;min-width:0}
 .topbar .topnav{grid-column:2;grid-row:1;justify-self:center}
 .topbar .header-controls{grid-column:3;grid-row:1;justify-self:end}
}
@media(min-width:761px){
 .topbar .topnav{
   display:flex;align-items:center;justify-content:center;
   width:100%;max-width:600px;min-width:0;flex:0 1 600px;
   margin:0;gap:3px;padding:4px;
   border:1px solid #D8E2DB;border-radius:17px;
   background:#E9EEE9;box-shadow:none
 }
 .topbar .topnav .top-pill{
   display:inline-flex;flex:1 1 auto;justify-content:center;align-items:center;
   min-height:38px;min-width:0;width:auto;
   padding:10px 11px;border:1px solid transparent;border-radius:12px;
   color:#3D5A5D;background:transparent;box-shadow:none;
   font-size:12px;font-weight:750;letter-spacing:0;
   text-align:center;white-space:nowrap;line-height:1.1;transform:none;
   transition:background .17s,color .17s,box-shadow .17s
 }
 .topbar .topnav .top-pill:hover{background:rgba(255,255,255,.72);color:#29474C;transform:none}
 .topbar .topnav .top-pill[aria-current="page"]{
   background:#FFFEFA;border-color:#D4DFD7;color:#2C4D51;
   box-shadow:0 2px 6px rgba(41,73,67,.08)
 }
 .topbar .header-controls{
   display:flex;align-items:center;justify-content:flex-end;gap:10px;
   flex:0 0 auto;min-width:0
 }
 .topbar .mobile-account-picker{
   display:block;position:relative;flex:0 0 42px;
   z-index:40
 }
 .topbar .mobile-account-toggle{
   display:flex;align-items:center;justify-content:center;
   width:42px;height:42px;border:1px solid #CCD7D0;border-radius:13px;
   background:rgba(255,254,250,.84);color:#2B484F;
   transition:background .17s,border-color .17s
 }
 .topbar .mobile-account-toggle:hover,
 .topbar .mobile-account-picker[open] .mobile-account-toggle{
   background:#E9EFEB;border-color:#9DB8B0
 }
 .topbar .mobile-account-menu{
   right:0;top:calc(100% + 9px);
   background:#FFFEFB;border:1px solid #DAE3DB;
   box-shadow:0 18px 46px rgba(25,55,55,.15)
 }
}
@media(min-width:761px) and (max-width:1239px){
 .topbar{
   display:grid;grid-template-columns:minmax(0,1fr) auto;
   grid-template-rows:49px 46px;column-gap:12px;row-gap:0;
   padding:5px 18px
 }
 .topbar .header-promo-slot{grid-column:1;grid-row:1}
 .topbar .header-controls{grid-column:2;grid-row:1;justify-self:end}
 .topbar .topnav{
   grid-column:1 / -1;grid-row:2;justify-self:center;
   width:min(100%,600px);max-width:600px;flex:none
 }
}
@media(min-width:761px) and (max-width:850px){
 .topbar .topnav{width:min(100%,530px)}
 .topbar .topnav .top-pill{font-size:11px;padding:9px 7px}
}
/* Mobile keeps the compact 60px header; the same account control and locale
   picker sit together at its right edge. There is no five-tab strip. */
@media(max-width:760px){
 .topbar .topnav{display:none!important}
 .topbar .header-controls{
   display:flex;align-items:center;justify-content:flex-end;
   gap:7px;margin-left:auto;flex:0 0 auto;min-width:0
 }
 .topbar .mobile-account-picker{
   display:block;position:relative;z-index:35;flex:0 0 38px
 }
 .topbar .mobile-account-toggle{
   display:flex;align-items:center;justify-content:center;
   width:38px;height:38px;border-radius:12px;border:1px solid #D1DBD3;
   color:#2E5055;background:#FCFCF8
 }
}
@media(max-width:360px){
 .topbar .header-controls{gap:5px}
 .topbar .mobile-account-picker{flex-basis:36px}
 .topbar .mobile-account-toggle{height:36px;width:36px;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){
 .topbar .topnav .top-pill,.topbar .mobile-account-toggle{transition:none}
}


/* Account popover: overlays the header rather than participating in its layout.
   The old desktop declaration omitted position:absolute, causing the
   log-in/sign-up labels to wrap and the header to grow when opened. */
.topbar .header-controls{align-items:center}
.topbar .header-controls .mobile-account-picker{
  display:block;
  position:relative;
  flex:0 0 42px;
  width:42px;
  height:42px;
  min-width:42px;
  align-self:center;
  z-index:80;
}
.topbar .header-controls .mobile-account-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  left:auto;
  bottom:auto;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:5px;
  width:190px;
  min-width:190px;
  max-width:calc(100vw - 24px);
  height:auto;
  box-sizing:border-box;
  padding:9px;
  margin:0;
  overflow:visible;
  white-space:nowrap;
  border:1px solid #D5E0D7;
  border-radius:16px;
  background:#FFFEFA;
  box-shadow:0 14px 40px rgba(35,61,60,.16),0 3px 10px rgba(35,61,60,.06);
  z-index:85;
}
.topbar .header-controls .mobile-account-menu::before{
  content:"";
  position:absolute;
  right:14px;
  top:-6px;
  width:10px;
  height:10px;
  transform:rotate(45deg);
  border-top:1px solid #D5E0D7;
  border-left:1px solid #D5E0D7;
  background:#FFFEFA;
}
.topbar .header-controls .account-menu-label{
  display:block;
  padding:7px 10px 6px;
  color:#81938E;
  text-transform:uppercase;
  letter-spacing:.095em;
  font-size:10px;
  font-weight:850;
  line-height:1.2;
  white-space:nowrap;
}
.topbar .header-controls .mobile-account-menu button{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-width:0;
  min-height:43px;
  padding:11px 12px;
  box-sizing:border-box;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#2B4B50;
  text-align:left;
  line-height:1.25;
  white-space:nowrap;
  overflow:visible;
  font-size:12.5px;
  font-weight:760;
  letter-spacing:0;
}
.topbar .header-controls .mobile-account-menu button:hover,
.topbar .header-controls .mobile-account-menu button:focus-visible{
  background:#EDF2ED;
  color:#25484D;
}
.topbar .header-controls .mobile-account-menu button:last-child{
  background:#B57755;
  border-color:#B57755;
  color:#FFFEFA;
  margin-top:2px;
}
.topbar .header-controls .mobile-account-menu button:last-child:hover,
.topbar .header-controls .mobile-account-menu button:last-child:focus-visible{
  background:#9E6246;
  border-color:#9E6246;
  color:white;
}
.topbar .header-controls .mobile-account-menu .account-menu-icon{
  flex:0 0 17px;
  width:17px;
  height:17px;
  opacity:.85;
}
.topbar .header-controls .mobile-account-menu button span{
  display:block;
  flex:1;
  min-width:0;
  white-space:nowrap;
}
@media(max-width:760px){
  .topbar .header-controls .mobile-account-picker{
    flex-basis:38px;width:38px;height:38px;min-width:38px;
    z-index:80;
  }
  .topbar .header-controls .mobile-account-menu{
    width:182px;min-width:182px;right:0;top:calc(100% + 9px);
  }
}
@media(max-width:360px){
  .topbar .header-controls .mobile-account-picker{
    flex-basis:36px;width:36px;height:36px;min-width:36px;
  }
}
