:root{
  --bg:#f5f7fb;--surface:#fff;--surface-2:#f7f9fc;--border:#e5eaf1;--border-2:#cfd8e5;
  --text:#172337;--text-2:#5c6b80;--text-3:#8995a7;--primary:#2959d8;--primary-hover:#1d45ad;
  --primary-soft:#edf3ff;--shadow:0 12px 34px rgba(32,57,100,.07)
}
body{background:var(--bg)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(41,89,216,.32);outline-offset:2px}
.main-rail{width:4.7rem;padding:1rem .55rem;background:#fff}
.app{grid-template-columns:4.7rem 15rem minmax(0,1fr)}
.rail-items,.rail-bottom{padding:0;gap:.5rem}
.rail-item{height:3.55rem;border-radius:.9rem}
.rail-ico{width:2.5rem;height:2.5rem;background:none;box-shadow:none;color:#53647c;border-radius:.7rem}
.rail-ico svg{width:1.45rem;height:1.45rem}
.rail-item:hover .rail-ico,.rail-item.active .rail-ico{transform:none;box-shadow:none;color:var(--primary)}
.rail-item.active{background:#eef3ff;color:var(--primary)}
.rail-item.active::before{background:var(--primary)}
.rail-item.avatar{background:#e9f0ff;color:#2549a8;font-weight:800;font-size:1.05rem}
.side-menu{padding:1.55rem .85rem}.side-menu h3{padding:.25rem .6rem;font-size:.82rem;letter-spacing:.04em;color:#748296}
.side-btn{min-height:2.75rem;border-radius:.65rem}.side-btn.active{background:#edf3ff;color:#2959d8}
body:not(.home-mode) .rail-item.active,body:not(.home-mode) .side-btn.active{background:#edf3ff;color:#2959d8}
body:not(.home-mode) .rail-item.active::before{background:#2959d8}
.assistant-view{background:linear-gradient(160deg,#f2f6ff 0%,#f7f9fd 42%,#fff 100%)}
.assistant-view::before{background:radial-gradient(circle at 86% 8%,rgba(175,203,255,.24),transparent 30%)}
.assistant-header{border-bottom:1px solid #e2e8f2}.assistant-header h1{font-size:1.2rem;letter-spacing:0}
.brand-dot,.logo-mini,.assistant-logo{box-shadow:none}
.assistant-center{margin:2rem 0 1.5rem}.assistant-center h2{font-size:clamp(2.1rem,3.7vw,3.4rem);letter-spacing:-.045em;color:#172337}
.assistant-center p{color:#63738a}.home-start-btn{background:#2959d8;box-shadow:0 8px 22px rgba(41,89,216,.18)}
.home-start-btn:hover{background:#1d45ad}
.home-header-actions{display:flex;align-items:center;gap:.7rem}
.home-account-btn{display:inline-flex;align-items:center;gap:.4rem;height:2.55rem;padding:0 .9rem;border-radius:999px;border:1px solid #dce5f1;background:#fff;color:#3d526f;font-size:.85rem;font-weight:750}
.home-account-btn:hover{border-color:#adc4f7;color:#2455c6}.home-account-btn svg{width:1.05rem;height:1.05rem}
.input-box-wrap{border:1px solid #dce5f1;box-shadow:0 9px 24px rgba(34,61,112,.09);background:#fff}
.send-btn{background:#2959d8;box-shadow:none}
.model-select,.tool-pill{box-shadow:0 5px 15px rgba(38,63,101,.05)!important;border-color:#dfe6f1!important}
.tool-pill[data-tool="video"]{background:#2959d8!important;box-shadow:0 7px 18px rgba(41,89,216,.16)}
.quick-card{border:1px solid #e2e9f3;box-shadow:0 8px 28px rgba(36,61,100,.06);background:#fff}
.quick-card:hover{box-shadow:0 14px 32px rgba(36,61,100,.12)}
.quick-card[data-home-action="knowledge"]::before,.quick-card[data-home-action="video"]::before,.quick-card[data-home-action="materials"]::before{color:#a4b4d1}
.assistant-center{margin:2.15rem 0 1.35rem}.assistant-logo{display:none}
.assistant-center::before{content:'创作工作台';display:inline-block;margin-bottom:.95rem;padding:.35rem .7rem;border:1px solid #dbe6fa;border-radius:999px;color:#315ab1;background:#f7faff;font-size:.75rem;font-weight:800;letter-spacing:.06em}
.assistant-center h2{font-size:clamp(2.2rem,3.5vw,3.25rem);margin-bottom:.5rem}
.assistant-center p{font-size:1rem;color:#66778e}
.quick-actions{gap:1rem;margin-top:2.1rem;width:min(90rem,100%)}
.quick-card{min-height:13.2rem;padding:1.4rem 1.45rem;border-radius:1rem;overflow:hidden}
.quick-card::before{position:absolute;top:1.55rem;right:1.45rem;margin:0!important;font-size:.92rem!important;line-height:1!important;color:#98a9c6!important}
.quick-card .phone-stage{display:none}
.quick-heading{margin:0!important;gap:.8rem;align-items:center}
.quick-feature-icon{width:2.75rem;height:2.75rem;display:grid;place-items:center;background:#edf3ff;color:#2959d8;border-radius:.7rem;box-shadow:none}
.quick-feature-icon svg{width:1.35rem;height:1.35rem}
.quick-copy{gap:.15rem}.quick-copy strong{font-size:1.12rem}.quick-copy small{font-size:.78rem;color:#8290a3}
.quick-card-desc{margin:1rem 0 .75rem;color:#63748b;font-size:.84rem;line-height:1.6;max-width:23rem}
.quick-card-cta{margin-top:auto;font-size:.82rem;color:#2554c3;font-weight:800}
.auth-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem;overflow-y:auto;padding:1.4rem;background:radial-gradient(circle at 12% 12%,#dce9ff 0,transparent 35%),linear-gradient(145deg,#f7f9fd,#eaf0f8)}
.auth-shell{width:min(67rem,94vw);min-height:37rem;grid-template-columns:.96fr 1.04fr;border:1px solid #e0e8f3;border-radius:1.25rem;background:#fff;box-shadow:0 22px 65px rgba(24,49,89,.13)}
.auth-visual{display:flex;flex-direction:column;justify-content:space-between;min-height:37rem;overflow:hidden;padding:2.25rem 2.35rem;color:#fff;background:radial-gradient(circle at 100% 0,rgba(116,178,255,.34),transparent 32%),radial-gradient(circle at 0 100%,rgba(43,99,207,.56),transparent 36%),linear-gradient(150deg,#183464,#10254a 78%)}
.auth-visual::before{content:"";position:absolute;right:-5.5rem;bottom:4.8rem;width:19rem;height:19rem;border:1px solid rgba(207,226,255,.13);border-radius:50%;box-shadow:0 0 0 4rem rgba(207,226,255,.035),0 0 0 8rem rgba(207,226,255,.025);pointer-events:none}
.auth-brand,.auth-visual-content,.auth-visual-foot{position:relative;z-index:1}
.auth-brand{display:flex;align-items:center;gap:.75rem;font-size:1.05rem;font-weight:800;letter-spacing:.04em}.auth-brand img{width:2.4rem;height:2.4rem;object-fit:contain}
.auth-kicker{display:inline-flex;padding:.42rem .7rem;border:1px solid rgba(196,219,255,.3);border-radius:999px;background:rgba(255,255,255,.09);color:#dce9ff;font-size:.73rem;font-weight:750;letter-spacing:.08em}
.auth-visual-content h2{margin:1.25rem 0 .9rem;font-size:clamp(2.1rem,3vw,2.7rem);line-height:1.25;letter-spacing:-.035em}.auth-visual-content p{max-width:23rem;margin:0;color:#bdceea;font-size:.92rem;line-height:1.8}
.auth-feature-list{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:2rem}.auth-feature-list span{padding:.5rem .72rem;border:1px solid rgba(196,219,255,.18);border-radius:.55rem;background:rgba(255,255,255,.075);color:#e9f1ff;font-size:.77rem;font-weight:650}
.auth-visual-foot{color:#9db5dc;font-size:.78rem}
.auth-panel{min-width:0;padding:2.8rem clamp(2.2rem,5vw,4.3rem)}.auth-form-eyebrow{margin-bottom:.7rem;color:#2959d8;font-size:.77rem;font-weight:800;letter-spacing:.11em}
.auth-panel h1{color:#172337;font-size:clamp(1.65rem,2.4vw,2.05rem);letter-spacing:-.03em}.auth-panel>p{margin:.65rem 0 2rem;color:#6b7b91;font-size:.88rem;line-height:1.6}
.auth-field{gap:.48rem;margin-bottom:1.05rem}.auth-field label{color:#3b4a60;font-size:.81rem}.auth-field input{height:3.15rem;border-color:#dce4ee;border-radius:.7rem;background:#fff;color:#172337;font-size:.9rem}.auth-field input::placeholder{color:#a0adbf}.auth-field input:focus{border-color:#2959d8;box-shadow:0 0 0 3px rgba(41,89,216,.12)}
.auth-submit{width:100%;height:3.2rem;margin-top:.3rem;border-radius:.7rem;background:#2959d8;box-shadow:0 8px 18px rgba(41,89,216,.17);font-size:.92rem}.auth-submit:hover{background:#1d45ad}
.auth-secondary{align-self:center;margin-top:.7rem;padding:.45rem;color:#6b7b91;font-size:.84rem;font-weight:500}.auth-secondary strong{color:#2959d8;font-weight:800}.auth-secondary:hover{text-decoration:none}.auth-secondary:hover strong{text-decoration:underline}
.auth-error{min-height:1rem;margin:.45rem 0 0}.auth-secure{display:none}.auth-screen>.site-filing{position:static;padding:.1rem .5rem;color:#74839a;font-size:.73rem}
.auth-screen:has(#registerForm:not([hidden])){display:flex;justify-content:center;overflow-y:auto;padding:1.4rem}.auth-screen:has(#registerForm:not([hidden])) .auth-shell{margin:0;overflow:hidden}.auth-screen:has(#registerForm:not([hidden])) .auth-panel{padding:1.9rem clamp(2.2rem,4vw,3.5rem)}.auth-screen:has(#registerForm:not([hidden])) .auth-panel>p{margin-bottom:1.15rem}.auth-screen:has(#registerForm:not([hidden])) .auth-field{margin-bottom:.8rem}.auth-screen:has(#registerForm:not([hidden]))>.site-filing{padding:.1rem .5rem}
@media(max-height:700px) and (min-width:761px){.auth-screen,.auth-screen:has(#registerForm:not([hidden])){justify-content:flex-start}}
.account-modal{padding:1rem;background:rgba(12,25,47,.6);backdrop-filter:blur(8px)}
.account-card{width:min(69rem,96vw);max-height:min(90vh,58rem);padding:0;overflow:hidden;border-radius:1.1rem;box-shadow:0 24px 75px rgba(9,24,49,.28)}
.account-head{min-height:6.3rem;padding:1.3rem 1.8rem;border-bottom:1px solid #e6ebf3;background:#fff}
.account-head h2{font-size:1.5rem;color:#172337}.account-head small{color:#67768d;display:block;margin-top:.3rem}
.account-close{width:2.3rem;height:2.3rem;display:grid;place-items:center;border-radius:.55rem;color:#68768a}
.account-close:hover{background:#edf2f9;color:#16283f}
.account-layout{display:grid;grid-template-columns:12.5rem minmax(0,1fr);height:min(calc(90vh - 6.3rem),51.7rem)}
.account-nav{display:flex;flex-direction:column;gap:.3rem;padding:1.3rem .75rem;background:#f7f9fc;border-right:1px solid #e6ebf3}
.account-nav-label{font-size:.71rem;letter-spacing:.12em;color:#91a0b3;font-weight:800;padding:.15rem .8rem .7rem}
.account-tab{display:flex;align-items:center;gap:.75rem;text-align:left;width:100%;min-height:2.8rem;padding:0 .8rem;border-radius:.62rem;color:#596b83;font-weight:700;font-size:.87rem}
.account-tab svg{width:1.15rem;height:1.15rem;flex:none}.account-tab:hover{background:#eaf0fa;color:#1d3b76}
.account-tab.active{background:#e7efff;color:#2554c3}
.account-content{min-width:0;overflow:auto;padding:1.6rem 2rem 2.5rem;background:#fff}
.account-intro{margin:0 0 1.5rem;color:#65758c;line-height:1.6;font-size:.88rem}
.account-section{display:none;margin:0;padding:0;border:0}.account-section.active{display:block}
.account-section h3{margin:0 0 1.05rem;font-size:1.15rem;color:#1b2a40}
.account-section .agent-note{color:#687990;line-height:1.65}
.account-grid{gap:1rem}.account-section .auth-field input{border-radius:.7rem;background:#fff}
.points-card{background:#eef4ff;border:1px solid #dce8ff;border-radius:.8rem}
.points-number{color:#2457c4}.account-btn{background:#edf3ff;color:#2554c3;border-radius:.6rem}
.account-btn.primary{background:#2959d8;color:#fff}.account-btn:disabled{background:#e8edf4;color:#78869a;cursor:not-allowed}
.account-status{padding:.9rem 1rem;border:1px solid #dbe7fb;border-radius:.75rem;background:#f5f8ff;color:#315582;line-height:1.65;font-size:.85rem;margin:1rem 0}
.account-status.warning{border-color:#f1dfbe;background:#fffbf2;color:#815c28}
.settings-platform-list{gap:.7rem}.settings-platform-row{border-color:#e2e9f2;border-radius:.75rem;padding:1rem}
.settings-platform-row small{line-height:1.55}.settings-platform-row button{white-space:nowrap}
.recharge-packages{gap:.7rem}.recharge-packages label{display:block;padding:.9rem .6rem;border-color:#dfe6f0;border-radius:.75rem}
.recharge-packages label:has(input:checked){border-color:#2959d8;background:#edf3ff;color:#2350b7}
.recharge-packages input{accent-color:#2959d8}.account-actions label{padding:.6rem .85rem;border:1px solid #e1e8f2;border-radius:.55rem;cursor:pointer}
.account-actions input{accent-color:#2959d8}.payment-qr{width:12rem;height:12rem;border-color:#dce4ef}
#paymentDetails>p.agent-note{display:none}
.billing-orders{gap:.55rem}.billing-order{border-color:#e2e9f2;padding:.9rem;border-radius:.7rem;font-size:.85rem}
.account-section .auth-error{margin-top:1rem}
@media(max-width:760px){
  .auth-screen,.auth-screen:has(#registerForm:not([hidden])){display:flex;justify-content:flex-start;gap:0;padding:0;background:#fff}
  .auth-shell,.auth-screen:has(#registerForm:not([hidden])) .auth-shell{display:flex;flex-direction:column;width:100%;min-height:calc(100dvh - 2.6rem);margin:0;border:0;border-radius:0;box-shadow:none}
  .auth-visual,.auth-screen:has(#registerForm:not([hidden])) .auth-visual{flex:none;min-height:9.2rem;padding:1.1rem 1.4rem 1.25rem;border-radius:0 0 1.3rem 1.3rem}
  .auth-visual::before{right:-5rem;bottom:-11rem}.auth-brand{font-size:.94rem}.auth-brand img{width:2rem;height:2rem}
  .auth-visual-content{margin-top:1rem}.auth-kicker,.auth-visual-content p,.auth-feature-list,.auth-visual-foot{display:none}.auth-visual-content h2{margin:0;font-size:1.2rem;line-height:1.4;letter-spacing:0}.auth-visual-content h2 br{display:none}
  .auth-panel,.auth-screen:has(#registerForm:not([hidden])) .auth-panel{flex:1;justify-content:center;padding:2.2rem 1.4rem 1.1rem}
  .auth-panel h1{font-size:1.72rem}.auth-panel>p{margin:.55rem 0 1.65rem}.auth-screen:has(#registerForm:not([hidden])) .auth-panel{justify-content:flex-start;padding-top:1.8rem}.auth-screen:has(#registerForm:not([hidden])) .auth-panel>p{margin-bottom:1.2rem}
  .auth-field input{height:3.1rem}.auth-screen>.site-filing,.auth-screen:has(#registerForm:not([hidden]))>.site-filing{width:100%;padding:.55rem .5rem 1rem;background:#fff}
  .quick-actions{grid-template-columns:1fr;gap:.65rem;margin-top:1.4rem}.quick-card{min-height:9.5rem;padding:1.1rem}.quick-card-desc{margin:.55rem 0}.quick-card::before{top:1.25rem;right:1.15rem}
  .home-account-btn span{display:none}.home-account-btn{width:2.55rem;padding:0;justify-content:center}
  .app{grid-template-columns:3.8rem minmax(0,1fr)}.main-rail{width:3.8rem;padding:.75rem .35rem}
  .account-modal{padding:0}.account-card{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}
  .account-head{min-height:5rem;padding:1rem}.account-layout{height:calc(100dvh - 5rem);grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .account-nav{flex-direction:row;overflow:auto;padding:.55rem;white-space:nowrap;border-right:0;border-bottom:1px solid #e6ebf3}
  .account-nav-label{display:none}.account-tab{width:auto;min-width:max-content;padding:0 .65rem}.account-tab svg{display:none}
  .account-content{padding:1.25rem 1rem}.settings-platform-row{align-items:flex-start;flex-direction:column}
  .recharge-packages{grid-template-columns:repeat(2,minmax(0,1fr))}
}
