:root{color-scheme:light;--ink:#172b4d;--ink-soft:#526580;--deep:#2563eb;--deep-2:#1d4ed8;--mint:#dceaff;--mint-2:#eff6ff;--paper:#f5f8ff;--surface:#fff;--line:#dfe7f2;--danger:#b4443e;--warn:#9a6428;--shadow:0 18px 44px rgba(35,73,137,.08);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}*{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;background:radial-gradient(ellipse at 85% 0,rgba(109,166,255,.09),transparent 48%),var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--deep);text-decoration:none}a:hover{text-decoration:underline}svg.icon{flex:none;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.35;letter-spacing:-.02em;margin-bottom:8px}h2{font-size:19px;letter-spacing:-.015em}h3{font-size:15px}small,.muted{color:#66778f}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:750;letter-spacing:.16em;color:#5675a0;margin-bottom:8px}.boot-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--ink-soft)}
.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:radial-gradient(ellipse at 0 0,rgba(72,133,249,.13),transparent 58%),linear-gradient(155deg,#ffffff 5%,#f5f8ff 65%,#ecf3ff);color:#243b5b;border-right:1px solid #dfe7f2;min-height:100vh;padding:26px 16px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:30}.side-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:72px;padding:1px 14px 20px}.brand-tagline{margin:0;color:#657d9b;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:.02em;white-space:nowrap}.brand-title{font-size:25px;line-height:1.3;font-weight:750;letter-spacing:.025em;white-space:nowrap;color:#19365e}.brand-title>span,.auth-brand>span{color:#2563eb;font-weight:850}.nav-group{margin-bottom:16px}.nav-label{font-size:14px;letter-spacing:.12em;color:#596f90;text-transform:uppercase;padding:9px 14px 8px;font-weight:700}.nav-link{height:42px;padding:0 13px;display:flex;align-items:center;gap:12px;border-radius:10px;color:#526580;font-size:13px;font-weight:600;letter-spacing:.01em;margin:3px 0;transition:background .14s,color .14s}.nav-link:hover{background:#e7f0ff;color:#235bc0;text-decoration:none}.nav-link.active{background:linear-gradient(110deg,#2461e7,#3270df);color:#fff;box-shadow:0 5px 14px rgba(37,99,235,.2)}.nav-link .icon{width:18px;height:18px;stroke-width:1.65}.side-footer{margin-top:auto;padding:14px;border-top:1px solid #dce6f5;color:#586d8d;font-size:11px;line-height:1.5}.side-footer strong{display:block;color:#334d73;font-size:12px;margin-bottom:3px}.main-area{min-width:0}.topbar{height:76px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title{font-size:14px;color:#445b7d;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:15px}.company-pill{display:flex;align-items:center;gap:8px;background:var(--mint-2);color:#345e98;border:1px solid #dce9ff;border-radius:8px;padding:8px 11px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:650}.account-chip{display:flex;align-items:center;gap:9px;color:#385274;font-size:12px;font-weight:650}.account-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#eaf1ff;color:#3162aa;font-weight:800}.page-content{padding:32px 36px 70px;max-width:1480px;margin:0 auto}.page-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-header p{color:var(--ink-soft);margin-bottom:0;line-height:1.6}.page-header h1{margin-bottom:7px}.header-actions,.toolbar,.row-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.section-title{font-size:17px;margin:0 0 16px;font-weight:750;letter-spacing:-.02em}.card{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 16px rgba(46,85,144,.035)}.card-pad{padding:24px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stack{display:grid;gap:17px}.divider{height:1px;background:var(--line);margin:20px 0}.info-strip{background:var(--mint-2);border:1px solid #dce8fc;border-radius:12px;padding:15px 18px;color:#385c91;line-height:1.6}.warning-strip{background:#fff8ed;border:1px solid #f0dfbf;border-radius:12px;padding:15px 18px;color:#79572b;line-height:1.6}.btn{min-height:44px;border-radius:9px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;font-size:13px;font-weight:700;white-space:nowrap;transition:transform .12s,background .12s,border-color .12s}.btn:not(:disabled):active{transform:translateY(1px)}.btn .icon{width:16px;height:16px}.btn-primary{background:linear-gradient(115deg,#2563eb,#2968df);color:#fff;box-shadow:0 4px 10px rgba(37,99,235,.16)}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{background:#fff;color:var(--deep);border-color:#d2deee}.btn-secondary:hover:not(:disabled){background:#f1f6ff}.btn-ghost{background:transparent;color:#506787}.btn-ghost:hover:not(:disabled){background:#ebf2ff}.btn-danger{background:#fff4f2;color:var(--danger);border-color:#f2d5d0}.btn-danger:hover:not(:disabled){background:#fde9e5}.icon-button{width:40px;height:40px;border:0;border-radius:9px;background:transparent;color:#587294;display:inline-grid;place-items:center}.icon-button:hover{background:#eaf2ff}.icon-button .icon{width:18px;height:18px}.field{display:grid;gap:7px;color:#354e73;font-size:12px;font-weight:700}.field .hint{font-weight:400;color:#60738f;line-height:1.5}.input,.select,.textarea{width:100%;min-height:44px;border:1px solid #d7e2f1;border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;outline:none;transition:border-color .12s,box-shadow .12s}.textarea{min-height:100px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#5894f2;box-shadow:0 0 0 3px rgba(59,130,246,.13)}.input[readonly]{background:#f1f5fb;color:#6c819d}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field-full{grid-column:1/-1}.form-error{font-size:12px;color:var(--danger);background:#fff4f3;border:1px solid #f1d4d2;border-radius:8px;padding:10px 12px;margin:14px 0 0}.form-error[hidden]{display:none}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap;background:#edf3fc;color:#617592}.badge-success{background:#e4f4e9;color:#2d7951}.badge-warning{background:#fff1db;color:#9a6428}.badge-muted{background:#edf2f9;color:#647995}.badge-danger{background:#fde9e7;color:#a83e3b}.empty-state{padding:48px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:#667b96}.empty-state .empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#edf4ff;color:#4d7cbc;margin-bottom:6px}.empty-state h3{color:var(--ink);font-size:16px;margin:0}.empty-state p{margin:0;max-width:380px;line-height:1.6}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:12px}.data-table th{background:#f6f9fe;color:#637b99;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:750;padding:13px 16px;border-bottom:1px solid var(--line)}.data-table td{padding:15px 16px;border-bottom:1px solid #edf2f9;color:#344e70}.data-table tbody tr:last-child td{border-bottom:0}.data-table td strong{font-size:12px}.data-table td .muted{font-size:11px;display:block;margin-top:3px}.data-table .row-actions{flex-wrap:nowrap}.tab-list{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tab{border:0;border-bottom:2px solid transparent;background:transparent;min-height:43px;padding:0 16px;color:#637b99;font-size:13px;font-weight:700;white-space:nowrap}.tab.active{color:var(--deep);border-color:#2563eb}.tab:hover{color:var(--deep)}.checkbox-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.checkbox-row{display:flex;align-items:start;gap:9px;background:#f6f9fe;border:1px solid var(--line);padding:11px;border-radius:8px;font-size:12px;font-weight:600}.checkbox-row input{accent-color:#2563eb;margin-top:2px}.checkbox-row small{display:block;font-weight:400;line-height:1.4}.split-caption{font-size:11px;font-weight:700;color:#6b82a2;text-transform:uppercase;letter-spacing:.08em;margin:14px 0 8px}.status-dot{width:7px;height:7px;border-radius:50%;background:#57aa75;display:inline-block}.status-dot.off{background:#a1afc4}.inline-note{font-size:11px;color:#6c819d;line-height:1.6}.loading-row{display:flex;align-items:center;gap:9px;color:#6d84a3;padding:28px}.loading-row:before{content:"";width:15px;height:15px;border:2px solid #cbdfff;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(280px,42%) minmax(0,1fr);background:#fff}.auth-aside{padding:42px clamp(30px,5vw,76px);background:radial-gradient(ellipse at 12% 20%,rgba(74,145,255,.17),transparent 65%),linear-gradient(145deg,#eef5ff,#f5f8ff 55%,#e7f3ff);color:#203f6b;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(63,125,224,.13);border-radius:50%;bottom:-185px;right:-155px;box-shadow:0 0 0 78px rgba(73,135,231,.04),0 0 0 160px rgba(73,135,231,.04)}.auth-brand{display:flex;align-items:center;font-size:26px;font-weight:750;letter-spacing:.025em;color:#19365e}.auth-aside-copy{max-width:390px;position:relative;z-index:1}.auth-aside-copy .eyebrow{color:#5279aa}.auth-aside-copy h2{font-size:clamp(31px,3vw,48px);line-height:1.2;letter-spacing:-.035em;margin:14px 0}.auth-aside-copy p{color:#597496;line-height:1.8;font-size:14px}.auth-aside-bottom{font-size:11px;color:#6c85a5;position:relative;z-index:1}.auth-main{padding:30px;display:grid;place-items:center}.auth-box{width:min(100%,470px);padding:12px 0}.auth-box h1{font-size:28px}.auth-box>.muted{line-height:1.7}.auth-tabs{display:flex;gap:5px;background:#edf3fd;border-radius:10px;padding:4px;margin:24px 0}.auth-tab{flex:1;border:0;border-radius:7px;background:transparent;color:#607a9a;min-height:40px;font-weight:700}.auth-tab.active{background:#fff;color:#1d4ed8;box-shadow:0 1px 5px #dce7f8}.auth-form{display:grid;gap:16px;margin-top:23px}.auth-form .btn{width:100%;margin-top:2px}.auth-form .field{font-size:13px}.auth-form .input{min-height:48px}.auth-helper{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.input-wrap{position:relative}.input-wrap .input{padding-right:46px}.input-wrap .icon-button{position:absolute;right:3px;top:4px}.code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.code-row .btn{margin:0;min-width:120px}.auth-success{background:var(--mint-2);border:1px solid #dceaff;border-radius:12px;padding:20px;line-height:1.7}.auth-success h3{margin-bottom:6px;color:#285d9a}.invite-banner{padding:14px 16px;border:1px solid #d6e6ff;background:#eff6ff;color:#315d98;border-radius:10px;margin-top:18px;line-height:1.6;font-size:12px}.invite-banner strong{display:block;font-size:13px}.auth-note{font-size:11px;color:#637894;line-height:1.6}.pending-box{max-width:600px;margin:8vh auto;padding:35px}.pending-box h1{margin-top:12px}.error-screen{max-width:520px;margin:15vh auto;text-align:center;padding:30px}.error-screen p{line-height:1.7}
.modal-open{overflow:hidden}.modal-overlay{position:fixed;inset:0;z-index:100;background:rgba(18,38,73,.38);display:grid;place-items:center;padding:18px}.modal-panel{width:min(100%,650px);max-height:min(90vh,900px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 72px rgba(23,48,90,.18)}.modal-head{padding:22px 25px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-head h2{margin:0}.modal-body{padding:23px 25px}.modal-form>.form-error{margin:0 25px 15px}.modal-actions{border-top:1px solid var(--line);padding:17px 25px;display:flex;justify-content:flex-end;gap:9px}.toast{display:flex;align-items:center;gap:10px;background:#244c8c;color:#fff;box-shadow:var(--shadow);padding:10px 11px 10px 14px;border-radius:10px;min-width:230px;max-width:min(420px,calc(100vw - 32px));font-size:12px;line-height:1.5}.toast-error{background:#893c36}.toast-mark{display:grid;place-items:center}.toast .icon{width:16px;height:16px}.toast .toast-close{margin-left:auto;color:inherit;width:28px;height:28px}.toast .toast-close:hover{background:#ffffff24}#toast-host{position:fixed;right:20px;bottom:20px;z-index:150;display:grid;gap:8px}.mobile-menu{display:none}.sidebar-scrim{display:none}
@media(max-width:1000px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.page-content{padding:26px 22px 55px}.topbar{padding:0 22px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none}.sidebar-scrim.open{display:block;position:fixed;inset:0;background:#10254666;z-index:25}.mobile-menu{display:inline-grid}.topbar{height:65px;padding:0 16px}.company-pill{display:none}.account-chip span:not(.account-avatar){display:none}.page-content{padding:24px 16px 50px}.page-header{align-items:start}.page-header h1{font-size:23px}.grid-2,.grid-3{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-aside{min-height:160px;padding:24px 25px}.auth-aside-copy h2,.auth-aside-bottom,.auth-aside-copy p{display:none}.auth-main{padding:26px 20px;display:block}.auth-box{margin:0 auto}.form-grid{grid-template-columns:1fr}.checkbox-list{grid-template-columns:1fr}}
@media(max-width:480px){.page-header{display:block}.header-actions{margin-top:17px}.auth-aside{min-height:110px}.auth-aside-copy{display:none}.auth-main{padding:24px 18px}.modal-overlay{padding:8px}.modal-head,.modal-body,.modal-actions{padding-left:18px;padding-right:18px}.code-row{grid-template-columns:1fr}.code-row .btn{width:100%}.topbar-title{display:none}.data-table td,.data-table th{padding:12px}}

/* Keep the brand and team footer visible while the full navigation scrolls. */
.sidebar{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.side-brand,.side-footer{flex:none}
.side-points{margin:10px 0 8px;padding:10px 11px;border:1px solid #d7e6ff;border-radius:11px;background:linear-gradient(120deg,#f9fbff,#eaf2ff)}
.side-points-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.side-points-summary{display:flex;flex-direction:column;gap:2px;min-width:0}
.side-points-label{font-size:11px;color:#647d9f}
.side-points-value{color:#244d93;font-size:20px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere}
.side-checkin{min-width:58px;min-height:34px;padding:6px 9px;border:1px solid #b8d0f8;border-radius:8px;background:#fff;color:#285ec0;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.side-checkin:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}
.side-checkin:focus-visible{outline:3px solid #93b6f6;outline-offset:2px}
.side-checkin:disabled{cursor:default;color:#7191ba;background:#eff5ff;border-color:#d8e5f8}
.side-points-hint{display:block;margin-top:7px;color:#6a81a3;font-size:10px;line-height:1.5}
.side-points[data-sync="stale"] .side-points-hint{color:#9a6428}
.side-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b4c9e7 transparent;padding-bottom:12px}
.side-nav:focus-visible{outline:2px solid #5b95ed;outline-offset:-2px}
@media(max-width:760px){.sidebar{height:100vh;height:100dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}

/* Clear focus and quieter typography across the light technology theme. */
:focus-visible{outline:2px solid #4c8bf5;outline-offset:3px}
.input::placeholder,.textarea::placeholder{color:#657792;font-weight:400}
@media(prefers-reduced-motion:reduce){.nav-link,.btn,.sidebar{transition:none}}

/* Account expiry shares the real management-backend service period. */
.side-service-period{display:block;margin:5px 0 7px;font-size:11px;line-height:1.65;color:#506b90;font-variant-numeric:tabular-nums}
.side-service-period[data-tone="warning"]{color:#986317}
.side-service-period[data-tone="expired"]{color:#b4443e}
.side-service-period[data-tone="pending"]{color:#75869f}
.side-service-period[data-sync="stale"]::after{content:" · 待更新";font-size:10px;color:#8998ae}
/* Persistent assistance identity stays visible above business records. */
.support-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 28px;background:#eff6ff;border-bottom:1px solid #bfdbfe;color:#1e40af;position:sticky;top:0;z-index:15}
.support-banner strong,.support-banner span{display:block}.support-banner span{font-size:12px;margin-top:4px}
@media(max-width:640px){.support-banner{padding:12px 16px;align-items:flex-start;flex-direction:column}.support-banner .btn{width:100%}}

.auth-aside,.auth-identity{min-width:0}
.auth-identity{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding-top:18px;position:relative;z-index:1}
/* Show the first transparent logo variant directly from the original artwork. */
.auth-federation-logo{display:block;width:100%;max-width:340px;height:auto;aspect-ratio:743/57;overflow:hidden}
.auth-product-logo{display:block;width:210px;max-width:100%;height:auto;aspect-ratio:3792/778;overflow:hidden}
.auth-aside-copy .auth-product-logo{margin-bottom:20px}
.auth-aside-copy .auth-product-logo+h2{margin-top:0}
@media(max-width:760px){.auth-aside-branded{justify-content:flex-start;gap:18px}.auth-aside-branded .auth-aside-copy{display:block}.auth-aside-copy .auth-product-logo{margin-bottom:0}}
@media(max-width:480px){.auth-aside-branded{gap:12px}.auth-identity{gap:12px;padding-top:10px}.auth-federation-logo{max-width:300px}.auth-product-logo{width:180px}}

.side-brand-logo{display:block;width:160px;max-width:100%;height:auto;aspect-ratio:3792/778;overflow:hidden}
