/* ==========================================================================
   LONGTIENGPHIM.ONLINE — Manus "Cinematic Editorial" Studio Stylesheet (1:1)
   Preserves 100% Playfair Display / Inter / Barlow Condensed Typography,
   Obsidian/Graphite + Warm Ivory + Champagne Brass Palette & 5s LED Stage
   ========================================================================== */
:root{color-scheme:dark;--bg:#090a0b;--panel:rgba(13,17,23,.72);--panel-solid:#0d1117;--ink:#f3f4f2;--muted:#a6abb0;--soft:#737c85;--line:rgba(255,255,255,.12);--amber:#f4b34e;--amber2:#ffda91;--cyan:#7ee3dc;--u:1px;--max:1440px;--nav-h:82px;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}body.light-mode{color-scheme:light;--bg:#e9e4da;--panel:rgba(244,247,246,.82);--panel-solid:#eef1f0;--ink:#11171a;--muted:#44515a;--soft:#607079;--line:rgba(10,19,24,.15)}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--amber)}img{max-width:100%;display:block}.display{font-family:"Barlow Condensed",Impact,sans-serif;text-transform:uppercase;letter-spacing:.015em}.wrap{width:min(var(--max),calc(100% - 96px));margin-inline:auto}
#studio-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;background:#090a0b}.scene-fallback{position:fixed;inset:0;z-index:-1;background-color:#080b0f;background-image:url('/assets/soundstage-fallback.webp'),url('/assets/soundstage_c_mezzanine.jpg');background-position:center 45%,center 38%;background-size:cover,cover;background-repeat:no-repeat,no-repeat;filter:saturate(.86) brightness(.58)}#led-motion-video{position:fixed;left:-8px;top:-8px;width:2px;height:2px;opacity:0;pointer-events:none}.scene-wash{position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,7,10,.84) 0%,rgba(5,7,10,.68) 30%,rgba(5,7,10,.22) 61%,rgba(5,7,10,.32) 100%),linear-gradient(180deg,rgba(5,7,10,.16) 0%,rgba(5,7,10,.02) 38%,rgba(7,9,13,.92) 100%);transition:background .4s}.grain{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}
body.light-mode .scene-wash{background:linear-gradient(90deg,rgba(233,239,238,.88) 0%,rgba(228,235,234,.72) 36%,rgba(220,228,226,.24) 72%,rgba(220,228,226,.4) 100%),linear-gradient(180deg,rgba(241,244,242,.2),rgba(224,230,229,.15) 48%,rgba(217,223,226,.94))}body.light-mode .grain{opacity:.025}
.site{position:relative;z-index:3}.topbar{height:var(--nav-h);position:sticky;top:0;z-index:30;backdrop-filter:blur(18px);background:rgba(7,9,13,.76);border-bottom:1px solid rgba(255,255,255,.08)}body.light-mode .topbar{background:rgba(237,242,241,.78);border-color:rgba(10,19,24,.12)}.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(244,179,78,.62);border-radius:12px;color:var(--amber2);font:700 15px "Barlow Condensed",sans-serif;letter-spacing:.08em;background:linear-gradient(145deg,rgba(244,179,78,.18),rgba(244,179,78,.025));box-shadow:0 0 26px rgba(244,179,78,.12)}.brand-copy{display:grid;gap:2px}.brand-copy strong{font-size:13px;letter-spacing:.14em}.brand-copy small{font-size:9px;color:var(--muted);letter-spacing:.2em}.main-nav{display:flex;align-items:center;gap:32px;margin-left:auto}.main-nav a{font-size:11px;color:var(--muted);letter-spacing:.045em;transition:color .2s}.main-nav a:hover,.main-nav a.active{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn,.menu-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.035);display:grid;place-items:center;cursor:pointer;transition:.2s}.icon-btn:hover,.menu-btn:hover{border-color:rgba(244,179,78,.55);color:var(--amber2)}.icon-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.5}.login-btn{padding:11px 16px;border:1px solid rgba(244,179,78,.44);border-radius:999px;background:rgba(244,179,78,.08);color:var(--amber2);font-size:11px;letter-spacing:.03em;cursor:pointer;transition:.2s}.login-btn:hover{background:var(--amber);color:#14100a}.menu-btn{display:none}
.hero{min-height:calc(100svh - var(--nav-h));display:flex;align-items:center;position:relative;padding:54px 0 42px;isolation:isolate}.hero:after{content:"";position:absolute;z-index:-1;inset:auto 0 -2px;height:170px;background:linear-gradient(180deg,transparent,var(--bg));pointer-events:none}.hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:7vw;align-items:center}.hero-copy{max-width:680px;position:relative;z-index:4}.eyebrow{display:flex;align-items:center;gap:11px;color:var(--amber2);font-size:10px;letter-spacing:.19em;text-transform:uppercase;margin:0 0 24px}.live-dot{width:7px;height:7px;border-radius:50%;background:#6ae1aa;box-shadow:0 0 12px #6ae1aa;position:relative}.live-dot:after{content:"";position:absolute;inset:-5px;border:1px solid rgba(106,225,170,.4);border-radius:50%;animation:pulse 2s ease-out infinite}@keyframes pulse{to{transform:scale(1.8);opacity:0}}h1{font-size:clamp(52px,6.2vw,94px);line-height:.89;font-weight:700;margin:0;max-width:760px;letter-spacing:-.035em}.hero h1 em{font-style:normal;color:var(--amber);text-shadow:0 7px 38px rgba(244,179,78,.13)}.hero-lead{max-width:570px;margin:24px 0 0;color:#c2c8cd;font-size:14px;line-height:1.78}body.light-mode .hero-lead{color:#334149}.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:27px}.btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 19px;border-radius:9px;font-size:11px;font-weight:700;letter-spacing:.025em;border:1px solid transparent;transition:transform .2s,background .2s,border-color .2s;cursor:pointer}.btn:hover{transform:translateY(-2px)}.btn-primary{color:#1c160c;background:linear-gradient(135deg,#ffd889,#eda338);box-shadow:0 10px 32px rgba(244,179,78,.18)}.btn-outline{background:rgba(255,255,255,.04);border-color:var(--line);color:var(--ink)}.btn-outline:hover{border-color:rgba(244,179,78,.55)}.btn-quiet{color:var(--muted);padding-inline:12px;background:transparent}.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}.product-meta{margin-top:14px;color:var(--soft);font-size:10px;letter-spacing:.045em}.proof-row{display:flex;gap:0;margin-top:31px;border-top:1px solid var(--line);max-width:560px;padding-top:19px}.proof{flex:1;padding:0 18px;border-right:1px solid var(--line)}.proof:first-child{padding-left:0}.proof:last-child{border:0}.proof strong{display:block;color:var(--ink);font:600 22px "Barlow Condensed",sans-serif;letter-spacing:.03em}.proof span{display:block;margin-top:2px;color:var(--muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.hero-visual{position:relative;min-height:525px;display:flex;align-items:center;justify-content:center;perspective:1100px}.hero-visual:before{content:"";position:absolute;width:76%;height:50%;left:9%;top:24%;border-radius:50%;background:rgba(242,154,54,.16);filter:blur(80px);transform:translateZ(-40px)}.control-room{position:relative;width:min(100%,560px);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:12px;background:linear-gradient(145deg,rgba(18,23,30,.88),rgba(7,10,14,.72));box-shadow:0 35px 100px rgba(0,0,0,.55),0 0 65px rgba(244,179,78,.11);transform:rotateY(-7deg) rotateX(2deg);transition:transform .6s cubic-bezier(.2,.8,.2,1);backdrop-filter:blur(16px)}.control-room:hover{transform:rotateY(-2deg) rotateX(0) translateY(-4px)}.console-top{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 11px;color:#c3c8cb;font-size:9px;letter-spacing:.14em;text-transform:uppercase}.console-lights{display:flex;gap:5px}.console-lights i{width:5px;height:5px;border-radius:50%;background:#53616b}.console-lights i:first-child{background:#e8a947;box-shadow:0 0 9px #e8a947}.live-label{color:#93e0b8;display:flex;gap:7px;align-items:center}.console-screen{height:285px;position:relative;overflow:hidden;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:#12171c}.console-screen img{width:100%;height:100%;object-fit:cover;object-position:center 46%;filter:brightness(.74) saturate(.85);transform:scale(1.02)}.screen-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,9,.05),rgba(4,7,9,.08) 47%,rgba(4,7,9,.72));display:flex;flex-direction:column;justify-content:space-between;padding:18px}.screen-hud{display:flex;justify-content:space-between;align-items:center;font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:#eee}.rec{color:#ff8270;display:flex;align-items:center;gap:7px}.rec:before{content:"";width:6px;height:6px;border-radius:50%;background:#ff584c;box-shadow:0 0 10px #ff584c}.screen-caption{display:flex;align-items:end;justify-content:space-between;gap:12px}.screen-caption strong{font:600 32px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.02em}.screen-caption span{font-size:9px;color:#ccd0d1}.console-bottom{display:grid;grid-template-columns:1.15fr .85fr;gap:10px;padding-top:10px}.timeline-card,.take-card{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.075);border-radius:8px;padding:11px}.tiny-head{display:flex;justify-content:space-between;color:#9ca5a9;font-size:8px;letter-spacing:.13em;text-transform:uppercase}.episode-track{height:34px;display:flex;align-items:center;gap:5px;margin-top:9px;overflow:hidden}.episode{flex:1;height:30px;min-width:38px;border:1px solid rgba(255,255,255,.1);border-radius:4px;background:linear-gradient(150deg,#232c33,#10151a);display:grid;place-items:center;color:#c3c5c3;font:600 9px "Barlow Condensed",sans-serif}.episode.selected{border-color:rgba(244,179,78,.75);color:#ffd58a;box-shadow:inset 0 0 16px rgba(244,179,78,.11)}.mini-wave{height:28px;display:flex;align-items:center;gap:3px;margin-top:9px}.mini-wave i{flex:1;height:var(--h);border-radius:3px;background:linear-gradient(180deg,#ffce79,#bc7138);opacity:.84;animation:wave 1.7s ease-in-out infinite alternate;animation-delay:var(--d)}@keyframes wave{to{transform:scaleY(.48);opacity:.54}}.hero-float{position:absolute;z-index:2;padding:11px 13px;border:1px solid rgba(255,255,255,.17);border-radius:10px;background:rgba(7,10,14,.79);backdrop-filter:blur(12px);box-shadow:0 15px 40px rgba(0,0,0,.35)}.hero-float strong{display:block;color:var(--amber2);font:600 21px "Barlow Condensed",sans-serif}.hero-float span{display:block;color:#adb5b8;font-size:8px;letter-spacing:.13em;text-transform:uppercase;margin-top:3px}.float-a{left:-10px;top:19%;animation:float 6s ease-in-out infinite}.float-b{right:-13px;bottom:18%;animation:float 7s ease-in-out infinite reverse}@keyframes float{50%{transform:translateY(-8px)}}.hero-side-note{position:absolute;right:0;top:50%;transform:translate(62%,-50%) rotate(90deg);color:rgba(255,255,255,.38);font-size:8px;letter-spacing:.3em;white-space:nowrap}
.station-nav{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:18px}.station-nav a{position:relative;padding:19px 16px 18px;border-right:1px solid var(--line);color:var(--muted);font-size:10px;letter-spacing:.06em;transition:color .2s,background .2s}.station-nav a:first-child{padding-left:0}.station-nav a:last-child{border:0}.station-nav a:hover,.station-nav a.active{color:var(--amber2);background:linear-gradient(180deg,rgba(244,179,78,.04),transparent)}.station-nav b{font:600 14px "Barlow Condensed",sans-serif;color:var(--amber);margin-right:8px}.station-nav a:after{content:"";position:absolute;left:0;bottom:-1px;width:0;height:2px;background:var(--amber);transition:width .3s}.station-nav a.active:after{width:100%}
.section{position:relative;padding:120px 0;scroll-margin-top:84px}.section-head{display:grid;grid-template-columns:.7fr 1.3fr;gap:8vw;align-items:end;margin-bottom:42px}.section-kicker{color:var(--amber2);font-size:10px;letter-spacing:.17em;text-transform:uppercase;display:flex;align-items:center;gap:10px}.section-kicker:before{content:"";width:24px;height:1px;background:var(--amber)}.section h2{font:600 clamp(42px,5vw,72px)/.92 "Barlow Condensed",sans-serif;letter-spacing:-.015em;text-transform:uppercase;margin:0;max-width:800px}.section-head p{margin:0;color:#b5bdc0;font-size:13px;line-height:1.8;max-width:540px}body.light-mode .section-head p{color:#3b4a50}.glass{background:linear-gradient(135deg,rgba(19,24,30,.78),rgba(9,12,16,.68));border:1px solid rgba(255,255,255,.115);backdrop-filter:blur(18px);box-shadow:0 30px 70px rgba(0,0,0,.23);border-radius:var(--radius)}body.light-mode .glass{background:linear-gradient(135deg,rgba(245,248,247,.86),rgba(229,235,234,.78));border-color:rgba(20,30,34,.12)}
.clean-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:22px;align-items:stretch}.compare-card{padding:14px;min-height:395px;position:relative;overflow:hidden}.compare-stage{height:100%;min-height:365px;position:relative;overflow:hidden;border-radius:12px;background:#111}#compareStage{--split:52%}.compare-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.compare-before{clip-path:inset(0 calc(100% - var(--split,52%)) 0 0)}.compare-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 35%,rgba(0,0,0,.62))}.compare-badge{position:absolute;top:15px;padding:7px 10px;border-radius:5px;background:rgba(8,11,14,.72);font-size:8px;letter-spacing:.16em;text-transform:uppercase}.compare-badge.before{left:15px}.compare-badge.after{right:15px;color:#abf0d2}.compare-handle{position:absolute;top:0;bottom:0;left:var(--split,52%);width:1px;background:rgba(255,255,255,.88);box-shadow:0 0 18px rgba(255,255,255,.65);pointer-events:none}.compare-handle:after{content:"↔";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.7);background:rgba(8,11,14,.75);font-size:18px;color:white}.compare-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}.compare-footer{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.compare-footer strong{display:block;font:600 26px "Barlow Condensed",sans-serif;text-transform:uppercase}.compare-footer span{color:#cad0d0;font-size:9px}.clean-copy{padding:31px;display:flex;flex-direction:column;justify-content:space-between}.clean-copy h3{font:600 30px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;margin:18px 0 12px}.clean-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.scan-status{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:9px;letter-spacing:.1em}.scan-status strong{color:var(--cyan);font-weight:600}.scan-meter{height:3px;background:rgba(255,255,255,.1);margin-top:10px;border-radius:8px;overflow:hidden}.scan-meter i{display:block;width:52%;height:100%;background:linear-gradient(90deg,#39c9d2,#a1fff1);box-shadow:0 0 12px #44dae0}.scan-actions{display:flex;justify-content:space-between;align-items:center;margin-top:19px;color:var(--muted);font-size:9px}.scan-actions span:last-child{color:var(--cyan)}
.sun-strip{display:flex;align-items:center;gap:8px;margin-bottom:20px}.sun-btn{border:1px solid var(--line);background:rgba(255,255,255,.035);border-radius:999px;padding:10px 14px;color:var(--muted);font-size:9px;cursor:pointer;transition:.2s}.sun-btn.active,.sun-btn:hover{border-color:rgba(244,179,78,.5);color:var(--amber2);background:rgba(244,179,78,.07)}.sun-state{margin-left:auto;color:var(--amber2);font-size:10px;letter-spacing:.1em}.portrait-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.portrait-card{overflow:hidden;position:relative;min-height:390px;transition:transform .35s,border-color .35s}.portrait-card:hover{transform:translateY(-6px);border-color:rgba(244,179,78,.4)}.portrait-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.76);transition:transform .6s,filter .4s}.portrait-card:hover img{transform:scale(1.035);filter:saturate(1)}.portrait-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,9,.06),rgba(4,7,9,.12) 38%,rgba(4,7,9,.94) 100%)}.portrait-index{position:absolute;z-index:2;top:15px;left:16px;border:1px solid rgba(255,255,255,.38);border-radius:999px;padding:6px 9px;color:white;font:600 11px "Barlow Condensed",sans-serif;letter-spacing:.12em}.portrait-info{position:absolute;z-index:2;left:20px;right:20px;bottom:21px}.portrait-info small{color:var(--amber2);font-size:8px;letter-spacing:.16em;text-transform:uppercase}.portrait-info h3{font:600 26px "Barlow Condensed",sans-serif;text-transform:uppercase;margin:8px 0}.portrait-info p{margin:0;color:#d1d4d2;font-size:10px;line-height:1.65}
.mix-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px}.mix-copy{padding:30px}.mix-copy h3{font:600 30px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;margin:18px 0 12px}.mix-copy p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.mix-board{padding:23px}.mix-board-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}.mix-board-head strong{font:600 18px "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.04em}.mix-board-head span{color:#91d4ad;font-size:8px;letter-spacing:.14em;text-transform:uppercase}.mix-row{display:grid;grid-template-columns:48px 1fr 84px;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.mix-num{color:var(--soft);font:600 17px "Barlow Condensed",sans-serif}.mix-label strong{display:block;font-size:10px;font-weight:600}.mix-label small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.mix-level{font:600 13px "Barlow Condensed",sans-serif;text-align:right;color:var(--amber2)}.mix-level.muted{color:var(--soft)}.wave-row{grid-column:2/4;height:28px;display:flex;align-items:center;gap:2px;opacity:.84;margin-top:-7px}.wave-row i{flex:1;height:var(--h);min-width:2px;background:linear-gradient(180deg,var(--c,#f3b451),rgba(243,180,81,.18));border-radius:2px;animation:wave 1.2s ease-in-out infinite alternate;animation-delay:var(--d)}.mix-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:18px}.mix-toggle{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:9px}.toggle{width:34px;height:19px;border:1px solid rgba(244,179,78,.4);border-radius:99px;background:rgba(244,179,78,.17);position:relative;cursor:pointer}.toggle:after{content:"";position:absolute;width:13px;height:13px;right:2px;top:2px;border-radius:50%;background:var(--amber);transition:.2s}.toggle[aria-pressed=false]:after{right:17px;background:#758087}.mix-demo{border:0;border-radius:7px;background:var(--amber);color:#171109;padding:11px 14px;font-size:9px;font-weight:700;cursor:pointer}.mix-demo:hover{background:#ffd88d}
.volume-stage{position:relative;min-height:520px;overflow:hidden;border-radius:24px;background:#101519;border:1px solid rgba(255,255,255,.14);box-shadow:0 36px 90px rgba(0,0,0,.28)}.volume-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.48) saturate(.82);transition:transform 1s}.volume-stage:hover>img{transform:scale(1.025)}.volume-stage>video.volume-live-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;opacity:0;pointer-events:none;transition:opacity .35s}.volume-stage.is-playing-video>video.volume-live-video{opacity:.88}.volume-stage:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(4,6,9,.91),rgba(4,6,9,.42) 53%,rgba(4,6,9,.08)),linear-gradient(0deg,rgba(4,6,9,.78),transparent 35%);pointer-events:none}.volume-content{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:30px}.volume-top{display:flex;align-items:center;justify-content:space-between;color:#eff0eb;font-size:9px;letter-spacing:.14em;text-transform:uppercase}.volume-top span:last-child{color:#f3b554}.volume-main{max-width:590px}.volume-main h3{font:600 clamp(36px,5vw,68px)/.91 "Barlow Condensed",sans-serif;text-transform:uppercase;margin:0 0 14px}.volume-main p{max-width:500px;color:#d1d3cf;font-size:12px;line-height:1.75;margin:0}.play-preview{display:inline-flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(8,11,14,.48);color:white;padding:12px 16px;margin-top:22px;cursor:pointer;font-size:10px;backdrop-filter:blur(8px)}.play-preview .play-icon{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:#171109;font-size:10px;padding-left:2px}.volume-bottom{display:flex;align-items:end;justify-content:space-between;gap:20px}.volume-meta{color:#c9cecc;font-size:9px;line-height:1.8}.volume-meta strong{color:white;letter-spacing:.04em}.volume-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.volume-controls button{border:1px solid rgba(255,255,255,.3);background:rgba(6,8,10,.46);color:white;border-radius:7px;padding:10px 12px;font-size:9px;cursor:pointer}.volume-controls button.active,.volume-controls button:hover{border-color:var(--amber);color:var(--amber2)}.volume-progress{height:2px;background:rgba(255,255,255,.25);position:absolute;z-index:3;bottom:0;left:0;right:0}.volume-progress i{display:block;width:28%;height:100%;background:var(--amber);box-shadow:0 0 12px var(--amber)}.closing-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:34px;padding:25px 28px;border:1px solid rgba(244,179,78,.25);border-radius:14px;background:linear-gradient(110deg,rgba(244,179,78,.09),rgba(255,255,255,.02))}.closing-cta p{margin:0;color:var(--muted);font-size:11px}.closing-cta strong{display:block;margin-bottom:5px;color:var(--ink);font:600 21px "Barlow Condensed",sans-serif;text-transform:uppercase}.closing-actions{display:flex;gap:9px;flex-wrap:wrap}
footer{padding:38px 0 30px;border-top:1px solid var(--line);margin-top:62px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-copy{max-width:620px;color:var(--muted);font-size:10px;line-height:1.7}.footer-copy strong{display:block;color:var(--ink);font-size:11px;letter-spacing:.12em;margin-bottom:6px}.footer-note{color:var(--soft);font-size:9px;letter-spacing:.07em}
.toast{position:fixed;z-index:60;left:50%;bottom:26px;transform:translate(-50%,18px);opacity:0;pointer-events:none;padding:13px 18px;border:1px solid rgba(244,179,78,.35);border-radius:10px;background:rgba(10,14,18,.92);color:#f5e6c8;font-size:11px;box-shadow:0 18px 50px rgba(0,0,0,.35);transition:.25s;max-width:min(92vw,480px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-menu{display:none}
@media(max-width:1050px){.wrap{width:min(var(--max),calc(100% - 56px))}.main-nav{gap:19px}.hero-grid{gap:3vw;grid-template-columns:1fr .95fr}.hero-visual{min-height:460px}.console-screen{height:245px}.hero-side-note{display:none}.portrait-card{min-height:340px}}
@media(max-width:760px){:root{--nav-h:70px}.wrap{width:calc(100% - 36px)}.topbar-inner{gap:12px}.brand-mark{width:38px;height:38px}.brand-copy strong{font-size:11px}.brand-copy small{font-size:8px}.main-nav{display:none}.login-btn{display:none}.menu-btn{display:grid}.mobile-menu{position:absolute;top:calc(var(--nav-h) - 1px);left:0;right:0;padding:12px 18px 18px;background:rgba(8,11,15,.96);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:none}.mobile-menu.open{display:grid;gap:4px}.mobile-menu a{padding:13px 4px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.hero{min-height:auto;padding:62px 0 26px;display:block}.hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:35px}.hero-copy{max-width:620px}.eyebrow{font-size:8px;margin-bottom:19px}h1{font-size:clamp(54px,13vw,82px)}.hero-lead{font-size:12px;margin-top:18px}.hero-actions{gap:8px;margin-top:22px}.btn{min-height:44px;padding:0 13px;font-size:9px}.proof-row{margin-top:22px;padding-top:15px}.proof{padding:0 10px}.proof strong{font-size:19px}.proof span{font-size:7px}.hero-visual{min-height:340px;margin-inline:-4px}.control-room{width:100%;padding:8px;border-radius:12px;transform:none}.console-screen{height:205px}.screen-caption strong{font-size:25px}.hero-float{padding:8px 9px}.float-a{left:0;top:4%}.float-b{right:0;bottom:3%}.station-nav{grid-template-columns:repeat(5,minmax(92px,1fr));overflow-x:auto;margin-top:16px;scrollbar-width:none}.station-nav::-webkit-scrollbar{display:none}.station-nav a{padding:14px 9px;font-size:8px;white-space:nowrap}.station-nav b{font-size:12px;margin-right:4px}.section{padding:76px 0}.section-head{grid-template-columns:1fr;gap:15px;margin-bottom:24px}.section h2{font-size:48px}.section-head p{font-size:11px}.clean-grid,.mix-layout{grid-template-columns:1fr;gap:13px}.compare-card{min-height:300px;padding:9px}.compare-stage{min-height:280px}.clean-copy,.mix-copy{padding:22px}.portrait-grid{grid-template-columns:1fr;gap:12px}.portrait-card{min-height:380px}.sun-strip{flex-wrap:wrap}.sun-state{width:100%;margin:5px 0 0}.mix-board{padding:15px}.mix-row{grid-template-columns:30px 1fr 62px;gap:9px;padding:13px 0}.wave-row{grid-column:2/4}.mix-level{font-size:11px}.volume-stage{min-height:510px;border-radius:16px}.volume-content{padding:20px}.volume-main h3{font-size:46px}.volume-main p{font-size:11px}.volume-bottom{align-items:start;flex-direction:column;gap:15px}.volume-controls{flex-wrap:wrap}.volume-controls button{padding:9px}.closing-cta{align-items:flex-start;flex-direction:column;padding:20px}.footer-inner{align-items:flex-start;flex-direction:column}.scene-wash{background:linear-gradient(90deg,rgba(5,7,10,.83),rgba(5,7,10,.4)),linear-gradient(180deg,rgba(5,7,10,.16),transparent 40%,#07090d 100%)}body.light-mode .scene-wash{background:linear-gradient(90deg,rgba(233,239,238,.84),rgba(228,235,234,.42)),linear-gradient(180deg,rgba(241,244,242,.13),transparent 40%,rgba(217,223,226,.95))}}
@media(max-width:420px){.wrap{width:calc(100% - 28px)}.brand-copy strong{font-size:10px}.top-actions{gap:6px}.icon-btn,.menu-btn{width:36px;height:36px}.hero-actions .btn-primary{flex:1}.hero-actions .btn-outline{flex:1}.btn-quiet{width:100%;justify-content:flex-start}.proof span{letter-spacing:.025em}.section h2{font-size:43px}.console-bottom{grid-template-columns:1fr}.take-card{display:none}.console-screen{height:180px}.station-nav a{min-width:106px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}#studio-canvas{opacity:.88}}

/* Manus Second Style Block (3D Layering & Nav Actions) */
#studio-canvas{z-index:1;filter:brightness(1.14) saturate(1.08)}
.scene-fallback{z-index:0;filter:saturate(.8) brightness(.62)}
body.webgl-fallback #studio-canvas{display:none}
.scene-wash{z-index:2;background:linear-gradient(90deg,rgba(5,7,10,.76) 0%,rgba(5,7,10,.42) 30%,rgba(5,7,10,.08) 61%,rgba(5,7,10,.14) 100%),linear-gradient(180deg,rgba(5,7,10,.08) 0%,rgba(5,7,10,.01) 42%,rgba(7,9,13,.88) 100%)}
.grain{z-index:3}.site{z-index:4}
.toggle[aria-checked="false"]:after{right:auto;left:2px;background:#758087}
@media(max-width:760px){.scene-wash{background:linear-gradient(90deg,rgba(5,7,10,.76),rgba(5,7,10,.27)),linear-gradient(180deg,rgba(5,7,10,.1),transparent 40%,rgba(7,9,13,.9) 100%)}}
.main-nav .nav-action{background:none;border:0;padding:0;color:var(--muted);font:inherit;font-size:11px;letter-spacing:.045em;cursor:pointer;transition:color .2s}
.main-nav .nav-action:hover,.main-nav .nav-action.active,.main-nav .nav-action.is-active{color:var(--ink)}
.mobile-menu .nav-action{width:100%;text-align:left;background:none;border:0;padding:13px 4px;border-bottom:1px solid var(--line);color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
.mobile-menu .nav-action.active,.mobile-menu .nav-action.is-active{color:var(--amber2)}
.demo-disclaimer{display:block;margin-top:7px;max-width:340px;color:var(--soft);font:400 8px/1.6 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none}

/* ==========================================================================
   Manus "Cinematic Editorial" Upgrade (<style id="cinematic-premium"> 1:1)
   ========================================================================== */
:root {
  --bg: #090a0b;
  --panel: rgba(17, 16, 14, .78);
  --panel-solid: #11100f;
  --ink: #f1eee7;
  --muted: #b6b1a6;
  --soft: #898276;
  --line: rgba(209, 179, 123, .18);
  --amber: #b99761;
  --amber2: #e7d7b4;
  --radius: 10px;
}
body { background: radial-gradient(ellipse at 68% 16%, rgba(117, 81, 37, .12), transparent 42%), var(--bg); }
body.light-mode {
  --bg: #e9e4da; --panel: rgba(249, 246, 239, .88); --panel-solid: #f5f0e7;
  --ink: #24211b; --muted: #625c51; --soft: #7f7769; --line: rgba(106, 85, 49, .2);
  --amber: #927541; --amber2: #6d562d;
}
::selection { background: rgba(209,179,123,.34); color: var(--ink); }
#studio-canvas { filter: saturate(.88) contrast(1.05); }
.scene-fallback { filter: saturate(.76) contrast(1.04) brightness(.66); }
.scene-wash {
  background:
    radial-gradient(ellipse at 76% 20%, rgba(209,179,123,.11), transparent 30%),
    linear-gradient(90deg, rgba(7,8,10,.86) 0%, rgba(7,8,10,.64) 35%, rgba(7,8,10,.14) 72%, rgba(7,8,10,.26) 100%),
    linear-gradient(180deg, rgba(7,8,10,.14) 0%, rgba(7,8,10,.04) 43%, rgba(9,10,11,.9) 100%);
}
body.light-mode .scene-wash {
  background: linear-gradient(90deg,rgba(232,226,214,.86),rgba(228,222,210,.62) 38%,rgba(225,219,207,.18) 76%,rgba(225,219,207,.28)),
              linear-gradient(180deg,rgba(233,228,218,.12),rgba(233,228,218,.04) 45%,rgba(233,228,218,.9));
}
.grain { opacity: .035; }
.scroll-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress::after { content: ""; display: block; width: var(--read-progress,0%); height: 100%; background: linear-gradient(90deg,#8d7045,var(--amber2),#fff0d0); box-shadow: 0 0 12px rgba(209,179,123,.45); transition: width .14s linear; }
.topbar { background: rgba(9,10,11,.78); border-bottom-color: rgba(209,179,123,.16); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
body.light-mode .topbar { background: rgba(238,233,223,.86); border-bottom-color: rgba(106,85,49,.18); }
.brand-mark { position: relative; border-radius: 3px; border-color: rgba(209,179,123,.62); color: var(--amber2); background: linear-gradient(145deg,rgba(209,179,123,.12),rgba(209,179,123,.015)); box-shadow: none; font-family: "Playfair Display",serif; font-weight: 500; }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(231,215,180,.24); pointer-events: none; }
.brand-copy strong { font-size: 11px; letter-spacing: .2em; }
.brand-copy small { font-size: 8px; letter-spacing: .22em; }
.main-nav { gap: clamp(16px,2.3vw,32px); }
.main-nav a,.main-nav .nav-action,.nav-action { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.nav-action { color: var(--muted); border: 0; background: transparent; padding: 9px 0; cursor: pointer; transition: color .22s; }
.nav-action:hover,.main-nav .nav-action:hover,.main-nav .nav-action.active,.main-nav .nav-action.is-active { color: var(--amber2); }
.login-btn { border-radius: 2px; background: transparent; border-color: rgba(209,179,123,.48); color: var(--amber2); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; padding: 12px 16px; }
.login-btn:hover { background: var(--amber2); color: #18150f; }
.icon-btn,.menu-btn { border-radius: 2px; border-color: var(--line); background: rgba(255,255,255,.025); }
.hero { padding-top: 66px; padding-bottom: 58px; }
.hero-grid { grid-template-columns: minmax(0,1.03fr) minmax(360px,.97fr); gap: 5.2vw; }
.hero-copy { max-width: 690px; }
.eyebrow { color: var(--amber2); font-size: 9px; letter-spacing: .22em; margin-bottom: 27px; }
.live-dot,.live-label .live-dot { background: var(--amber); box-shadow: 0 0 10px rgba(209,179,123,.42); }
.live-dot::after { display: none; }
h1#hero-title { max-width: 710px; font: 400 clamp(52px,5.4vw,78px)/1.04 "Playfair Display", Georgia, serif; letter-spacing: -.045em; text-transform: none; text-wrap: pretty; }
.hero h1 em { color: var(--amber2); font-weight: 400; text-shadow: 0 0 34px rgba(209,179,123,.14); }
.hero-lead { max-width: 520px; margin-top: 25px; color: #c5bfb3; font-size: 13px; line-height: 1.88; }
body.light-mode .hero-lead { color: #4c463c; }
.hero-actions { gap: 10px; margin-top: 29px; }
.btn { min-height: 49px; border-radius: 3px; padding-inline: 17px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.btn-primary { background: linear-gradient(135deg,#ead9b6,#c3a36e); color: #201b12; box-shadow: 0 9px 28px rgba(166,128,67,.16); }
.btn-primary:hover { background: linear-gradient(135deg,#f3e7cf,#d5b882); }
.btn-outline { background: rgba(255,255,255,.025); border-color: rgba(209,179,123,.24); }
.btn-outline:hover { border-color: var(--amber2); background: rgba(209,179,123,.08); }
.btn-quiet { letter-spacing: .09em; }
.product-meta { color: #938c7e; font-size: 9px; line-height: 1.65; letter-spacing: .08em; }
.proof-row { border-color: rgba(209,179,123,.22); padding-top: 20px; }
.proof { border-color: rgba(209,179,123,.15); }
.proof strong { color: var(--amber2); font: 400 27px/1.05 "Playfair Display",serif; letter-spacing: -.02em; }
.proof span { font-size: 8px; letter-spacing: .15em; }
.hero-visual { min-height: 500px; }
.hero-visual::before { background: rgba(196,151,82,.13); filter: blur(94px); }
.control-room { padding: 10px; border-radius: 4px; border-color: rgba(209,179,123,.38); background: linear-gradient(145deg,rgba(20,19,17,.9),rgba(7,8,9,.82)); box-shadow: 0 36px 100px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08); }
.control-room::before { content: ""; position: absolute; inset: 5px; z-index: 3; border: 1px solid rgba(231,215,180,.11); pointer-events: none; }
.console-top { padding: 3px 6px 12px; color: #c9c0af; font-size: 8px; letter-spacing: .18em; }
.console-screen { border-radius: 3px; border-color: rgba(209,179,123,.2); }
.console-screen img { filter: brightness(.8) saturate(.76) contrast(1.04); }
.screen-overlay { background: linear-gradient(180deg,rgba(4,6,7,.03),rgba(4,6,7,.02) 40%,rgba(4,6,7,.78)); }
.screen-caption strong { font-size: 30px; letter-spacing: .045em; }
.timeline-card,.take-card { border-radius: 3px; border-color: rgba(209,179,123,.12); background: rgba(255,255,255,.025); }
.episode { border-radius: 2px; }
.hero-float { border-radius: 3px; border-color: rgba(209,179,123,.3); background: rgba(13,13,12,.82); box-shadow: 0 18px 46px rgba(0,0,0,.28); }
.hero-float strong { color: var(--amber2); font: 400 22px "Playfair Display",serif; }
.hero-float span { font-size: 7px; letter-spacing: .18em; }
.float-a { left: -5px; }
.float-b { right: -5px; }
.hero-side-note { color: rgba(231,215,180,.45); font-size: 7px; letter-spacing: .34em; }
#stations { position: relative; z-index: 4; }
.station-nav { border-color: rgba(209,179,123,.21); background: linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0)); }
.station-nav a { padding: 18px 15px 15px; color: #a69f92; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.station-nav a b { display: block; margin: 0 0 8px; color: var(--amber2); font: 400 23px/1 "Playfair Display",serif; letter-spacing: -.03em; }
.station-nav a:after { height: 1px; background: linear-gradient(90deg,var(--amber),var(--amber2)); }
.station-nav a:nth-child(1) { --reveal-delay: 0ms; }
.station-nav a:nth-child(2) { --reveal-delay: 55ms; }
.station-nav a:nth-child(3) { --reveal-delay: 110ms; }
.station-nav a:nth-child(4) { --reveal-delay: 165ms; }
.station-nav a:nth-child(5) { --reveal-delay: 220ms; }
.section { padding: 118px 0; overflow: hidden; }
.section::before { position: absolute; z-index: 0; top: 10px; right: max(5vw,calc((100vw - var(--max))/2)); color: rgba(231,215,180,.035); font: 400 clamp(150px,21vw,290px)/.8 "Playfair Display",serif; letter-spacing: -.08em; pointer-events: none; }
#clean::before { content: "02"; }
#translation::before { content: "03"; }
#mix::before { content: "04"; }
#volume::before { content: "05"; }
.section > .wrap { position: relative; z-index: 1; }
.section-head { grid-template-columns: .72fr 1.28fr; gap: 6vw; margin-bottom: 46px; }
.section-kicker { color: var(--amber2); font-size: 8px; letter-spacing: .23em; }
.section-kicker::before { width: 30px; background: linear-gradient(90deg,var(--amber),var(--amber2)); }
.section h2 { max-width: 860px; font: 400 clamp(42px,4.6vw,70px)/1.035 "Playfair Display",Georgia,serif; letter-spacing: -.04em; text-transform: none; text-wrap: balance; }
.section-head p { color: #bdb6aa; font-size: 12px; line-height: 1.9; }
body.light-mode .section-head p { color: #4c463c; }
.glass { border-radius: 8px; border-color: rgba(209,179,123,.19); background: linear-gradient(145deg,rgba(24,22,19,.82),rgba(10,11,12,.76)); box-shadow: inset 0 1px 0 rgba(255,255,255,.055),0 28px 70px rgba(0,0,0,.22); backdrop-filter: blur(22px) saturate(1.08); }
body.light-mode .glass { background: linear-gradient(145deg,rgba(250,247,240,.92),rgba(236,231,221,.86)); border-color: rgba(106,85,49,.19); box-shadow: inset 0 1px 0 rgba(255,255,255,.65),0 24px 60px rgba(83,69,45,.1); }
.clean-copy h3,.section h3.display:not(.screen-caption strong) { font: 400 30px/1.08 "Playfair Display",Georgia,serif; letter-spacing: -.025em; text-transform: none; }
.clean-copy p,.mix-copy p,.portrait-info p { color: var(--muted); }
.compare-card { padding: 10px; }
.compare-stage { border-radius: 3px; }
.compare-handle { background: var(--amber2); box-shadow: 0 0 18px rgba(231,215,180,.42); }
.compare-handle::after { border-radius: 3px; border-color: rgba(231,215,180,.76); background: rgba(14,13,11,.86); }
.compare-badge { border-radius: 2px; border: 1px solid rgba(231,215,180,.18); letter-spacing: .19em; }
.scan-status { border-radius: 3px; border-color: rgba(209,179,123,.2); }
.sun-btn { border-radius: 2px; border-color: rgba(209,179,123,.18); letter-spacing: .08em; }
.sun-btn.active { background: rgba(209,179,123,.1); border-color: var(--amber); color: var(--amber2); }
.portrait-card { border-radius: 6px; border-color: rgba(209,179,123,.18); }
.portrait-card img { filter: saturate(.78) contrast(1.03); transition: filter .55s,transform .8s; }
.portrait-card:hover img { filter: saturate(.98) contrast(1.05); transform: scale(1.035); }
.portrait-index { color: var(--amber2); }
.mix-layout .glass,.mix-board { border-radius: 8px; }
.mix-board-head { border-color: rgba(209,179,123,.16); }
.mix-num { color: var(--amber2); }
.mix-demo { border-radius: 2px; letter-spacing: .15em; }
.volume-stage { border: 1px solid rgba(209,179,123,.22); border-radius: 5px; box-shadow: 0 38px 110px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06); }
.play-preview { border-radius: 3px; }
.volume-controls button { border-radius: 2px; }
.closing-cta { border-top: 1px solid rgba(209,179,123,.22); border-bottom: 1px solid rgba(209,179,123,.22); padding-block: 28px; }
.closing-cta strong { font: 400 clamp(25px,3vw,42px)/1.12 "Playfair Display",Georgia,serif; letter-spacing: -.025em; text-transform: none; }
.footer-inner { border-top-color: rgba(209,179,123,.16); }
.footer-note { color: var(--amber2); }
.toast { border-radius: 3px; border-color: rgba(209,179,123,.3); background: rgba(15,14,12,.94); }
.premium-reveal { will-change: opacity,transform; }
.is-reveal-ready .premium-reveal { opacity: 0; transform: translate3d(0,18px,0); transition: opacity .72s ease,transform .72s cubic-bezier(.2,.75,.25,1); transition-delay: var(--reveal-delay,0ms); }
.is-reveal-ready .premium-reveal.is-visible,.is-reveal-ready .premium-reveal:focus-within { opacity: 1; transform: none; }
@media (max-width:1050px) {
  .hero-grid { grid-template-columns:minmax(0,1fr) minmax(320px,.92fr); gap: 3.4vw; }
  h1#hero-title { font-size: clamp(48px,5.7vw,66px); }
  .hero-visual { min-height: 450px; }
  .section { padding: 98px 0; }
}
@media (max-width:760px) {
  .wrap { width: calc(100% - 40px); }
  .topbar { height: 70px; }
  .brand { gap: 9px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 9px; }
  .brand-copy small { font-size: 7px; }
  .hero { min-height: 0; padding: 40px 0 28px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .hero-copy { max-width: 650px; }
  .eyebrow { margin-bottom: 21px; font-size: 8px; letter-spacing: .17em; flex-wrap: wrap; }
  h1#hero-title { font-size: clamp(38px,9.7vw,52px); line-height: 1.04; text-wrap: pretty; }
  .hero-lead { font-size: 12px; line-height: 1.82; margin-top: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero-actions .btn-primary { grid-column: 1 / -1; }
  .hero-actions .btn { width: 100%; min-height: 46px; padding: 0 10px; font-size: 8px; letter-spacing: .075em; }
  .product-meta { margin-top: 11px; font-size: 8px; line-height: 1.6; }
  .proof-row { margin-top: 23px; padding-top: 15px; }
  .proof { padding-inline: 10px; }
  .proof strong { font-size: 22px; }
  .proof span { font-size: 7px; letter-spacing: .1em; }
  .hero-visual { min-height: 365px; width: 100%; }
  .control-room { width: calc(100% - 14px); padding: 8px; transform: none; }
  .control-room:hover { transform: none; }
  .console-screen { height: 220px; }
  .console-bottom { gap: 6px; }
  .timeline-card,.take-card { padding: 8px; }
  .hero-float { padding: 8px 10px; }
  .float-a { left: -2px; top: 13%; }
  .float-b { right: -1px; bottom: 11%; }
  .hero-side-note { display: none; }
  .station-nav { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .station-nav::-webkit-scrollbar { display: none; }
  .station-nav a { flex: 0 0 132px; scroll-snap-align: start; padding: 14px 10px 12px; font-size: 7px; }
  .station-nav a:first-child { padding-left: 10px; }
  .station-nav a b { font-size: 20px; margin-bottom: 6px; }
  .section { padding: 78px 0; }
  .section::before { top: 8px; right: 10px; font-size: clamp(120px,34vw,180px); }
  .section-head { grid-template-columns: 1fr; gap: 13px; margin-bottom: 25px; }
  .section h2 { font-size: clamp(39px,9vw,52px); line-height: 1.04; }
  .section-head p { font-size: 11px; line-height: 1.82; }
  .clean-copy h3,.section h3.display:not(.screen-caption strong) { font-size: 27px; }
  .closing-cta { gap: 18px; }
}
@media (max-width:420px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-inner { gap: 8px; }
  .top-actions { gap: 7px; }
  .icon-btn,.menu-btn { width: 36px; height: 36px; }
  .hero { padding-top: 33px; }
  h1#hero-title { font-size: clamp(36px,9.5vw,39px); }
  .hero-visual { min-height: 330px; }
  .console-screen { height: 195px; }
  .screen-caption strong { font-size: 25px; }
  .hero-float strong { font-size: 18px; }
  .product-meta { max-width: 100%; }
  .section { padding: 70px 0; }
}
@media (prefers-reduced-motion:reduce) {
  .scroll-progress::after { transition: none; }
  .is-reveal-ready .premium-reveal { opacity: 1; transform: none; transition: none; }
  .control-room,.portrait-card img,.btn,.sun-btn,.station-nav a { transition: none !important; }
}

/* Keyboard visibility for the full-surface compare range input. */
#compareStage:focus-within .compare-handle { background: var(--amber2); }
#compareStage:focus-within .compare-handle::after { outline: 2px solid var(--amber2); outline-offset: 4px; box-shadow: 0 0 0 7px rgba(209,179,123,.14), 0 0 24px rgba(209,179,123,.4); }

/* Exact CSP-Safe Replacements for Manus Inline Styles */
.eyebrow-sep{opacity:.55}
.meta-sep{color:var(--soft)}
.kicker-cyan{color:var(--cyan)}
.mix-audition-btn{margin-top:22px}
.mix-copy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.mix-copy-actions .mix-audition-btn{margin-top:0}
.volume-ep-accent{color:var(--amber)}

.mini-wave i:nth-child(1){--h:38%;--d:-.1s}
.mini-wave i:nth-child(2){--h:76%;--d:-.4s}
.mini-wave i:nth-child(3){--h:55%;--d:-.8s}
.mini-wave i:nth-child(4){--h:91%;--d:-.2s}
.mini-wave i:nth-child(5){--h:42%;--d:-.6s}
.mini-wave i:nth-child(6){--h:70%;--d:-.1s}
.mini-wave i:nth-child(7){--h:48%;--d:-.9s}
.mini-wave i:nth-child(8){--h:84%;--d:-.3s}
.mini-wave i:nth-child(9){--h:62%;--d:-.6s}
.mini-wave i:nth-child(10){--h:37%;--d:-.8s}
.mini-wave i:nth-child(11){--h:77%;--d:-.2s}

.mix-row-1 .wave-row i:nth-child(1){--h:10%;--d:-.2s}
.mix-row-1 .wave-row i:nth-child(2){--h:15%;--d:-.6s}
.mix-row-1 .wave-row i:nth-child(3){--h:8%;--d:-.4s}
.mix-row-1 .wave-row i:nth-child(4){--h:13%;--d:-.8s}
.mix-row-1 .wave-row i:nth-child(5){--h:9%;--d:-.1s}
.mix-row-1 .wave-row i:nth-child(6){--h:12%;--d:-.5s}
.mix-row-1 .wave-row i:nth-child(7){--h:7%;--d:-.7s}
.mix-row-1 .wave-row i:nth-child(8){--h:14%;--d:-.3s}
.mix-row-1 .wave-row i:nth-child(9){--h:10%;--d:-.6s}
.mix-row-1 .wave-row i:nth-child(10){--h:8%;--d:-.2s}
.mix-row-1 .wave-row i:nth-child(11){--h:12%;--d:-.9s}
.mix-row-1 .wave-row i:nth-child(12){--h:9%;--d:-.5s}
.mix-row-1 .wave-row i:nth-child(13){--h:15%;--d:-.1s}
.mix-row-1 .wave-row i:nth-child(14){--h:11%;--d:-.7s}
.mix-row-1 .wave-row i:nth-child(15){--h:8%;--d:-.4s}
.mix-row-1 .wave-row i:nth-child(16){--h:12%;--d:-.8s}
.mix-row-1 .wave-row i:nth-child(17){--h:10%;--d:-.2s}
.mix-row-1 .wave-row i:nth-child(18){--h:15%;--d:-.5s}
.mix-row-1 .wave-row i:nth-child(19){--h:9%;--d:-.9s}
.mix-row-1 .wave-row i:nth-child(20){--h:13%;--d:-.4s}

.mix-row-2 .wave-row i:nth-child(1){--h:65%;--d:-.15s}
.mix-row-2 .wave-row i:nth-child(2){--h:35%;--d:-.45s}
.mix-row-2 .wave-row i:nth-child(3){--h:87%;--d:-.25s}
.mix-row-2 .wave-row i:nth-child(4){--h:47%;--d:-.7s}
.mix-row-2 .wave-row i:nth-child(5){--h:73%;--d:-.1s}
.mix-row-2 .wave-row i:nth-child(6){--h:94%;--d:-.55s}
.mix-row-2 .wave-row i:nth-child(7){--h:52%;--d:-.8s}
.mix-row-2 .wave-row i:nth-child(8){--h:76%;--d:-.3s}
.mix-row-2 .wave-row i:nth-child(9){--h:39%;--d:-.65s}
.mix-row-2 .wave-row i:nth-child(10){--h:89%;--d:-.2s}
.mix-row-2 .wave-row i:nth-child(11){--h:56%;--d:-.9s}
.mix-row-2 .wave-row i:nth-child(12){--h:68%;--d:-.4s}
.mix-row-2 .wave-row i:nth-child(13){--h:97%;--d:-.12s}
.mix-row-2 .wave-row i:nth-child(14){--h:44%;--d:-.75s}
.mix-row-2 .wave-row i:nth-child(15){--h:79%;--d:-.35s}
.mix-row-2 .wave-row i:nth-child(16){--h:62%;--d:-.6s}
.mix-row-2 .wave-row i:nth-child(17){--h:90%;--d:-.18s}
.mix-row-2 .wave-row i:nth-child(18){--h:48%;--d:-.5s}
.mix-row-2 .wave-row i:nth-child(19){--h:70%;--d:-.85s}
.mix-row-2 .wave-row i:nth-child(20){--h:83%;--d:-.38s}

.mix-row-3 .wave-row i{--c:#76e5db}
.mix-row-3 .wave-row i:nth-child(1){--h:29%;--d:-.22s}
.mix-row-3 .wave-row i:nth-child(2){--h:69%;--d:-.52s}
.mix-row-3 .wave-row i:nth-child(3){--h:42%;--d:-.14s}
.mix-row-3 .wave-row i:nth-child(4){--h:93%;--d:-.68s}
.mix-row-3 .wave-row i:nth-child(5){--h:55%;--d:-.34s}
.mix-row-3 .wave-row i:nth-child(6){--h:79%;--d:-.82s}
.mix-row-3 .wave-row i:nth-child(7){--h:35%;--d:-.46s}
.mix-row-3 .wave-row i:nth-child(8){--h:87%;--d:-.19s}
.mix-row-3 .wave-row i:nth-child(9){--h:45%;--d:-.73s}
.mix-row-3 .wave-row i:nth-child(10){--h:64%;--d:-.28s}
.mix-row-3 .wave-row i:nth-child(11){--h:96%;--d:-.61s}
.mix-row-3 .wave-row i:nth-child(12){--h:40%;--d:-.89s}
.mix-row-3 .wave-row i:nth-child(13){--h:74%;--d:-.11s}
.mix-row-3 .wave-row i:nth-child(14){--h:52%;--d:-.57s}
.mix-row-3 .wave-row i:nth-child(15){--h:89%;--d:-.33s}
.mix-row-3 .wave-row i:nth-child(16){--h:31%;--d:-.77s}
.mix-row-3 .wave-row i:nth-child(17){--h:82%;--d:-.24s}
.mix-row-3 .wave-row i:nth-child(18){--h:59%;--d:-.64s}
.mix-row-3 .wave-row i:nth-child(19){--h:91%;--d:-.41s}
.mix-row-3 .wave-row i:nth-child(20){--h:46%;--d:-.84s}

/* Authenticated Topbar Badge & Subzone Wrapper (Champagne Brass Editorial) */
.top-account-cluster{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 12px;border:1px solid rgba(209,179,123,.42);border-radius:2px;background:rgba(209,179,123,.06);font-size:10px;color:var(--ink)}
.top-account-name{font-weight:600;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.top-account-plan{padding:3px 7px;border-radius:2px;background:rgba(209,179,123,.18);color:var(--amber2);font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.top-logout-btn{border:1px solid var(--line);border-radius:2px;background:rgba(255,255,255,.03);color:var(--muted);padding:5px 9px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:.2s}
.top-logout-btn:hover{border-color:rgba(244,63,94,.5);color:#fecdd3}
.portal-subzone-wrap{padding:44px 0 64px;position:relative;z-index:4}
@media(max-width:760px){.top-account-cluster{display:none}}

/* ==========================================================================
   Razor-Sharp Native Vector/DOM Control Room UI, Symmetrical OS Buttons,
   Docked Telemetry Badges & Pixel-Matched Hardsub 50% Slider + 2.4x Loupe
   ========================================================================== */
.btn svg.os-logo-svg,
.btn svg.windows-logo-svg,
.btn svg.apple-logo-svg,
.os-logo-svg,
.windows-logo-svg,
.apple-logo-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
  flex-shrink: 0;
}

.btn svg.apple-logo-svg,
.apple-logo-svg {
  transform: translateY(-0.5px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-actions .btn {
  padding-inline: 12px;
  gap: 7px;
  font-size: 8.8px;
  letter-spacing: 0.065em;
  white-space: nowrap;
}

.closing-actions .btn {
  padding-inline: 14px;
  gap: 8px;
  white-space: nowrap;
}

.hero-visual {
  perspective: none;
  padding: 12px 0 16px;
  min-height: auto;
}

.control-room {
  transform: none;
  width: min(100%, 588px);
  padding: 10px;
}

.control-room:hover {
  transform: translate3d(0, -2px, 0);
}

.console-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 9px;
}

.control-room .hero-float {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  animation: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 3px;
  border: 1px solid rgba(209, 179, 123, 0.26);
  background: rgba(14, 15, 17, 0.9);
  box-shadow: none;
  backdrop-filter: none;
}

.control-room .hero-float strong {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.control-room .hero-float span {
  margin-top: 0;
  font-size: 7.5px;
  letter-spacing: 0.11em;
  text-align: right;
  white-space: nowrap;
  color: #c8c1b4;
}

.console-screen {
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  background: #0c0e12;
  border: 1px solid rgba(209, 179, 123, 0.24);
  overflow: hidden;
}

.native-studio-ui {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: geometricPrecision;
  color: #f3f4f6;
  background: linear-gradient(180deg, #11151b 0%, #0b0e13 100%);
}

.ns-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(209, 179, 123, 0.18);
  background: rgba(18, 22, 28, 0.96);
}

.ns-project-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.ns-title-icon {
  width: 14px;
  height: 14px;
  fill: var(--amber2);
  stroke: none;
  flex-shrink: 0;
}

.ns-project-title strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f8f6f0;
  white-space: nowrap;
}

.ns-studio-ver {
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid rgba(209, 179, 123, 0.32);
  background: rgba(209, 179, 123, 0.1);
  color: var(--amber2);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ns-grid {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 114px;
  gap: 8px;
  padding: 9px;
  align-items: stretch;
}

.ns-col-ep,
.ns-voice-box,
.ns-export-box {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 4px;
  background: rgba(17, 21, 27, 0.92);
}

.ns-col-ep {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px;
}

.ns-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 6px;
}

.ns-panel-head span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9c0c7;
  white-space: nowrap;
}

.ns-panel-head b {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--amber2);
  font-variant-numeric: tabular-nums;
}

.ns-ep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.ns-ep-chip {
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161c24;
  color: #cfd5dc;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.ns-ep-chip.is-active {
  border-color: rgba(231, 215, 180, 0.85);
  background: linear-gradient(135deg, rgba(209, 179, 123, 0.28), rgba(209, 179, 123, 0.1));
  color: #fff6df;
  box-shadow: inset 0 0 10px rgba(209, 179, 123, 0.18);
}

.ns-ep-foot {
  margin-top: 6px;
  font-size: 8px;
  color: #9ba3ad;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ns-col-ctrl {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
}

.ns-delogo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.36);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(17, 24, 32, 0.92));
}

.ns-delogo-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ns-delogo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
  flex-shrink: 0;
}

.ns-delogo-copy strong {
  font-size: 9.5px;
  font-weight: 600;
  color: #ecfdf5;
  white-space: nowrap;
}

.ns-switch-on {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 3px 2px 7px;
  border-radius: 99px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  flex-shrink: 0;
}

.ns-switch-on b {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ns-switch-on i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
}

.ns-voice-box {
  padding: 7px 8px;
}

.ns-voice-list {
  display: grid;
  gap: 4px;
}

.ns-voice-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #141920;
}

.ns-voice-item.is-lead {
  border-color: rgba(209, 179, 123, 0.34);
  background: rgba(209, 179, 123, 0.08);
}

.ns-role-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ns-role-dot.dot-amber {
  background: #e7d7b4;
}

.ns-role-dot.dot-cyan {
  background: #7ee3dc;
}

.ns-role-dot.dot-ivory {
  background: #cbd5e1;
}

.ns-voice-name {
  font-size: 9.2px;
  font-weight: 500;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-voice-tag {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 7.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ns-export-box {
  padding: 6px 8px;
}

.ns-export-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.ns-export-head span {
  font-size: 8.6px;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-export-head strong {
  font-size: 9px;
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.ns-progress-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ns-progress-fill {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #c3a36e 0%, #e7d7b4 55%, #7ee3dc 100%);
}

.ns-col-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.ns-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  border: 1px solid rgba(209, 179, 123, 0.34);
  overflow: hidden;
  background: #090b0e;
}

.ns-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: none;
  transform: none;
}

.ns-preview-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(8, 10, 13, 0.84);
  border: 1px solid rgba(231, 215, 180, 0.32);
  color: var(--amber2);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ns-preview-sub {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  padding: 3px 4px;
  border-radius: 2px;
  background: rgba(7, 9, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fef3c7;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.ns-preview-tc {
  font-size: 7.8px;
  color: #9ba3ad;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.light-mode .control-room .hero-float {
  background: rgba(248, 244, 236, 0.94);
  border-color: rgba(106, 85, 49, 0.25);
}

body.light-mode .control-room .hero-float span {
  color: #575044;
}

.tiny-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
}

.timeline-card .tiny-head {
  letter-spacing: 0.095em;
}

.tiny-head > span {
  white-space: nowrap;
  flex-shrink: 0;
}

.compare-card {
  min-height: 540px;
}

#compareStage {
  --split: 50%;
  --loupe-x: 50%;
  --loupe-y: 74%;
  --stage-w: 720px;
  --stage-h: 520px;
  --loupe-px: 360px;
  --loupe-py: 384px;
  min-height: 520px;
}

.compare-stage > img {
  object-fit: cover;
  object-position: 50% 50%;
}

.scan-meter i {
  width: 50%;
}

.compare-loupe-btn {
  pointer-events: auto;
  position: relative;
  z-index: 4;
  border: 1px solid rgba(231, 215, 180, 0.36);
  border-radius: 3px;
  background: rgba(10, 11, 13, 0.8);
  color: var(--amber2);
  padding: 6px 11px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.compare-loupe-btn:hover,
.compare-loupe-btn[aria-pressed="true"] {
  border-color: var(--amber2);
  background: rgba(209, 179, 123, 0.22);
  color: #fff6df;
}

.compare-loupe {
  position: absolute;
  z-index: 3;
  left: var(--loupe-x, 50%);
  top: var(--loupe-y, 74%);
  width: 176px;
  height: 176px;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 50%;
  border: 1.5px solid rgba(231, 215, 180, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #0d0f12;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#compareStage.is-loupe-active .compare-loupe {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.compare-loupe-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.compare-loupe-before {
  clip-path: inset(0 50% 0 0);
  border-right: 1px solid rgba(231, 215, 180, 0.92);
}

.compare-loupe-layer img {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--stage-w, 720px);
  height: var(--stage-h, 520px);
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 0 0;
  transform: translate(calc(88px - var(--loupe-px, 360px) * 2.4), calc(88px - var(--loupe-py, 384px) * 2.4)) scale(2.4);
}

.compare-loupe-tag {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(9, 10, 11, 0.88);
  border: 1px solid rgba(231, 215, 180, 0.48);
  color: var(--amber2);
  font: 600 9px "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
}

@media (max-width: 760px) {
  .hero-visual {
    padding: 10px 0 14px;
    min-height: auto;
  }
  .console-telemetry-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ns-grid {
    grid-template-columns: 1fr;
  }
  .ns-col-preview {
    display: none;
  }
  .compare-card {
    min-height: 410px;
  }
  #compareStage {
    min-height: 392px;
  }
}

/* ==========================================================================
   EDITORIAL MEMBER CONSOLE (#view-member — 1:1 Manus Member Console Design)
   ========================================================================== */

#view-member.mc-console-zone,
#view-admin.mc-console-zone,
#view-onsite.mc-console-zone {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 0 56px;
}

.mc-card {
  position: relative;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.9), rgba(11, 11, 10, 0.92));
  border: 1px solid rgba(209, 179, 123, 0.2);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 248, 232, 0.05);
  backdrop-filter: blur(18px);
}

.mc-gate-card {
  max-width: 780px;
  margin: 28px auto;
  padding: 44px 48px;
}

.mc-dashboard {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mc-hero-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 8px;
}

.mc-hero-copy {
  max-width: 760px;
}

.mc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber2);
  margin-bottom: 12px;
}

.mc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber2);
  box-shadow: 0 0 10px rgba(231, 215, 180, 0.85);
}

.mc-hero-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mc-hero-title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--amber2);
}

.mc-hero-sub {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
}

.mc-status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 4px;
  background: rgba(16, 16, 15, 0.84);
  border: 1px solid rgba(209, 179, 123, 0.22);
  font-size: 11.5px;
  color: var(--muted);
}

.mc-pill-icon {
  width: 14px;
  height: 14px;
  fill: var(--amber2);
  flex-shrink: 0;
}

.mc-status-pill strong {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber2);
}

.mc-pill-sep {
  color: rgba(209, 179, 123, 0.45);
}

.mc-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mc-action-btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  gap: 8px;
}

.mc-btn-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* 2. KPI 3-COLUMN STRIP */
.mc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mc-kpi-card {
  padding: 20px 24px 22px;
}

.mc-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mc-kpi-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mc-kpi-idx {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  color: rgba(231, 215, 180, 0.46);
}

.mc-kpi-val {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.mc-kpi-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* 3. ASYMMETRIC MIDDLE GRID (02 LICENSE + 03 TRUSTED DEVICES) */
.mc-mid-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.mc-panel-card {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mc-sec-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.mc-sec-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.mc-sec-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

.mc-license-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 5px;
  background: rgba(9, 10, 11, 0.76);
  border: 1px solid rgba(209, 179, 123, 0.26);
  margin-bottom: 16px;
}

.mc-license-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.mc-license-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mc-license-info .license-code {
  font-family: "JetBrains Mono", "Inter", monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  word-break: break-all;
}

.mc-license-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.mc-lic-btn {
  min-height: 34px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  justify-content: center;
  white-space: nowrap;
}

.mc-lock-note {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.mc-lock-svg {
  width: 14px;
  height: 14px;
  fill: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.mc-panel-head-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mc-panel-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.mc-panel-meta-right strong {
  font-weight: 600;
  color: rgba(241, 238, 231, 0.72);
}

.mc-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.mc-device-table {
  width: 100%;
  border-collapse: collapse;
}

.mc-device-table thead th {
  padding: 12px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mc-device-table thead th:last-child,
.mc-device-table tbody td.mc-action-cell {
  text-align: right;
}

.mc-device-table tbody td {
  padding: 14px 10px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.mc-device-table tbody tr:last-child td {
  border-bottom: none;
}

.mc-empty-row {
  text-align: center;
  color: var(--muted);
  padding: 24px 12px !important;
}

.mc-device-cell {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.mc-dev-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid rgba(209, 179, 123, 0.25);
  background: rgba(209, 179, 123, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber2);
  flex-shrink: 0;
}

.mc-dev-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.mc-hwid-cell {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--muted);
}

.mc-os-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-os-cell strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.mc-os-cell span {
  font-size: 11.5px;
  color: var(--muted);
}

.mc-unbind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 4px;
  border: 1px solid rgba(224, 118, 118, 0.42);
  background: rgba(180, 62, 62, 0.1);
  color: #f3b5b5;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mc-unbind-btn:hover {
  background: rgba(204, 72, 72, 0.24);
  border-color: rgba(238, 136, 136, 0.72);
  color: #ffe2e2;
}

.mc-device-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.mc-device-footer strong {
  color: var(--ink);
}

.mc-sync-online {
  color: var(--amber2);
}

/* 4. OFFICIAL DISTRIBUTION (4 EQUAL VERTICAL CARDS) */
.mc-dist-section {
  padding-top: 8px;
}

.mc-dist-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mc-dist-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 6px;
}

.mc-dist-head .mc-sec-desc {
  margin-bottom: 0;
}

.mc-dist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.mc-dist-card {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
}

.mc-dist-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-dist-idx {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mc-dist-icon-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(209, 179, 123, 0.28);
  background: rgba(209, 179, 123, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber2);
  flex-shrink: 0;
}

.mc-dist-icon-ring .os-logo-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.mc-dist-body {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.mc-dist-subkicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.mc-dist-card-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.mc-dist-meta {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.mc-dist-subnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(241, 238, 231, 0.54);
}

.mc-dist-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-dist-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 4px;
  justify-content: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mc-dl-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.mc-dist-footnote {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

/* Light Mode Adaptation for Editorial Member & Admin Console */
body.light-mode .mc-card {
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.94), rgba(240, 234, 223, 0.94));
  border-color: rgba(124, 96, 52, 0.24);
  box-shadow: 0 16px 40px rgba(34, 28, 18, 0.08);
}

body.light-mode .mc-status-pill,
body.light-mode .mc-license-box {
  background: rgba(235, 228, 215, 0.85);
  border-color: rgba(124, 96, 52, 0.25);
}

body.light-mode .mc-hero-title em,
body.light-mode .mc-eyebrow,
body.light-mode .mc-status-pill strong,
body.light-mode .mc-sync-online {
  color: #7b5d2e;
}

body.light-mode .mc-dist-subnote,
body.light-mode .mc-panel-meta-right strong {
  color: #4f4639;
}

/* ==========================================================================
   EDITORIAL ADMIN CONSOLE & MEMBER DIRECTORY (#view-admin)
   ========================================================================== */

.mc-kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.adm-member-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.adm-member-title-group {
  max-width: 640px;
}

.adm-title-with-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.adm-title-with-badge .mc-sec-title {
  margin-bottom: 0;
}

.adm-user-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 4px;
  background: rgba(209, 179, 123, 0.12);
  border: 1px solid rgba(209, 179, 123, 0.32);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber2);
}

.adm-sec-desc-compact {
  margin-bottom: 0;
}

.adm-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.adm-search-box {
  position: relative;
  min-width: 260px;
}

.adm-search-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--muted);
  pointer-events: none;
}

.adm-filter-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px 0 36px !important;
  border-radius: 4px !important;
  background: rgba(12, 12, 11, 0.85) !important;
  border: 1px solid rgba(209, 179, 123, 0.24) !important;
  font-size: 13px !important;
  color: var(--ink) !important;
}

.adm-filter-select {
  min-height: 40px;
  padding: 0 12px !important;
  border-radius: 4px !important;
  background: rgba(12, 12, 11, 0.85) !important;
  border: 1px solid rgba(209, 179, 123, 0.24) !important;
  font-size: 12.5px !important;
  color: var(--ink) !important;
}

#sp-adm-users,
#sp-adm-cloud {
  min-width: 0;
  overflow: hidden;
}

.adm-users-table-wrap,
.adm-cloud-table-wrap {
  overflow-y: auto;
  overflow-x: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 6px;
  background: rgba(4, 10, 22, 0.36);
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.34) rgba(4, 10, 22, 0.35);
}

.adm-users-table-wrap {
  margin-bottom: 0;
  max-height: clamp(340px, 52vh, 520px);
}

.adm-cloud-table-wrap {
  margin-bottom: 14px;
  max-height: 270px;
}

.adm-users-table-wrap::-webkit-scrollbar,
.adm-cloud-table-wrap::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.adm-users-table-wrap::-webkit-scrollbar-track,
.adm-cloud-table-wrap::-webkit-scrollbar-track {
  background: rgba(4, 10, 22, 0.4);
  border-radius: 999px;
}

.adm-users-table-wrap::-webkit-scrollbar-thumb,
.adm-cloud-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(125, 211, 252, 0.32);
  border-radius: 999px;
}

.adm-users-table-wrap::-webkit-scrollbar-thumb:hover,
.adm-cloud-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 211, 252, 0.52);
}

.adm-users-table-wrap::-webkit-scrollbar-corner,
.adm-cloud-table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}

.adm-users-table,
.adm-cloud-table {
  border-collapse: separate;
  border-spacing: 0;
}

.adm-users-table thead th,
.adm-cloud-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(8, 19, 38, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(125, 211, 252, 0.2);
  white-space: nowrap;
}

.adm-users-table thead th,
.adm-users-table tbody td {
  padding: 11px 9px;
}

.adm-cloud-table thead th {
  padding: 10px 8px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.adm-users-table tbody tr,
.adm-cloud-table tbody tr {
  transition: background 0.16s ease;
}

.adm-users-table tbody tr:hover,
.adm-cloud-table tbody tr:hover {
  background: rgba(125, 211, 252, 0.05);
}

.adm-cloud-table tbody td {
  padding: 9px 8px;
  font-size: 12.5px;
  white-space: nowrap;
}

.adm-cloud-table .status-pill {
  padding: 4px 9px;
  font-size: 11.5px;
}

.adm-cloud-table .adm-cloud-remove-btn {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 11px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  border-radius: 4px !important;
}

.adm-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.adm-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  border: 1px solid rgba(209, 179, 123, 0.34);
  background: linear-gradient(180deg, rgba(209, 179, 123, 0.18), rgba(209, 179, 123, 0.06));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber2);
  flex-shrink: 0;
}

.adm-user-avatar.is-admin {
  border-color: rgba(231, 215, 180, 0.65);
  background: linear-gradient(180deg, rgba(231, 215, 180, 0.3), rgba(185, 151, 97, 0.14));
  color: #fff6e0;
}

.adm-user-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.adm-user-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.adm-user-name-row strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.adm-username-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--amber2);
}

.adm-role-chip {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(209, 179, 123, 0.2);
  border: 1px solid rgba(231, 215, 180, 0.45);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber2);
}

.adm-user-contact {
  font-size: 12px;
  color: var(--muted);
}

.adm-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  white-space: nowrap;
}

.adm-plan-badge.adm-plan-extension {
  border-color: rgba(122, 188, 224, 0.38);
  background: rgba(66, 138, 178, 0.14);
  color: #cbe9fa;
}

.adm-plan-badge.adm-plan-plus {
  border-color: rgba(209, 179, 123, 0.45);
  background: rgba(185, 151, 97, 0.16);
  color: var(--amber2);
}

.adm-plan-badge.adm-plan-pro {
  border-color: rgba(231, 215, 180, 0.65);
  background: linear-gradient(135deg, rgba(209, 179, 123, 0.28), rgba(145, 110, 56, 0.22));
  color: #fff4d8;
}

.adm-expiry-cell,
.adm-device-status-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm-expiry-cell strong,
.adm-hwid-ratio {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.adm-expiry-cell span {
  font-size: 11.5px;
  color: var(--muted);
}

.adm-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
}

.adm-status-chip.is-active {
  color: #a8e5be;
}

.adm-status-chip.is-locked {
  color: #f3b5b5;
}

.adm-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.adm-user-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 445px;
  margin-left: auto;
}

.adm-row-select {
  min-height: 32px !important;
  padding: 0 9px !important;
  border-radius: 4px !important;
  background: rgba(12, 12, 11, 0.88) !important;
  border: 1px solid rgba(209, 179, 123, 0.28) !important;
  font-size: 12px !important;
  color: var(--ink) !important;
}

.adm-days-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(209, 179, 123, 0.2);
}

.adm-row-days-input {
  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  flex: 0 0 56px !important;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 4px !important;
  border-radius: 4px !important;
  background: rgba(12, 12, 11, 0.92) !important;
  border: 1px solid rgba(209, 179, 123, 0.32) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--amber2) !important;
  text-align: center !important;
}

.adm-row-days-input:focus {
  outline: none !important;
  border-color: rgba(231, 215, 180, 0.75) !important;
}

.adm-days-unit {
  font-size: 11px;
  color: var(--muted);
  padding-right: 2px;
  user-select: none;
}

.adm-act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.adm-act-btn:hover {
  background: rgba(209, 179, 123, 0.15);
  border-color: rgba(209, 179, 123, 0.45);
}

.adm-act-btn.adm-act-primary {
  border-color: rgba(209, 179, 123, 0.48);
  background: rgba(185, 151, 97, 0.2);
  color: var(--amber2);
}

.adm-act-btn.adm-act-primary:hover {
  background: rgba(185, 151, 97, 0.34);
  border-color: rgba(231, 215, 180, 0.75);
  color: #fff6e0;
}

.adm-act-btn.adm-act-danger {
  border-color: rgba(224, 118, 118, 0.38);
  background: rgba(180, 62, 62, 0.1);
  color: #f3b5b5;
}

.adm-act-btn.adm-act-danger:hover {
  background: rgba(204, 72, 72, 0.24);
  border-color: rgba(238, 136, 136, 0.7);
  color: #ffe2e2;
}

.adm-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

#sp-adm-cloud > .mc-sec-kicker,
#sp-adm-cloud > .mc-sec-title,
#sp-adm-cloud > .mc-sec-desc,
#sp-adm-cloud > #admCloudKeysForm {
  flex-shrink: 0;
}

#admCloudKeysForm {
  margin-top: auto;
}

#admCloudKeysForm .form-field {
  margin-bottom: 0;
}

#admCloudKeysTextarea {
  min-height: 88px;
  max-height: 148px;
}

@media (min-width: 1121px) {
  #sp-adm-cloud {
    height: 0;
    min-height: 100%;
  }

  #sp-adm-cloud .adm-cloud-table-wrap {
    flex: 1 1 0;
    min-height: 160px;
    max-height: none;
  }
}

.adm-editorial-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.adm-editorial-form .portal-input,
.adm-editorial-form .portal-select,
.adm-editorial-form .portal-textarea,
.adm-webhook-row .portal-input {
  border-radius: 4px !important;
  background: rgba(12, 12, 11, 0.84) !important;
  border: 1px solid rgba(209, 179, 123, 0.24) !important;
  color: var(--ink) !important;
}

.adm-inline-btn {
  flex-shrink: 0;
}

body.light-mode .adm-filter-input,
body.light-mode .adm-filter-select,
body.light-mode .adm-row-select,
body.light-mode .adm-row-days-input,
body.light-mode .adm-editorial-form .portal-input,
body.light-mode .adm-editorial-form .portal-select,
body.light-mode .adm-editorial-form .portal-textarea,
body.light-mode .adm-webhook-row .portal-input {
  background: rgba(255, 252, 246, 0.92) !important;
  border-color: rgba(124, 96, 52, 0.28) !important;
  color: #1f1b16 !important;
}

body.light-mode .adm-user-count-pill,
body.light-mode .adm-username-handle,
body.light-mode .adm-plan-badge.adm-plan-plus,
body.light-mode .adm-plan-badge.adm-plan-pro {
  color: #6e5023;
}

body.light-mode .adm-users-table-wrap,
body.light-mode .adm-cloud-table-wrap {
  border-color: rgba(124, 96, 52, 0.24);
  background: rgba(255, 252, 246, 0.68);
  scrollbar-color: rgba(124, 96, 52, 0.36) rgba(235, 228, 215, 0.6);
}

body.light-mode .adm-users-table-wrap::-webkit-scrollbar-track,
body.light-mode .adm-cloud-table-wrap::-webkit-scrollbar-track {
  background: rgba(235, 228, 215, 0.65);
}

body.light-mode .adm-users-table-wrap::-webkit-scrollbar-thumb,
body.light-mode .adm-cloud-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(124, 96, 52, 0.34);
}

body.light-mode .adm-users-table-wrap::-webkit-scrollbar-thumb:hover,
body.light-mode .adm-cloud-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 96, 52, 0.54);
}

body.light-mode .adm-users-table thead th,
body.light-mode .adm-cloud-table thead th {
  background: rgba(246, 241, 232, 0.97);
  border-bottom-color: rgba(124, 96, 52, 0.22);
}

body.light-mode .adm-users-table tbody tr:hover,
body.light-mode .adm-cloud-table tbody tr:hover {
  background: rgba(124, 96, 52, 0.06);
}

body.light-mode .adm-act-btn.adm-act-danger {
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

body.light-mode .adm-act-btn.adm-act-danger:hover {
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(185, 28, 28, 0.6);
  color: #991b1b;
}

body.light-mode .adm-cloud-table .adm-cloud-remove-btn {
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 1120px) {
  .mc-mid-grid,
  .adm-two-col-grid {
    grid-template-columns: 1fr;
  }
  .mc-dist-grid,
  .mc-kpi-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-member-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  #view-member.mc-console-zone,
  #view-admin.mc-console-zone {
    padding: 94px 0 64px;
  }
  .mc-hero-head,
  .mc-dist-head,
  .mc-panel-head-split,
  .mc-license-box,
  .mc-device-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .mc-panel-meta-right {
    align-items: flex-start;
    text-align: left;
  }
  .mc-kpi-grid,
  .mc-kpi-grid-4,
  .mc-dist-grid {
    grid-template-columns: 1fr;
  }
  .mc-hero-actions,
  .mc-license-actions,
  .adm-filter-bar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .adm-search-box {
    min-width: 0;
    width: 100%;
  }
  .adm-filter-select {
    width: 100%;
  }
  .mc-panel-card {
    padding: 20px 16px;
  }
  .mc-action-btn,
  .mc-lic-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PRICING COMPARISON MATRIX — 5-COLUMN GRID WITH ✓ / ✕ VISUAL BADGES
   ========================================================================== */

#sp-pricing-matrix.matrix-card {
  padding: 28px 30px;
  border-radius: 18px;
  border: 1px solid rgba(209, 179, 123, 0.24);
  background: linear-gradient(180deg, rgba(16, 17, 22, 0.94) 0%, rgba(11, 12, 16, 0.96) 100%);
  box-shadow: 0 28px 64px -22px rgba(0, 0, 0, 0.72);
}

.matrix-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-header-bar .card-h3 {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.matrix-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.matrix-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 12, 18, 0.72);
}

.pricing-matrix-table thead tr {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pricing-matrix-table th,
.pricing-matrix-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  border-right: 1px solid rgba(255, 255, 255, 0.085);
  vertical-align: middle;
}

.pricing-matrix-table th:last-child,
.pricing-matrix-table td:last-child {
  border-right: none;
}

.pricing-matrix-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-matrix-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.pricing-matrix-table tbody tr:hover {
  background: rgba(209, 179, 123, 0.06);
}

.pricing-matrix-table th.matrix-col-feature {
  width: 31%;
  min-width: 250px;
  text-align: left;
  padding: 18px 20px;
}

.pricing-matrix-table th.matrix-col-plan {
  width: 17.25%;
  min-width: 165px;
  text-align: left;
  padding: 16px 16px;
}

.matrix-col-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.matrix-col-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
}

.matrix-col-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(236, 231, 222, 0.58);
}

.matrix-col-price {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #fde68a;
}

.matrix-col-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b0d14;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  margin-bottom: 2px;
}

.matrix-col-chip.is-pro-chip {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.42);
}

.pricing-matrix-table th.is-featured-col,
.pricing-matrix-table td.is-featured-col {
  background: rgba(245, 158, 11, 0.065);
  border-left: 1px solid rgba(245, 158, 11, 0.28);
  border-right: 1px solid rgba(245, 158, 11, 0.28);
}

.pricing-matrix-table th.is-pro-col,
.pricing-matrix-table td.is-pro-col {
  background: rgba(56, 189, 248, 0.028);
}

.matrix-feature-cell {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
  padding-left: 20px !important;
}

.matrix-plan-cell {
  padding: 13px 15px !important;
}

.matrix-cell-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.38;
}

.matrix-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.matrix-mark-yes {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.52);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.matrix-mark-no {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.42);
  color: #f87171;
}

.matrix-cell-badge.is-yes .matrix-cell-text {
  color: #f8fafc;
  font-weight: 600;
}

.matrix-plan-cell.is-featured-col .matrix-cell-badge.is-yes .matrix-cell-text {
  color: #fde68a;
  font-weight: 700;
}

.matrix-cell-badge.is-no .matrix-cell-text {
  color: rgba(226, 232, 240, 0.46);
  font-weight: 500;
}

body.light-mode #sp-pricing-matrix.matrix-card {
  background: rgba(255, 252, 246, 0.96);
  border-color: rgba(124, 96, 52, 0.25);
}

body.light-mode .pricing-matrix-table {
  background: #fffdf9;
  border-color: rgba(124, 96, 52, 0.22);
}

body.light-mode .pricing-matrix-table th,
body.light-mode .pricing-matrix-table td {
  border-color: rgba(124, 96, 52, 0.16);
}

body.light-mode .matrix-col-title,
body.light-mode .matrix-feature-cell,
body.light-mode .matrix-cell-badge.is-yes .matrix-cell-text {
  color: #1f1b16;
}

body.light-mode .matrix-col-price,
body.light-mode .matrix-plan-cell.is-featured-col .matrix-cell-badge.is-yes .matrix-cell-text {
  color: #8b5e1a;
}

body.light-mode .matrix-cell-badge.is-no .matrix-cell-text {
  color: rgba(31, 27, 22, 0.46);
}

/* ==========================================================================
   ZALO SUPPORT GROUP TAB IN TOPBAR & MEMBER CONSOLE
   ========================================================================== */

.main-nav .nav-zalo-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(0, 104, 255, 0.12);
  color: #e2f1ff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.main-nav .nav-zalo-tab:hover {
  background: rgba(0, 104, 255, 0.24);
  border-color: rgba(96, 165, 250, 0.65);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-zalo-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 4px;
}

.mc-zalo-btn {
  border-color: rgba(56, 189, 248, 0.34) !important;
  background: rgba(0, 104, 255, 0.11) !important;
}

.mc-zalo-btn:hover {
  border-color: rgba(96, 165, 250, 0.72) !important;
  background: rgba(0, 104, 255, 0.22) !important;
}

body.light-mode .main-nav .nav-zalo-tab {
  background: rgba(0, 104, 255, 0.1);
  border-color: rgba(0, 104, 255, 0.32);
  color: #0b3b8c;
}

body.light-mode .main-nav .nav-zalo-tab:hover {
  background: rgba(0, 104, 255, 0.18);
  color: #062863;
}

.main-nav .nav-ext-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  background: rgba(234, 88, 12, 0.14);
  color: #ffedd5;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.main-nav .nav-ext-tab:hover {
  background: rgba(234, 88, 12, 0.26);
  border-color: rgba(251, 146, 60, 0.72);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-ext-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 4px;
}

body.light-mode .main-nav .nav-ext-tab {
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.34);
  color: #9a3412;
}

body.light-mode .main-nav .nav-ext-tab:hover {
  background: rgba(234, 88, 12, 0.18);
  color: #7c2d12;
}

/* ==========================================================================
   ADMIN-ONLY REAL-TIME ONSITE RADAR TAB & GA4 REALTIME OVERVIEW (#view-onsite)
   ========================================================================== */

.main-nav .nav-onsite-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.36);
  background: rgba(16, 185, 129, 0.12);
  color: #d1fae5;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.main-nav .nav-onsite-tab.hidden {
  display: none !important;
}

.main-nav .nav-onsite-tab:hover,
.main-nav .nav-onsite-tab.active,
.main-nav .nav-onsite-tab.is-active {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.72);
  color: #ffffff;
  transform: translateY(-1px);
}

.onsite-nav-dot,
.onsite-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
  display: inline-block;
  flex-shrink: 0;
  animation: onsitePulseDot 1.8s ease-in-out infinite;
}

@keyframes onsitePulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.84);
  }
}

.onsite-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: #ecfdf5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* GA4 Realtime Dashboard Container */
.ga-rt-dashboard {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 1. Minimalist GA4 Top Header Bar */
.ga-rt-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(15, 17, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.ga-rt-title-cluster,
.ga-rt-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ga-rt-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ga-rt-live-pill,
.ga-rt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#view-onsite .ga-rt-heading,
.ga-rt-page-title {
  margin: 0 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
}

.ga-rt-subtitle,
.ga-rt-sync-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-rt-sync-meta strong {
  color: #a7f3d0;
  font-weight: 600;
}

.ga-rt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ga-rt-select {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
}

.ga-rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.ga-rt-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ga-rt-auto-btn,
.onsite-auto-btn {
  border-color: rgba(52, 211, 153, 0.36) !important;
  background: rgba(16, 185, 129, 0.11) !important;
  color: #d1fae5 !important;
}

.ga-rt-auto-btn:not(.active),
.onsite-auto-btn:not(.active) {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--muted) !important;
}

.ga-rt-auto-btn:not(.active) .onsite-live-dot,
.onsite-auto-btn:not(.active) .onsite-live-dot {
  background: #9ca3af;
  box-shadow: none;
  animation: none;
}

/* 2. GA4 Realtime Hero Grid (Left 360px Primary Card + Right 2-Col Analytics Cards) */
.ga-rt-hero-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.ga-rt-card {
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(15, 17, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
}

.ga-rt-primary-card {
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.08), rgba(14, 16, 21, 0.95) 45%);
  border-color: rgba(52, 211, 153, 0.25);
  justify-content: space-between;
}

.ga-rt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.ga-rt-card-kicker,
.ga-rt-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ga-rt-big-metric {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #34d399;
  margin: 4px 0 4px;
  font-variant-numeric: tabular-nums;
}

.ga-rt-metric-caption {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.ga-rt-mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.ga-rt-mini-item,
.ga-rt-mini-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ga-rt-mini-label {
  font-size: 11.5px;
  color: var(--muted);
}

.ga-rt-mini-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ga-rt-mini-val.is-emerald {
  color: #34d399;
}

.ga-rt-mini-val.is-amber {
  color: #fbbf24;
}

.ga-rt-mini-val.is-sky {
  color: #38bdf8;
}

/* GA4 30-Minute Vertical Bar Chart */
.ga-rt-chart-block,
.ga-rt-minute-section {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
}

.ga-rt-chart-head,
.ga-rt-minute-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ga-rt-chart-head strong,
.ga-rt-minute-peak {
  color: #6ee7b7;
  font-weight: 600;
  text-transform: none;
}

.ga-rt-minute-chart-wrap {
  height: 68px;
  padding: 2px 0;
}

.ga-rt-minute-svg {
  width: 100%;
  height: 64px;
  display: block;
}

.ga-chart-baseline {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.ga-bar-live {
  fill: #34d399;
}

.ga-bar-active {
  fill: #38bdf8;
}

.ga-bar-idle {
  fill: rgba(255, 255, 255, 0.09);
}

.ga-rt-chart-axis,
.ga-rt-minute-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #6b7280;
  margin-top: 4px;
}

/* GA4 Device Split Footer */
.ga-rt-device-split {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ga-rt-device-legend,
.ga-rt-device-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.ga-rt-dev-chip,
.ga-rt-device-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 11.5px;
  color: var(--ink);
}

.ga-rt-dot,
.ga-dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ga-rt-dot.is-web,
.ga-dev-dot.is-web {
  background: #38bdf8;
}

.ga-rt-dot.is-pc,
.ga-dev-dot.is-pc {
  background: #f59e0b;
}

/* Right 2-Column Secondary Analytics Grid */
.ga-rt-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ga-rt-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9ca3af;
  text-transform: uppercase;
}

.ga-rt-subtable-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 14px 0 12px;
}

/* GA4 Horizontal Progress-Bar List */
.ga-rt-bars-container,
.ga-rt-bar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ga-rt-bar-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px;
}

.ga-rt-bar-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ga-hbar-track {
  fill: transparent;
}

.ga-hbar-emerald,
.ga-rt-bar-fill.is-emerald {
  fill: rgba(16, 185, 129, 0.17);
}

.ga-hbar-blue,
.ga-rt-bar-fill.is-blue {
  fill: rgba(56, 189, 248, 0.17);
}

.ga-hbar-amber,
.ga-rt-bar-fill.is-amber {
  fill: rgba(245, 158, 11, 0.18);
}

.ga-rt-bar-label {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ga-rt-bar-val {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* GA4 Compact Sessions Table */
.ga-rt-sessions-scroll,
.ga-rt-compact-table-wrap {
  max-height: 210px;
  overflow-y: auto;
}

.ga-rt-compact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ga-rt-compact-table th {
  text-align: left;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ga-rt-compact-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

.ga-rt-session-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.ga-rt-session-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

.ga-rt-zone-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ga-rt-zone-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #e5e7eb;
}

.ga-rt-ch-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.ga-rt-ch-tag.is-pc {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
}

.ga-rt-ch-tag.is-web {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.ga-rt-time-cell {
  white-space: nowrap;
  font-size: 11.5px;
  color: #6ee7b7;
  font-weight: 600;
}

/* GA4 Compact Stream List */
.onsite-feed-list,
.ga-rt-feed-list,
.ga-rt-stream-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 2px;
}

.onsite-feed-item,
.ga-rt-stream-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.onsite-feed-dot,
.ga-rt-stream-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: #34d399;
}

.onsite-feed-item.is-payment .onsite-feed-dot,
.ga-rt-stream-item.is-payment .ga-rt-stream-dot {
  background: #f59e0b;
}

.onsite-feed-item.is-device .onsite-feed-dot,
.ga-rt-stream-item.is-device .ga-rt-stream-dot {
  background: #38bdf8;
}

.onsite-feed-body,
.ga-rt-stream-body {
  flex: 1;
  min-width: 0;
}

.onsite-feed-top,
.ga-rt-stream-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.onsite-feed-top strong,
.ga-rt-stream-top strong {
  color: var(--ink);
  font-weight: 600;
}

.onsite-feed-time,
.ga-rt-stream-top span {
  color: #6b7280;
  font-size: 11px;
  white-space: nowrap;
}

.onsite-feed-desc,
.ga-rt-stream-desc {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. Bottom Clean Member Directory Table (.ga-rt-members-card) */
.ga-rt-members-toolbar,
.ga-rt-members-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ga-rt-members-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

#view-onsite .ga-rt-section-title {
  margin: 0 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--ink) !important;
}

.ga-rt-ratio-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 600;
}

.ga-rt-filter-row,
.ga-rt-members-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ga-rt-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ga-rt-search-icon {
  position: absolute;
  left: 11px;
  width: 15px !important;
  height: 15px !important;
  fill: #6b7280;
  pointer-events: none;
  flex-shrink: 0;
}

.ga-rt-search-input {
  height: 36px;
  min-width: 240px;
  padding: 0 12px 0 34px !important;
  border-radius: 8px;
  font-size: 12.5px;
}

.ga-rt-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.ga-rt-members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.ga-rt-members-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.ga-rt-members-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  vertical-align: middle;
}

.ga-row-online,
.onsite-row-online {
  background: rgba(16, 185, 129, 0.04);
}

.ga-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ga-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.ga-user-avatar.is-online {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
}

.ga-user-meta,
.ga-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ga-user-handle-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ga-user-handle {
  font-weight: 600;
  color: var(--ink);
}

.ga-admin-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(216, 179, 106, 0.18);
  border: 1px solid rgba(216, 179, 106, 0.42);
  color: #f3d79b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ga-user-email,
.ga-user-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.ga-stack-tight {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ga-sub-muted,
.ga-status-sub {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
}

.ga-dev-title,
.ga-device-line {
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}

.ga-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ga-status-offline {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.ga-zone-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ga-ch-badge,
.onsite-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ga-ch-badge.is-pc,
.onsite-channel-pill.is-pc {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.ga-ch-badge.is-web,
.onsite-channel-pill.is-web {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.ga-ch-badge.is-idle,
.onsite-channel-pill.is-idle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7280;
}

.onsite-zone-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.onsite-guest-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(216, 179, 106, 0.14);
  border: 1px solid rgba(216, 179, 106, 0.32);
  color: #ebd098;
  font-size: 11px;
  font-weight: 600;
}

.ga-zone-name {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}

.ga-ip-sub {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.ga-plan-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

.ga-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .ga-rt-hero-grid {
    grid-template-columns: 1fr;
  }
  .ga-rt-secondary-grid {
    grid-template-columns: 1fr;
  }
}

body.light-mode .main-nav .nav-onsite-tab {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(5, 150, 105, 0.35);
  color: #065f46;
}

body.light-mode .onsite-nav-count {
  background: rgba(5, 150, 105, 0.16);
  color: #064e3b;
}

body.light-mode .ga-rt-topbar,
body.light-mode .ga-rt-card {
  background: rgba(255, 252, 246, 0.94);
  border-color: rgba(31, 27, 22, 0.12);
}

body.light-mode .ga-rt-big-metric {
  color: #059669;
}
