/* 2026 · 青绿与暖白。所有资源本地提供，适配严格 CSP。 */
:root{--blue:#285f50;--blue-d:#174b3d;--blue-l:#edf4ef;--accent:#326b58;--ok:#267348;--gray:#727d78;--line:#e4e9e3;--bg:#f6f7f3;--text:#253a32;--text2:#66746c;--radius:18px;--shadow:0 4px 24px rgba(27,58,43,.035)}
body{font-size:14px;background:var(--bg);letter-spacing:.1px}a,button,input,select,textarea{transition:background .18s,border-color .18s,box-shadow .18s,color .18s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #83ac8e;outline-offset:3px}input,select,textarea{border-color:#dce4dd;border-radius:10px;padding:12px 14px}input:focus,select:focus,textarea:focus{border-color:#638976;box-shadow:0 0 0 4px #285f5010}.ui-icon{width:20px;height:20px;flex:none;vertical-align:middle}.btn{border-radius:10px;font-weight:500;box-shadow:0 1px 2px #18352903}.btn.primary{box-shadow:0 4px 10px #285f5012}.btn:hover:not(:disabled){box-shadow:0 3px 10px #1835290b}.btn.sm{padding:7px 12px;white-space:nowrap}.btn.danger{background:#fffaf9}.muted{color:#727d78}.alert{border-radius:12px;font-size:13px;padding:13px 16px}.alert.info{color:#385f4d;border-color:#d8e6da;background:#f0f6ef}.alert.warn{color:#805a2c;background:#fcf6e9;border-color:#efe1c5}.b-blue,.b-green{color:#2a6a4d;background:#eaf3e9}.b-orange{background:#faf1df;color:#956c31}.b-purple{background:#eeecf6;color:#6d6286}.badge{padding:4px 10px;font-size:11px;white-space:nowrap}
/* 专注的工作区导航 */
.workspace{--nav-dark:#183f35;--nav-accent:#dce9b4}.workspace-admin{--nav-dark:#213d47;--nav-accent:#dce7b8}.workspace>.top{position:fixed;inset:20px auto 20px 20px;width:224px;border:0;border-radius:22px;background:var(--nav-dark);color:#fff;overflow:auto;z-index:40}.workspace .top-in{padding:26px 16px 20px;height:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0}.workspace .brand{position:relative;gap:10px;flex-wrap:wrap;padding:0 8px 24px;border-bottom:1px solid #ffffff16;font-size:16px;color:#f5f6ed}.workspace .brand .mk{width:32px;height:35px;border-radius:10px;background:var(--nav-accent);color:var(--nav-dark);font-size:18px}.workspace-org{display:block;width:100%;font-size:10px;letter-spacing:1px;color:#c2d1c7;font-weight:400;margin-left:42px;line-height:1.6;max-width:150px}.workspace .nav{display:flex;flex-direction:column;gap:5px;padding:24px 0;margin:0;background:none;border-radius:0;flex-wrap:nowrap}.workspace .nav button{display:flex;align-items:center;gap:13px;padding:12px 14px;font-size:13px;border-radius:10px;text-align:left;color:#cfdbd3;min-height:46px}.workspace .nav button .ui-icon{width:18px;height:18px;opacity:.85}.workspace .nav button.on{background:var(--nav-accent);color:#203c31;box-shadow:0 3px 12px #102b2b15;font-weight:650}.workspace .nav button:not(.on):hover{background:#ffffff0b;color:#fff}.workspace #who{margin-top:auto;padding:20px 7px 12px;border-top:1px solid #ffffff18;display:flex;flex-wrap:wrap;min-height:60px}.workspace #who .muted{color:#e1e8df;font-size:12px}.workspace #who .btn{margin-left:auto;background:#ffffff0a;color:#dce7de;border-color:#ffffff25;padding:5px 10px;font-size:12px}.sidebar-note{display:flex;align-items:center;gap:9px;padding:15px 8px 0;color:#aebfb2;font-size:10px}.sidebar-note .ui-icon{width:17px}.sidebar-note small{display:block;font-size:9px;color:#8da99a;margin-top:3px}.workspace>.shell{max-width:1600px;margin:0 0 0 268px;padding:0 32px 40px}.workspace-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-left:268px;padding:36px 32px 28px;max-width:1600px}.workspace-crumb{font-size:11px;color:#7b8980;display:flex;gap:8px;margin-bottom:14px}.workspace-header h1{font-size:28px;font-weight:650;letter-spacing:-.8px;line-height:1.3}.workspace-header p{color:#778078;font-size:12px;margin-top:8px}.workspace-meta{display:flex;gap:16px;align-items:center;font-size:11px;color:#778078}.workspace-meta a{padding:9px 13px;border:1px solid #e0e5dc;border-radius:9px;background:white;color:#4e6a5b}.workspace.is-booting>.top{visibility:hidden}.workspace.is-booting>.shell{min-height:70vh}.boot-message{padding:60px;color:var(--gray)}
/* 统一卡片、表格、筛选、空状态 */
.workspace .card{padding:24px;border:1px solid #e7ebe3;border-radius:18px;margin-bottom:20px;box-shadow:0 3px 20px #163c2703;min-width:0}.workspace .card h3{font-size:15px;font-weight:650;gap:10px;flex-wrap:wrap;margin-bottom:20px;color:#2d4237}.workspace .card h3 .sub{font-size:11px;color:#7b847d;line-height:1.7}.grid{gap:18px;min-width:0}.grid>*{min-width:0}.kpi{padding:22px 24px;position:relative;overflow:hidden;border-radius:18px;border-color:#e6eadf;box-shadow:0 3px 20px #163c2703;min-height:136px}.kpi:after{content:"";position:absolute;right:22px;top:25px;width:7px;height:7px;border-radius:50%;background:#b9cbaa}.kpi .k{font-size:12px;color:#748174}.kpi .v{font-size:30px;letter-spacing:-1px;font-weight:650;margin:8px 0 4px;color:#253c2e;font-variant-numeric:tabular-nums}.kpi .d{font-size:11px;color:#8a9488}.workspace .grid.g4>.kpi:first-child{background:#eaf0df;border-color:#dce6ce}.workspace .grid.g4>.kpi:first-child:after{background:#60866a}.workspace .tbl-wrap{border:1px solid #e9ede7;border-radius:12px;width:100%;max-width:100%;scrollbar-width:thin}.workspace table{font-size:12px}.workspace th{background:#f5f7f1;color:#7b867b;font-size:11px;font-weight:500;padding:13px 15px}.workspace td{padding:15px;border-color:#edf0e9;color:#415043;line-height:1.65}.workspace tr:hover td{background:#f8faf5}.workspace td[colspan]{text-align:center;height:150px;vertical-align:middle;color:#8c968a!important;letter-spacing:.4px}.workspace td[colspan]:before{content:"—";display:block;font-size:24px;font-weight:300;color:#bdc9b3;padding-bottom:12px}.filters{padding:16px;background:#f7f8f3;border:1px solid #eef0e8;border-radius:12px;gap:12px;margin-bottom:20px}.filters .fi span{font-size:11px;color:#7b8376}.filters input,.filters select{font-size:12px;background:white;border-radius:8px;min-height:39px}.copy{border:1px solid #dee7d5;background:#f2f6e9;border-radius:12px;padding:14px;flex-wrap:wrap}.copy .u{color:#537046;min-width:160px}.bar{height:7px;background:#eff2e9}.bar>i{background:linear-gradient(90deg,#5d8a69,#9db38b);border-radius:6px}.barlist{gap:15px;padding:6px 0}.barlist .it{font-size:11px;color:#7c8778}.pricegrid input{min-width:94px;max-width:110px;background:#fff;border-color:#dae4d6;font-variant-numeric:tabular-nums}.mask{backdrop-filter:blur(5px);background:#112c2561}.modal{border-radius:20px;box-shadow:0 32px 100px #122c3436;max-height:90svh}.modal-h{padding:20px 24px}.modal-h b{font-size:16px}.modal-h .x{width:32px;height:32px;border-radius:50%;background:#f4f6ef;display:grid;place-items:center}.modal-b{padding:24px}.modal-f{padding:16px 24px;background:#f8f9f5;border-radius:0 0 20px 20px}.toast{border-radius:12px;max-width:calc(100vw - 32px)}
/* 登录：独立入口、双栏叙事，不展示虚构业务数据 */
.auth-mode{background:#f4f5ee}.auth-mode>.top,.auth-mode>.workspace-header{display:none}.auth-mode>.shell{margin:0!important;padding:0!important;max-width:none}.auth-shell{max-width:1680px;margin:auto;padding:24px;min-height:100svh;display:grid;grid-template-columns:1.04fr 1fr;gap:24px}.auth-story{position:relative;overflow:hidden;border-radius:28px;padding:40px 48px 28px;background:#163f35;color:#eff4e9;display:flex;flex-direction:column;min-height:710px}.workspace-admin .auth-story{background:#203c47}.auth-story:before{content:"";position:absolute;width:500px;height:500px;right:-320px;top:130px;border:1px solid #c5d4b217;border-radius:50%;box-shadow:0 0 0 70px #c5d4b205,0 0 0 140px #c5d4b204;pointer-events:none}.auth-brand{display:flex;gap:13px;align-items:center;color:#f5f6e9;position:relative;z-index:1}.auth-mark{width:44px;height:48px;display:grid;place-items:center;background:#dbe8b5;color:#214c3e;border-radius:13px}.auth-mark .ui-icon{width:28px;height:28px}.auth-brand b{font-size:16px;font-weight:550;letter-spacing:1px}.auth-brand small{display:block;font-size:10px;color:#b0c3b5;letter-spacing:1.5px;margin-top:4px}.auth-story-copy{position:relative;z-index:1;margin-top:60px}.auth-kicker{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:3px;color:#c9d9b3}.auth-kicker i{width:5px;height:5px;background:#dce7b2;border-radius:50%}.auth-story h2{font-size:clamp(36px,3.6vw,57px);font-weight:450;letter-spacing:-1.5px;line-height:1.5;margin:24px 0 18px}.auth-story-copy p{font-size:13px;line-height:2.1;color:#afc4b7;letter-spacing:.5px}.auth-art{max-width:540px;width:100%;margin:10px auto 0;color:#d7e2c3}.auth-art svg{display:block;width:100%;height:auto}.auth-flow{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#dae4d7;position:relative;padding:0 8px 28px}.auth-flow em{font-style:normal;color:#8da98b;font-size:10px;letter-spacing:1px;margin-right:6px}.auth-story-foot{margin-top:auto;border-top:1px solid #b6c7a522;padding-top:20px;display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:1px;color:#aac0ad}.auth-story-foot span{font-size:8px;letter-spacing:1.6px;color:#829f8f}.auth-entry{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 56px 85px}.auth-switch{position:absolute;right:30px;top:20px;display:flex;gap:3px;background:#e9ede3;padding:4px;border-radius:11px}.auth-switch a{color:#7e8979;font-size:12px;padding:9px 18px;white-space:nowrap;border-radius:8px}.auth-switch a.selected{background:#fff;color:#284f3c;box-shadow:0 2px 5px #26442d08;font-weight:600}.auth-form-wrap{width:100%;max-width:368px;margin:auto}.auth-eyebrow{font-size:11px;letter-spacing:3px;color:#799065;margin-bottom:14px}.auth-form-wrap h1{font-size:30px;color:#2b3d30;letter-spacing:-.8px;font-weight:600;line-height:1.45}.auth-subtitle{color:#7e8878;font-size:12px;margin:12px 0 36px}.auth-form-wrap label.f{margin-bottom:22px}.auth-form-wrap label.f>span{font-size:12px;color:#53634b;margin-bottom:9px;font-weight:500}.auth-input{position:relative}.auth-input>.ui-icon{position:absolute;left:16px;top:18px;width:18px;height:18px;color:#98a18d;pointer-events:none}.auth-input input{padding:16px 48px;min-height:54px;font-size:14px;border-radius:11px;background:#fcfdf8;border-color:#dfe5d8;letter-spacing:.3px}.auth-input input::placeholder{color:#a8afa0;font-size:12px}.auth-input input:focus{background:#fff;border-color:#819a6c;box-shadow:0 0 0 4px #87a8690d}.password-toggle{position:absolute;right:8px;top:7px;width:40px;height:40px;background:none;border:0;color:#93a086;cursor:pointer;border-radius:7px}.password-toggle:hover{background:#eff3e7;color:#41623a}.auth-help{text-align:right;font-size:11px;color:#7b896e;margin:-5px 0 24px}.auth-help summary{list-style:none;cursor:pointer;display:inline-block}.auth-help summary::-webkit-details-marker{display:none}.auth-help p{margin:10px 0 0;text-align:left;background:#eaf0e0;border-radius:8px;padding:12px;color:#637458;line-height:1.8}.auth-submit{display:flex;justify-content:space-between;align-items:center;width:100%;border:none;padding:16px 20px;border-radius:11px;background:#28543e;color:#f0f4e4;cursor:pointer;font-weight:550;font-size:14px;box-shadow:0 7px 15px #254d3b12}.workspace-admin .auth-submit{background:#284d55}.auth-submit:hover:not(:disabled){background:#1c4633;box-shadow:0 8px 22px #254d3b22}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-submit .ui-icon{width:19px}.auth-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#9aa58e;border-top:1px solid #e5e9dd;margin-top:29px;padding-top:23px}.auth-note .ui-icon{width:14px;height:14px}.auth-footer{position:absolute;bottom:23px;left:56px;right:56px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#98a18e}.auth-footer a{color:#7d8e6e}.auth-error{padding:12px 14px;background:#fff0e8;border:1px solid #edcfbb;border-radius:10px;color:#9a583b;font-size:12px;margin-bottom:22px}.auth-error[hidden],.auth-caps[hidden]{display:none}.auth-caps{font-size:11px;color:#9b7332;margin:-10px 0 15px}
/* 家长端 */
.parent-page{background:#eff2e8}.mobile{max-width:540px;background:#fcfdf9;box-shadow:0 0 70px #243d2810}.m-head{padding:28px 26px 24px;background:#214d3f;position:relative;overflow:hidden}.m-head:after{content:"";position:absolute;right:-35px;bottom:-75px;width:190px;height:190px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 32px #ffffff04}.m-head .org{font-size:18px;letter-spacing:1px;font-weight:550}.m-head .sub{font-size:11px;color:#cad9c6;letter-spacing:.7px;margin-top:8px}.m-body{padding:24px}.m-body>.card{border-radius:18px;box-shadow:none;border-color:#e2e9d9}.mobile .steps{gap:8px;margin:1px 0 20px}.mobile .steps i{height:4px}.mobile .step-tip{font-size:12px;margin-bottom:22px}.mobile .prod,.mobile .card-line,.mobile .kid{padding:17px;border-radius:14px;border-color:#e2e9dc}.mobile .prod.on{background:#f0f5e7;border-color:#79996a}.mobile .prod .top,.mobile .kid .top{position:static;background:none;border:0;z-index:auto}.mobile .card-line.info{background:#f0f5e7;border-color:#dce6cd}.mobile input,.mobile select{font-size:16px;min-height:47px}.mobile .seg button{font-size:13px;border-radius:9px;flex:1;min-width:70px}.mobile .seg button.on{background:#e8f0de;border-color:#819a6b}.m-foot{padding:16px 24px 22px;background:#fcfdf9f5;backdrop-filter:blur(8px)}.mobile .btn.primary{background:#285c44}.footlink{font-size:11px}.mobile label.f>span{font-size:13px}.mobile .kv{font-size:13px;border-color:#e9eee1}.mobile .check input{width:17px;min-height:17px;height:17px}.mobile .check{font-size:12px}.mobile details.consent{background:#f6f8f1;border-radius:12px;border-color:#e1e8d9}
/* 响应式 */
@media(min-width:1700px){.auth-shell{padding:40px;min-height:min(100svh,1050px)}.auth-story{min-height:850px}.auth-story-copy{margin-top:80px}}
@media(max-width:1180px){.workspace>.top{width:200px;left:14px;top:14px;bottom:14px}.workspace .top-in{padding:22px 12px}.workspace .brand{font-size:14px}.workspace-org{margin-left:40px;max-width:128px;font-size:9px}.workspace>.shell{margin-left:232px;padding:0 22px 30px}.workspace-header{margin-left:232px;padding:30px 22px 24px}.workspace-meta .workspace-date{display:none}.workspace .g4{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-story{padding:34px}.auth-entry{padding:100px 35px 80px}.auth-story-copy{margin-top:56px}.auth-story h2{font-size:43px}.auth-story-foot span{display:none}.auth-footer{left:35px;right:35px}}
@media(max-width:780px){.workspace>.top{position:sticky;inset:auto;top:0;width:100%;border-radius:0;overflow:visible}.workspace .top-in{display:grid;grid-template-columns:1fr auto;padding:15px 18px 0;gap:13px}.workspace .brand{padding:0;border:0;font-size:14px;gap:8px}.workspace .brand .mk{width:28px;height:30px;font-size:15px}.workspace-org,.sidebar-note{display:none!important}.workspace #who{padding:0;margin:0;border:0;min-height:0;flex-wrap:nowrap}.workspace #who .muted{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace .nav{grid-row:2;grid-column:1/-1;flex-direction:row;overflow-x:auto;padding:0 0 13px;gap:6px;scrollbar-width:none;margin:0}.workspace .nav button{white-space:nowrap;flex:none;padding:8px 13px;font-size:12px;min-height:35px;gap:7px}.workspace .nav button .ui-icon{width:15px;height:15px}.workspace>.shell{margin:0;padding:0 18px 28px}.workspace-header{margin:0;padding:25px 20px 22px;align-items:flex-start}.workspace-header h1{font-size:25px}.workspace-crumb{margin-bottom:9px;font-size:10px}.workspace-header p{font-size:11px;max-width:230px}.workspace-meta a{font-size:10px;padding:7px 9px}.workspace .card{padding:18px;border-radius:15px;margin-bottom:16px}.workspace .card h3{font-size:14px;margin-bottom:15px;gap:8px}.workspace .grid{gap:12px}.workspace .g2{grid-template-columns:1fr}.kpi{padding:17px 18px;min-height:122px;border-radius:15px}.kpi .v{font-size:25px}.kpi .k{font-size:11px}.kpi .d{font-size:10px}.kpi:after{top:20px;right:17px;width:5px;height:5px}.workspace th,.workspace td{padding:12px;white-space:nowrap}.filters{padding:12px;gap:10px}.filters .fi{flex:1;min-width:120px}.filters .fi.kw{flex-basis:100%}.filters input,.filters select,.filters .fi.kw input{min-width:0;width:100%}.copy .u{flex-basis:100%;margin-bottom:4px}.copy .btn{flex:1}.mask{padding:12px}.modal{max-height:92svh;border-radius:17px}.modal-b{padding:18px}.modal-h{padding:16px 18px}.modal-f{padding:13px 18px}.auth-shell{padding:14px;display:block;min-height:100svh}.auth-story{min-height:0;border-radius:20px;padding:24px 26px}.auth-brand b{font-size:14px}.auth-brand small{font-size:9px}.auth-mark{width:34px;height:39px;border-radius:10px}.auth-mark .ui-icon{width:23px;height:23px}.auth-story-copy{margin-top:27px}.auth-kicker{font-size:9px;letter-spacing:2px}.auth-story h2{font-size:32px;line-height:1.45;letter-spacing:-.8px;margin:14px 0 6px}.auth-story-copy p{font-size:11px;line-height:1.8}.auth-story-copy p br{display:none}.auth-art,.auth-flow,.auth-story-foot{display:none}.auth-story:before{width:200px;height:200px;right:-100px;top:90px}.auth-entry{padding:82px 24px 68px;min-height:540px}.auth-switch{top:23px;right:24px;left:24px;justify-content:center;border-radius:10px}.auth-switch a{flex:1;text-align:center;font-size:11px;padding:9px}.auth-eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:9px}.auth-form-wrap h1{font-size:26px}.auth-subtitle{font-size:11px;margin:9px 0 26px}.auth-input input{font-size:16px;min-height:52px;padding:14px 45px}.auth-form-wrap label.f{margin-bottom:18px}.auth-note{font-size:9px;margin-top:22px;padding-top:20px}.auth-footer{left:24px;right:24px;bottom:18px;font-size:9px}.auth-help{margin-bottom:22px}.auth-mode #toast{bottom:20px}}
@media(max-width:370px){.auth-entry{padding-left:14px;padding-right:14px}.auth-story{padding:22px}.auth-story h2{font-size:29px}.workspace-meta{display:none}.workspace .g4{gap:9px}.kpi{padding:14px}.kpi .v{font-size:22px}.workspace #who .muted{max-width:58px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* 小字号辅助文字保持可读对比度。 */
.auth-note{color:#68765f}.auth-footer{color:#69775e}.auth-footer a{color:#607653}.auth-input input::placeholder{color:#7a8570}.auth-help{color:#647754}.auth-eyebrow{color:#60764d}.workspace th{color:#66745f}.workspace .kpi .d{color:#6b7865}.workspace td[colspan]{color:#718068!important}
/* 家长报价：移动端仅表格横向滚动；提交动作始终可见。 */
.pricing-product{box-shadow:none!important;background:#fafbf8!important;margin-bottom:16px!important}
.pricing-caption{font-size:10px!important;margin-top:5px;white-space:nowrap}
.pricing-invalid [data-retail]{border-color:#c7684e;background:#fff6ef}
.pricing-invalid [data-margin],.pricing-invalid [data-source]{color:#af4836!important}
.pricing-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;padding:16px 0 0;background:#ffffffed;backdrop-filter:blur(5px)}
[data-pricing-error][hidden]{display:none}
@media(max-width:640px){.pricing-editor{padding:12px!important}.pricing-product{padding:12px!important}.pricing-actions .btn{flex:1;font-size:12px}}
