body.saas-booting #appShell{display:none}
#saasGate:empty{display:none}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1fr) minmax(390px,.9fr);background:#f5f7f8;color:#172321;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.auth-panel{width:min(480px,calc(100% - 64px));margin:auto;padding:56px 0}
.auth-brand{display:flex;align-items:center;gap:12px}.auth-mark{width:40px;height:40px;display:grid;place-items:center;background:#10766c;color:white;font-size:20px;font-weight:750;border-radius:8px}.auth-brand b,.auth-brand small{display:block}.auth-brand b{font-size:16px}.auth-brand small{color:#78817e;font-size:11px;margin-top:3px}
.auth-copy{margin:60px 0 28px}.auth-eyebrow,.auth-kicker{color:#10766c;font-size:10px;font-weight:700;letter-spacing:1.3px}.auth-copy h1{font-size:30px;line-height:1.25;margin:12px 0 10px;color:#172321;letter-spacing:0}.auth-copy p{font-size:14px;line-height:1.7;color:#687371;margin:0}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dce2e0;margin-bottom:24px}.auth-tabs button{appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;color:#717c79;padding:12px 6px;font-size:13px;cursor:pointer}.auth-tabs button.active{border-color:#10766c;color:#12685f;font-weight:650}
#authForm{display:grid;gap:16px}#authForm label,.saas-password-form label{display:grid;gap:7px;font-size:12px;color:#485450;font-weight:600}#authForm input,.saas-password-form input,.saas-invite-form input,.saas-invite-form select,.saas-role,.saas-table select{width:100%;height:42px;border:1px solid #d6dedb;border-radius:5px;background:#fff;padding:0 12px;font-size:13px;color:#1c2825;outline:none}#authForm input:focus,.saas-password-form input:focus,.saas-invite-form input:focus{border-color:#16877b;box-shadow:0 0 0 3px rgba(22,135,123,.11)}
.auth-error{min-height:20px;color:#b33a3a;font-size:12px}.auth-submit,.saas-action{border:0;border-radius:5px;background:#10766c;color:#fff;min-height:42px;padding:0 16px;font-weight:650;font-size:13px;cursor:pointer}.auth-submit:hover,.saas-action:hover{background:#0c625a}.auth-submit:disabled,.saas-action:disabled{opacity:.55;cursor:wait}.auth-foot{display:flex;gap:9px;justify-content:center;color:#8b9692;font-size:10px;margin-top:28px}
.auth-aside{display:flex;flex-direction:column;justify-content:space-between;padding:34px clamp(32px,7vw,94px);background:#172321;color:#fff;position:relative;overflow:hidden}.auth-aside:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 90%);pointer-events:none}.auth-aside-top,.auth-aside-foot{position:relative;display:flex;justify-content:space-between;color:#aab5b1;font-size:11px}.auth-aside-content{position:relative;max-width:440px;margin:auto 0}.auth-live{display:flex;align-items:center;gap:8px;color:#8bd9ca;font-size:10px;letter-spacing:1px}.auth-live i{width:7px;height:7px;border-radius:50%;background:#77d3bc}.auth-aside-content h2{font-size:clamp(30px,3.3vw,48px);line-height:1.35;font-weight:560;letter-spacing:0;margin:24px 0}.auth-rule{height:1px;background:#384441;margin:32px 0}.auth-aside-meta{display:flex;gap:22px;color:#bbc5c1;font-size:12px}.auth-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:#74817c;font:13px Inter,-apple-system,"Microsoft YaHei",sans-serif;background:#f5f7f8}.auth-spinner{width:18px;height:18px;border:2px solid #d2ddda;border-top-color:#10766c;border-radius:50%;animation:saas-spin .8s linear infinite}@keyframes saas-spin{to{transform:rotate(360deg)}}
#saasUiMount{position:relative;z-index:1500}.saas-overlay{position:fixed;inset:0;background:rgba(14,25,22,.52);display:grid;place-items:center;padding:24px}.saas-modal{width:min(900px,100%);max-height:min(850px,calc(100vh - 48px));background:#fff;border-radius:7px;display:flex;flex-direction:column;box-shadow:0 22px 80px rgba(0,0,0,.24);overflow:hidden;color:#25312e;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.saas-modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:21px 24px 16px;border-bottom:1px solid #e7ece9;flex:0 0 auto}.saas-modal-head h2{font-size:19px;margin:5px 0 0;font-weight:650;letter-spacing:0}.saas-kicker{font-size:9px;letter-spacing:1.1px;color:#128174;font-weight:700}.saas-close{border:0;background:transparent;color:#53615c;width:32px;height:32px;font-size:24px;line-height:1;cursor:pointer}.saas-modal-content{padding:0 24px 22px;overflow:auto}.saas-loading{padding:40px 0;text-align:center;color:#7a8581;font-size:13px}.saas-error{padding:22px;color:#aa3737;font-size:13px}.saas-tabs{display:flex;gap:20px;border-bottom:1px solid #e4e9e7;margin-bottom:20px}.saas-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:13px 0 11px;color:#6c7773;font-size:12px;cursor:pointer;white-space:nowrap}.saas-tabs button.on{color:#117569;border-color:#138477;font-weight:650}.saas-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 14px}.saas-section-head h3,.saas-admin-section h3{font-size:14px;margin:0 0 4px;letter-spacing:0}.saas-section-head p{font-size:11px;color:#78827e;margin:0;line-height:1.55}.saas-action{min-height:36px;font-size:11px;white-space:nowrap}.saas-action.compact{min-height:29px;padding:0 10px}.saas-workspace-list{border-top:1px solid #e4e9e7}.saas-workspace-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:white;border:0;border-bottom:1px solid #e4e9e7;padding:12px 5px;cursor:pointer;color:#27322f}.saas-workspace-row:hover,.saas-workspace-row.selected{background:#f7faf9}.saas-ws-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:5px;background:#e1f1ed;color:#08786c;font-weight:700}.saas-ws-name{display:grid;gap:4px;flex:1;min-width:0}.saas-ws-name b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saas-ws-name small,.saas-table small{display:block;color:#7c8782;font-size:10px;margin-top:4px}.saas-ws-state{font-size:10px;color:#7e8884}.saas-ws-state.on,.saas-status.on{color:#0b7a68}.saas-plan-strip{margin-top:20px;border-top:1px solid #e4e9e7;border-bottom:1px solid #e4e9e7;padding:17px 0}.saas-plan-line{display:flex;justify-content:space-between;align-items:center}.saas-plan-line h3{font-size:16px;margin:5px 0 12px}.saas-status{font-size:10px;padding:4px 8px;border-radius:3px;background:#edf6f2}.saas-status.off{color:#a43e38;background:#f9eeee}.saas-usage-copy,.saas-statline{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#68746f}.saas-usage-copy{margin:5px 0}.saas-usage-copy b{color:#29332f}.saas-meter{height:5px;background:#e9eeeb;border-radius:3px;overflow:hidden;margin:10px 0 11px}.saas-meter i{display:block;height:100%;background:#168a79;border-radius:3px}.saas-statline{color:#808a86;font-size:10px;flex-wrap:wrap}.saas-empty{padding:18px 0;color:#79847f;font-size:12px}.saas-invite-form{display:grid;grid-template-columns:minmax(170px,1fr) 140px auto;gap:8px;margin:17px 0 10px}.saas-invite-form input,.saas-invite-form select{height:36px;font-size:11px}.saas-invite-result{margin-bottom:12px}.saas-invite-link{background:#f3f8f6;padding:11px;display:flex;justify-content:space-between;align-items:center;gap:12px}.saas-invite-link b,.saas-invite-link small{display:block;font-size:11px}.saas-invite-link small{font-size:10px;color:#76817c;margin-top:4px}.saas-table-scroll{overflow:auto}.saas-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;white-space:nowrap}.saas-table th{font-size:10px;color:#78837e;font-weight:600;background:#f7f9f8}.saas-table th,.saas-table td{padding:10px 9px;border-bottom:1px solid #e7ece9}.saas-table td{color:#39443f}.saas-table select{height:30px;min-width:94px;width:auto;font-size:10px;padding:0 7px}.saas-text-button{background:none;border:0;color:#ae3935;font-size:10px;cursor:pointer}.saas-password-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin:18px 0}.saas-password-form input{height:36px;font-size:12px}.saas-divider{height:1px;background:#e5eae7;margin:24px 0 16px}.saas-danger{border:1px solid #dfc8c6;border-radius:4px;background:white;color:#a53f3b;min-height:34px;padding:0 13px;font-size:11px;cursor:pointer}.saas-admin-summary{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e4e9e7}.saas-admin-summary div{padding:17px 0;display:grid;gap:8px}.saas-admin-summary span{font-size:10px;color:#74807b}.saas-admin-summary b{font-size:21px;font-weight:620}.saas-admin-section{padding-top:20px}.saas-admin-section h3{margin-bottom:10px}.saas-note{font-size:10px;color:#818b86;padding-top:13px;border-top:1px solid #e4e9e7}.saas-toast{position:fixed;z-index:1600;bottom:24px;left:50%;transform:translateX(-50%);padding:11px 16px;background:#1f3731;color:white;border-radius:5px;box-shadow:0 8px 28px #0002;font:12px Inter,-apple-system,"Microsoft YaHei",sans-serif}.saas-toast.bad{background:#9b3935}
@media(max-width:820px){.auth-screen{grid-template-columns:1fr}.auth-panel{padding:40px 0;width:min(460px,calc(100% - 42px))}.auth-aside{display:none}.auth-copy{margin:45px 0 24px}.saas-overlay{padding:8px}.saas-modal{max-height:calc(100vh - 16px)}.saas-modal-head{padding:17px 17px 13px}.saas-modal-content{padding:0 17px 18px}.saas-section-head{align-items:flex-start}.saas-invite-form{grid-template-columns:1fr 120px}.saas-invite-form .saas-action{grid-column:1/-1}.saas-password-form{grid-template-columns:1fr}.saas-password-form .saas-action{width:100%}.saas-statline{line-height:1.6}.saas-tabs{gap:16px}.saas-admin-summary b{font-size:18px}}
@media(max-width:420px){.saas-section-head{display:block}.saas-section-head .saas-action{margin-top:12px}.saas-tabs{gap:13px}.saas-tabs button{font-size:11px}.saas-invite-link{align-items:flex-start;flex-direction:column}.saas-usage-copy{font-size:10px}}
@media(max-width:980px){.topnav{padding:11px 14px;gap:11px}.topnav nav{order:3;width:100%;margin:0;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.topnav nav::-webkit-scrollbar,.hdr-actions::-webkit-scrollbar{display:none}.topnav nav a{flex:0 0 auto;white-space:nowrap;padding:8px 11px;font-size:12px}.hdr-actions{margin-left:auto;max-width:calc(100% - 150px);overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.hdr-set{font-size:11px;padding:7px 9px}}
