@import url('/style.css');
:root{color:#263044;background:#f5f6fb;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.55;--primary:#5b57db;--line:#e9ecf4}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--primary);font-weight:600;min-height:40px;transition:background .15s,box-shadow .15s;border:1px solid transparent;border-radius:9px}button:hover{background:#4945c4;filter:none;box-shadow:0 3px 9px #5b57db20}button.secondary{background:white;border-color:var(--line);color:#566078}button.secondary:hover{background:#f5f5ff;border-color:#cbc9f6}button:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}input,select,textarea{border-color:#dde2ed;border-radius:8px;color:#263044;min-height:43px}label{color:#515d72}h1{font-size:25px;letter-spacing:-.6px;line-height:1.3;margin-bottom:6px}h2{font-size:17px;line-height:1.4}h3{font-size:17px}small,.muted{color:#657086}a{color:var(--primary);text-decoration:none;font-weight:500}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5b57db;outline-offset:3px}
.layout{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding:30px 16px 22px;background:white;border-right:1px solid var(--line);gap:7px;position:sticky;top:0;height:100vh;color:#69748a}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:32px;color:#343569;font-size:21px;font-weight:750}.brand-mark{height:35px;width:35px;display:grid;place-items:center;background:var(--primary);border-radius:11px;color:white}.brand small{display:block;line-height:1.1;font-size:10px;letter-spacing:2px;color:#657086}.nav-caption{font-size:10px;letter-spacing:1.6px;color:#657086;padding:0 14px;margin-bottom:6px}.sidebar button{justify-content:flex-start;padding:12px 14px;color:#69748a;font-size:13px;min-height:46px;font-weight:500}.sidebar button:hover{background:#f7f7fd;box-shadow:none;color:var(--primary)}.sidebar button.active{background:#eeedff;color:var(--primary);font-weight:650}.sidebar button.active:after{content:"";margin-left:auto;background:var(--primary);width:5px;height:5px;border-radius:50%}.sidebar .foot{border-top:1px solid var(--line);padding:18px 12px 0;font-size:11px;color:#657086;white-space:pre-line}.icon{width:19px;height:19px;flex-shrink:0;display:inline-flex}.icon svg{width:100%;height:100%}main{padding:0 32px 32px}.page-header{min-height:106px;padding:23px 0 20px;border-bottom:1px solid var(--line);margin-bottom:26px}.page-header p{font-size:11px;margin-bottom:7px;color:#657086}.page-header .actions>span{display:flex;align-items:center;gap:10px;font-size:12px;color:#626c81}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;background:#e9e8ff;color:var(--primary);border-radius:50%;font-weight:650}.page-header button{font-size:12px;padding:8px 12px;min-height:34px}.card{border-color:var(--line);border-radius:13px;padding:23px;margin-bottom:22px;box-shadow:0 2px 4px #25304b02}.card .top h2{margin-bottom:0}.stats{gap:18px}.stat{padding:22px 21px}.stat-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#657086;gap:8px}.stat-icon{display:grid;place-items:center;height:35px;width:35px;border-radius:10px;background:#eeedff;color:#615cdb}.stat:nth-child(2) .stat-icon{background:#eaf6f1;color:#278368}.stat:nth-child(3) .stat-icon{background:#fff4e5;color:#a77926}.stat:nth-child(4) .stat-icon{background:#feedef;color:#b85a73}.stat strong{font-size:32px;line-height:1.4;letter-spacing:-1px;margin:7px 0}.stat small{font-size:11px}.grid{gap:22px}.actions{flex-wrap:wrap}table{font-size:12px}th{color:#657086;font-size:11px;background:#f9faff}th,td{padding:14px 12px;border-color:#f0f2f7}tbody tr:hover{background:#fbfbff}tbody tr:last-child td{border-bottom:0}td:first-child{font-weight:600;color:#46516b}td button{padding:5px 12px;min-height:32px;background:#f2f1ff;color:var(--primary);font-size:11px}td button:hover{background:#e6e4ff;box-shadow:none}.badge{background:#efedff;color:#6654a8;border-radius:6px;font-size:11px;font-weight:500}.badge[data-stage="在读"],.badge.success{background:#e8f6f0;color:#278368}.badge[data-stage="待续费"],.badge[data-stage="待付款"]{background:#fff3df;color:#966a19}.badge[data-stage="流失"],.badge[data-stage="已结束"],.badge.inactive{background:#f0f1f5;color:#6e778a}.filter-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.filter-form>.list-filters{flex:1;min-width:300px}.filter-form>button{align-self:flex-end;min-height:43px}.filter-form label{font-size:11px;color:#657086}.empty{color:#657086;font-size:12px;background:#fcfcff;border:1px dashed #e7e9f2;border-radius:10px;margin:12px 0}.error{background:#fff0f2;color:#ad3b55;border:1px solid #f8d9df;font-size:12px}.entry{border-color:#f0f2f7;font-size:13px}.entry:last-child{border-bottom:0}.entry .top{margin-bottom:0}.detail-meta{font-size:12px;color:#657086}.detail-profile{border-top:3px solid #6c65dd}.detail-profile p{font-size:12px;color:#657086}.detail-profile h2{font-size:22px}.back-link{margin-bottom:18px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.welcome h2{font-size:20px;margin:0 0 6px}.welcome p{font-size:12px;margin:0;color:#657086}.workspace-label{border:1px solid #e1dff8;color:#716a99;background:#f0effb;padding:6px 12px;border-radius:7px;font-size:11px;white-space:nowrap}.stage-row{display:grid;grid-template-columns:85px minmax(0,1fr) 28px;align-items:center;gap:12px;padding:11px 0;font-size:12px;color:#657086}.stage-track{height:6px;background:#f0f1f9;border-radius:4px;overflow:hidden}.stage-fill{height:100%;background:#8b85e8;border-radius:4px}.stage-row strong{text-align:right;color:#56617b;font-size:12px}.section-eyebrow{color:#776aaf;font-size:10px;letter-spacing:1.6px;display:block;margin-bottom:7px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{display:flex;flex-direction:column;padding:23px;margin-bottom:0;transition:border-color .15s,box-shadow .15s}.product-card:hover{border-color:#cfcbf0;box-shadow:0 7px 20px #5c54a508}.product-symbol{width:42px;height:42px;background:#edebff;color:#746bd5;border-radius:12px;display:grid;place-items:center;font-weight:700;font-size:17px}.product-card h3{margin-top:20px;overflow-wrap:anywhere}.product-card .description{overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#657086;min-height:40px}.product-price{font-size:29px;font-weight:700;color:#5a55bf;margin:17px 0}.product-price small{font-size:11px;font-weight:400;margin-left:6px}.product-facts{display:flex;flex-wrap:wrap;gap:9px;font-size:11px;color:#67738b;padding-bottom:20px;margin-bottom:17px;border-bottom:1px solid var(--line)}.product-facts span{background:#f6f7fb;padding:5px 8px;border-radius:5px}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;gap:10px}.product-footer button{font-size:11px;min-height:34px;padding:7px 12px}.catalog-head h2{font-size:20px;margin-bottom:6px}.catalog-head p{font-size:12px;margin:0;color:#657086}.login{border-color:#e3e2f3;box-shadow:0 12px 50px #5957bb0c}.login .brand-mark{width:46px;height:46px;margin-bottom:23px}dialog{border:1px solid #e5e5f1;border-radius:16px;color:#263044;box-shadow:0 24px 90px #20204d30}dialog::backdrop{background:#25284460;backdrop-filter:blur(3px)}.dialog-top{padding-bottom:17px;border-bottom:1px solid var(--line)}.dialog-top button{background:#f3f3fa;color:#69748a;font-size:11px}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:18px 15px}.grid{gap:16px}main{padding:0 22px 22px}}@media(max-width:850px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{height:auto;position:static;padding:16px;gap:5px;border-right:0;border-bottom:1px solid var(--line)}.brand{width:100%;margin:0 0 10px}.nav-caption,.sidebar .foot{display:none}.sidebar button{padding:9px 12px;font-size:12px;min-height:44px}.sidebar button.active:after{display:none}main{padding:0 18px 24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}.filter-form>.list-filters{min-width:100%;grid-template-columns:1fr 1fr}.list-filters>label:first-child{grid-column:1/-1}.workspace-label{display:none}}@media(max-width:520px){.product-grid{grid-template-columns:1fr}.stat{padding:16px}.stat strong{font-size:28px}.card{padding:18px}.page-header .actions{width:100%;justify-content:flex-end}.welcome h2{font-size:18px}.sidebar button .icon{width:16px;height:16px}.filter-form>button{flex:1}button{min-height:44px}.login{margin:5vh 18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Login education scene: local SVG, transform-only decorative motion. */
.login-screen{position:relative;isolation:isolate;min-height:100svh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:center;gap:40px;padding:48px clamp(24px,6vw,100px);overflow:hidden;background:radial-gradient(ellipse at 12% 10%,#8780e9 0,transparent 45%),linear-gradient(135deg,#494398,#655ccb 58%,#8880df);color:white}
.login-orb{position:absolute;z-index:-1;border-radius:50%;pointer-events:none;border:1px solid #ffffff18;background:#ffffff05;animation:login-orbit 22s ease-in-out infinite alternate}
.orb-one{width:640px;height:640px;left:-230px;bottom:-280px}.orb-two{width:440px;height:440px;right:-150px;top:-170px;animation-delay:-9s}
.login-story{position:relative;max-width:620px}.login-wordmark{display:flex;align-items:center;gap:12px;font-size:26px;font-weight:750;letter-spacing:2px;margin-bottom:50px}.login-wordmark .brand-mark{background:#ffffff1c;border:1px solid #ffffff35}
.login-eyebrow{font-size:13px;color:#eeeaff;letter-spacing:3px;margin-bottom:17px}.login-story-copy h2{font-size:clamp(30px,3.4vw,48px);line-height:1.4;letter-spacing:-1px;margin-bottom:18px;color:white}.login-story-copy>p:last-child{font-size:14px;line-height:1.9;color:#eeeaff}
.login-art{position:relative;width:min(100%,480px);margin:10px 0 -12px;animation:login-float 9s ease-in-out infinite}.login-art img{display:block;width:100%;height:auto}.floating-symbol{position:absolute;width:48px;height:48px;display:grid;place-items:center;border:1px solid #ffffff50;background:#ffffff1b;border-radius:14px;color:#fff;animation:login-float 7s ease-in-out infinite reverse}.floating-symbol .icon{width:24px;height:24px}.symbol-book{top:17%;left:8%;transform:rotate(-12deg)}.symbol-cap{right:5%;bottom:15%;animation-delay:-3s}
.login-panel{position:relative;width:100%;max-width:430px;justify-self:end}.login-screen .login{width:100%;max-width:none;margin:0;padding:38px;border:1px solid #ffffffb0;border-radius:22px;box-shadow:0 24px 70px #29215e38;color:#263044;background:#fff}.login-card-eyebrow{display:block;font-size:12px;color:#5b57a2;letter-spacing:1px;margin-bottom:22px}.login-screen .login h1{font-size:30px;margin-bottom:12px}.login-screen .login>p{font-size:14px;margin-bottom:32px}.login-screen .login label{font-size:13px}.login-screen .login input{min-height:48px;background:#fafaff}.login-screen .login button{min-height:48px;margin-top:7px;font-size:14px}
.login-screen .motion-toggle{position:absolute;bottom:18px;right:24px;background:#ffffff10;border:1px solid #ffffff40;color:white;font-size:12px;font-weight:400;min-height:36px;padding:7px 12px}.login-screen .motion-toggle:hover{background:#ffffff20}.login-screen .motion-toggle:focus-visible{outline-color:white}.motion-paused .login-art,.motion-paused .floating-symbol,.motion-paused .login-orb{animation-play-state:paused}
@keyframes login-float{0%,100%{translate:0 0}50%{translate:0 -12px}}@keyframes login-orbit{from{transform:translate(0,0)}to{transform:translate(35px,-25px)}}
@media(max-width:850px){.login-screen{grid-template-columns:minmax(0,1fr);gap:28px;padding:30px 24px 76px}.login-story{max-width:430px;justify-self:center;width:100%}.login-wordmark{margin-bottom:24px;font-size:23px}.login-story-copy h2{font-size:29px}.login-story-copy>p:last-child,.login-art{display:none}.login-story-copy h2 br{display:none}.login-story-copy h2{margin-bottom:0}.login-eyebrow{margin-bottom:12px}.login-panel{justify-self:center}.login-screen .login{padding:28px}.login-screen .motion-toggle{right:24px;min-height:44px}.login-orb{animation:none}}
@media(prefers-reduced-motion:reduce){.login-art,.floating-symbol,.login-orb{animation:none!important}.login-screen .motion-toggle{display:none}}
