/* Shared visual tokens: DESIGN.md / Visual language. */
:root{--paper:#f4f5f0;--forest:#123f32;--deep:#0b2b22;--lime:#c9ee80;--ink:#172b24;--secondary:#6b7770;--border:#e1e6df;--white:#fff;--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #79a836;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #80a66b;outline-offset:2px}svg{width:22px;height:22px;flex-shrink:0}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:17px;font-weight:700;letter-spacing:-.5px}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:2px;margin-top:5px;opacity:.6}.brand-mark{height:45px;width:49px;background:var(--forest);border-radius:12px;color:white;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:850;letter-spacing:-1.5px}.brand-mark>span{color:var(--lime);font-size:27px;line-height:0;align-self:center}.public-nav{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 38px;background:none;position:static;border:0}.quiet-link{font-size:13px;color:#68766c;text-decoration:none;display:flex;align-items:center;gap:16px}.quiet-link:hover{color:var(--forest)}.quiet-link span{font-size:21px}.public-footer{max-width:1260px;margin:auto;display:flex;justify-content:space-between;padding:27px 38px;color:#828b83;font-size:11px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7a876f;margin:0 0 14px}
/* Sign in */
.login-page{min-height:100vh;background:var(--paper);display:flex;flex-direction:column}.login-page .public-nav,.login-page .public-footer{width:100%}.login-shell{display:grid;grid-template-columns:1.05fr 1fr;max-width:1184px;width:calc(100% - 76px);margin:auto;min-height:615px;border-radius:24px;overflow:hidden;background:white;border:1px solid #e2e6dd;box-shadow:0 20px 70px #19362908}.login-story{position:relative;isolation:isolate;background:var(--forest);color:#fff;padding:44px 48px;overflow:hidden;display:flex;flex-direction:column}.login-story:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(145deg,transparent 42%,#ffffff04 42%,#ffffff04 62%,transparent 62%)}.story-top{display:flex;justify-content:space-between;align-items:center}.outline-tag{border:1px solid #ffffff26;border-radius:30px;font-size:8px;letter-spacing:2px;padding:9px 12px;color:#d6e9db}.story-year{font-size:12px;letter-spacing:2px;color:#83a08c}.login-story h1{font-size:clamp(32px,3.3vw,47px);line-height:1.19;letter-spacing:-1.8px;margin:57px 0 19px;font-weight:650}.login-story h1 em{color:var(--lime);font-style:normal}.login-story p{font-size:13px;line-height:1.85;color:#abc2b4;margin:0}.pitch-art{height:175px;position:relative;display:flex;align-items:center;margin:35px 0 22px}.pitch-line{position:relative;border:1px solid #a7d3ae37;border-radius:5px;width:100%;height:154px;background:repeating-linear-gradient(90deg,#ffffff02 0,#ffffff02 48px,transparent 48px,transparent 96px)}.pitch-line:before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:1px solid #a7d3ae37}.pitch-centre{position:absolute;width:66px;height:66px;border:1px solid #a7d3ae37;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.pitch-box{position:absolute;width:51px;height:91px;border:1px solid #a7d3ae37;top:50%;transform:translateY(-50%)}.pitch-box.left{left:-1px}.pitch-box.right{right:-1px}.pitch-crest{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.pitch-crest img{height:89px;width:89px;object-fit:contain;filter:drop-shadow(0 10px 18px #0005)}.story-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:22px;border-top:1px solid #ffffff1b;font-size:8px;letter-spacing:2px;color:#90ae9a}.signal-bars{display:flex;align-items:flex-end;gap:4px;height:20px}.signal-bars i{width:3px;background:#a6c56c}.signal-bars i:nth-child(1){height:5px}.signal-bars i:nth-child(2){height:9px}.signal-bars i:nth-child(3){height:14px}.signal-bars i:nth-child(4){height:20px}.login-form-panel{padding:62px 64px;display:flex;flex-direction:column;justify-content:center}.login-lock{width:46px;height:46px;border-radius:14px;background:#f0f4e9;display:grid;place-items:center;color:#54734b;margin-bottom:30px}.login-form-panel h2{font-size:29px;letter-spacing:-1.1px;margin:0 0 13px;font-weight:650}.form-intro{font-size:13px;line-height:1.75;color:var(--secondary);margin:0 0 32px}.login-form-panel label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.password-field{position:relative}.password-field input{width:100%;height:53px;padding:0 48px 0 16px;border:1px solid #dce3d8;border-radius:10px;background:#fafbf8;font-size:13px;color:var(--ink)}.password-field input::placeholder{color:#9da59e}.password-field button{position:absolute;right:8px;top:6px;width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#7a877c}.password-field button svg{width:19px;height:19px}.login-submit{height:52px;width:100%;border:0;border-radius:10px;background:var(--forest);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:13px;font-weight:650;transition:background .2s}.login-submit:hover{background:#205441}.login-submit span{font-size:21px}.form-error{min-height:20px;margin:7px 0;color:#a43c30;font-size:12px}.secure-note{display:flex;align-items:center;gap:8px;margin-top:20px;color:#879080;font-size:10px;line-height:1.5}.secure-note svg{width:15px;height:15px}.login-help{margin-top:42px;padding-top:22px;border-top:1px solid #edf0e8;font-size:11px;color:#53614f;line-height:1.8}.login-help span{color:#949c92}
/* Editor dashboard: existing controls, renewed hierarchy. */
body.admin-page{--bg:var(--paper);--panel:white;--panel2:#f7f9f4;--fg:var(--ink);--muted:#798276;--line:var(--border);--accent:var(--forest);background:var(--paper);color:var(--ink);font-family:inherit;padding-left:224px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:224px;background:var(--deep);color:#dce8df;padding:30px 22px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{font-size:16px}.sidebar .brand-mark{background:#295041;border:1px solid #436151}.sidebar .brand small{font-size:8px;opacity:.6}.sidebar-label{font-size:9px;letter-spacing:2px;color:#638574;margin:49px 12px 17px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:12px;text-decoration:none;padding:12px;border-radius:9px;font-size:12px;color:#9cb5a6}.sidebar nav a:hover{background:#ffffff08;color:white}.sidebar nav a.active{background:#c9ee80;color:#193628;font-weight:700}.sidebar nav a svg{width:17px;height:17px}.sidebar-foot{margin-top:auto;border-top:1px solid #ffffff15;padding:20px 9px 0}.sidebar-foot p{font-size:11px;color:#9cb5a6;margin:0 0 5px}.sidebar-foot small{font-size:9px;color:#5f8570}.sidebar-foot a{display:block;margin-top:22px;font-size:11px;color:#c9ee80;text-decoration:none}.admin-page header.admin-topbar{height:74px;padding:0 34px;background:#f4f5f0e8;backdrop-filter:blur(12px);border-bottom:1px solid var(--border);justify-content:space-between;gap:14px}.topbar-trail{font-size:11px;color:#98a094}.topbar-trail b{color:#334d3c;font-weight:550;margin-left:10px}.topbar-actions{display:flex;align-items:center;gap:17px}.topbar-actions a{text-decoration:none;font-size:11px;color:#677964}.admin-page button.logout{padding:8px 11px;background:white;font-size:11px;min-height:34px}.admin-page .wrap{max-width:1320px;padding:30px 34px 60px;gap:20px}.dashboard-intro{grid-column:span 12;display:flex;align-items:center;justify-content:space-between;margin:0 0 6px;gap:16px}.dashboard-intro h1{font-size:29px;font-weight:650;letter-spacing:-1px;margin:0}.dashboard-intro p{font-size:12px;color:#83907f;margin:8px 0 0}.dashboard-intro .eyebrow{font-size:9px;margin-bottom:9px}.intro-badges{display:flex;gap:8px;flex-wrap:wrap}.admin-page .pill{font-size:8px;padding:7px 10px;letter-spacing:1px;background:#e9ede4;color:#5c7056;border:1px solid #dce5d6}.admin-page .pill.ok{background:#e5f0dc;color:#477437}.admin-page .pill.live{background:#f8e7e5;color:#a74034;border-color:#f3d4cf}.admin-page .pill.warn{background:#fff4dd;color:#936620}.admin-page .card{border-radius:16px;padding:24px;border:1px solid var(--border);box-shadow:0 3px 9px #19342402;scroll-margin-top:90px;min-width:0}.admin-page .card h2{font-size:11px;font-weight:650;letter-spacing:.4px;text-transform:none;color:#6f7c67;margin-bottom:21px}.admin-page .card.match-hero{position:relative;background:var(--forest);color:white;border:0;overflow:hidden}.match-hero:before{content:"";pointer-events:none;position:absolute;width:200px;height:200px;right:-95px;top:5px;border-radius:50%;border:1px solid #ffffff12}.admin-page .match-hero h2{color:#a8c6b2;text-transform:uppercase;font-size:9px;letter-spacing:1.5px}.admin-page .teams{margin:28px 0 24px;gap:12px;justify-content:center}.admin-page .team-side{flex:1;min-width:0;text-align:center}.admin-page .team-side img{width:54px;height:54px;object-fit:contain;margin-bottom:10px;filter:drop-shadow(0 3px 5px #0003)}.admin-page .team-side b{display:block;font-size:15px;line-height:1.4;font-weight:550}.admin-page .score{font-size:52px;font-weight:600;color:var(--lime);padding:0 15px;letter-spacing:-2px;font-variant-numeric:tabular-nums}.admin-page .match-hero .muted{color:#a4c4b0;font-size:10px;text-align:center}.admin-page .match-actions{margin-top:24px;padding-top:18px;border-top:1px solid #ffffff20;display:flex;justify-content:space-between;align-items:center;gap:14px}.admin-page .match-actions label{color:#a4c4b0;font-size:9px}.admin-page .match-actions select{background:#244f40;border-color:#47705c;color:#d6e7dc;min-height:37px;font-size:11px}.admin-page .match-actions button.primary{background:var(--lime);color:#21361d;border:0;min-height:38px;font-size:11px}.admin-page .match-actions>div{max-width:230px}.admin-page #providerNote{font-size:9px;margin-top:13px!important;opacity:.7;text-align:left}.admin-page td{padding:9px 0;border-bottom:1px solid #edf0e9;font-size:11px;color:#75816f}.admin-page td:last-child{color:#304b38;font-weight:550}.admin-page td:last-child{overflow-wrap:anywhere}.admin-page button{min-height:39px;background:#f2f5ed;border-color:#e0e6db;color:#506048;padding:9px 13px;font-size:11px;border-radius:8px;font-weight:600}.admin-page button.primary{background:var(--forest);border-color:var(--forest);color:white}.admin-page button.danger{background:#fcf2ee;color:#a3614a;border-color:#efdcd2}.admin-page input,.admin-page select{min-height:42px;background:#fafbf8;border-color:#dfe5d9;color:#344e3b;font-size:12px;border-radius:8px;padding:8px 11px}.admin-page label{font-size:10px;text-transform:none;letter-spacing:0;color:#74806c;margin-bottom:7px}.admin-page .row{gap:12px}.admin-page .muted{font-size:11px;line-height:1.7;color:#86917e}.admin-page .ev{padding:12px 0;border-color:#e4eadf;line-height:1.6;color:#53654a}.admin-page .ev b{color:#73915e}.admin-page textarea{background:#f3f6ed;border-color:#dfe6d6;color:#426631;font-size:11px;line-height:1.7;border-radius:10px}.admin-page pre.logs{background:#172c22;border-color:#284737;color:#acbea2;font-size:10px;line-height:1.8;max-height:242px}.admin-page iframe{background:#f8faf5}.admin-page .grid2{gap:17px}.admin-page .empty-note{border:1px dashed #dce5d3;background:#fafbf7;border-radius:12px;padding:27px 18px;text-align:center;color:#849178;font-size:12px}.toast{position:fixed;bottom:24px;right:24px;padding:14px 20px;background:#fff4e5;border:1px solid #edd6ae;border-radius:12px;color:#714b2b;z-index:100;box-shadow:0 6px 30px #0001;max-width:360px;font-size:13px}.section-note{margin:-12px 0 20px;color:#909b87;font-size:11px;line-height:1.7}
/* Reader landing */
.reader-page{background:var(--paper);color:var(--ink)}.reader-main{max-width:1110px;margin:20px auto 55px;padding:0 30px}.reader-heading{display:flex;justify-content:space-between;gap:25px;align-items:end;margin:25px 0 32px}.reader-heading h1{font-size:43px;line-height:1.1;letter-spacing:-1.7px;font-weight:650;margin:0}.reader-heading p{font-size:12px;color:#84917b;line-height:1.7;max-width:280px;margin:0}.reader-surface{background:white;border:1px solid #dfe5d7;border-radius:20px;padding:25px;box-shadow:0 8px 28px #28412904}.reader-surface iframe{width:100%;border:0;display:block;height:430px}.reader-detail{display:flex;justify-content:space-between;gap:16px;padding:21px 4px;color:#859078;font-size:11px;line-height:1.7}.reader-detail a{color:#557141;text-underline-offset:4px}
@media(min-width:1500px){.login-shell{min-height:670px}.login-story{padding:50px 54px}.pitch-art{margin-top:48px}.login-form-panel{padding:68px 78px}}
@media(max-width:1100px){.login-form-panel{padding:45px 36px}.login-story{padding:38px 34px}.admin-page .wrap{padding:24px;gap:16px}.admin-page header.admin-topbar{padding:0 24px}.admin-page .card{padding:20px}.admin-page .col8,.admin-page .col4{grid-column:span 12}}
@media(max-width:900px){body.admin-page{padding-left:0}.sidebar{position:relative;width:100%;padding:16px 22px;flex-direction:row;align-items:center;justify-content:space-between;gap:25px}.sidebar .brand{flex-shrink:0}.sidebar nav{flex-direction:row;gap:4px}.sidebar nav a{padding:9px;font-size:10px}.sidebar nav a svg{display:none}.sidebar-foot,.sidebar-label{display:none}.admin-page .col6{grid-column:span 12}.admin-page .dashboard-intro{align-items:start}.admin-page .intro-badges{justify-content:flex-end}.login-shell{width:calc(100% - 40px)}.public-nav{padding:24px}.login-story h1{font-size:36px}.login-form-panel h2{font-size:26px}}
@media(max-width:680px){.login-shell{display:flex;flex-direction:column;width:calc(100% - 32px);min-height:0;margin:7px auto 0;border-radius:18px}.login-story{padding:26px}.login-story h1{font-size:33px;margin:28px 0 14px;letter-spacing:-1px}.login-story p{font-size:11px}.pitch-art,.story-bottom{display:none}.login-form-panel{padding:30px 27px}.login-lock{display:none}.login-help{margin-top:26px}.form-intro{margin-bottom:24px}.public-nav{padding:20px}.quiet-link{font-size:10px;gap:7px}.brand{font-size:14px;gap:9px}.brand-mark{width:39px;height:39px;font-size:18px;border-radius:10px}.brand small{font-size:7px}.public-footer{padding:24px;gap:12px;font-size:9px;flex-wrap:wrap}.public-footer>span:last-child{display:none}.sidebar{flex-wrap:wrap;gap:15px}.sidebar nav{justify-content:space-between;width:100%}.sidebar nav a{padding:9px 13px}.admin-page header.admin-topbar{height:60px;padding:0 19px}.topbar-trail{font-size:9px}.topbar-actions{gap:10px}.topbar-actions a{font-size:10px}.admin-page .wrap{padding:24px 16px;gap:15px}.dashboard-intro{flex-direction:column;gap:13px}.dashboard-intro h1{font-size:26px}.admin-page .intro-badges{justify-content:start}.admin-page .teams{gap:5px}.admin-page .team-side b{font-size:12px}.admin-page .score{font-size:40px;padding:0 8px}.admin-page .team-side img{width:44px;height:44px}.admin-page .match-actions{align-items:end}.admin-page .match-actions>div{max-width:175px;min-width:0}.admin-page .match-actions button{font-size:10px;white-space:nowrap}.admin-page .card{padding:20px 17px}.admin-page .row>div{flex-basis:calc(50% - 12px)}.admin-page .muted#lastSync{font-size:9px}.reader-main{padding:0 16px;margin-top:25px}.reader-heading{display:block}.reader-heading h1{font-size:34px}.reader-heading p{margin-top:17px}.reader-surface{padding:10px}.reader-detail{display:block;font-size:10px}.reader-detail>span{display:block;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
