/* Standalone login styles shared by the room and platform consoles. */
.admin-auth{--auth-primary:#2561eb;--auth-ink:#162440;--auth-muted:#6e7c94;--auth-line:#e3e9f2;margin:0;min-height:100vh;min-height:100dvh;color:var(--auth-ink);background:radial-gradient(ellipse at 4% 0%,#eaf2ff 0,transparent 40%),radial-gradient(ellipse at 100% 100%,#eaf2ff 0,transparent 40%),#f6f8fc;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.admin-auth *,.admin-auth *::before,.admin-auth *::after{box-sizing:border-box}
.admin-auth [hidden]{display:none!important}
.admin-auth button,.admin-auth input{font:inherit;-webkit-tap-highlight-color:transparent}
.admin-auth button{cursor:pointer}
.admin-auth :is(button,input):focus-visible{outline:3px solid #96b6ff;outline-offset:3px}
.auth-symbols{position:absolute;width:0;height:0;overflow:hidden}
.auth-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.auth-page{width:min(1120px,calc(100% - 80px));min-height:100vh;min-height:100dvh;margin:auto;display:flex;flex-direction:column;justify-content:center;padding:32px 0}
.auth-brandbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 2px;margin-bottom:30px}
.auth-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:750}
.auth-brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#417dff,#2055d8);box-shadow:0 4px 12px #2561eb20}
.auth-brand-divider{height:18px;width:1px;background:#d5deec;margin:0 2px}
.auth-brand-role{color:#728097;font-size:14px;font-weight:500}
.auth-brand-caption{display:inline-flex;align-items:center;gap:7px;color:#8290a6;font-size:13px}
.auth-brand-caption .auth-icon{width:17px;height:17px}
.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:654px;overflow:hidden;border:1px solid #fff;border-radius:24px;background:#fff;box-shadow:0 24px 75px #18365e0a,0 2px 8px #18365e03}
.auth-intro{position:relative;display:flex;align-items:center;padding:46px 46px 38px;background:linear-gradient(145deg,#eef4ff 0%,#f2f6fe 58%,#e9f1ff 100%);overflow:hidden}
.auth-intro::after{content:"";position:absolute;width:340px;height:340px;border:1px solid #dce7fb;border-radius:50%;bottom:-215px;left:-110px;box-shadow:0 0 0 40px #ffffff35,0 0 0 80px #ffffff30;pointer-events:none}
.auth-intro-content{width:100%;position:relative;z-index:1}
.auth-eyebrow{display:flex;gap:9px;align-items:center;color:#5175b9;font-size:11px;letter-spacing:2px;font-weight:700}
.auth-eyebrow>span{width:7px;height:7px;border-radius:2px;background:#4f7fe1}
.auth-intro h1{margin:18px 0 14px;font-size:44px;font-weight:750;line-height:1.25;letter-spacing:-1px}
.auth-intro h1>span{display:block;margin-top:10px;color:#42629b;font-size:29px;font-weight:600;letter-spacing:0;line-height:1.5}
.auth-description{margin:0;color:#7786a0;font-size:14px;line-height:1.8}
.auth-scene{position:relative;height:288px;margin-top:20px;padding-top:24px}
.auth-scene-dots{position:absolute;width:98px;height:100px;top:5px;right:0;background-image:radial-gradient(#b6c9eb 1.5px,transparent 1.5px);background-size:12px 12px;opacity:.65}
.auth-mini-window{position:relative;width:calc(100% - 16px);height:220px;border:1px solid #fff;background:#fff;border-radius:13px;box-shadow:0 18px 35px #4268ab13,0 0 0 1px #d9e5fb75;overflow:hidden;transform:rotate(-2deg)}
.auth-mini-toolbar{height:29px;display:flex;align-items:center;gap:5px;padding:0 12px;border-bottom:1px solid #eef2f9;background:#fbfcff}
.auth-mini-toolbar>span{width:5px;height:5px;border-radius:50%;background:#d3deed}
.auth-mini-toolbar>span:first-child{background:#a3bce9}
.auth-mini-toolbar>i{width:65px;height:5px;border-radius:3px;background:#e6ecf6;margin-left:auto}
.auth-mini-content{display:flex;height:calc(100% - 29px)}
.auth-mini-sidebar{width:48px;display:flex;flex-direction:column;align-items:center;gap:18px;padding-top:14px;background:#f5f8fe;border-right:1px solid #eef2f9;color:#9caecc}
.auth-mini-sidebar .auth-icon{width:15px;height:15px}
.auth-mini-sidebar b{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;color:#fff;background:#3874ee;margin-bottom:1px}
.auth-mini-main{flex:1;padding:17px 18px;min-width:0}
.auth-mini-title{display:flex;align-items:center;justify-content:space-between;color:#52698b;font-size:12px;font-weight:700}
.auth-mini-title span{color:#b6c4d8;font-size:7px;font-weight:500;letter-spacing:1px}
.auth-mini-modules{display:flex;gap:9px;margin-top:15px}
.auth-mini-modules>div{flex:1;min-width:0;padding:10px 4px;text-align:center;color:#6086c9;background:#f0f5ff;border-radius:7px}
.auth-mini-modules>div:nth-child(2){background:#f0f8fa;color:#5b9ea9}
.auth-mini-modules>div:nth-child(3){background:#f5f3ff;color:#8d80b9}
.auth-mini-modules .auth-icon{width:20px;height:20px}
.auth-mini-modules span{display:block;margin-top:5px;font-size:9px;font-weight:600}
.auth-mini-rows{display:grid;gap:7px;margin-top:15px}
.auth-mini-rows>div{display:flex;align-items:center;gap:8px}
.auth-mini-rows b{width:10px;height:10px;border-radius:3px;background:#e9effa}
.auth-mini-rows i{width:52%;height:4px;border-radius:3px;background:#edf1f8}
.auth-mini-rows>div:nth-child(2) i{width:40%}
.auth-mini-rows>div:nth-child(3) i{width:46%}
.auth-mini-rows span{width:22px;height:4px;border-radius:3px;background:#e4edfc;margin-left:auto}
.auth-scene-badge{position:absolute;right:-8px;bottom:16px;display:flex;align-items:center;gap:11px;border:1px solid #fff;padding:12px 17px 12px 12px;border-radius:12px;background:#ffffffed;box-shadow:0 10px 30px #3b66a51a;color:#506480}
.auth-scene-badge>.auth-icon:first-child{width:36px;height:36px;padding:8px;border-radius:10px;color:#3974ec;background:#edf4ff}
.auth-scene-badge>.auth-icon:last-child{width:16px;height:16px;margin-left:12px;color:#5b9c89}
.auth-scene-badge>span{font-size:12px;font-weight:650}
.auth-scene-badge small{display:block;color:#9aa7ba;font-size:9px;font-weight:400}
.auth-feature-list{display:flex;flex-wrap:wrap;gap:10px 20px;margin:5px 0 0;padding:0;list-style:none;color:#7183a1;font-size:12px}
.auth-feature-list li{display:flex;align-items:center;gap:5px}
.auth-feature-list .auth-icon{width:15px;height:15px;color:#7194d0}
.auth-form-panel{display:flex;align-items:center;padding:48px 58px}
.auth-form-content{width:100%}
.auth-form-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.auth-form-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e5edfd;border-radius:13px;color:#3974ec;background:#f3f7ff}
.auth-form-mark .auth-icon{width:23px;height:23px}
.auth-access-tag{padding:4px 10px;border:1px solid #e6ecf5;border-radius:5px;color:#7d8ca4;font-size:11px}
.auth-form-panel h2{margin:21px 0 4px;font-size:28px;line-height:1.45;font-weight:750;letter-spacing:.3px}
.auth-form-subtitle{margin:0 0 28px;color:#8b97aa;font-size:14px}
.auth-field{margin-bottom:21px}
.auth-field>label{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin-bottom:9px;color:#344461;font-size:14px;font-weight:650}
.auth-label-note{color:#96a0b3;font-size:12px;font-weight:400}
.auth-otp-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:7px 13px;border:1px solid #dce6fb;border-radius:8px;color:#3567c7;background:#f3f7ff;font-size:14px!important;font-weight:600!important}
.auth-otp-toggle:hover{background:#eaf1ff}
.auth-otp-toggle .auth-icon{width:18px;height:18px}
.auth-otp-toggle [data-otp-indicator]{margin-left:8px}
.auth-otp-panel{margin-top:12px}
.auth-otp-panel>label{display:block;margin-bottom:9px;color:#344461;font-size:14px;font-weight:650}
.auth-input-wrap{position:relative;display:flex;align-items:center}
.auth-input-wrap>.auth-icon{position:absolute;left:15px;width:19px;height:19px;color:#9eabc0;pointer-events:none;transition:color .15s}
.auth-input-wrap input{display:block;width:100%;min-width:0;height:50px;padding:0 14px 0 45px;border:1px solid #dfe6f0;border-radius:9px;color:#233650;background:#fafbfd;font-size:16px;line-height:normal;box-shadow:0 1px 2px #132c4f02;transition:border-color .15s,box-shadow .15s,background .15s}
.auth-input-wrap input::placeholder{color:#a2aec1;font-size:14px;opacity:1}
.auth-input-wrap input:focus{outline:none;border-color:#5786ee;background:#fff;box-shadow:0 0 0 3px #2561eb0e}
.auth-input-wrap:focus-within>.auth-icon{color:#4b7bdd}
.auth-password input{padding-right:65px}
.auth-reveal{position:absolute;right:5px;height:36px;padding:0 11px;border:0;border-radius:6px;color:#6882ad;background:transparent;font-size:12px!important;font-weight:500!important}
.auth-reveal:hover{background:#edf3ff;color:#2561eb}
.auth-caps-warning{margin:6px 0 0;color:#a66a15;font-size:12px}
.auth-remember{display:inline-flex;align-items:center;gap:8px;margin:-1px 0 23px;color:#75839a;font-size:13px;cursor:pointer}
.auth-remember input{width:16px;height:16px;margin:0;accent-color:var(--auth-primary)}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:50px;border:1px solid #2561eb;border-radius:9px;color:#fff;background:#2561eb;box-shadow:0 5px 12px #2561eb1b;font-size:16px!important;font-weight:650!important;transition:background .15s,box-shadow .15s}
.auth-submit:hover{background:#1c54d8;box-shadow:0 7px 18px #2561eb28}
.auth-submit-arrow{width:18px;height:18px}
.auth-submit:disabled{cursor:wait;background:#5180ee;border-color:#5180ee;box-shadow:none}
.auth-spinner{display:none;width:17px;height:17px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:auth-spin .7s linear infinite}
[data-auth-form][aria-busy="true"] .auth-spinner{display:inline-block}
[data-auth-form][aria-busy="true"] .auth-submit-arrow{display:none}
.auth-note{display:flex;align-items:flex-start;justify-content:center;gap:5px;margin:20px 0 0;color:#96a1b3;font-size:11px;line-height:1.7;text-align:center}
.auth-note .auth-icon{width:14px;height:14px;margin-top:2px}
.auth-alert{display:flex;align-items:flex-start;gap:8px;padding:11px 12px;margin-bottom:20px;border:1px solid #f4d5d5;border-radius:8px;background:#fff6f6;color:#b64444;font-size:13px;overflow-wrap:anywhere}
.auth-alert .auth-icon{width:17px;height:17px;margin-top:2px}
.auth-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:24px;padding:0 2px;color:#9ca8ba;font-size:11px}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(min-width:761px) and (max-height:780px){.auth-page{padding:24px 0}.auth-brandbar{margin-bottom:20px}.auth-shell{min-height:610px}.auth-form-panel{padding-top:32px;padding-bottom:32px}.auth-footer{margin-top:18px}}
@media(max-width:1050px){.auth-page{width:calc(100% - 48px)}.auth-intro{padding:36px}.auth-form-panel{padding:40px}.auth-intro h1{font-size:40px}.auth-intro h1>span{font-size:25px}.auth-feature-list{gap:9px 12px}}
@media(max-width:850px){.auth-intro{padding:30px}.auth-form-panel{padding:32px}.auth-intro h1>span{font-size:22px}.auth-description{font-size:13px}.auth-mini-main{padding:17px 12px}.auth-mini-modules{gap:6px}}
@media(max-width:760px){.auth-page{width:min(480px,calc(100% - 40px));padding:30px 0}.auth-brandbar{margin-bottom:25px}.auth-brand{gap:10px;font-size:18px}.auth-brand-caption{display:none}.auth-shell{display:block;min-height:0;border-radius:20px}.auth-intro{display:none}.auth-form-panel{padding:32px}.auth-form-panel h2{margin-top:19px}.auth-form-subtitle{margin-bottom:28px}.auth-footer{justify-content:center;text-align:center}.auth-footer>span:last-child{display:none}}
@media(max-width:360px){.auth-page{width:calc(100% - 28px);padding:20px 0}.auth-form-panel{padding:26px 22px}.auth-brand-role{font-size:12px}.auth-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.admin-auth *,.admin-auth *::before,.admin-auth *::after{transition:none!important;animation:none!important}}
.auth-loading-screen[hidden]{display:none!important}
.auth-loading-screen{position:fixed;inset:0;z-index:10000;display:grid;align-content:center;justify-items:center;gap:11px;padding:24px;background:#f6f8fceF;color:#26364c}
.auth-loading-screen>span:last-child{color:#748196;font-size:13px}
.auth-loading-spinner{width:38px;height:38px;border:3px solid #dbe6fb;border-top-color:#3976e8;border-radius:50%;animation:auth-spin .75s linear infinite}
@media(prefers-reduced-motion:reduce){.auth-loading-spinner{animation:none}}


/* Login subset of the existing OFL-1.1 Noto Sans SC Regular.
   License: ../fonts/noto-sans-sc/OFL.txt. Rebuild: tools/build-login-assets.py. */
@font-face {font-family:'Noto Sans SC';font-style:normal;font-weight:400;font-display:swap;
src:url(../fonts/noto-sans-sc/noto-sans-sc-login-2720907727c8.woff2) format('woff2');}
/* Self-hosted Noto Sans SC Regular, OFL-1.1; see ../fonts/noto-sans-sc/OFL.txt. */
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) {
 --apple-font: "Noto Sans SC", sans-serif; --admin-nav-font: "Noto Sans SC", sans-serif;
 font-family: "Noto Sans SC", sans-serif !important; font-weight:400 !important; font-synthesis:none;
}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) :is(p,div,span,a,li,td,th,dt,dd,label,button,input,select,textarea,optgroup,option,output,small,strong,b,h1,h2,h3,h4,h5,h6,legend,summary,table,caption) {
 font-family: "Noto Sans SC", sans-serif !important; font-weight:400 !important; font-synthesis:none;
}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) *:not(.fa):not(.glyphicon):not(.ion):not(.iconfont) {font-weight:400 !important;font-synthesis:none;}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) :is(input,textarea)::placeholder {font-family:"Noto Sans SC",sans-serif !important;font-weight:400 !important;}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) :is(td,.amount,.agent-metric strong,.review-totals strong,.record-card b,output,.report-summary strong,.summary-grid strong) {font-variant-numeric:tabular-nums lining-nums;}
/* Preserve icon glyphs. */
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) .fa {font-family:FontAwesome !important;}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) .glyphicon {font-family:"Glyphicons Halflings" !important;}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) .ion {font-family:Ionicons !important;}
html body:is(.admin-workspace,.platform-workspace,.room-admin-login,.platform-admin-auth) .iconfont {font-family:iconfont !important;}

