*{box-sizing:border-box}html{color-scheme:dark;font-family:var(--font);font-size:14px;background:var(--navy-950);scroll-behavior:smooth}body{margin:0;color:var(--text);background:radial-gradient(ellipse at 84% 10%,#082e4b 0%,#031626 53%,#031220 100%);min-width:320px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button,input,select{border-radius:var(--radius-sm)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:240px;padding:12px;background:var(--blue);z-index:150}.skip-link:focus{top:8px}.icon{display:inline-block;width:21px;height:21px;object-fit:contain;flex:none;vertical-align:middle}.icon.small{width:12px;height:12px}.chevron-down{transform:rotate(90deg)}
.app{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-rows:var(--topbar) 1fr auto}.sidebar{grid-column:1;grid-row:1/3;position:sticky;top:0;height:calc(100vh - var(--footer));min-height:720px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:linear-gradient(120deg,#061d32,#031525)}.brand{display:flex;align-items:center;gap:10px;min-height:var(--topbar);padding:14px 22px}.brand-mark{height:47px;width:47px;object-fit:contain}.brand-label{display:flex;flex-direction:column;gap:2px}.brand-label strong{font-size:30px;line-height:1;font-weight:750;letter-spacing:1px}.brand-label small{font-size:9px;color:var(--muted);line-height:1.22}.nav-scroll{padding:8px 12px;overflow-y:auto;scrollbar-width:thin;flex:1}.nav-caption{font-size:12px;letter-spacing:1.5px;color:#80b9df;margin:13px 12px 12px}.nav-link{min-height:44px;display:flex;align-items:center;gap:17px;padding:11px 14px;border:1px solid transparent;border-radius:7px;margin:3px 0;font-size:12px;color:#c8e0f7}.nav-link:hover{background:#082c48;border-color:#125071}.nav-link[aria-current="page"]{background:var(--button-primary);border-color:#00a5e7;color:white;box-shadow:var(--glow)}.nav-link .count{margin-left:auto;background:#a22044;border:1px solid #e1416c;border-radius:6px;min-width:21px;padding:2px 5px;text-align:center;font-size:12px}.account-group{border:0;border-top:1px solid var(--line);border-radius:0;background:none;width:100%;text-align:left;margin:17px 0 8px;padding:18px 12px 3px;font-size:12px;letter-spacing:1.2px;color:#80b9df;display:flex;justify-content:space-between;align-items:center}.sidebar-base{border-top:1px solid var(--line-soft);padding:14px 23px;display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1px;color:var(--muted)}.sidebar-base small{display:block;font-size:12px;letter-spacing:0;margin-top:4px}.demo-dot{width:6px;height:6px;background:var(--cyan);border-radius:50%;box-shadow:0 0 8px #00c5ff}
.topbar{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 var(--content-pad);border-bottom:1px solid var(--line);background:rgba(2,20,36,.98);position:sticky;top:0;z-index:40}.global-search{display:flex;align-items:center;gap:12px;flex:1;max-width:610px;padding:9px 13px;border:1px solid var(--line);border-radius:7px;background:linear-gradient(110deg,#04223b,#021a2e);min-width:120px}.global-search input{background:none;color:white;border:0;width:100%;min-width:0;outline:none;font-size:12px}.global-search input::placeholder{color:#9fc8ea}.global-search:focus-within{border-color:var(--cyan);box-shadow:0 0 0 1px #007d9d}.global-search kbd{font-size:12px;color:var(--subtle);border:1px solid var(--line);padding:2px 5px;border-radius:3px}.topbar-right{display:flex;align-items:center;gap:18px}.current-date{display:flex;gap:10px;align-items:center;font-size:12px;white-space:nowrap;color:#c6e3fd}.sample-chip{padding:5px 7px;border:1px solid var(--line);border-radius:4px;color:var(--subtle);font-size:12px;white-space:nowrap;letter-spacing:.7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;min-width:36px;min-height:36px;border:1px solid transparent;border-radius:6px}.icon-button:hover{border-color:var(--line);background:#0a2c43}.notification-button{position:relative}.badge-count{position:absolute;right:0;top:-1px;background:#f43859;border-radius:100%;font-size:12px;min-width:17px;line-height:17px;text-align:center;border:1px solid #ff8395;color:white}.profile-button{display:flex;align-items:center;gap:10px;background:none;border:0;border-left:1px solid var(--line);padding:4px 0 4px 18px;white-space:nowrap}.avatar{width:37px;height:37px;display:flex;align-items:center;justify-content:center;border:1px solid #27749b;border-radius:100%;background:linear-gradient(150deg,#255677,#082943);color:#e9faff;font-weight:650;font-size:12px}.profile-copy{display:flex;flex-direction:column;gap:5px;text-align:left;font-size:12px}.profile-copy span{color:var(--muted);font-size:12px}.profile-button>.small{margin-left:12px}.mobile-brand,.tablet-menu{display:none}
#main-content{grid-column:2;grid-row:2;min-width:0;padding:12px var(--content-pad) 14px;outline:none}.site-footer{grid-row:3;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:var(--footer);border-top:1px solid var(--line);background:#031729;padding:10px 24px;gap:24px}.footer-brand{display:flex;align-items:center;gap:8px;white-space:nowrap}.footer-brand img{width:33px;height:33px;object-fit:contain}.footer-brand b{font-size:17px}.footer-brand>span{font-size:8px;color:var(--muted)}.site-footer q{font-size:12px;color:#a8cce7;font-style:italic;border-left:1px solid var(--cyan);padding-left:22px;max-width:390px}.footer-values{display:flex;gap:22px;color:var(--muted);font-size:12px}.footer-values span{display:flex;align-items:center;gap:8px}.bottom-nav{display:none}
.btn{min-height:38px;display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:9px 16px;border:1px solid var(--line);border-radius:6px;background:#06263f;color:#e5f4ff;font-size:12px;font-weight:550}.btn:hover{border-color:var(--cyan);background:#0c3453}.btn.primary{background:var(--button-primary);border-color:#00a9ee;box-shadow:var(--glow);color:white}.btn.primary:hover{filter:brightness(1.12)}.btn .icon{width:17px;height:17px}.text-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;border:0;background:none;color:#00cafa;padding:7px 0}.text-link:hover{color:white}.text-link .icon{height:12px;width:12px}.select{background:#03203a;border:1px solid var(--line);color:var(--muted);padding:7px 10px;min-height:32px;font-size:12px}.panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line-soft);min-height:42px}.panel-heading h2{margin:0;font-size:14px;line-height:1.3;font-weight:650;display:flex;gap:10px;align-items:center}.panel-heading .icon{width:21px;height:21px}
.popover{z-index:80;position:fixed;top:66px;right:22px;width:340px;max-width:calc(100vw - 24px);background:#06243c;border:1px solid #176b92;border-radius:10px;box-shadow:0 16px 44px #0009;padding:14px}.popover h2{font-size:15px;margin:0 0 12px}.popover .nav-link{font-size:12px}.popover p{color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 0}.profile-panel{width:252px}.notification-item{padding:12px 0;display:flex;gap:10px;border-bottom:1px solid var(--line-soft);font-size:12px}.notification-item span{line-height:1.5}.notification-item small{display:block;color:var(--muted);font-size:12px}.overlay{position:fixed;inset:0;z-index:100;background:rgba(0,8,18,.76);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.dialog{width:560px;max-width:100%;max-height:90vh;overflow-y:auto;border:1px solid #188cc0;border-radius:12px;background:linear-gradient(140deg,#082c48,#041a2e);box-shadow:0 30px 90px #000a}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:17px;margin:0}.dialog-content{padding:22px}.dialog-content p{color:var(--muted);line-height:1.7;font-size:13px}.dialog-content .nav-link{min-height:46px}.dialog-content .demo-message{border-left:2px solid var(--cyan);padding:12px;background:#041b30;font-size:12px}.dialog-content .btn{margin:12px 6px 0 0}.dialog-content dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:13px}.dialog-content dt{color:var(--muted)}.dialog-content dd{margin:0;text-align:right}.toast{position:fixed;bottom:25px;right:24px;z-index:140;background:#05293b;color:#d6fbff;border:1px solid #00aeba;border-radius:8px;padding:14px 18px;max-width:400px;font-size:12px;box-shadow:0 8px 26px #0008}.empty-state{text-align:center;padding:38px 20px}.empty-state>.icon{width:36px;height:36px}.empty-state h2{font-size:17px}.empty-state p{color:var(--muted);font-size:12px;line-height:1.7}.pending-page{min-height:620px;padding:35px;display:flex;align-items:center;justify-content:center}.pending-page .empty-state{max-width:520px}.breadcrumb{font-size:12px;color:var(--subtle);margin:10px 0 20px}.page-title{font-size:26px;margin:12px 0}.no-scroll{overflow:hidden}.noscript-note{padding:30px;color:white;background:#05304a}
@media(min-width:1650px){:root{--sidebar:242px;--content-pad:24px}.topbar-right{gap:22px}.nav-link{font-size:13px}.global-search{max-width:720px}.site-footer{padding-left:30px}.footer-values{font-size:12px}}
@media(max-width:1190px){:root{--sidebar:200px;--content-pad:14px}.sample-chip{display:none}.current-date{font-size:12px;gap:6px}.topbar-right{gap:10px}.profile-button{padding-left:12px}.nav-link{gap:12px;font-size:12px;padding-left:10px}.brand{padding-left:15px}.footer-values{gap:12px}.footer-brand>span{display:none}.site-footer q{font-size:12px}}
@media(min-width:700px) and (max-width:1000px){:root{--sidebar:185px;--content-pad:12px;--topbar:66px}.topbar{gap:12px}.topbar-right{gap:8px}.current-date,.profile-copy,.profile-button>.small{display:none}.global-search{padding:9px 10px}.global-search input{font-size:12px}.global-search kbd{display:none}.nav-link{min-height:44px;font-size:12px;gap:10px}.nav-link .icon{width:18px;height:18px}.brand-label strong{font-size:28px}.brand-label small{font-size:8px}.site-footer{padding:13px 18px}.footer-values span:last-child{display:none}.footer-values{font-size:12px}.site-footer q{max-width:230px}}
@media(max-width:699px){:root{--sidebar:0px;--topbar:74px;--content-pad:14px}.app{display:block;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.sidebar{display:none}.topbar{padding:0 16px;height:74px;gap:12px}.mobile-brand{display:flex;padding:0;min-height:0;gap:9px}.mobile-brand .brand-mark{width:43px;height:43px}.mobile-brand strong{font-size:27px;letter-spacing:1px}.global-search,.current-date,.profile-copy,.profile-button>.small{display:none}.profile-button{padding:0;border:0}.topbar-right{gap:13px}.avatar{height:35px;width:35px;font-size:12px}.topbar .icon-button{width:38px;min-height:40px}.topbar .icon{width:23px;height:23px}#main-content{padding:12px 14px 16px}.site-footer{display:block;text-align:center;padding:15px 16px 10px;min-height:0;margin-bottom:5px}.site-footer q{border:0;display:block;max-width:none;padding:0;font-size:12px;line-height:1.7}.footer-brand,.footer-values{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:70;justify-content:space-between;border-top:1px solid #167196;background:linear-gradient(#04233b,#031426);padding:8px 8px calc(8px + env(safe-area-inset-bottom));min-height:72px;box-shadow:0 -6px 22px #0005}.bottom-link{background:transparent;border:1px solid transparent;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:20%;min-height:52px;font-size:12px;color:var(--muted)}.bottom-link .icon{width:23px;height:23px}.bottom-link[aria-current="page"]{background:linear-gradient(140deg,#0066f5,#073b71);border-color:#00b7ed;color:white;box-shadow:0 0 18px #0085ff22}.btn{min-height:44px}.panel-heading{padding:10px 12px}.panel-heading h2{font-size:13px;gap:8px}.text-link{font-size:12px;min-height:32px}.select{min-height:40px}.popover{top:69px;right:12px}.overlay{padding:16px;align-items:center}.dialog{max-height:calc(100dvh - 34px)}.dialog.more-menu{align-self:flex-end;border-radius:14px 14px 0 0;max-height:calc(100dvh - 100px);margin:0 -16px -16px;width:calc(100% + 32px);max-width:calc(100% + 32px)}.dialog-content{padding:18px}.toast{bottom:92px;right:12px;left:12px;max-width:none}.pending-page{min-height:560px;padding:12px}.skip-link{left:10px}.sample-chip{display:none}}
/* R33: a <small> without its own size is at least 12 px on the R10–R13 pages (the browser's "smaller", floored) */
:is(.s09,.s10,.s11,.s12) small{font-size:max(12px,calc(1em / 1.2))}
/* R33: high contrast (forced colours) — the current page, tab or view keeps a system-colour frame (it was marked by colour only) */
@media(forced-colors:active){.sidebar .nav-link[aria-current="page"],.bottom-nav .bottom-link[aria-current="page"],.popover .nav-link[aria-current="page"],.dialog.more-menu .nav-link[aria-current="page"],:is(.s09,.s10,.s11,.s12,.mst) [aria-current="page"],:is(.s09,.s10,.s11,.s12) [role="tab"][aria-selected="true"]{outline:2px solid Highlight;outline-offset:-2px}}
/* R33: high contrast: a pressed test view is marked like the current page; a marked item that has the keyboard focus gets a double frame outside it */
@media(forced-colors:active){.bottom-nav,.dialog{background:Canvas}}
@media(forced-colors:active){:is(.s09,.s10,.s11,.s12,.mst) [aria-pressed="true"]{outline:2px solid Highlight;outline-offset:-2px}:is(.sidebar,.bottom-nav,.popover,.dialog.more-menu,.s09,.s10,.s11,.s12,.mst) :is([aria-current="page"],[aria-pressed="true"],[role="tab"][aria-selected="true"]):focus-visible{outline:5px double Highlight;outline-offset:1px}}
/* R33: 44 px touch targets at 1000 px and below — member shell and the R10–R13 pages (R24–R31 pages keep their own rules) */
@media(max-width:1000px){.sidebar .nav-link,.sidebar .account-group,.topbar .mobile-brand,.topbar .tablet-menu,.topbar .icon-button,.topbar .profile-button,.topbar .global-search input,.bottom-nav .bottom-link,.popover .nav-link,.popover .notification-item,.popover .text-link,.dialog-header .icon-button,.dialog.more-menu .nav-link,body:not(.pub):not(.s13)>.skip-link,:is(.s09,.s10,.s11,.s12) :is(.btn,button:not(.sr-only),select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),summary,.icon-button){min-height:44px!important}.topbar .tablet-menu,.topbar .icon-button,.topbar .profile-button,.dialog-header .icon-button,:is(.s09,.s10,.s11,.s12) .icon-button{min-width:44px!important}.popover .text-link{display:inline-flex;align-items:center}.topbar .global-search{padding-top:0;padding-bottom:0}:is(.s09,.s10,.s11,.s12) .breadcrumb a{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0}:is(.s09,.s10,.s11,.s12) :is(th>a,h3>a),.s09 .s09-heading>.text-link{display:inline-flex;align-items:center;min-height:44px}:is(.s09,.s10,.s11,.s12) :is(label:has(>input[type=checkbox]),label:has(>input[type=radio])){display:inline-flex;align-items:center;min-height:44px}}
/* R33: with 12 px labels every bottom menu label stays on one line, so the icons stay in line and the menu keeps its height */
.bottom-nav .bottom-link{padding-left:0;padding-right:0}.bottom-nav .bottom-link>span{white-space:nowrap}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
