/* Circus Land / Logobook, pp. 2–9. Original vector artwork in /brand.
   UI colors follow the printed WEB values; supplied illustrations retain their colors. */
@font-face{font-family:CircusRaleway;src:url('/fonts/Raleway.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:CircusSerif;src:url('/fonts/SourceSerifPro-Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:CircusSerif;src:url('/fonts/SourceSerifPro-Regular.woff2') format('woff2');font-weight:400 600;font-style:normal;font-display:swap}
:root{--brand-red:#9a5051;--brand-orchid:#845383;--brand-plum:#654973;--canvas:#f7f5f3;--surface:#fff;--surface-2:#f0eaef;--ink:#342837;--muted:#756779;--line:#e2dbe3;--night:var(--brand-plum);--night-2:#503b5b;--signal:var(--brand-red);--signal-dark:#804142;--gold:#b07b27;--violet:var(--brand-orchid);--shadow:0 6px 20px #30203608;--font-ui:CircusRaleway,Arial,sans-serif;--font-display:CircusSerif,Georgia,serif;font-weight:500;font-synthesis:none}
:root[data-theme=dark]{--canvas:#201b24;--surface:#2c2531;--surface-2:#39313e;--ink:#faf7fa;--muted:#c7baca;--line:#4e4254;--night:#654973;--night-2:#503b5b;--signal:#d39596;--signal-dark:#9a5051;--shadow:0 6px 20px #00000012}
body{background:var(--canvas);font-family:var(--font-ui);font-weight:500;line-height:1.5}button,input,select,textarea{font-family:var(--font-ui)}button{font-weight:700}b,strong{font-weight:700}h1,h2,h3{font-family:var(--font-display);font-weight:700;font-style:normal;letter-spacing:-.025em}h2 i{font-style:normal}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand-orchid);outline-offset:3px}.eyebrow{font-size:10px;letter-spacing:.15em;color:var(--signal);line-height:1.5;font-weight:700}
/* Navigation remains outside animated page content. */
.rail{width:228px;padding:28px 18px 20px;background:var(--surface);border-right:1px solid var(--line);box-shadow:none;color:var(--ink)}.rail:before{inset:auto 0 0;height:8px;opacity:1;background:url('/brand/diamonds.svg') center/240px auto;mask-image:none}.wordmark{height:148px;padding:0 12px 22px;border-color:var(--line)}.wordmark>img{width:100%;height:124px;object-fit:contain;border-radius:0}.rail-nav{margin-top:24px;gap:7px}.rail-nav button{min-height:48px;border-radius:12px;color:var(--muted);font-size:13px;padding:0 14px;gap:12px}.rail-nav span{font-size:13px;font-weight:600}.rail-nav svg{width:20px;height:20px}.rail-nav button:before{display:none}.rail-nav button:hover{background:var(--surface-2);color:var(--ink)}.rail-nav button.active{background:var(--brand-plum);color:#fff;box-shadow:none}.rail-pass{padding:15px 12px;background:var(--surface-2);border:0;border-radius:12px;color:var(--ink)}.rail-pass:after{display:none}.rail-pass span{color:var(--muted);font-size:9px}.rail-pass b{font-family:var(--font-ui);font-size:13px;margin-top:6px}.rail-pass small{color:var(--muted);font-size:11px}
.stage{margin-left:228px}.topbar{min-height:78px;padding:12px 36px;background:var(--surface);backdrop-filter:none}.topbar p{font-size:9px;letter-spacing:.12em}.topbar h1{font-size:23px;line-height:1.2}.profile-pill{min-width:250px;padding:0;border:0;background:none;box-shadow:none;gap:12px}.profile-pill #appHeaderIcon{width:52px;height:48px;border-radius:0}.profile-pill-copy b{font-size:14px}.profile-pill-copy small{font-size:10px;color:var(--muted)}.profile-pill-balance{background:var(--surface-2);border-radius:30px;min-width:80px;padding:9px 15px}.profile-pill-balance svg{color:var(--signal);fill:none}.profile-pill-balance strong{font-family:var(--font-ui);font-size:16px}.profile-pill-balance small{color:var(--muted)}
main{max-width:1250px;padding:32px 36px 64px}.page-intro{margin:0 0 26px;padding-bottom:24px;gap:24px;align-items:center}.page-intro h2{font-size:clamp(32px,4.5vw,52px);line-height:1.06;margin:6px 0 0}.page-intro>p{font-size:13px;line-height:1.7;max-width:370px}.page-intro h2:after,.section-title h2:after{display:none}.section-title{margin:34px 0 18px;align-items:center;gap:20px}.section-title h2{font-size:32px;line-height:1.1}.section-title>button{font-size:12px;white-space:nowrap}.section-title .eyebrow{margin-bottom:6px}
/* The circular spotlight and the original magician silhouette form the home composition. */
.hero-pass{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:1fr auto;gap:24px 20px;min-height:300px;padding:32px 32px 25px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:none;isolation:isolate}.hero-pass:before{inset:auto 0 0;width:100%;height:5px;border:0;border-radius:0;box-shadow:none;background:url('/brand/diamonds.svg') center/180px auto;opacity:1;animation:none;z-index:0}.hero-pass:after,.pass-cut{display:none}.hero-pass .pass-copy{grid-column:1;grid-row:1;align-self:center}.hero-pass .eyebrow{color:var(--signal);margin:0 0 15px}.hero-pass .pass-copy h2{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.035em;margin:0 0 16px}.hero-pass h2 i{color:var(--signal);font-style:normal;font-weight:700}.hero-pass #tagline{color:var(--muted);font-size:13px;line-height:1.7;max-width:420px}.hero-art{display:block;grid-column:2;grid-row:1;align-self:center;justify-self:center;width:224px;height:224px;border-radius:50%;object-fit:cover;object-position:70% center}.pass-footer{grid-column:1/-1;display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:12px}.pass-footer b{color:var(--ink);font-weight:700;margin-left:5px}
.spark-cta{margin:18px 0 0;min-height:82px;border-radius:14px;padding:16px 22px;background:linear-gradient(110deg,#edc476,#f7dc9d 60%,#edc476);color:#51350d;box-shadow:none;border:1px solid #ddba78}.spark-cta:hover{background:linear-gradient(110deg,#f1cd87,#fae4b3 60%,#f1cd87);transform:none;box-shadow:none;border-color:#b18a43}.spark-cta .cta-icon{width:46px;height:46px;background:#ffffff5c;color:#80591d;border:0}.spark-cta .cta-icon svg{width:25px;height:25px;fill:none}.spark-cta small{font-size:9px;color:#725224;letter-spacing:.1em}.spark-cta b{font:700 24px/1.1 var(--font-display);margin-top:3px}.spark-cta em{font-size:11px;color:#725224}.spark-cta .cta-arrow{color:#80591d}.award-cta{min-height:70px;margin-top:10px;border-radius:14px;background:var(--brand-plum);box-shadow:none;padding:14px 22px}.award-cta:hover{transform:none;background:#745584;filter:none}.award-cta>span{width:42px;height:42px}.award-cta>b{font-size:20px}.award-cta>small{font-size:11px;color:#eee4f1}
/* Quiet content surfaces keep the original brand artwork in focal areas. */
.story,.panel,.admin-card,.request-card,.history-item,.dashboard-stat{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:none}.story{padding:24px 26px}.story:before{top:25px;bottom:auto;height:42px;width:3px;border-radius:0 3px 3px 0}.story-head b{font-size:14px;line-height:1.4}.story-head small{font-size:11px;color:var(--muted);line-height:1.5}.story-text{font:500 15px/1.75 var(--font-ui);margin:20px 0}.story-meta{font-size:11px;gap:10px}.story-from{gap:7px}.story-category{gap:9px}.category-token{padding:5px 9px;border-radius:7px;font-size:10px;font-weight:600}.spark-amount{border:0!important;border-radius:24px;background:var(--surface-2)!important;color:var(--signal)!important;font:700 15px var(--font-ui);padding:8px 13px}.reaction-row{margin-top:20px;padding-top:16px;gap:9px}.reaction-button{background:transparent;width:44px;height:44px;min-width:44px;border-color:var(--line)}.reaction-button svg{width:18px;height:18px}.reaction-button span{font-size:10px}.avatar{background:var(--surface-2);color:var(--signal);font-size:13px}.empty-state{min-height:145px;border-color:var(--line);border-radius:14px;background:var(--surface);font-size:13px;line-height:1.65}
.heroes-intro{display:grid;grid-template-columns:minmax(0,1fr) 250px;overflow:hidden;border:1px solid var(--line);padding:0 0 0 28px;background:var(--surface);border-radius:16px;gap:16px}.heroes-intro img{width:250px;height:170px;object-fit:cover;display:block}.heroes-intro h2{font-size:40px}.ranking-explanation{font-size:12px;line-height:1.6}.ranking-board{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:none}.ranking-label{background:var(--brand-plum);color:#fff;border:0;letter-spacing:.08em;font-size:9px}.rank-row{border-color:var(--line);padding:18px 20px}.rank-row small{color:var(--muted)}.rank-index{color:var(--muted)}.rank-score{color:var(--signal);font-size:24px}.rank-row .avatar{background:var(--surface-2)}.metric-tabs{gap:7px}.metric-tabs button{border-radius:10px;font-size:12px;line-height:1.5}.metric-tabs button.active{background:var(--surface);border-color:var(--signal);color:var(--ink)}
.shop-marquee{border-radius:20px;padding:34px;background:var(--brand-plum);box-shadow:none;grid-template-columns:minmax(0,1fr) minmax(190px,.7fr);gap:28px}.shop-marquee:before{content:'';position:absolute;width:300px;height:300px;left:-95px;bottom:-130px;background:url('/brand/rays.svg') center/cover;border-radius:50%;opacity:.38;z-index:0}.shop-marquee:after{color:#ffffff0e;font-size:clamp(50px,9vw,115px);top:10px;right:18px;z-index:0}.shop-marquee h2{font-size:clamp(30px,4vw,44px);line-height:1.13;letter-spacing:-.025em}.shop-balance{border-radius:14px;border:1px solid #ffffff38;background:#ffffff0d;color:#fff;box-shadow:none;padding:22px}.shop-balance>small,.shop-balance>span{color:#f0e6f2}.shop-balance b{font:700 34px var(--font-display)}.gift-card,.gift-card:hover,.gift-card:active{border-radius:16px;box-shadow:none!important;padding:22px;border-color:var(--line)}.gift-card h3{font-size:23px;line-height:1.2}.gift-card p{font-size:12px;line-height:1.65}.gift-visual{border-radius:50%;width:66px;height:66px}.gift-visual svg{width:29px;height:29px}.gift-card .gift-category{font-size:9px;letter-spacing:.1em}.gift-card-status{font-size:10px;max-width:calc(100% - 100px)}.gift-card footer{gap:8px}.gift-card footer button{background:var(--brand-plum);border-radius:10px;font-size:12px;padding:0 16px}.gift-price{font:700 16px var(--font-ui);gap:5px}.gift-price svg{width:15px;height:15px;fill:none}.gift-exhausted .gift-card-status{background:var(--surface-2);color:var(--muted)}
.profile-poster{background:var(--brand-plum);border-radius:18px;padding:28px;gap:23px;isolation:isolate}.poster-lines{inset:0 0 0 auto;width:32%;background:url('/brand/diamonds.svg') center/cover;opacity:.3;mask-image:linear-gradient(90deg,transparent,#000)}.profile-poster>img{border-radius:50%;width:80px;height:80px;border:3px solid #ffffff85;box-shadow:none}.profile-poster h2{font-size:32px;line-height:1.2}.profile-poster p,.profile-poster>div>p:last-child{color:#eee4f1;font-size:12px}.stat-strip{margin-top:14px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.stat-strip>div{padding:18px 20px}.stat-strip b{font-size:27px;color:var(--signal)}.stat-strip span{font-size:11px}.profile-sections{gap:16px}.panel{padding:24px}.panel header{margin-bottom:22px}.panel h3{font-size:27px;line-height:1.2;margin:5px 0 0}.level-heading{font-size:24px!important;white-space:normal}.level-track{height:8px}.level-track i{background:var(--brand-orchid)}.achievement{border-radius:12px;align-items:start;padding:12px;gap:10px;grid-template-columns:34px minmax(0,1fr)}.achievement>span{width:34px;height:34px}.achievement>span svg{width:19px;height:19px}.achievement b{font-size:12px;line-height:1.5}.achievement p{font-size:11px;line-height:1.6}.achievement small{font-size:10px}.achievement.locked{opacity:1;filter:none}.achievement.locked>span{color:var(--muted)}.history-item b{font-size:12px;line-height:1.6}.history-amount{font-size:18px;white-space:nowrap}
.dashboard-stat{padding:22px}.dashboard-stat b{font-size:36px;line-height:1.15;margin-top:12px}.dashboard-stat span{font-size:11px}.bar-value{background:var(--brand-orchid)}.bar-track{background:var(--surface-2)}.bar-number{color:var(--ink)}.chart-summary{border-color:var(--line)}.chart-summary b{font-family:var(--font-ui);font-size:14px}.category-bar i{background:var(--brand-orchid)}.operation-row{align-items:start;font-size:12px}.operation-row small{display:block;margin-top:7px;line-height:1.65}.operation-row strong{white-space:nowrap}.insight-row b{font-size:12px}.insight-row small{line-height:1.5}
/* Consistent controls, catalog and editing surfaces. */
.button,.icon-button{border-radius:10px}.button{font-size:12px;font-weight:700;min-height:44px;gap:8px}.button.primary{background:var(--brand-red);color:#fff}.button.primary:hover{background:#864344}.button.ghost{border-color:var(--line);background:var(--surface);color:var(--ink)}.button.ghost:hover{background:var(--surface-2)}.icon-button{border-color:var(--line);color:var(--muted);background:transparent;box-shadow:none}.icon-button svg{width:18px;height:18px}.segmented{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:4px}.segmented button{border-radius:8px;font-size:12px}.segmented button.active{background:var(--brand-plum);box-shadow:none;color:#fff}.chip-row{gap:8px}.chip-row button{border-radius:24px;font-size:12px;min-height:38px}.chip-row button.active{background:var(--brand-plum);border-color:var(--brand-plum)}.filter-bar input,.filter-bar label,.filter-bar select,.field input,.field select,.field textarea{border-color:var(--line);border-radius:10px;background-color:var(--surface);font-size:13px}.filter-bar input{background:none}.field>span{font-size:12px;line-height:1.5}.field textarea{line-height:1.65;min-height:110px}.field input:not([type=checkbox]):not([type=color]),.field select{min-height:46px}.help-dot{width:24px;height:24px;background:var(--surface-2);color:var(--ink);border-color:var(--line);font-weight:600}.field-heading{min-height:28px}.admin-tabs{gap:5px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px}.admin-tabs button{border-radius:8px;font-size:12px;padding:0 14px}.admin-tabs button.active{background:var(--brand-plum)}.admin-toolbar{margin-bottom:18px}.admin-toolbar label{background:var(--surface);border-color:var(--line);border-radius:10px}.admin-toolbar input{font-size:13px}.admin-row{border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:42px 16px 18px;grid-template-columns:42px minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) auto;gap:14px}.admin-row .employee-role{top:12px;left:16px;font-size:8px;min-height:19px}.admin-row .avatar{width:42px;height:42px}.admin-row>div b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.admin-row small{font-size:10px;line-height:1.5}.row-actions{gap:6px}.admin-row .row-actions button{width:36px;height:36px}.admin-card{padding:20px}.admin-card h3{font-size:23px;line-height:1.2}.admin-card p{font-size:12px;line-height:1.6}.admin-card footer b{font-size:14px}.audit-head{border-radius:12px}.audit-row{font-size:12px;border-color:var(--line)}.audit-row time{font-size:10px}.audit-head h3{font-size:24px}.audit-head p{font-size:12px;line-height:1.5}.directory-icon-grid{gap:6px}.directory-icon-grid .icon-option{border-radius:10px}.icon-option.active{box-shadow:inset 0 0 0 1px var(--signal);border-color:var(--signal)}
.sheet[open]{border-radius:20px!important}.sheet-card{border-radius:20px!important;padding:26px;background:var(--surface);box-shadow:0 24px 90px #17102038}.sheet::backdrop{background:#21142799;backdrop-filter:blur(4px)}.sheet-card>header{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.sheet-card h2{font-size:30px;line-height:1.15}.sheet-card>header .eyebrow{margin:0 0 6px}.sheet-card>footer{background:var(--surface);border-top:1px solid var(--line);margin-inline:-26px;margin-bottom:-26px;padding:16px 26px 24px;bottom:-26px;gap:10px}.sheet-card>header .icon-button{width:36px;height:36px;border-radius:50%;background:var(--surface-2);flex:none}.stepper span{width:28px;height:28px;font-size:11px}.stepper span.active{background:var(--brand-plum);color:#fff}.choice,.category-choice{border-color:var(--line);border-radius:12px;background:var(--surface);font-size:13px}.choice{padding:12px}.choice b,.category-choice b{font-size:13px;line-height:1.5}.choice small,.category-choice small{font-size:11px;line-height:1.5}.spark-step h3{font:700 24px var(--font-display)}.spark-step>p{font-size:12px}.category-choice{min-height:115px;padding:15px}.spark-slider{background:var(--surface-2);border-color:var(--line);padding:18px;border-radius:14px}.spark-slider label{font-size:12px}.spark-slider output{color:var(--signal)}.visibility-choice{min-height:94px;border-color:var(--line)}.visibility-choice b{font-size:13px}.visibility-choice small{font-size:11px;line-height:1.5}.visibility-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.button-spinner{flex:none}.boot{background:#b71931}.boot>img{width:160px;height:143px;border-radius:0}.boot output{font-family:var(--font-ui);font-weight:600}.access-denied{background:var(--brand-plum)}.access-card{background:#ffffff0a;border-color:#ffffff40;backdrop-filter:none;border-radius:18px;box-shadow:none}.access-card h1{font-size:42px}.access-card a{background:#fff;color:var(--brand-plum);border-radius:10px}.access-card>svg{color:#fff}.access-card p{color:#f1e8f4!important}.toast{font-family:var(--font-ui)}
@media(min-width:721px) and (max-width:1100px){.rail{width:190px;padding-inline:14px}.stage{margin-left:190px}.topbar{padding-inline:24px}.stage main{padding:26px 24px 64px}.hero-pass{grid-template-columns:minmax(0,1fr) 155px;padding:25px;gap:20px 12px}.hero-art{width:150px;height:150px}.hero-pass .pass-copy h2{font-size:36px}.heroes-intro{grid-template-columns:minmax(0,1fr) 170px;padding-left:22px}.heroes-intro img{width:170px;height:150px}.heroes-intro h2{font-size:32px}.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-row{grid-template-columns:40px minmax(0,1fr) auto}.admin-row>div:nth-of-type(2),.admin-row>div:nth-of-type(3){display:none}.admin-row>div:nth-of-type(1),.admin-row>.row-actions{display:block}.admin-row>.row-actions{display:flex}.profile-sections{grid-template-columns:1fr}}
@media(max-width:720px){.stage main{padding:20px 16px 110px}.topbar{min-height:70px;padding:10px 16px}.profile-pill{width:100%;gap:10px;min-height:44px}.profile-pill #appHeaderIcon{width:46px;height:42px}.profile-pill-copy b{font-size:14px;max-width:none}.profile-pill-copy small{font-size:10px}.profile-pill-balance{min-width:74px;padding:8px 12px}.mobile-nav{background:var(--surface);border-color:var(--line);backdrop-filter:none;box-shadow:0 -4px 18px #31223806;padding-top:7px}.mobile-nav button{position:relative;color:var(--muted);gap:4px}.mobile-nav button.active{color:var(--signal)}.mobile-nav button.active:before{content:'';position:absolute;top:0;width:38px;height:29px;border-radius:20px;background:var(--surface-2);z-index:-1}.mobile-nav span{font-size:9px;font-weight:600}.mobile-nav svg{width:20px;height:20px}.hero-pass{grid-template-columns:minmax(0,1fr) 96px;padding:23px 20px 21px;gap:20px 7px;min-height:0;border-radius:16px}.hero-art{width:96px;height:130px;object-fit:cover;border-radius:60px;align-self:center}.hero-pass .eyebrow{font-size:8px;letter-spacing:.1em;margin:0 0 12px}.hero-pass .pass-copy h2{font-size:clamp(25px,7vw,36px);line-height:1.12;letter-spacing:-.04em;margin-bottom:12px}.hero-pass #tagline{font-size:11px;line-height:1.65;max-width:none}.pass-footer{font-size:10px;padding-top:15px;gap:9px;align-items:center}.pass-footer span{font-size:10px}.pass-footer b{margin-left:2px}.spark-cta{min-height:78px;margin-top:14px;padding:14px 17px;grid-template-columns:40px minmax(0,1fr) 20px;gap:12px;border-radius:12px}.spark-cta .cta-icon{width:40px;height:40px}.spark-cta b{font-size:22px}.spark-cta small{font-size:8px}.spark-cta em{display:none}.award-cta{padding:12px 17px;grid-template-columns:36px minmax(0,1fr) 20px;gap:2px 12px;border-radius:12px}.award-cta>span{width:36px;height:36px}.award-cta>b{font-size:18px}.award-cta>small{font-size:10px}.section-title{margin:28px 0 16px;gap:10px}.section-title h2{font-size:28px}.section-title .eyebrow{font-size:8px}.section-title>button{font-size:11px;gap:4px}.story{padding:19px 17px;border-radius:14px}.story-head{grid-template-columns:38px minmax(0,1fr) auto;gap:9px}.story-head .avatar{width:38px;height:38px}.story-head b{font-size:12px}.story-head small{font-size:9px}.spark-amount{font-size:11px;padding:7px 9px}.story-text{font-size:13px;line-height:1.75;margin:17px 0}.story-meta{font-size:10px}.category-token{font-size:9px}.reaction-row{gap:9px;margin-top:16px;padding-top:14px}.reaction-button{width:42px;height:42px;min-width:42px}.page-intro{margin-bottom:22px;padding-bottom:22px;gap:14px}.page-intro h2{font-size:34px;line-height:1.1}.page-intro>p{font-size:12px;margin-top:0;line-height:1.7}.heroes-intro{grid-template-columns:minmax(0,1fr) 124px;padding:0 0 0 18px;gap:6px}.heroes-intro h2{font-size:29px}.heroes-intro .eyebrow{font-size:8px}.heroes-intro img{width:124px;height:152px;object-fit:cover;object-position:center}#page-heroes .heroes-intro{padding-bottom:0}.ranking-layout{margin-top:18px;gap:14px}.rank-row{padding:15px 12px}.rank-score{font-size:20px}.shop-marquee{grid-template-columns:1fr;padding:26px 22px;gap:24px;border-radius:16px}.shop-marquee h2{font-size:34px}.shop-marquee:after{font-size:70px}.shop-balance{margin:0;padding:16px 18px;gap:6px;background:#ffffff0d}.shop-balance b{font-size:32px}.gift-grid{grid-template-columns:1fr}.gift-card{min-height:265px}.profile-poster{padding:23px 20px;gap:17px;border-radius:16px}.profile-poster>img{width:65px;height:65px;border-radius:50%}.profile-poster h2{font-size:27px}.profile-poster p{font-size:11px}.stat-strip>div{padding:15px 17px}.stat-strip b{font-size:26px}.stat-strip span{font-size:10px}.panel{padding:20px}.panel h3{font-size:25px}.level-heading{font-size:23px!important}.profile-sections{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat{padding:17px}.dashboard-stat b{font-size:30px}.dashboard-stat span{font-size:10px;line-height:1.5}.analytics-periods{gap:2px}.analytics-periods button{padding:0 5px;font-size:10px;min-width:0}.admin-tabs{gap:4px}.admin-tabs button{padding:0 12px;font-size:11px}.admin-row{grid-template-columns:38px minmax(0,1fr) auto;padding:40px 13px 16px;gap:10px}.admin-row>div:nth-of-type(2),.admin-row>div:nth-of-type(3){display:none}.admin-row>div:nth-of-type(1){display:block}.admin-row>.row-actions{display:flex}.admin-row .avatar{width:38px;height:38px}.admin-row .employee-role{left:13px}.admin-row>div b{font-size:12px}.admin-row small{font-size:9px}.admin-row .row-actions{gap:3px}.admin-row .row-actions button{width:32px;height:34px}.sheet-card{padding:22px 18px;border-radius:18px!important}.sheet[open]{border-radius:18px!important}.sheet-card>footer{margin-inline:-18px;margin-bottom:-22px;padding:15px 18px 22px;bottom:-22px}.sheet-card h2{font-size:27px}.sheet-card>header{padding-bottom:16px;margin-bottom:18px}.sheet-card>footer .button{font-size:11px;padding-inline:12px}.sheet-card>footer #editDelete:not([hidden]){flex:0 1 auto}.visibility-choices{grid-template-columns:1fr}.visibility-choice{min-height:75px}.category-choice{min-height:85px}.field input,.field textarea,.field select{font-size:16px}.directory-icon-grid .icon-option span{font-size:9px}.boot>img{width:144px;height:128px}}
@media(max-width:360px){.stage main{padding-inline:12px}.hero-pass{padding:20px 16px;grid-template-columns:minmax(0,1fr) 72px}.hero-art{width:72px;height:115px}.hero-pass .pass-copy h2{font-size:26px}.pass-footer{align-items:start;flex-direction:column;gap:5px}.heroes-intro{grid-template-columns:minmax(0,1fr) 90px}.heroes-intro img{width:90px}.heroes-intro h2{font-size:27px}.section-title h2{font-size:25px}.profile-poster{gap:13px;padding:20px 15px}.profile-poster h2{font-size:24px}.profile-poster>img{width:56px;height:56px}.story-head{grid-template-columns:32px minmax(0,1fr) auto}.story-head .avatar{width:32px;height:32px}.spark-amount{font-size:10px;padding:6px}.admin-row{gap:7px}.admin-row .row-actions button{width:30px}.analytics-periods button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.leadership-grid{margin-top:18px}.leadership-grid .panel,.risk-panel{min-width:0}.leadership-grid .panel header,.risk-panel header{display:flex;justify-content:space-between;align-items:start;gap:12px}.leadership-grid .panel header .help-dot,.risk-panel header .help-dot{flex:none}.leadership-note{font-size:11px;line-height:1.65;color:var(--muted);margin:-6px 0 14px}.leadership-list{display:grid;gap:8px;max-height:480px;overflow:auto;scrollbar-color:var(--brand-orchid) var(--surface-2)}.leadership-person{display:flex;gap:12px;align-items:start;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.leadership-person .avatar{width:38px;height:38px;flex:none}.leadership-person>div{min-width:0}.leadership-person b{display:block;font-size:12px;line-height:1.4}.leadership-person small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:2px}.leadership-person p{font-size:10px;line-height:1.6;margin:8px 0 0}.risk-panel{margin-top:18px}.visibility-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.visibility-choice{padding:14px;min-width:0}.visibility-choice small{overflow-wrap:anywhere}
#employeeAnalytics{max-height:560px;overflow:auto;scrollbar-color:var(--brand-orchid) var(--surface-2)}
.risk-person.reviewed{opacity:.68}.risk-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px}.risk-action .button{min-height:34px;font-size:10px;padding:5px 10px}.risk-action .status-badge{font-size:9px}
/* The brandbook diamond grid is deliberately subdued behind reading surfaces. */
body{background-color:var(--canvas);background-image:linear-gradient(#f7f5f3ed,#f7f5f3ed),url('/brand/diamonds.svg');background-size:auto,300px auto;background-attachment:fixed}
:root[data-theme=dark] body{background-image:linear-gradient(#201b24f0,#201b24f0),url('/brand/diamonds.svg')}
.topbar-title{display:flex;align-items:center;gap:11px;min-width:0}.page-back{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}.page-back[hidden],.admin-back[hidden]{display:none!important}.page-back svg{width:18px;height:18px}.admin-back{margin:-4px 0 18px}.bravo-cta{background:var(--brand-red);border-color:var(--brand-red)}.bravo-cta:hover{background:#874445}.bravo-cta>span{background:#ffffff28}.bravo-cta>b{font-size:20px}
.hero-pass .pass-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}.hero-pass .pass-footer span{white-space:nowrap}.hero-pass .pass-footer span:last-child{text-align:right}
.story-no-comment .story-meta{margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.story-no-comment .reaction-row{margin-top:17px}.section-title h2 .help-dot{vertical-align:middle;margin-left:5px;font-family:var(--font-ui);letter-spacing:normal}
.spark-details>h3{margin:0 0 6px}.spark-details>p{margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.5}.comment-counter{display:block;margin-top:5px;font-size:11px;color:var(--muted)}.comment-counter[hidden]{display:none!important}.spark-details .field{margin-bottom:19px}.spark-details .visibility-choices{margin-top:0}
@media(max-width:720px){.topbar>.topbar-title{display:flex!important}.topbar-title>div{display:none}.topbar{gap:8px}.profile-pill{min-width:0}.hero-pass .pass-footer{flex-direction:row;justify-content:space-between;align-items:center;gap:4px}.hero-pass .pass-footer span{font-size:9px;line-height:1.4;white-space:nowrap}.hero-pass .pass-footer b{display:inline;font-size:10px;margin-left:2px}.bravo-cta{margin-top:10px}}
.section-title .eyebrow{display:flex;align-items:center;gap:7px}.section-title .eyebrow .help-dot{width:20px;height:20px;font-size:10px;letter-spacing:normal}
@media(max-width:920px){.visibility-choices{grid-template-columns:1fr}.leadership-grid{grid-template-columns:1fr}}
/* Employee analytics is a nested panel within the existing leadership dashboard. */
.employee-detail{margin:0 0 20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);scroll-margin-top:88px}
.employee-detail[hidden]{display:none}
.employee-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px}
.employee-detail-head h3{margin:4px 0;font-size:24px}
.employee-detail-head small,.employee-detail-operation small{color:var(--muted)}
.employee-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.employee-detail-summary span{padding:12px;background:var(--surface);font-size:11px;color:var(--muted)}
.employee-detail-summary b{display:block;margin-top:4px;font-size:15px;color:var(--ink)}
.employee-detail section{margin-top:18px}
.employee-detail h4{margin:0 0 8px;font-size:15px}
.employee-detail-operation{padding:11px 0;border-top:1px solid var(--line)}
.employee-detail-operation b,.employee-detail-operation small{display:block}
.employee-detail-operation p{margin:7px 0 0;white-space:pre-wrap;font-size:12px;line-height:1.5}
.employee-detail-open{display:inline-block;margin-top:7px;padding:0;border:0;background:none;color:var(--signal);font-size:11px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){.employee-detail-head{flex-direction:column}.employee-detail-summary{grid-template-columns:1fr}}
/* Consistent feed cards, visible brand texture and compact leadership controls. */
body{background-image:linear-gradient(#f7f5f3e6,#f7f5f3e6),url('/brand/diamonds.svg');background-size:auto,600px auto;background-position:center,center top;background-attachment:fixed}
:root[data-theme=dark] body{background-image:linear-gradient(#201b24e3,#201b24e3),url('/brand/diamonds.svg')}
.hero-pass:before,.story:before{display:none!important}
.story{border-left:1px solid var(--line)!important}
.achievement.locked{background:#e9e6e9!important;border-color:#d5d0d6!important;color:#716d73}
:root[data-theme=dark] .achievement.locked{background:#39353c!important;border-color:#57515c!important;color:#b9b3bd}
.achievement-progress{height:6px;margin-top:9px;border-radius:99px;background:var(--line);overflow:hidden}
.achievement-progress i{display:block;height:100%;border-radius:inherit;background:var(--brand-orchid)}
.achievement.locked .achievement-progress i{background:#99939d}
#page-analytics .page-intro h2{white-space:nowrap}
#page-analytics .page-intro>p{white-space:nowrap;max-width:none;font-size:12px}
.analytics-periods button{min-height:48px;min-width:83px;font-size:12px;padding-inline:14px}
.dashboard-stat{padding:14px 17px;min-height:0}
.dashboard-stat b{font-size:29px;margin-top:6px}
.employee-analytics-item{min-width:0}
.employee-analytics-item .employee-detail{margin:0 0 14px;scroll-margin-top:92px}
.audit-filters{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.audit-filters label{display:grid;gap:5px;font-size:11px;font-weight:700;color:var(--muted)}
.audit-filters select{min-height:42px;padding:8px 35px 8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}
.audit-list{max-height:min(65vh,650px);overflow:auto;scrollbar-color:var(--brand-orchid) var(--surface-2)}
.audit-more{display:flex;margin:14px auto}.audit-loading{padding:18px}
#adminContent .request-card{position:relative;padding-top:42px}
#adminContent .request-side .status-badge{position:absolute;top:11px;right:14px}
@media(max-width:720px){#page-analytics .page-intro h2{font-size:31px}#page-analytics .page-intro>p{font-size:10px}.analytics-periods{display:flex;overflow-x:auto;gap:5px;padding-bottom:5px}.analytics-periods button{flex:none;min-width:82px;font-size:11px}.dashboard-stat{padding:12px 13px}.dashboard-stat b{font-size:25px}.audit-filters{display:grid;grid-template-columns:1fr 1fr}.audit-filters select{width:100%;min-width:0;font-size:11px}#adminContent .request-card{padding-top:45px}}
.award-type-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.award-type-toggle button{min-height:47px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:12px;text-align:center}
.award-type-toggle button.active{border-color:var(--brand-red);background:var(--brand-red);color:#fff}
.award-type-toggle button[hidden]{display:none}
@media(max-width:480px){.award-type-toggle{grid-template-columns:1fr}}
/* Feedback and controls */
body{background-image:linear-gradient(#f7f5f3e2,#f7f5f3e2),url('/brand/diamonds.svg')}
:root[data-theme=dark] body{background-image:linear-gradient(#201b24df,#201b24df),url('/brand/diamonds.svg')}
.button:disabled,.button.primary:disabled{background:var(--surface-2)!important;border-color:var(--line)!important;color:var(--muted)!important;box-shadow:none!important;cursor:not-allowed;transform:none!important}
.award-type-toggle button{display:flex;align-items:center;justify-content:center;gap:9px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.award-type-toggle button svg{width:17px;height:17px;opacity:0;transform:scale(.5);transition:opacity .16s,transform .16s}
.award-type-toggle button.active{border-color:var(--brand-red);background:var(--brand-red);box-shadow:0 8px 20px #b7193130;color:#fff}
.award-type-toggle button.active svg{opacity:1;transform:scale(1)}
.award-type-toggle button:active{transform:scale(.98)}
#awardVisibilityField[hidden]{display:none}
.award-visibility-choices{margin-top:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.award-visibility-choices .visibility-choice{min-height:76px;padding:14px 36px 14px 15px}
.award-visibility-choices .visibility-choice .visibility-check{visibility:hidden}
.award-visibility-choices .visibility-choice.selected .visibility-check{visibility:visible}
#awardForm footer .button.primary:not(:disabled){background:var(--brand-red)!important;border-color:var(--brand-red)!important;color:#fff!important}
.story.special-award{border-color:color-mix(in srgb,var(--brand-red) 32%,var(--line));background:color-mix(in srgb,var(--brand-red) 5%,var(--surface))}
.story.special-award .category-token{color:var(--brand-red);background:color-mix(in srgb,var(--brand-red) 10%,var(--surface))}
.story.special-award .category-token svg{color:var(--brand-red)}
@media(max-width:480px){.award-visibility-choices{grid-template-columns:1fr}.award-visibility-choices .visibility-choice{grid-template-columns:1fr;min-height:70px}.award-visibility-choices .visibility-choice small{grid-column:1}}
.toast{top:calc(16px + env(safe-area-inset-top));bottom:auto;left:50%;display:flex;align-items:center;gap:12px;width:min(calc(100% - 32px),470px);padding:14px 16px 14px 18px;border:1px solid var(--line);border-left:4px solid var(--brand-red);border-radius:12px;background:var(--surface);color:var(--ink);font-family:var(--font-ui);font-size:13px;font-weight:700;line-height:1.5;text-align:left;transform:translate(-50%,-16px);box-shadow:0 12px 36px #21142726;pointer-events:none}
.toast.show{transform:translate(-50%,0);pointer-events:auto}
.toast.success{border-left-color:#478364;background:var(--surface);color:var(--ink)}
.toast.error{border-left-color:var(--brand-red);background:var(--surface);color:var(--ink)}
.toast #toastMessage{flex:1;min-width:0;white-space:pre-wrap}
.toast #toastClose{display:grid;place-items:center;flex:none;width:30px;height:30px;border:0;border-radius:8px;background:var(--surface-2);color:var(--muted)}
.toast #toastClose svg{width:16px;height:16px}
#employeeAnalytics{max-height:none;overflow:visible}
.employee-analytics-item .employee-detail{margin:0 0 14px;padding:16px 18px 20px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:var(--surface)}
.employee-detail-summary span{padding:10px 0;border-bottom:1px solid var(--line);background:none}
.metric-tabs button.vacant{opacity:.48}
.metric-tabs button.vacant.active{opacity:1;border-color:var(--muted);background:var(--surface-2)}
.ranking-board{align-self:start}
.interaction-item{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr) auto;gap:8px}
.interaction-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.interaction-arrow{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--surface-2)}
.interaction-arrow svg{width:18px;height:18px;stroke-width:2}
.dashboard-stat-heading{display:flex;align-items:center;gap:7px;min-height:23px}
.dashboard-stat-heading small{font-size:10px;font-weight:700;color:var(--muted)}
.gift-admin-actions{display:flex;align-items:center;gap:8px}
.gift-category-card .button{margin-top:14px}
@media(max-width:720px){.gift-admin-toolbar{align-items:stretch;flex-direction:column}.gift-admin-actions{display:grid;grid-template-columns:1fr 1fr}.gift-admin-actions .button{min-width:0;padding-inline:8px;font-size:11px}.interaction-item{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) auto;gap:5px}.interaction-name{font-size:11px}.interaction-arrow{width:28px;height:28px}}

/* The Mini App is a dark backstage surface on every VK platform. */
:root[data-theme=dark]{color-scheme:dark}
h4,h5,h6{font-family:var(--font-display);font-weight:700}
.profile-pill #appHeaderIcon{display:block;flex:none;width:38px;height:43px;padding:0;border:0!important;border-radius:0!important;background:transparent!important;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 2px 5px #0003)}
.page-back{margin-left:8px;margin-right:8px}
.heroes-intro{position:relative;display:grid;place-items:center;min-height:280px;padding:34px 24px;isolation:isolate;text-align:center;background:#321c39;border-color:#765a7d}
.heroes-intro::before{content:"";position:absolute;inset:0;z-index:-2;background:url('/brand/ginger.svg') center 55%/cover no-repeat;opacity:.96;filter:saturate(.9)}
.heroes-intro::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#211727a8,#281b30a3 50%,#211727a8)}
.heroes-intro-copy{position:relative;max-width:680px;margin:auto;padding:18px 24px}
.heroes-intro .eyebrow{color:#f1b5b7;font-size:11px;letter-spacing:.2em;text-shadow:0 1px 8px #1b1120}
.heroes-intro h2{margin:8px 0 0;color:#fff;font-size:clamp(36px,4.3vw,56px);line-height:1.05;text-shadow:0 3px 18px #150e19}
.metric-tabs button.vacant:not(.active){opacity:.48;filter:grayscale(1)}
@media(max-width:720px){.profile-pill #appHeaderIcon{width:34px;height:40px}.page-back{margin-left:5px;margin-right:5px}.heroes-intro{min-height:240px;padding:25px 15px}.heroes-intro::before{background-position:center 70%;background-size:auto 340px;opacity:.75}.heroes-intro-copy{padding:12px 4px}.heroes-intro h2{font-size:clamp(31px,9vw,40px)}}

/* Compact heroes poster and quiet, filled category cards. */
.heroes-intro{min-height:140px;padding:14px 22px}
.heroes-intro::before{background-position:100% 65%;background-size:auto 500px;mask-image:linear-gradient(90deg,transparent 32%,#000 56%)}
.heroes-intro-copy{padding:2px 12px}
.heroes-intro .eyebrow{font-size:10px}
.heroes-intro h2{font-size:clamp(32px,3.7vw,46px)}
.metric-tabs button,.metric-tabs button.vacant{opacity:1;filter:none;border:1px solid #46404c;border-radius:10px;background:#302b35;color:#c8c1cc;box-shadow:none}
.metric-tabs button.vacant{background:#2b2730;border-color:#48414d;color:#b9b0bf}
.metric-tabs button.vacant:not(.active){opacity:1;filter:none}
.metric-tabs button.active,.metric-tabs button.vacant.active{opacity:1;border:1px solid #6e6276;background:#5b5263;color:#fff;box-shadow:none}
@media(max-width:720px){.heroes-intro{min-height:120px;padding:10px 14px}.heroes-intro::before{background-size:auto 300px;background-position:center 68%;mask-image:none}.heroes-intro-copy{padding:0}.heroes-intro .eyebrow{font-size:8px}.heroes-intro h2{font-size:clamp(27px,8vw,32px)}}

/* Page motion, search and progressive lists. */
.stage main{position:relative;overflow:hidden}
.page.page-leaving{display:block!important;position:absolute;z-index:1;width:auto;pointer-events:none;overflow:hidden}
.page.active{position:relative;z-index:2}
.load-more{display:flex;margin:20px auto 0;min-width:170px;border-radius:10px}
.search-hit{background:#d8a64d;color:#251d24;border-radius:3px;padding:0 2px;font:inherit}
.person-search{position:relative;display:block;width:100%;margin:0 0 12px}
.person-search svg{position:absolute;z-index:1;left:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);pointer-events:none}
.person-search input{display:block;width:100%;min-height:48px;padding:9px 14px 9px 44px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);outline:none;appearance:none}
.person-search input:focus{border-color:#d6a75e;box-shadow:0 0 0 3px #d6a75e33}
.award-person-field .choice-list{max-height:240px;padding:2px 4px 2px 2px;overflow-y:auto}
.request-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.request-filters button{min-height:42px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);font-family:var(--font-ui);font-weight:700}
.request-filters button.active{border-color:#816d87;background:#514458;color:#fff}
.employee-analytics-item .employee-detail{overflow:hidden}
.boot{gap:26px;text-align:center;background:radial-gradient(circle at 50% 38%,#774f76 0,#654973 38%,#33253b 100%)}
.boot-name{display:grid;justify-items:center;gap:4px}
.boot-name span{font:700 12px var(--font-ui);letter-spacing:.25em;color:#f3d7d6}
.boot-name strong{font:700 clamp(36px,8vw,54px)/1.1 var(--font-display);color:#fff}
.boot-name small{font:500 12px var(--font-ui);letter-spacing:.08em;color:#e5dae6}
.boot-progress{width:min(250px,70vw);display:grid;justify-items:center;gap:8px}
.boot progress{width:100%;height:7px;border-radius:20px;background:#ffffff30;box-shadow:0 0 0 1px #ffffff44}
.boot progress::-webkit-progress-bar{background:#ffffff30}
.boot progress::-webkit-progress-value{background:linear-gradient(90deg,#efc579,#fff1d1);transition:width .3s}
.boot output{margin:0;font:700 14px var(--font-ui);letter-spacing:.05em}
@media(max-width:720px){.award-person-field .choice-list{max-height:210px}.person-search input{min-height:52px;font-size:16px}.load-more{width:100%}.boot output{margin:0}}

/* Notifications live in the browser top layer so dialogs cannot cover errors. */
.toast[popover]:not(:popover-open){display:none}
.toast[popover]:popover-open{position:fixed;inset:calc(16px + env(safe-area-inset-top)) auto auto 50%;margin:0;max-width:calc(100vw - 32px)}
@media(max-width:720px){.toast[popover]:popover-open{inset:calc(10px + env(safe-area-inset-top)) auto auto 50%}}

/* Keep both people searches aligned at desktop and phone widths. */
.person-search{box-sizing:border-box;min-width:0}
.person-search input[type=search]{box-sizing:border-box;width:100%;max-width:100%;padding-left:44px;padding-right:38px;outline:0}
.person-search input[type=search]::-webkit-search-cancel-button{cursor:pointer}
.award-person-field{min-width:0}

.audit-list{display:grid;gap:10px;overflow:visible;border:0;background:transparent;border-radius:0}
.audit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:20px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.audit-action{min-width:0}.audit-action>b{display:block;color:var(--ink);font-family:var(--font-ui);font-size:14px;line-height:1.4}.audit-action small{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.audit-row>.audit-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 18px;min-width:0}
.audit-meta span{min-width:0}.audit-meta i{display:block;margin-bottom:3px;color:var(--muted);font-size:10px;font-style:normal;text-transform:uppercase;letter-spacing:.08em}.audit-meta strong{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.audit-meta time{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.4}
@media(max-width:800px){.audit-row{grid-template-columns:1fr;gap:14px}.audit-meta{border-top:1px solid var(--line);padding-top:12px}}
@media(max-width:420px){.audit-row{padding:16px}.audit-meta{grid-template-columns:1fr 1fr;gap:10px}.audit-meta strong{font-size:11px}}

/* Browser entry uses the same brand typography and artwork as the Mini App. */
.access-denied{isolation:isolate;background:var(--canvas);color:var(--ink)}
.access-denied:before{content:"";position:absolute;inset:0;z-index:0;background:url('/brand/diamonds.svg') center/280px;opacity:.12;pointer-events:none}
.access-card{position:relative;z-index:1;width:min(100%,500px);padding:clamp(28px,5vw,50px);border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 28px 80px #110b1833;backdrop-filter:none}
.access-logo{display:block;width:148px;max-height:110px;object-fit:contain;object-position:left center;margin-bottom:32px}
.access-card .eyebrow{color:var(--signal);font-size:10px;letter-spacing:.13em}
.access-card h1{margin:12px 0 14px;font:700 clamp(34px,6vw,50px)/1.05 var(--font-display);letter-spacing:-.03em}
.access-card #accessMessage{margin:0 0 24px;color:var(--muted)!important;font-size:14px;line-height:1.65}
.access-card #accessMessage.access-error{padding:12px 14px;border-left:3px solid var(--brand-red);border-radius:0 9px 9px 0;background:color-mix(in srgb,var(--brand-red) 13%,var(--surface));color:var(--ink)!important}
.access-card .vk-login{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;margin:0;padding:0 16px;border:1px solid #0878dc;border-radius:11px;background:#0077ff;color:#fff;text-decoration:none;font-size:14px;font-weight:800;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}
.access-card .vk-login:hover{background:#006de8;transform:translateY(-2px);box-shadow:0 8px 22px #0077ff3d}
.access-card .vk-login:active{transform:translateY(1px);box-shadow:none}
.vk-login svg{width:27px;height:27px;flex:none}.vk-login span{flex:1}.vk-login .vk-login-arrow{width:17px;height:17px}
.access-card .access-hint{margin:18px 0 0;color:var(--muted)!important;font-size:12px;line-height:1.6}
@media(max-width:600px){.access-denied{padding:18px}.access-card{padding:32px 25px}.access-logo{width:126px;margin-bottom:24px}}
/* The entry screen follows the Circus Land palette and supplied typefaces. */
.boot{isolation:isolate;gap:0;padding:32px;background:#654973;color:#fff;font-family:var(--font-ui)}
.boot:before{content:"";position:absolute;inset:0;z-index:-1;background:url('/brand/diamonds.svg') center/230px;opacity:.13;pointer-events:none}
.boot:after{content:"";position:absolute;inset:auto 0 0;height:8px;background:#9a5051}
.boot-emblem{display:grid;place-items:center;width:94px;height:110px;margin-bottom:23px}
.boot-emblem img{display:block;width:94px;height:110px;object-fit:contain;filter:brightness(0) invert(1)}
.boot-name{gap:2px}
.boot-name span{font:700 13px/1.3 var(--font-ui);letter-spacing:.23em;color:#fff}
.boot-name strong{font:700 clamp(38px,8vw,58px)/1.08 var(--font-display);letter-spacing:-.025em;color:#fff}
.boot-name small{font:500 13px/1.5 var(--font-ui);letter-spacing:.04em;color:#f2eaf2}
.boot-progress{position:relative;width:min(290px,76vw);margin-top:36px;gap:9px}
.boot-progress label{justify-self:start;font:600 11px/1.4 var(--font-ui);color:#efe4ef;letter-spacing:.03em}
.boot progress{width:100%;height:6px;border:0;border-radius:20px;background:#ffffff40;box-shadow:none}
.boot progress::-webkit-progress-bar{background:#ffffff40;border-radius:20px}
.boot progress::-webkit-progress-value{background:#fff;border-radius:20px;transition:width .3s ease}
.boot progress::-moz-progress-bar{background:#fff;border-radius:20px;transition:width .3s ease}
.boot output{position:absolute;right:0;top:0;margin:0;font:700 11px/1.4 var(--font-ui);color:#fff;letter-spacing:0}
@media(max-width:600px){.boot{padding:24px}.boot-emblem{width:80px;height:94px;margin-bottom:18px}.boot-emblem img{width:80px;height:94px}.boot-progress{margin-top:29px}}
.access-denied{background:#654973;color:#342837}
.access-denied:before{opacity:.13}
.access-card{background:#f7f5f3;color:#342837;border-color:#e2dbe3}
.access-card h1{color:#342837}
.access-card .eyebrow{color:#9a5051}
.access-card #accessMessage,.access-card .access-hint{color:#665b69!important}
.access-card #accessMessage.access-error{color:#342837!important;background:#f7e7e6}
@media(prefers-reduced-motion:reduce){.page.page-leaving{display:none!important}.employee-analytics-item .employee-detail{animation:none}}
