:root{color-scheme:dark;--bg:#0e1420;--panel:#171f2e;--card:#1c2637;--line:#2b374b;--ink:#edf2fa;--muted:#99a8bf;--accent:#80b8ff;--green:#66d6b0;--red:#ff929a;--gold:#e5c180}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 'Microsoft YaHei',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,.button{border:1px solid var(--line);border-radius:9px;background:var(--card);padding:9px 15px;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}button:hover,.button:hover{border-color:var(--accent)}.primary{background:var(--accent);border-color:var(--accent);color:#0a203d;font-weight:700}.danger{color:var(--red)}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#101826;color:var(--ink);padding:11px 12px}textarea{min-height:220px;resize:vertical}label{display:grid;gap:7px;color:var(--muted);font-size:13px}.hint,small{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.8px}h2{font-size:20px}h3{font-size:16px}.loading{padding:60px;color:var(--muted)}.brand{display:flex;gap:11px;align-items:center;font-size:19px;font-weight:800}.brand b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:#112946;font-size:24px}.dev-banner{font-size:12px;background:#302b1f;border-bottom:1px solid #514329;color:#e5c180;padding:8px 24px}.login{min-height:calc(100vh - 37px);display:grid;grid-template-columns:1.1fr 1fr;max-width:1300px;margin:auto;align-items:center;gap:100px;padding:70px}.login-intro h1{font-size:48px;line-height:1.3;margin:45px 0 20px}.login-intro p{color:var(--muted);max-width:410px}.flow-art{display:flex;flex-wrap:wrap;gap:12px;margin:40px 0}.flow-art span{padding:13px 17px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.flow-art i{font-style:normal;color:var(--accent);align-self:center}.login-card{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:36px;display:grid;gap:23px;box-shadow:0 22px 90px #0003}.login-card h2{font-size:25px}.code-row{display:flex;gap:10px}.code-row button{white-space:nowrap}.dev-code{padding:10px;background:#21392f;color:var(--green);border-radius:8px;font-size:13px}.shell{display:grid;grid-template-columns:224px 1fr;min-height:calc(100vh - 37px)}aside{border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;gap:32px;background:#111927}aside .brand{padding:0 10px}.nav{display:grid;gap:6px}.nav button{background:none;border-color:transparent;text-align:left;justify-content:flex-start;color:var(--muted);padding:12px}.nav button.active{background:#243853;color:var(--accent)}.nav-heading{font-size:11px;color:#657892;letter-spacing:1px;padding:20px 12px 4px}.profile{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;display:grid;gap:10px}.profile small{font-size:12px}main{min-width:0;padding:34px 44px;max-width:1700px;width:100%;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin-top:6px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:30px}.stat,.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px}.stat strong{font-size:29px;display:block;margin:10px 0 0}.stat span{font-size:13px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.card{display:flex;flex-direction:column;gap:16px}.card .button{margin-top:auto}.tag{display:inline-block;border-radius:5px;padding:2px 7px;background:#223b36;color:var(--green);font-size:11px;width:fit-content}.tag.warn{background:#393223;color:var(--gold)}.empty{padding:60px 20px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.progress{height:9px;background:var(--line);border-radius:8px;overflow:hidden;margin:18px 0}.progress i{display:block;height:100%;background:var(--accent);max-width:100%}.price{font-size:28px;font-weight:bold}.price small{font-weight:normal;font-size:13px}.table-wrap{overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th{text-align:left;color:var(--muted);font-weight:normal;background:#1b2637}th,td{padding:13px 16px;border-bottom:1px solid var(--line);max-width:420px;overflow:hidden;text-overflow:ellipsis}td.wrap{white-space:normal}tr:last-child td{border-bottom:0}.actions{display:flex;gap:8px}.actions button{font-size:12px;padding:5px 10px}.file-name{max-width:230px;overflow:hidden;text-overflow:ellipsis}.note{padding:14px 18px;background:#1b2b3e;border-left:3px solid var(--accent);color:#bacde3;margin:20px 0;border-radius:5px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#304863;color:#fff;border:1px solid #5e7898;border-radius:10px;box-shadow:0 12px 40px #0009;z-index:20000;display:none;max-width:90vw;font-weight:600}#toast.error{background:#7d2f3b;border-color:#ff929a}#toast.modal-toast{position:static;inset:auto;transform:none;max-width:none;width:100%;box-shadow:none;margin:0;color:#fff}dialog{width:min(720px,94vw);max-height:88vh;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:0}dialog::backdrop{background:#030911bf;backdrop-filter:blur(4px)}dialog form{padding:26px;display:grid;gap:18px}dialog header{display:flex;justify-content:space-between;align-items:center}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields .full{grid-column:1/-1}.check{display:flex;align-items:center;gap:10px}.check input{width:auto}.upload-input{display:none}.fine{font-size:12px;color:var(--muted)}@media(max-width:900px){.login{padding:30px;gap:40px}.login-intro h1{font-size:34px}.shell{grid-template-columns:180px 1fr}main{padding:25px}.stats{grid-template-columns:1fr}.page-head{align-items:flex-start}}@media(max-width:650px){.login{display:block}.login-intro{display:none}.shell{display:block}aside{padding:16px;gap:12px}.nav{display:flex;flex-wrap:wrap;gap:2px}.nav-heading,.profile{display:none}.nav button{padding:8px}.fields{grid-template-columns:1fr}main{padding:20px}.page-head{flex-wrap:wrap}}

/* Brand and motion: use the same original logo as the canvas. */
.brand{flex-direction:column;align-items:flex-start;gap:8px;text-decoration:none;color:var(--ink)}
.brand img{display:block;width:156px;height:auto;object-fit:contain;filter:drop-shadow(0 5px 15px #008cdb22)}
.brand span{font-size:11px;font-weight:400;letter-spacing:3px;color:var(--muted)}
.login{position:relative;isolation:isolate;overflow:hidden}
.login::before,.login::after{content:'';position:absolute;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(55px);opacity:.28;animation:ambient-drift 16s ease-in-out infinite alternate}
.login::before{width:460px;height:460px;background:#0876bd;left:-100px;top:5%}
.login::after{width:330px;height:330px;background:#245c9b;right:0;bottom:8%;animation-delay:-7s}
.login-intro .brand{width:240px;align-items:center;gap:2px}.login-intro .brand img{width:240px;animation:logo-arrive .9s ease-out both}.login-intro .brand span{width:100%;text-align:center}
.login-intro h1{animation:rise-in .7s .08s ease-out both}
.login-intro>p{animation:rise-in .7s .18s ease-out both}
.login-card{animation:rise-in .8s .12s ease-out both}
.flow-art span{position:relative;overflow:hidden;animation:rise-in .7s ease-out both;transition:transform .2s,border-color .2s}
.flow-art span:hover{transform:translateY(-4px);border-color:var(--accent)}
.flow-art span::after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,#80b8ff20,transparent 70%);transform:translateX(-120%);animation:flow-light 7s ease-in-out infinite}
.flow-art span:nth-of-type(2)::after{animation-delay:.65s}.flow-art span:nth-of-type(3)::after{animation-delay:1.3s}.flow-art span:nth-of-type(4)::after{animation-delay:1.95s}
.card,.stat{animation:rise-in .4s ease-out both}.card{transition:transform .2s,border-color .2s}.card:hover{border-color:#466185}
button,.button{transition:background .18s,border-color .18s,transform .18s}.primary:active{transform:scale(.98)}
button:disabled,.button[aria-disabled=true]{cursor:not-allowed;opacity:.48;transform:none!important}.nav button.active{position:relative}.nav button.active::before{content:'';position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:4px;background:var(--accent)}button:focus-visible,.button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #86b9ff;outline-offset:2px}.section-head small{color:var(--muted);text-align:right}.storage-plan-grid{grid-template-columns:repeat(auto-fit,minmax(240px,280px))}.file-table .table-wrap{max-height:560px}.file-table th,.admin-shell .table-wrap th{position:sticky;top:0;z-index:2}.file-table .pager{padding-inline:0}
@keyframes rise-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes logo-arrive{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ambient-drift{to{transform:translate(45px,25px) scale(1.12);opacity:.17}}
@keyframes flow-light{0%,10%{transform:translateX(-120%)}40%,100%{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){aside .brand img{width:125px}.login-card::before{content:'';display:block;width:180px;height:70px;background:url('/platform/logo.png') center/contain no-repeat}.brand span{display:none}}
.login{max-width:none;width:100%;padding-inline:max(30px,calc((100vw - 1160px)/2));gap:90px;overflow:hidden}
.login::before{left:5%;top:6%;width:540px;height:540px;filter:blur(100px);opacity:.18}
.login::after{right:3%;bottom:0;width:470px;height:470px;filter:blur(100px);opacity:.16}
@media(max-width:900px){.login{padding:30px;gap:40px}}
.breadcrumb{display:inline-flex;color:var(--accent);text-decoration:none;margin-bottom:22px}.episode-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.episode-number{color:var(--accent);font-size:22px;font-weight:700;letter-spacing:1px}.project-card .actions,.episode-card .actions{border-top:1px solid var(--line);padding-top:14px;justify-content:space-between}.project-card,.episode-card{transition:border-color .2s,transform .2s}.project-card:hover,.episode-card:hover{border-color:#496484;transform:translateY(-2px)}
/* Dedicated administrator workspace. */
.admin-shell{min-height:100vh;grid-template-columns:238px 1fr}.admin-shell>aside{background:#101a2a;gap:24px}.admin-shell .nav-heading{padding-top:18px;font-size:12px;color:#7f96b5}.admin-shell .nav button{padding:10px 12px}.admin-shell main{padding-top:0}.admin-topbar{min-height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.admin-topbar>div{display:flex;align-items:center;gap:14px}.admin-badge{font-size:15px;font-weight:700;color:var(--ink)}.admin-shell .profile{gap:12px}.admin-entry{font-size:12px;color:var(--accent);margin-top:8px}.access-denied{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}.admin-page .stat{background:linear-gradient(135deg,#1c2a40,#171f2e)}@media(max-width:900px){.admin-shell{grid-template-columns:190px 1fr}.admin-topbar{flex-wrap:wrap;padding:18px 0}.admin-topbar .actions{flex-wrap:wrap}}@media(max-width:650px){.admin-shell{display:block}.admin-shell .nav-heading{display:none}.admin-shell main{padding-top:0}.admin-topbar{margin-bottom:24px}.admin-shell .brand img{width:130px}}
.admin-shell .table-wrap{max-height:calc(100vh - 250px)}.admin-shell details .table-wrap{max-height:520px}.admin-shell input[type=file]{padding:10px;background:#101a29;border:1px dashed #4b6484}.admin-shell input[type=file]::file-selector-button{margin-right:12px;padding:8px 12px;border:1px solid #476182;border-radius:7px;background:#20324a;color:var(--ink);cursor:pointer}.admin-shell textarea{resize:vertical}.admin-shell .page-head h1{font-size:28px}.admin-shell .page-head p{max-width:820px;line-height:1.65}
.legacy-account{display:grid;gap:3px}.legacy-account small{color:#d3a65c;font-size:10px}
.model-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.model-controls label{min-width:170px;flex:1}.model-controls button{margin-bottom:1px}.model-pick,#allModels{width:16px;height:16px;cursor:pointer}.supplier-price{display:block;max-width:220px;white-space:normal;font-size:12px;color:var(--muted)}#modelTable>.fine{margin-bottom:12px}.table-wrap .actions{flex-wrap:wrap}.table-wrap .actions button{white-space:nowrap}

.fields [hidden]{display:none!important}
.price-reference{min-width:0;border:1px solid var(--line);border-radius:10px;background:#111b2a;padding:16px}.price-reference h3{margin:0 0 12px}.price-reference .table-wrap{margin:12px 0}.price-reference th,.price-reference td{padding:10px;font-size:12px;white-space:normal}.price-reference .fine{line-height:1.7}.price-reference label{display:grid;gap:8px}.price-reference .actions{flex-wrap:wrap}.price-reference a{font-size:12px;color:var(--accent)}

.video-pricing-editor{padding:18px;border:1px solid #3d506a;border-radius:12px;background:#111c2c}.video-pricing-editor h3{margin:0 0 12px}.video-price-table,.enhance-price-table{overflow-x:auto}.video-price-table table,.enhance-price-table table{width:100%}.video-price-table input[type=number],.enhance-price-table input[type=number]{width:100%;min-width:120px}.enhance-price-table>label{display:grid;grid-template-columns:minmax(160px,240px);gap:6px;margin:14px 0 6px}.video-pricing-editor [hidden]{display:none!important}

.video-price-table input[type=checkbox],.enhance-price-table input[type=checkbox]{width:16px;height:16px;margin:0;padding:0}.video-price-table td:first-child,.enhance-price-table td:first-child{overflow:visible;text-overflow:clip}
[data-admin-task-rows] table { table-layout: fixed; width: 100%; }

/* Public, server-rendered product page. It stays independent from the signed-in app shell. */
.home-page{min-height:100vh;background:radial-gradient(circle at 14% 2%,#164d7c42,transparent 29%),radial-gradient(circle at 88% 20%,#31528a2e,transparent 26%),linear-gradient(145deg,#08111e,#0c1728 54%,#0a1321);color:#edf5ff}
.home-page a{color:inherit}.home-nav{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:32px;width:min(1180px,calc(100% - 40px));margin:auto;padding:17px 0;border-bottom:1px solid #ffffff14;background:#091321d9;backdrop-filter:blur(18px)}
.home-brand{display:flex;align-items:center;gap:15px;text-decoration:none}.home-brand img{width:158px;height:auto}.home-brand span{padding-left:15px;border-left:1px solid #ffffff21;color:#8fa6c2;font-size:11px;letter-spacing:2px;white-space:nowrap}
.home-nav nav,.home-footer nav{display:flex;align-items:center;gap:26px}.home-nav nav>a:not(.button),.home-footer a{color:#a9bad0;text-decoration:none;font-size:13px}.home-nav nav>a:hover,.home-footer a:hover{color:#fff}.home-nav .button{padding:8px 16px}
.home-main{display:block;max-width:1180px;padding:0 0 80px}.home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);align-items:center;gap:75px;min-height:660px;padding:92px 0 84px}.home-kicker{margin-bottom:13px;color:#7cc4ff;font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.home-hero h1{max-width:720px;font-size:clamp(44px,5.6vw,76px);line-height:1.08;letter-spacing:-3px;background:linear-gradient(120deg,#fff,#a9d7ff 56%,#8ba8da);-webkit-background-clip:text;background-clip:text;color:transparent}.home-lead{max-width:680px;margin-top:26px;color:#a7b8cc;font-size:17px;line-height:1.95}.home-actions{display:flex;gap:13px;margin-top:34px}.home-actions .button{min-width:140px;padding:11px 22px}.home-points{display:flex;flex-wrap:wrap;gap:11px 24px;margin:28px 0 0;padding:0;list-style:none;color:#8fa5bf;font-size:12px}.home-points li::before{content:'✓';margin-right:7px;color:#65d8b2;font-weight:900}
.home-visual{position:relative;display:grid;gap:11px;padding:27px;border:1px solid #466381;border-radius:24px;background:linear-gradient(150deg,#19283bd9,#101b2bd9);box-shadow:0 35px 95px #0008,inset 0 1px #ffffff14}.home-visual::before{content:'';position:absolute;inset:-1px;border-radius:24px;background:linear-gradient(120deg,#7cc4ff33,transparent 34%,transparent 70%,#85a6ff22);pointer-events:none}.home-flow-main{position:relative;display:grid;grid-template-columns:47px 1fr;gap:1px 14px;align-items:center;padding:18px;border:1px solid #314761;border-radius:13px;background:#111d2c}.home-flow-main span{grid-row:1/3;display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:#203d5d;color:#8dceff;font-size:13px;font-weight:900}.home-flow-main strong{font-size:15px}.home-flow-main small{font-size:11px}.home-flow-main:not(:last-child)::after{content:'';position:absolute;left:41px;bottom:-12px;width:2px;height:12px;background:#4d7198}
.home-section{padding:92px 0;border-top:1px solid #ffffff13}.home-section>h2,.home-cta h2{max-width:850px;font-size:clamp(30px,4vw,48px);line-height:1.2;letter-spacing:-1.7px}.home-section-lead{max-width:780px;margin-top:18px;color:#97aac1;font-size:15px;line-height:1.9}.home-step-grid,.home-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:42px 0 0;padding:0;list-style:none}.home-step-grid li,.home-feature-grid article{min-height:230px;padding:25px;border:1px solid #2d4058;border-radius:16px;background:linear-gradient(145deg,#162336,#111b2a);box-shadow:0 18px 40px #03081030}.home-step-grid b{display:block;margin-bottom:33px;color:#74bdf8;font-size:13px;letter-spacing:1px}.home-step-grid h3,.home-feature-grid h3{font-size:17px}.home-step-grid p,.home-feature-grid p{margin-top:11px;color:#8fa3bc;font-size:13px;line-height:1.85}.home-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-feature-grid article{min-height:190px}.home-feature-grid article::before{content:'';display:block;width:38px;height:3px;margin-bottom:25px;border-radius:3px;background:linear-gradient(90deg,#72c2ff,#66d6b0)}
.home-faq details{max-width:920px;border-bottom:1px solid #2b3c52}.home-faq details:first-of-type{margin-top:34px;border-top:1px solid #2b3c52}.home-faq summary{padding:21px 4px;cursor:pointer;font-size:15px;font-weight:700}.home-faq details p{padding:0 4px 22px;color:#98abc2;line-height:1.85}.home-cta{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:12px;padding:52px;border:1px solid #426185;border-radius:23px;background:radial-gradient(circle at 82% 20%,#2773aa38,transparent 34%),linear-gradient(135deg,#172b42,#101d2d)}.home-cta .button{min-width:160px;padding:13px 22px}.home-footer{display:flex;align-items:center;justify-content:space-between;gap:30px;width:min(1180px,calc(100% - 40px));margin:auto;padding:30px 0 42px;border-top:1px solid #ffffff13;color:#879bb4}.home-footer>div{display:flex;align-items:baseline;gap:15px}.home-footer strong{color:#eaf3ff}.home-footer span{font-size:11px;letter-spacing:2px}
@media(max-width:980px){.home-nav nav>a:not(.button){display:none}.home-hero{grid-template-columns:1fr;min-height:0;padding-top:72px}.home-visual{max-width:680px}.home-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-nav{width:min(100% - 28px,1180px)}.home-brand img{width:126px}.home-brand span{display:none}.home-main{padding-inline:17px}.home-hero{gap:45px;padding:60px 0}.home-hero h1{font-size:43px;letter-spacing:-2px}.home-lead{font-size:15px}.home-actions{align-items:stretch;flex-direction:column}.home-visual{padding:16px}.home-section{padding:68px 0}.home-step-grid,.home-feature-grid{grid-template-columns:1fr}.home-step-grid li,.home-feature-grid article{min-height:0}.home-cta{align-items:flex-start;flex-direction:column;padding:30px}.home-footer{align-items:flex-start;flex-direction:column}.home-footer nav{align-items:flex-start;flex-direction:column;gap:11px}}

/* Public home: wider spatial balance and a lightweight live-workflow surface. */
.home-page{position:relative;overflow-x:hidden;isolation:isolate;background:radial-gradient(circle at 9% 8%,#0d76bd36,transparent 28%),radial-gradient(circle at 88% 16%,#3969cc26,transparent 30%),linear-gradient(145deg,#06111e,#0b1728 54%,#091524)}
.home-page::before{content:'';position:fixed;z-index:-3;inset:0;pointer-events:none;background-image:linear-gradient(#8cc9ff09 1px,transparent 1px),linear-gradient(90deg,#8cc9ff09 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,#000 0,transparent 88%);animation:home-grid-drift 24s linear infinite}
.home-page::after{content:'';position:fixed;z-index:-2;left:0;right:0;top:0;height:40vh;pointer-events:none;background:linear-gradient(to bottom,transparent,#6cc8ff08 48%,transparent);transform:translateY(-100%);animation:home-scan 9s linear infinite}
.home-signal-field{position:absolute;z-index:-1;inset:0 0 auto;height:780px;max-width:1800px;margin:auto;pointer-events:none;overflow:hidden}.home-signal-field::before,.home-signal-field::after{content:'';position:absolute;border:1px solid #71bfff20;border-radius:50%;filter:drop-shadow(0 0 16px #5db8ff2b);animation:home-orbit 24s linear infinite}.home-signal-field::before{width:720px;height:720px;right:-280px;top:48px}.home-signal-field::after{width:430px;height:430px;left:-190px;top:150px;animation-direction:reverse;animation-duration:18s}.home-signal-field i{position:absolute;width:4px;height:4px;border-radius:50%;background:#85d7ff;box-shadow:0 0 14px 4px #38a8ff88;animation:home-particle 6s ease-in-out infinite}.home-signal-field i:nth-child(1){left:8%;top:27%}.home-signal-field i:nth-child(2){left:30%;top:13%;animation-delay:-1.4s}.home-signal-field i:nth-child(3){left:51%;top:30%;animation-delay:-2.8s}.home-signal-field i:nth-child(4){right:8%;top:22%;animation-delay:-4.2s}.home-signal-field i:nth-child(5){right:29%;top:65%;animation-delay:-1.9s}.home-signal-field i:nth-child(6){left:18%;top:72%;animation-delay:-3.5s}
.home-nav{width:min(1420px,calc(100% - 64px));padding:16px 8px;background:linear-gradient(90deg,#071321e8,#0a1727d9);box-shadow:0 18px 60px #02060d35}.home-main{max-width:1420px;padding:0 24px 90px}.home-hero{grid-template-columns:minmax(0,1.08fr) minmax(470px,.92fr);gap:clamp(64px,7vw,120px);min-height:720px;padding:92px 0 94px}.home-hero-copy{position:relative}.home-hero-copy::before{content:'';position:absolute;left:-28px;top:5px;width:2px;height:92px;background:linear-gradient(transparent,#64c9ff,transparent);box-shadow:0 0 18px #64c9ff}.home-kicker{display:flex;align-items:center;gap:10px}.home-kicker::before{content:'';width:22px;height:1px;background:#75cfff;box-shadow:0 0 10px #75cfff}.home-hero h1{font-size:clamp(54px,5vw,82px);max-width:780px;line-height:1.04;text-wrap:balance;text-shadow:0 18px 64px #62b7ff16}.home-lead{max-width:760px;font-size:18px}.home-actions .primary{position:relative;overflow:hidden;box-shadow:0 0 0 1px #91d5ff50,0 14px 44px #238ed142}.home-actions .primary::after{content:'';position:absolute;inset:-30% auto -30% -45%;width:35%;background:linear-gradient(90deg,transparent,#fff8,transparent);transform:skewX(-20deg);animation:home-button-sweep 4.8s ease-in-out infinite}.home-points{padding-top:20px;border-top:1px solid #9fd5ff18}
.home-visual{gap:10px;padding:22px;border-color:#5a83a9;background:linear-gradient(145deg,#192b41e8,#0d1a2ae8);box-shadow:0 42px 120px #0009,0 0 0 1px #8fd4ff0d,inset 0 1px #ffffff18;transform:perspective(1300px) rotateY(-2deg);animation:home-panel-float 7s ease-in-out infinite}.home-visual::before{background:linear-gradient(120deg,#83d5ff4a,transparent 28%,transparent 70%,#737dff2e)}.home-visual::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 0 45%,#a1ddff10 50%,transparent 55%);background-size:240% 100%;animation:home-panel-light 8s linear infinite}.home-visual-head,.home-visual-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:2px 4px 10px;color:#69829e;font-size:9px;letter-spacing:1.5px}.home-visual-head span{display:flex;align-items:center;gap:7px;color:#88cfff;font-weight:800}.home-visual-head i{width:6px;height:6px;border-radius:50%;background:#5be7bc;box-shadow:0 0 12px #5be7bc;animation:kicker-pulse 2s ease-in-out infinite}.home-flow-main{z-index:1;overflow:hidden;padding:17px 18px;border-color:#385472;background:linear-gradient(95deg,#0d1a2a,#132338);transition:transform .25s ease,border-color .25s ease,background .25s ease}.home-flow-main::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:#62c4ff;opacity:.35;box-shadow:0 0 14px #62c4ff}.home-flow-main:hover{transform:translateX(6px);border-color:#72b8ec;background:linear-gradient(95deg,#102136,#162d47)}.home-flow-main span{background:linear-gradient(145deg,#28547d,#173551);box-shadow:inset 0 1px #ffffff18,0 0 22px #258bd125}.home-flow-main:not(:last-child)::after{box-shadow:0 0 8px #70bdff}.home-visual-foot{justify-content:center;gap:10px;padding:8px 4px 0}.home-visual-foot b{width:42px;height:1px;background:linear-gradient(90deg,#4ba8e6,#65ddb4);animation:home-link-pulse 2.4s ease-in-out infinite}.home-visual-foot b:nth-of-type(2){animation-delay:-1.2s}
.home-flow-main:nth-last-child(2)::after{display:none}.home-step-grid li,.home-feature-grid article{position:relative;overflow:hidden;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}.home-step-grid li:hover,.home-feature-grid article:hover{transform:translateY(-6px);border-color:#4d7aa5;box-shadow:0 24px 70px #02081270}.home-step-grid li::after,.home-feature-grid article::after{content:'';position:absolute;inset:auto -30% -70% 35%;height:150px;border-radius:50%;background:#298dd720;filter:blur(35px);transition:transform .35s ease}.home-step-grid li:hover::after,.home-feature-grid article:hover::after{transform:translateY(-18px)}.home-footer{width:min(1420px,calc(100% - 64px))}
@keyframes home-grid-drift{to{background-position:54px 54px,54px 54px}}@keyframes home-scan{to{transform:translateY(260vh)}}@keyframes home-orbit{to{transform:rotate(360deg)}}@keyframes home-particle{0%,100%{opacity:.22;transform:translateY(0) scale(.8)}50%{opacity:1;transform:translateY(-20px) scale(1.35)}}@keyframes home-button-sweep{0%,58%{left:-45%}82%,100%{left:130%}}@keyframes home-panel-float{0%,100%{transform:perspective(1300px) rotateY(-2deg) translateY(0)}50%{transform:perspective(1300px) rotateY(-1deg) translateY(-8px)}}@keyframes home-panel-light{to{background-position:-240% 0}}@keyframes home-link-pulse{0%,100%{opacity:.3;transform:scaleX(.75)}50%{opacity:1;transform:scaleX(1)}}
@media(max-width:1100px){.home-nav{width:min(100% - 36px,1420px)}.home-main{padding-inline:18px}.home-hero{grid-template-columns:1fr;gap:64px;min-height:0}.home-hero-copy{max-width:900px}.home-visual{max-width:760px;width:100%;transform:none;animation:home-panel-float-flat 7s ease-in-out infinite}.home-footer{width:min(100% - 36px,1420px)}@keyframes home-panel-float-flat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}}
@media(max-width:650px){.home-main{padding-inline:16px}.home-nav{width:calc(100% - 24px);padding-inline:0}.home-hero{padding-top:58px}.home-hero-copy::before{display:none}.home-hero h1{font-size:45px}.home-visual{padding:14px}.home-visual-head small{display:none}.home-flow-main{grid-template-columns:42px 1fr;padding:14px}.home-flow-main span{width:42px;height:42px}.home-footer{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){.home-page::before,.home-page::after,.home-signal-field::before,.home-signal-field::after,.home-signal-field i,.home-actions .primary::after,.home-visual,.home-visual::after,.home-visual-head i,.home-visual-foot b{animation:none!important}.home-visual{transform:none}}

/* v304 public home: full-scale presentation for desktop and ultrawide screens. */
.home-page{--home-shell:min(1760px,calc(100% - clamp(40px,6vw,112px)));background:radial-gradient(circle at 12% 7%,#087ccf32,transparent 31%),radial-gradient(circle at 89% 18%,#405fe62a,transparent 32%),radial-gradient(circle at 48% 96%,#0d8aa31b,transparent 31%),linear-gradient(145deg,#050e19,#091728 48%,#081321)}
.home-nav{width:var(--home-shell);min-height:88px;padding:17px 12px;border-color:#9ed8ff1f;background:linear-gradient(90deg,#06111fef,#0a1727e7 55%,#071323e9);box-shadow:0 24px 80px #01060d52}
.home-brand{gap:20px}.home-brand img{width:190px}.home-brand span{padding-left:20px;font-size:12px;letter-spacing:2.6px}.home-nav nav{gap:34px}.home-nav nav>a:not(.button){font-size:14px}.home-nav .button{padding:11px 23px;border-radius:10px;font-size:14px}
.home-main{width:var(--home-shell);max-width:none;margin:0 auto;padding:0 12px 120px}.home-hero{position:relative;grid-template-columns:minmax(0,1.12fr) minmax(570px,.88fr);gap:clamp(72px,7vw,148px);min-height:clamp(740px,calc(100vh - 88px),900px);padding:92px 0 102px}.home-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#6cc8ff46 18%,#6cc8ff19 72%,transparent)}
.home-hero-copy{max-width:900px;animation:home-copy-enter .75s cubic-bezier(.2,.8,.2,1) both}.home-hero-copy::before{left:-34px;height:116px}.home-kicker{margin-bottom:20px;font-size:14px;letter-spacing:2.5px}.home-kicker::before{width:32px}.home-hero h1{max-width:940px;font-size:clamp(68px,5.25vw,104px);line-height:1.01;letter-spacing:-4.5px}.home-lead{max-width:860px;margin-top:32px;font-size:20px;line-height:1.9}.home-actions{gap:16px;margin-top:40px}.home-actions .button{min-width:168px;padding:15px 28px;border-radius:11px;font-size:15px}.home-points{gap:14px 32px;margin-top:34px;padding-top:24px;font-size:13px}
.home-visual{justify-self:end;width:100%;max-width:700px;gap:13px;padding:32px;border-radius:29px;box-shadow:0 52px 150px #000b,0 0 0 1px #8fd4ff14,inset 0 1px #ffffff20}.home-visual::before{border-radius:29px}.home-visual-head,.home-visual-foot{font-size:10px;letter-spacing:1.8px}.home-flow-main{grid-template-columns:58px 1fr;gap:2px 18px;min-height:91px;padding:21px 23px;border-radius:16px}.home-flow-main span{width:58px;height:58px;border-radius:15px;font-size:15px}.home-flow-main strong{font-size:18px}.home-flow-main small{font-size:12px;line-height:1.55}.home-flow-main:not(:last-child)::after{left:50px;bottom:-14px;height:14px}.home-visual-foot{padding-top:12px}.home-visual-foot b{width:60px}
.home-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 10px;border:1px solid #5c89b13b;border-radius:22px;background:linear-gradient(100deg,#0a1828d9,#10233ae0 52%,#0b1b30d9);box-shadow:0 25px 75px #02070e45;overflow:hidden}.home-proof article{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:20px;min-height:126px;padding:27px 34px;position:relative}.home-proof article+article{border-left:1px solid #79b8e527}.home-proof article::after{content:'';position:absolute;inset:auto 14% 0;height:1px;background:linear-gradient(90deg,transparent,#61cafb7a,transparent);opacity:.55}.home-proof span{display:grid;place-items:center;width:52px;height:52px;border:1px solid #5fb7e765;border-radius:14px;background:#173651;color:#8cd7ff;font-size:13px;font-weight:900;box-shadow:inset 0 1px #fff2,0 0 24px #1c93d12e}.home-proof div{display:grid;gap:7px}.home-proof strong{font-size:17px}.home-proof small{color:#8ea7c1;font-size:12px;line-height:1.6}
.home-section{padding:122px 0;border-color:#ffffff19}.home-section>h2,.home-cta h2{max-width:1060px;font-size:clamp(42px,4vw,62px);line-height:1.12;letter-spacing:-2.3px}.home-section-lead{max-width:980px;margin-top:24px;font-size:17px;line-height:1.95}.home-step-grid,.home-feature-grid{gap:20px;margin-top:54px}.home-step-grid li,.home-feature-grid article{min-height:280px;padding:34px;border-radius:21px;background:linear-gradient(145deg,#17283d,#0d1928);box-shadow:0 25px 60px #02070e45}.home-step-grid b{margin-bottom:46px;font-size:14px}.home-step-grid h3,.home-feature-grid h3{font-size:20px}.home-step-grid p,.home-feature-grid p{margin-top:15px;font-size:14px;line-height:1.9}.home-feature-grid article{min-height:230px}.home-feature-grid article::before{width:52px;margin-bottom:31px}.home-faq details{max-width:1180px}.home-faq details:first-of-type{margin-top:44px}.home-faq summary{padding:27px 7px;font-size:18px}.home-faq details p{padding:0 7px 28px;font-size:15px}.home-cta{margin-top:24px;padding:72px;border-radius:28px}.home-cta .button{min-width:190px;padding:16px 28px;font-size:15px}.home-footer{width:var(--home-shell);padding:38px 12px 54px}.home-footer strong{font-size:18px}.home-footer a{font-size:14px}
@keyframes home-copy-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1500px){.home-page{--home-shell:min(100% - 56px,1440px)}.home-hero{grid-template-columns:minmax(0,1fr) minmax(500px,.86fr);gap:70px}.home-hero h1{font-size:clamp(62px,5.4vw,86px)}.home-visual{max-width:610px}}
@media(max-width:1100px){.home-page{--home-shell:calc(100% - 36px)}.home-nav{padding-inline:0}.home-main{padding-inline:0}.home-hero{grid-template-columns:1fr;gap:70px;min-height:0;padding:80px 0 96px}.home-hero-copy{max-width:940px}.home-visual{justify-self:start;max-width:780px;animation:home-panel-float-flat 7s ease-in-out infinite}.home-proof{grid-template-columns:1fr}.home-proof article+article{border-left:0;border-top:1px solid #79b8e527}.home-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-footer{padding-inline:0}}
@media(max-width:650px){.home-page{--home-shell:calc(100% - 28px)}.home-nav{min-height:70px}.home-brand img{width:136px}.home-main{padding-bottom:76px}.home-hero{gap:48px;padding:62px 0 72px}.home-hero-copy::before{display:none}.home-kicker{font-size:11px}.home-hero h1{font-size:clamp(43px,13vw,58px);letter-spacing:-2.5px}.home-lead{margin-top:24px;font-size:16px}.home-actions{flex-direction:column}.home-actions .button{width:100%;min-width:0}.home-points{display:grid;gap:10px}.home-visual{padding:16px;border-radius:21px}.home-visual-head small{display:none}.home-flow-main{grid-template-columns:46px 1fr;min-height:76px;padding:15px}.home-flow-main span{width:46px;height:46px;border-radius:12px}.home-flow-main strong{font-size:15px}.home-flow-main small{font-size:11px}.home-proof article{grid-template-columns:44px 1fr;gap:15px;min-height:108px;padding:22px}.home-proof span{width:44px;height:44px}.home-section{padding:82px 0}.home-section>h2,.home-cta h2{font-size:36px}.home-section-lead{font-size:15px}.home-step-grid,.home-feature-grid{grid-template-columns:1fr;gap:14px;margin-top:38px}.home-step-grid li,.home-feature-grid article{min-height:0;padding:27px}.home-step-grid b{margin-bottom:28px}.home-cta{align-items:flex-start;flex-direction:column;padding:34px}.home-footer{align-items:flex-start;flex-direction:column}.home-footer nav{align-items:flex-start;flex-direction:column;gap:12px}}
@media(prefers-reduced-motion:reduce){.home-hero-copy{animation:none}}
[data-admin-task-rows] th, [data-admin-task-rows] td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
[data-admin-task-rows] th:last-child { width: 38%; }
[data-admin-task-rows] details p { margin: 8px 0; line-height: 1.65; }
.cost-match-reason { display: block; white-space: normal; max-width: 250px; min-width: 160px; line-height: 1.5; }
.cost-breakdown{margin-top:8px;max-width:460px}.cost-breakdown summary{color:var(--accent);cursor:pointer;font-size:12px}.cost-breakdown p{margin:8px 0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#101a29;line-height:1.65;white-space:normal;font-size:12px}.cost-breakdown strong{color:var(--ink)}
.cost-kind{display:block;width:max-content;margin-top:4px;padding:1px 7px;border-radius:999px;font-size:11px}.cost-kind.actual{color:var(--green);background:#17352f}.cost-kind.estimate{color:var(--gold);background:#393223}.cost-kind.pending{color:#9dc6ff;background:#203650}.cost-legend{display:flex;flex-wrap:wrap;gap:18px;margin:0 0 18px;color:var(--muted);font-size:12px}.cost-legend span{display:flex;align-items:center;gap:7px}.cost-legend i{width:9px;height:9px;border-radius:50%;background:var(--red)}.cost-legend i.actual{background:var(--green)}.cost-legend i.estimate{background:var(--gold)}.cost-sync-status{margin-bottom:18px}.cost-sync-row{display:grid;grid-template-columns:minmax(130px,1fr) auto minmax(260px,3fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.cost-sync-row:last-child{border-bottom:0}.cost-sync-row>span:first-child{display:grid}.danger-tag{background:#442833!important;color:var(--red)!important}@media(max-width:900px){.cost-sync-row{grid-template-columns:1fr auto}.cost-sync-row>span:nth-child(3){grid-column:1/-1}.cost-sync-row>span:nth-child(4){display:none}}

.file-preview-dialog{width:min(1180px,94vw);height:min(860px,92vh);max-height:92vh;overflow:hidden}.file-preview-dialog>section{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.file-preview-dialog header,.file-preview-dialog footer{padding:14px 18px;border-bottom:1px solid var(--line)}.file-preview-dialog footer{border-top:1px solid var(--line);border-bottom:0;margin:0}.file-preview-dialog header>div{min-width:0;display:grid;gap:2px}.file-preview-dialog header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-preview-dialog header button{font-size:22px;line-height:1;padding:7px 11px}.file-preview-stage{min-height:0;display:grid;place-items:center;overflow:auto;padding:18px;background:#080d16}.file-preview-stage img,.file-preview-stage video{display:block;max-width:100%;max-height:100%;object-fit:contain}.file-preview-stage audio{width:min(680px,90%)}.file-preview-unsupported{display:grid;justify-items:center;gap:16px;color:var(--muted)}@media(max-width:650px){.file-preview-dialog{width:96vw;height:88vh}.file-preview-stage{padding:8px}}

/* Bounded credit history: the database and the UI both work one page at a time. */
.ledger-table .table-wrap{max-height:calc(100vh - 285px)}
.ledger-table th{position:sticky;top:0;z-index:1}
.pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 4px;color:var(--muted)}
.pager-actions{display:flex;align-items:center;gap:8px}.pager-actions label{display:flex;align-items:center;gap:8px;white-space:nowrap}.pager-actions select{width:auto;min-width:92px;padding:8px 10px}.pager-actions button{padding:8px 13px}
.ledger-admin-history .pager{padding-bottom:0}
@media(max-width:650px){.pager{align-items:flex-start;flex-direction:column}.pager-actions{width:100%;flex-wrap:wrap}.ledger-table .table-wrap{max-height:calc(100vh - 330px)}}
@media(max-width:650px){.file-table .table-wrap{max-height:none;overflow:visible;border:0;background:transparent}.file-table table,.file-table tbody{display:block}.file-table thead{display:none}.file-table tbody{display:grid;gap:10px}.file-table tr{display:grid;grid-template-columns:1fr auto;gap:8px 14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.file-table td{display:block;max-width:none;padding:0;border:0;white-space:normal}.file-table td:first-child{grid-column:1/-1;font-weight:700}.file-table td:nth-child(2)::before{content:'大小：';color:var(--muted)}.file-table td:nth-child(3){grid-column:1/-1;color:var(--muted);font-size:12px}.file-table td:nth-child(4){grid-column:2;grid-row:2;align-self:center}.file-table td:nth-child(4) .actions{justify-content:flex-end}.file-table .pager-actions select{min-width:82px}.shell>aside .profile{display:flex;margin:8px 0 0;padding:12px 8px 0;align-items:center;flex-direction:row;flex-wrap:wrap}.shell>aside .profile strong{max-width:210px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.shell>aside .profile small{display:none}.shell>aside .profile button{padding:7px 10px}.shell>aside .profile .admin-entry{display:none}}

/* Manual recharge and administrator contact QR. */
.recharge-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;align-items:stretch;max-width:980px}.recharge-card{justify-content:center}.recharge-balance{font-size:42px;font-weight:800;color:#edf5ff}.recharge-balance small{font-size:15px;color:var(--muted);font-weight:500}.recharge-card ol{display:grid;gap:10px;margin:0;padding-left:22px;color:#c6d5e8}.contact-text{padding:12px 14px;border:1px solid #365173;border-radius:10px;background:#111b2b;color:#a9ceff;white-space:pre-wrap}.qr-card{align-items:center;justify-content:center;text-align:center;min-height:340px}.qr-card img,.admin-qr-preview img{display:block;max-width:280px;max-height:280px;object-fit:contain;border-radius:14px;background:#fff;padding:10px;box-shadow:0 12px 34px #0005}.qr-empty{display:grid;place-items:center;width:240px;aspect-ratio:1;border:1px dashed #49617f;border-radius:14px;color:var(--muted)}.contact-settings{max-width:850px}.contact-settings textarea{min-height:110px}.admin-qr-preview{display:flex;align-items:flex-end;gap:18px}.admin-qr-preview img{max-width:220px;max-height:220px}.contact-settings>.actions{justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}@media(max-width:760px){.recharge-layout{grid-template-columns:1fr}.qr-card{min-height:300px}.admin-qr-preview{align-items:flex-start;flex-direction:column}}

/* User-facing model pricing: readable groups, comparable tiers and compact cards. */
.model-pricing-page{max-width:1500px}.model-pricing-page>.page-head{margin-bottom:20px}.model-billing-note{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;margin-bottom:34px;border:1px solid var(--line);border-radius:14px;background:var(--line)}.model-billing-note>div{display:grid;gap:3px;padding:16px 20px;background:linear-gradient(135deg,#172334,#141d2b)}.model-billing-note strong{font-size:14px;color:#e8f2ff}.model-billing-note span{font-size:12px;color:var(--muted)}.model-price-section{margin-top:32px}.model-price-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}.model-price-section-head h2{font-size:19px}.model-price-section-head p{margin-top:3px;color:var(--muted);font-size:12px}.model-price-section-head>span{color:#7f90aa;font-size:12px;white-space:nowrap}.model-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.model-price-card{position:relative;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;min-height:230px;border:1px solid #30415a;border-radius:15px;background:linear-gradient(145deg,#192536,#151e2d);box-shadow:0 12px 28px #050a1226;transition:transform .18s,border-color .18s,box-shadow .18s}.model-price-card::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:#80b8ff}.model-price-card:hover{transform:translateY(-2px);border-color:#527298;box-shadow:0 16px 36px #050a1245}.model-price-card>header{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:19px 20px 14px}.model-kind-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #395676;border-radius:12px;background:#21364f;color:#a9d1ff;font-size:15px;font-weight:800}.model-provider{display:block;overflow:hidden;color:#7f91ab;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.model-price-card h3{overflow-wrap:anywhere;margin-top:2px;font-size:16px;line-height:1.35}.model-price-body{padding:5px 20px 18px}.model-price-label{margin-bottom:9px;color:#8ea0ba;font-size:11px}.model-price-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:0;padding:0;list-style:none}.model-price-tiers li{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px 8px;padding:10px 11px;border:1px solid #2d4059;border-radius:10px;background:#111a28}.model-price-tiers li>span{color:#9fc9ff;font-size:12px;font-weight:700}.model-price-tiers li>strong{justify-self:end;font-size:18px}.model-price-tiers li>small{grid-column:1/-1;font-size:10px;text-align:right}.model-price-tiers .empty-tier{display:block;color:var(--muted);font-size:12px}.token-prices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.token-prices>div{padding:13px 14px;border:1px solid #2e435e;border-radius:11px;background:#111a28}.token-prices span,.token-prices strong{display:block}.token-prices span{font-size:11px;color:#8fa2bc}.token-prices strong{margin-top:2px;font-size:25px;color:#f4f7fc}.model-price-unit{margin-top:8px;color:#8ea0ba;font-size:11px;text-align:right}.model-flat-price{display:flex;align-items:baseline;gap:8px;padding:17px;border:1px solid #2e435e;border-radius:11px;background:#111a28}.model-flat-price strong{font-size:28px}.model-flat-price span{color:var(--muted);font-size:12px}.model-price-card>footer{display:flex;justify-content:space-between;gap:14px;padding:11px 20px;border-top:1px solid #29384d;color:#71839c;font-size:10px}.model-kind-reasoning::before{background:#a78bfa}.model-kind-reasoning .model-kind-icon{border-color:#554780;background:#292441;color:#c8b8ff}.model-kind-image::before{background:#5cd6b0}.model-kind-image .model-kind-icon{border-color:#356858;background:#193b35;color:#86e5c7}.model-kind-video::before{background:#f0b96a}.model-kind-video .model-kind-icon{border-color:#6f5737;background:#40321f;color:#ffd18e}.model-kind-audio::before{background:#f19fc1}.model-kind-audio .model-kind-icon{border-color:#70465a;background:#412737;color:#ffc0d9}@media(max-width:900px){.model-billing-note{grid-template-columns:1fr}.model-price-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media(max-width:650px){.model-price-section{margin-top:26px}.model-price-section-head{align-items:flex-start;flex-direction:column;gap:5px}.model-price-grid{grid-template-columns:1fr}.model-price-card{min-height:0}.model-price-tiers{grid-template-columns:1fr 1fr}.model-billing-note>div{padding:14px 16px}}

/* Email and password authentication. */
.shell>aside .brand{width:176px;align-items:center}.shell>aside .brand span{width:156px;text-align:center}
.email-settings{max-width:850px}.email-settings>.actions{justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}.email-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.maintenance-state{display:flex;align-items:center;gap:16px;max-width:850px;margin-bottom:18px;padding:16px 18px;border:1px solid #36516e;border-radius:13px;background:#142237}.maintenance-state strong{color:#9ecbff}.maintenance-state span{color:var(--muted);font-size:13px}.maintenance-state.is-on{border-color:#9b6b2f;background:#2b2115}.maintenance-state.is-on strong{color:#ffd08a}.email-settings textarea{min-height:110px}
.auth-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.auth-heading>div{display:grid;gap:3px}.auth-back{padding:6px 10px;background:transparent;color:var(--accent);font-size:12px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#101826}.auth-tabs button{border:0;background:transparent;color:var(--muted);padding:9px}.auth-tabs button.active{background:#253b57;color:#d9ebff;box-shadow:0 2px 8px #0004}.login-card #authFields{display:grid;gap:17px}.auth-submit{width:100%;min-height:44px}.auth-link{justify-self:center;border:0;background:transparent;color:var(--accent);padding:0;font-size:13px}.auth-link:hover{text-decoration:underline}.auth-footnote{text-align:center}.login-card [hidden]{display:none!important}@media(max-width:650px){.login-card{padding:28px 22px}.auth-heading{gap:10px}.auth-tabs button{padding:8px}}

/* Cinematic login surface: restrained motion, depth and readable glass layers. */
.login{--pointer-x:48%;--pointer-y:42%;background:radial-gradient(circle at var(--pointer-x) var(--pointer-y),#1479b824 0,transparent 28%),linear-gradient(135deg,#07111f 0%,#0b1728 48%,#0c1422 100%);min-height:calc(100vh - 33px);position:relative;padding-block:clamp(50px,8vh,100px)}
.login::before,.login::after{display:none}
.login-backdrop{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:linear-gradient(120deg,#06101d80,#10243a33 48%,#07101d99)}
.login-backdrop::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,transparent 0 28%,#050b15a6 78%),linear-gradient(90deg,#050b1422,#050b1400 48%,#050b1455)}
.login-aurora{position:absolute;border-radius:50%;filter:blur(80px);mix-blend-mode:screen;will-change:transform;opacity:.45}
.aurora-one{width:58vw;height:42vw;left:-20vw;top:-12vw;background:radial-gradient(circle,#108edf 0,#0659a066 40%,transparent 72%);animation:aurora-one 18s ease-in-out infinite alternate}
.aurora-two{width:48vw;height:48vw;right:-18vw;bottom:-25vw;background:radial-gradient(circle,#3d7cff 0,#17498466 42%,transparent 72%);animation:aurora-two 22s ease-in-out infinite alternate}
.login-orbit{position:absolute;border:1px solid #64b9ff1f;border-radius:50%;box-shadow:inset 0 0 60px #3c97e20b,0 0 60px #3c97e20b;animation:orbit-turn 38s linear infinite}
.orbit-one{width:640px;height:640px;left:8%;top:12%;transform:rotateX(67deg) rotateZ(8deg)}
.orbit-two{width:430px;height:430px;right:3%;top:5%;border-style:dashed;animation-direction:reverse;animation-duration:48s}
.login-beam{position:absolute;width:66vw;height:180px;left:-14vw;top:47%;background:linear-gradient(90deg,transparent,#41b6ff18 42%,#70c6ff4a 50%,#41b6ff10 58%,transparent);filter:blur(24px);transform:rotate(-13deg);animation:beam-breathe 8s ease-in-out infinite}
.login-grid{position:absolute;left:-12%;right:-12%;bottom:-32%;height:74%;background-image:linear-gradient(#5ebdff19 1px,transparent 1px),linear-gradient(90deg,#5ebdff19 1px,transparent 1px);background-size:52px 52px;transform:perspective(520px) rotateX(67deg);transform-origin:center top;mask-image:linear-gradient(to bottom,transparent,#000 28%,#000);opacity:.42;animation:grid-flow 14s linear infinite}
.login-stars{position:absolute;inset:-10%;background-image:radial-gradient(circle,#d9f1ff 0 1px,transparent 1.5px),radial-gradient(circle,#5cc4ff 0 1px,transparent 1.7px);background-size:94px 94px,137px 137px;background-position:9px 17px,41px 63px;opacity:.28;animation:stars-drift 30s linear infinite}
.stars-two{background-size:181px 181px,223px 223px;background-position:71px 23px,14px 118px;opacity:.18;animation-duration:44s;animation-direction:reverse}
.login-intro,.login-card{position:relative;z-index:1}
.login-intro{padding:30px 0}.login-intro .brand{filter:drop-shadow(0 12px 32px #0878c74d)}
.hero-kicker{display:flex;align-items:center;gap:9px;margin-top:46px;color:#80caff;font-size:11px;font-weight:700;letter-spacing:2.2px;text-transform:uppercase;animation:rise-in .7s .05s ease-out both}.hero-kicker i{width:7px;height:7px;border-radius:50%;background:#65d7ff;box-shadow:0 0 0 5px #65d7ff16,0 0 22px #65d7ff;animation:kicker-pulse 2.4s ease-in-out infinite}
.login-intro h1{margin:24px 0 20px;font-size:clamp(44px,4.2vw,66px);line-height:1.16;letter-spacing:-2.2px;text-shadow:0 14px 50px #0008}.login-intro h1 em{font-style:normal;color:transparent;background:linear-gradient(100deg,#eff8ff 8%,#8cd6ff 47%,#78a9ff 92%);background-clip:text;-webkit-background-clip:text}
.login-intro>p{max-width:480px;font-size:15px;line-height:1.9;color:#9eb2ca}
.flow-art{gap:10px;margin-top:34px}.flow-art span{padding:11px 18px;border-color:#5aa7e02b;background:#1020339c;backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff08,0 10px 35px #0003}.flow-art i{color:#72c6ff;text-shadow:0 0 14px #72c6ff}
.login-card{width:min(100%,510px);justify-self:end;border-color:#75baff35;border-radius:24px;background:linear-gradient(145deg,#17263add,#101b2bdd);box-shadow:0 38px 120px #020812b3,inset 0 1px #ffffff13,0 0 0 1px #0a78c20b;backdrop-filter:blur(26px) saturate(125%);overflow:hidden;padding:38px}
.login-card::after{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,#9bd8ff55,transparent 34%,transparent 68%,#568dff33);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none}
.login-card-glow{position:absolute;width:230px;height:230px;right:-105px;top:-120px;border-radius:50%;background:#249dff26;filter:blur(30px);pointer-events:none;animation:card-glow 7s ease-in-out infinite alternate}
.login-card h2{font-size:28px;letter-spacing:-.6px}.login-card input{background:#091322b8;border-color:#48617e8c;min-height:46px;transition:border-color .2s,box-shadow .2s,background .2s}.login-card input:focus{border-color:#67bfff;background:#0b1728;box-shadow:0 0 0 3px #268de326,0 0 30px #258bd414}.login-card button.primary{min-height:48px;border:0;background:linear-gradient(105deg,#5caaff,#86c7ff);box-shadow:0 14px 34px #187bc533;transition:transform .2s,box-shadow .2s}.login-card button.primary:hover{transform:translateY(-1px);box-shadow:0 18px 42px #187bc54d}.auth-tabs{background:#091322a8;border-color:#344a64}.auth-tabs button.active{background:linear-gradient(110deg,#244d73,#2d6595);box-shadow:0 8px 24px #0004}
.agreement-list{min-width:0;margin:2px 0 0;padding:14px;border:1px solid #40546d;border-radius:13px;background:#08111db8;display:grid;gap:12px}.agreement-list legend{padding:0 7px;color:#9db0c6;font-size:12px}.agreement-check{display:grid;grid-template-columns:18px 1fr;align-items:start;gap:10px;color:#d8e4f2;font-size:12px;line-height:1.55;cursor:pointer}.agreement-check input{width:16px;height:16px;min-height:0;margin:2px 0 0;padding:0;accent-color:#66b7ff}.agreement-check a{color:#7fc5ff;text-decoration:none}.agreement-check a:hover{text-decoration:underline}
.legal-page{min-height:100vh;background:radial-gradient(circle at 20% 0,#103a5e55,transparent 34%),#08111e}.legal-shell{max-width:900px;padding:54px 24px 80px;margin:0 auto}.legal-shell>.brand{width:190px;align-items:center;margin:0 auto 34px}.legal-shell>.brand span{width:100%;text-align:center}.legal-card{border:1px solid #49617e77;border-radius:24px;background:#131f30e8;box-shadow:0 30px 100px #0007;padding:clamp(28px,5vw,58px)}.legal-card header{padding-bottom:28px;border-bottom:1px solid var(--line)}.legal-card header>span{color:#7fa7c9;font-size:12px}.legal-card header h1{margin:8px 0;font-size:36px}.legal-card header p,.legal-card section p{color:#aab9cc}.legal-card section{padding:25px 0;border-bottom:1px solid #2b374b99}.legal-card section h2{margin-bottom:8px}.legal-card footer{display:flex;justify-content:center;padding-top:30px}
@keyframes aurora-one{to{transform:translate(12vw,9vh) scale(1.16);opacity:.68}}@keyframes aurora-two{to{transform:translate(-10vw,-8vh) scale(.9);opacity:.28}}@keyframes orbit-turn{to{rotate:360deg}}@keyframes beam-breathe{0%,100%{opacity:.24;translate:-4% 0}50%{opacity:.65;translate:8% -2%}}@keyframes grid-flow{to{background-position:0 52px,52px 52px}}@keyframes stars-drift{to{transform:translate3d(70px,45px,0)}}@keyframes kicker-pulse{50%{opacity:.45;box-shadow:0 0 0 9px #65d7ff08,0 0 12px #65d7ff}}@keyframes card-glow{to{transform:translate(-70px,58px) scale(1.25);opacity:.35}}
@media(max-width:900px){.login{gap:45px}.orbit-one{left:-20%}.login-card{padding:32px}.hero-kicker{margin-top:32px}.login-intro h1{font-size:42px}}
@media(max-width:650px){.login{min-height:calc(100vh - 33px);padding:28px 18px;display:grid;place-items:center}.login-intro{display:none}.login-card{justify-self:center;padding:27px 22px;border-radius:20px}.login-grid{bottom:-18%;height:55%}.agreement-list{padding:12px}.legal-shell{padding-top:30px}.legal-card{border-radius:18px}.legal-card header h1{font-size:29px}}
.key-list{display:grid;gap:8px;margin-top:10px}.key-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#101826;color:var(--ink)}.key-row span:last-child{display:flex;align-items:center;gap:7px;color:var(--red)}.key-row input{width:auto}

/* Page loading states: keep navigation calm and preserve existing content during refreshes. */
.app-boot{min-height:100vh;display:grid;place-items:start center;padding:clamp(70px,14vh,150px) clamp(18px,5vw,70px);background:radial-gradient(circle at 50% 8%,#153b613d,transparent 34%),linear-gradient(145deg,#0a111d,#0e1726 62%,#0b1320)}
main{position:relative}
.page-loading{position:relative;width:min(100%,1080px);min-height:360px;margin:0 auto;padding:28px!important;border:1px solid #405675;border-radius:18px;background:linear-gradient(145deg,#182438f2,#121c2cf2);box-shadow:0 24px 80px #02071342,inset 0 1px #ffffff0b;overflow:hidden;color:var(--ink)}
.page-loading::before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#68b8ff0c 42%,#95d3ff20 50%,#68b8ff0c 58%,transparent 80%);transform:translateX(-110%);animation:loading-sweep 2.3s ease-in-out infinite;pointer-events:none}
.page-loading-heading{position:relative;display:flex;align-items:center;gap:15px;padding-bottom:24px;border-bottom:1px solid #32425a}
.page-loading-heading>div{display:grid;gap:2px}.page-loading-heading strong{font-size:16px;letter-spacing:.2px}.page-loading-heading small{font-size:12px;color:#8fa3bc}
.page-loading-mark{position:relative;width:46px;height:46px;flex:0 0 46px;border:1px solid #4f6d91;border-radius:14px;background:linear-gradient(145deg,#203a58,#15253a);box-shadow:inset 0 1px #ffffff12,0 8px 24px #0005}
.page-loading-mark::before{content:'';position:absolute;inset:11px;border:2px solid #80c5ff3b;border-top-color:#86cbff;border-radius:50%;animation:loading-turn .9s linear infinite}
.page-loading-mark i{position:absolute;width:3px;height:3px;border-radius:50%;background:#a9dcff;box-shadow:0 0 10px #6fc5ff}.page-loading-mark i:nth-child(1){left:9px;top:11px}.page-loading-mark i:nth-child(2){right:9px;top:17px}.page-loading-mark i:nth-child(3){left:15px;bottom:8px}
.page-loading-skeleton{position:relative;display:grid;gap:10px;margin:26px 0 20px}.page-loading-skeleton i,.page-loading-cards i{display:block;background:linear-gradient(90deg,#26364b,#30445e 48%,#26364b);background-size:220% 100%;animation:loading-shimmer 1.55s ease-in-out infinite;border:1px solid #344760}
.page-loading-skeleton i{height:11px;border-radius:999px}.page-loading-skeleton i:nth-child(1){width:38%}.page-loading-skeleton i:nth-child(2){width:66%;animation-delay:-.18s}.page-loading-skeleton i:nth-child(3){width:50%;animation-delay:-.36s}
.page-loading-cards{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.page-loading-cards i{height:128px;border-radius:13px;animation-delay:-.24s}.page-loading-cards i:nth-child(2){animation-delay:-.48s}.page-loading-cards i:nth-child(3){animation-delay:-.72s}
.page-refresh{position:fixed;z-index:1200;top:20px;right:24px;display:flex;align-items:center;gap:11px;min-width:186px;padding:10px 14px!important;border:1px solid #55779e;border-radius:12px;background:#142338ee;color:var(--ink);box-shadow:0 16px 48px #0008,inset 0 1px #ffffff12;backdrop-filter:blur(16px)}

/* Shared focused editor used by account and administrator forms. */
.expand-editor-field{position:relative;display:block;width:100%;min-width:0}.expand-editor-field>textarea{display:block;width:100%;padding-right:46px!important}.expand-editor-trigger{position:absolute!important;z-index:4!important;top:8px!important;right:8px!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;border:1px solid #47698f!important;border-radius:8px!important;background:#142033ee!important;color:var(--accent)!important;font-size:18px!important;line-height:1!important;box-shadow:0 6px 18px #0005!important;backdrop-filter:blur(8px);cursor:pointer}.expand-editor-trigger:hover{border-color:var(--accent)!important;background:#1d324d!important;transform:translateY(-1px)}.expand-editor-open{overflow:hidden}.expand-editor-backdrop{position:fixed;inset:0;z-index:30000;display:flex;align-items:center;justify-content:center;padding:22px;background:#020710d9;backdrop-filter:blur(7px)}.expand-editor-dialog{width:min(1180px,calc(100vw - 44px));height:min(820px,calc(100vh - 44px));min-height:420px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #4f78a8;border-radius:16px;background:var(--panel);color:var(--ink);box-shadow:0 30px 100px #000b,inset 0 1px #ffffff0d}.expand-editor-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--line);background:#1b2a40}.expand-editor-dialog>header>div{min-width:0;display:grid;gap:3px}.expand-editor-dialog>header strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expand-editor-dialog>header small{color:var(--muted);font-size:11px}.expand-editor-dialog>header small.warn{color:var(--gold)}.expand-editor-dialog>header small.error{color:var(--red)}.expand-editor-close{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#101826!important;color:var(--muted)!important;font-size:23px!important;line-height:1!important}.expand-editor-close:hover{color:var(--ink)!important;border-color:var(--accent)!important}.expand-editor-main{min-height:0;padding:16px;background:#0a111d}.expand-editor-input{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;resize:none!important;overflow:auto!important;padding:20px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:#101826!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--accent)!important;font:14px/1.8 'Microsoft YaHei',system-ui,sans-serif!important;white-space:pre-wrap!important;box-sizing:border-box!important;outline:none!important}.expand-editor-input:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px #80b8ff24!important}.expand-editor-input[readonly]{color:var(--muted)!important;-webkit-text-fill-color:var(--muted)!important}.expand-editor-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-top:1px solid var(--line);background:var(--panel);margin:0}.expand-editor-count{color:var(--muted);font-size:11px}.expand-editor-actions{display:flex;gap:9px}.expand-editor-actions button{min-width:88px}.expand-editor-actions .expand-editor-apply{border-color:var(--accent);background:var(--accent);color:#0a203d;font-weight:700}@media(max-width:680px){.expand-editor-backdrop{padding:8px}.expand-editor-dialog{width:100%;height:100%;min-height:0;border-radius:11px}.expand-editor-main{padding:8px}.expand-editor-input{padding:13px!important}.expand-editor-dialog>header,.expand-editor-dialog>footer{padding:11px 12px}}
.page-refresh>span{width:21px;height:21px;flex:0 0 21px;border:2px solid #75bbff38;border-top-color:#86c7ff;border-radius:50%;animation:loading-turn .8s linear infinite}.page-refresh>div{display:grid;line-height:1.3}.page-refresh strong{font-size:12px}.page-refresh small{font-size:10px;color:#91a8c3}
.is-refreshing>:not(.page-refresh){pointer-events:none}.is-refreshing .page-head,.is-refreshing .card,.is-refreshing .table-wrap{filter:saturate(.82);opacity:.82}
@keyframes loading-turn{to{transform:rotate(360deg)}}@keyframes loading-sweep{50%,100%{transform:translateX(110%)}}@keyframes loading-shimmer{0%{background-position:110% 0}100%{background-position:-110% 0}}
@media(max-width:650px){.app-boot{padding:36px 16px}.page-loading{min-height:300px;padding:20px!important;border-radius:15px}.page-loading-cards{grid-template-columns:1fr 1fr}.page-loading-cards i{height:96px}.page-loading-cards i:last-child{display:none}.page-loading-skeleton i:nth-child(1){width:58%}.page-loading-skeleton i:nth-child(2){width:90%}.page-loading-skeleton i:nth-child(3){width:72%}.page-refresh{top:auto;right:14px;bottom:16px;left:14px;min-width:0}.page-loading-heading small{max-width:230px}}

/* Frontend rendering budget: isolate long lists and skip offscreen card paint. */
.table-wrap{contain:layout paint;overscroll-behavior:contain}
.grid>.card,.model-price-card,.cost-sync-row{content-visibility:auto;contain-intrinsic-size:auto 180px}
.stats>.stat{contain:layout paint}
@media(prefers-reduced-motion:reduce){.login-aurora,.login-orbit,.login-beam,.login-grid,.login-stars,.hero-kicker,.hero-kicker i,.login-card-glow,.page-loading::before,.page-loading-mark::before,.page-loading-skeleton i,.page-loading-cards i,.page-refresh>span{animation:none!important}.login-aurora,.login-beam,.login-stars{opacity:.22}.login-card,.flow-art span,.page-refresh{backdrop-filter:none!important}}
.recharge-online{display:grid;gap:18px;margin-top:18px}.recharge-online>.section-head{margin:0}.recharge-online select{width:100%;margin-top:7px}.recharge-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.recharge-presets button{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:6px}.recharge-presets button strong{font-size:22px}.recharge-presets button small{color:var(--muted)}.recharge-custom{display:flex;align-items:end;gap:12px}.recharge-custom label{flex:1}.recharge-custom input{width:100%;margin-top:7px}@media(max-width:720px){.recharge-custom{align-items:stretch;flex-direction:column}.recharge-custom button{width:100%}}
.payment-type-list{flex-wrap:wrap;margin-top:8px}.payment-type-list .check{padding:8px 11px;border:1px solid var(--line);border-radius:8px;color:var(--ink)}fieldset.full{border:1px solid var(--line);border-radius:10px;padding:12px 14px}fieldset.full legend{padding:0 7px;color:var(--muted)}
.email-settings input[readonly]{cursor:default;color:var(--muted);background:color-mix(in srgb,var(--panel) 72%,#07101d);border-style:dashed}

/* v299 compact centered loading card. */
.app-boot{min-height:100vh;place-items:center;padding:22px;background:radial-gradient(circle at 50% 42%,rgba(31,106,171,.18),transparent 31%),linear-gradient(145deg,#09111d,#0d1726 62%,#09121f)}
main:has(> .page-loading){min-height:calc(100vh - 37px);display:grid;place-items:center}
.page-loading{isolation:isolate;width:min(430px,calc(100vw - 32px));min-height:0;margin:0;padding:22px 22px 18px!important;border:1px solid #4e7199;border-radius:22px;background:linear-gradient(145deg,rgba(25,40,62,.96),rgba(13,24,39,.97));box-shadow:0 30px 90px rgba(0,5,14,.6),0 0 0 1px rgba(104,181,255,.07),inset 0 1px rgba(255,255,255,.1);overflow:hidden}
.page-loading::after{content:'';position:absolute;z-index:-1;width:190px;height:190px;right:-92px;top:-115px;border-radius:50%;background:rgba(61,160,243,.2);filter:blur(16px);animation:loading-orb 3.6s ease-in-out infinite alternate;pointer-events:none}
.page-loading::before{background:linear-gradient(105deg,transparent 22%,rgba(91,187,255,.04) 41%,rgba(161,218,255,.18) 50%,rgba(91,187,255,.04) 59%,transparent 78%);animation-duration:2.1s}
.page-loading-heading{gap:13px;padding:0 0 17px;border-bottom:1px solid #334a64}.page-loading-heading strong{font-size:15px;letter-spacing:.15px}.page-loading-heading small{font-size:10px;color:#8297b1}.page-loading-mark{width:42px;height:42px;flex-basis:42px;border-color:#5d84ad;border-radius:13px;background:radial-gradient(circle at 50% 50%,#21486a,#14283e 68%);box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 24px rgba(64,169,255,.13)}.page-loading-mark::before{inset:9px;border-color:rgba(116,199,255,.25);border-top-color:#8bd1ff;box-shadow:0 0 12px rgba(92,193,255,.22)}
.page-loading-skeleton{gap:7px;margin:17px 0 13px}.page-loading-skeleton i{height:7px;border:0;background:linear-gradient(90deg,#263a51,#3d5978 48%,#263a51);box-shadow:0 0 14px rgba(85,162,226,.06)}.page-loading-skeleton i:nth-child(1){width:46%}.page-loading-skeleton i:nth-child(2){width:79%}.page-loading-skeleton i:nth-child(3){width:61%}
.page-loading-cards{grid-template-columns:repeat(3,1fr);gap:8px}.page-loading-cards i{position:relative;height:40px;border-color:#344d68;border-radius:10px;background:linear-gradient(110deg,#17283b,#29425c 50%,#17283b);box-shadow:inset 0 1px rgba(255,255,255,.05)}
.page-loading-cards i::before{content:'';position:absolute;left:10px;top:10px;width:8px;height:8px;border-radius:50%;background:#6fbdf3;box-shadow:0 0 12px rgba(91,190,255,.65)}.page-loading-cards i::after{content:'';position:absolute;left:10px;right:10px;bottom:9px;height:4px;border-radius:999px;background:#45627f}
@keyframes loading-orb{to{transform:translate(-24px,18px) scale(1.12);opacity:.55}}
@media(max-width:650px){main:has(> .page-loading){min-height:calc(100vh - 150px)}.app-boot{padding:14px}.page-loading{width:min(390px,calc(100vw - 24px));min-height:0;padding:19px 18px 16px!important;border-radius:18px}.page-loading-cards{grid-template-columns:repeat(3,1fr)}.page-loading-cards i{display:block!important;height:36px}.page-loading-heading small{max-width:230px}}
@media(prefers-reduced-motion:reduce){.page-loading::after{animation:none!important}}

/* v305 homepage composition: tighter cinematic rhythm and a real product surface. */
.home-page{--home-shell:min(1680px,calc(100% - clamp(56px,7vw,144px)))}
.home-nav{box-sizing:border-box;width:100%;min-height:86px;margin:0;padding:14px max(clamp(28px,5vw,82px),calc((100vw - 1680px)/2));border-bottom:1px solid #78bffb1f;background:linear-gradient(90deg,#06111feb,#081524e8 52%,#071326eb);box-shadow:0 16px 55px #02071142}
.home-brand img{width:170px}.home-brand span{color:#8ba3bd;font-size:10px;letter-spacing:2.4px}.home-nav nav{gap:30px}.home-nav nav>a:not(.button){font-size:13px}.home-nav .button{padding:10px 20px;border-radius:10px}
.home-main{width:var(--home-shell);max-width:none;padding:0 0 108px}.home-hero{grid-template-columns:minmax(0,1.05fr) minmax(590px,.95fr);gap:clamp(78px,7vw,132px);min-height:720px;padding:64px 0 78px}.home-hero::after{bottom:18px}.home-hero-copy{max-width:900px}.home-hero-copy::before{top:4px;height:88px}.home-kicker{margin-bottom:18px;font-size:13px;letter-spacing:2.2px}.home-hero h1{max-width:none;font-size:clamp(66px,4.35vw,88px);line-height:1.03;letter-spacing:-4px;text-wrap:initial}.home-hero h1 span{display:block;white-space:nowrap}.home-hero h1 span:last-child{background:linear-gradient(100deg,#f5fbff 3%,#b7dcff 50%,#86b8f3);-webkit-background-clip:text;background-clip:text;color:transparent}.home-lead{max-width:790px;margin-top:28px;font-size:18px;line-height:1.85}.home-actions{margin-top:34px}.home-actions .button{min-width:154px;padding:13px 25px}.home-points{gap:12px 27px;margin-top:30px;padding-top:20px}
.home-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;justify-self:end;width:100%;max-width:700px;padding:28px;border-color:#6aa4d65c;border-radius:28px;background:radial-gradient(circle at 100% 0,#536fe32d,transparent 35%),linear-gradient(145deg,#172c43f2,#0d1929f5 62%,#122039f2);box-shadow:0 42px 120px #0009,inset 0 1px #ffffff17,0 0 0 1px #3b88bf12;transform:perspective(1200px) rotateY(-1.2deg);animation:home-panel-float 8s ease-in-out infinite}.home-visual::before{border-radius:28px;background:linear-gradient(130deg,#9bdeff35,transparent 28%,transparent 67%,#7086ff30)}.home-visual::after{content:'';position:absolute;z-index:-1;width:220px;height:220px;right:-55px;bottom:-55px;border-radius:50%;background:#326ee628;filter:blur(42px)}.home-visual-head,.home-output-preview,.home-visual-foot{grid-column:1/-1}.home-visual-head{margin-bottom:4px;padding:0 3px 11px}.home-flow-main{grid-template-columns:46px minmax(0,1fr);min-height:112px;padding:18px;border-color:#426281a8;border-radius:16px;background:linear-gradient(145deg,#102237e8,#0b1726f0);box-shadow:inset 0 1px #ffffff09,0 10px 28px #0207113d;transition:transform .25s ease,border-color .25s ease,background .25s ease}.home-flow-main:hover{transform:translateY(-2px);border-color:#6fbef0;background:linear-gradient(145deg,#15304a,#0d1c2d)}.home-flow-main span{width:46px;height:46px;background:linear-gradient(145deg,#27577e,#183a5b);box-shadow:inset 0 1px #ffffff17,0 7px 20px #020a143d}.home-flow-main strong{font-size:15px}.home-flow-main small{font-size:10px;line-height:1.55}.home-flow-main::after{display:none!important}.home-output-preview{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px;margin-top:1px;padding:15px 18px;border:1px solid #3a5877;border-radius:16px;background:linear-gradient(110deg,#0b1828,#122940 56%,#152440)}.home-output-preview>div{display:grid;gap:5px}.home-output-preview small{color:#69c9fb;font-size:9px;font-weight:800;letter-spacing:1.6px}.home-output-preview strong{font-size:14px}.home-output-preview>span{display:flex;gap:8px}.home-output-preview i{display:block;width:58px;height:42px;border:1px solid #4b7196;border-radius:8px;background:linear-gradient(145deg,#244863,#101f31);box-shadow:inset 0 1px #ffffff15}.home-output-preview i:nth-child(2){background:linear-gradient(145deg,#334e72,#162538)}.home-output-preview i:nth-child(3){position:relative;background:linear-gradient(145deg,#315778,#14283b)}.home-output-preview i:nth-child(3)::after{content:'▶';display:grid;place-items:center;height:100%;color:#8cd8ff;font-size:10px}.home-visual-foot{padding-top:3px}
.home-proof{position:relative;z-index:2;margin:-22px 0 0;border-radius:20px;background:linear-gradient(100deg,#0c1c2de8,#10263ce8 52%,#0c1c31e8);box-shadow:0 24px 70px #02071152}.home-proof article{min-height:112px;padding:23px 30px}.home-proof strong{font-size:16px}.home-proof small{font-size:11px}.home-proof span{width:48px;height:48px;border-radius:13px}.home-section{padding:104px 0}.home-section>h2,.home-cta h2{font-size:clamp(40px,3.4vw,58px)}.home-step-grid,.home-feature-grid{margin-top:48px}.home-step-grid li,.home-feature-grid article{min-height:250px;padding:31px}.home-feature-grid article{min-height:215px}.home-cta{padding:62px}
@media(max-width:1500px){.home-page{--home-shell:calc(100% - 64px)}.home-nav{padding-inline:32px}.home-hero{grid-template-columns:minmax(0,1fr) minmax(520px,.88fr);gap:62px;min-height:690px}.home-hero h1{font-size:clamp(60px,5.2vw,78px)}.home-visual{max-width:620px;padding:24px}.home-flow-main{min-height:104px}.home-output-preview i{width:48px}}
@media(max-width:1100px){.home-page{--home-shell:calc(100% - 44px)}.home-nav{padding-inline:22px}.home-hero{grid-template-columns:1fr;gap:58px;min-height:0;padding:72px 0 88px}.home-hero h1{font-size:clamp(62px,8vw,82px)}.home-visual{justify-self:start;max-width:760px;transform:none;animation:home-panel-float-flat 7s ease-in-out infinite}.home-proof{margin-top:0}.home-section{padding:92px 0}}
@media(max-width:650px){.home-page{--home-shell:calc(100% - 28px)}.home-nav{min-height:70px;padding-inline:14px}.home-brand img{width:132px}.home-main{padding-bottom:72px}.home-hero{gap:44px;padding:56px 0 66px}.home-hero h1{font-size:clamp(42px,12vw,52px);line-height:1.06;letter-spacing:-2.4px}.home-hero h1 span{white-space:normal}.home-lead{font-size:15px;line-height:1.8}.home-visual{grid-template-columns:1fr;gap:10px;padding:15px;border-radius:20px}.home-visual-head,.home-output-preview,.home-visual-foot{grid-column:1}.home-flow-main{min-height:78px;padding:13px}.home-output-preview{min-height:74px;padding:12px}.home-output-preview i{width:34px;height:34px}.home-output-preview i:first-child{display:none}.home-proof article{min-height:102px;padding:20px}.home-section{padding:76px 0}.home-section>h2,.home-cta h2{font-size:34px}.home-step-grid li,.home-feature-grid article{padding:25px}.home-cta{padding:31px}}
@media(prefers-reduced-motion:reduce){.home-visual{animation:none;transform:none}.home-flow-main{transition:none}}

/* v306: keep supporting section typography subordinate to the hero. */
.home-section{padding:92px 0}.home-section>h2{max-width:940px;font-size:clamp(34px,2.5vw,48px);line-height:1.17;letter-spacing:-1.6px}.home-section-lead{max-width:900px;margin-top:20px;font-size:15px;line-height:1.85}.home-cta h2{font-size:clamp(34px,2.5vw,46px);letter-spacing:-1.5px}
@media(max-width:1100px){.home-section{padding:82px 0}.home-section>h2{font-size:clamp(34px,4.5vw,46px)}}
@media(max-width:650px){.home-section{padding:70px 0}.home-section>h2,.home-cta h2{font-size:30px;line-height:1.2;letter-spacing:-1px}.home-section-lead{font-size:14px}}

/* v307: balanced display scale across the hero, product panel and sections. */
.home-hero{grid-template-columns:minmax(0,1.04fr) minmax(560px,.96fr);gap:clamp(76px,6vw,118px);min-height:680px;padding:58px 0 70px}.home-hero h1{max-width:760px;font-size:clamp(56px,3.6vw,72px);line-height:1.07;letter-spacing:-3px}.home-lead{max-width:720px;margin-top:25px;font-size:16px;line-height:1.82}.home-actions{margin-top:30px}.home-actions .button{min-width:146px;padding:12px 23px}.home-points{margin-top:26px;padding-top:18px;font-size:12px}.home-visual{max-width:650px;padding:25px}.home-flow-main{min-height:98px;padding:16px}.home-flow-main strong{font-size:14px}.home-flow-main small{font-size:9px}.home-output-preview{min-height:74px}.home-proof{margin-top:-14px}.home-proof article{min-height:104px;padding:21px 28px}.home-proof strong{font-size:15px}.home-section{padding:82px 0}.home-section>h2{max-width:860px;font-size:clamp(30px,2vw,39px);line-height:1.2;letter-spacing:-1.25px}.home-section-lead{max-width:850px;margin-top:16px;font-size:14px}.home-step-grid,.home-feature-grid{margin-top:40px}.home-step-grid li,.home-feature-grid article{padding:28px}.home-step-grid h3,.home-feature-grid h3{font-size:18px}.home-step-grid p,.home-feature-grid p{font-size:13px}.home-cta h2{font-size:clamp(30px,2.1vw,40px)}
@media(max-width:1500px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(500px,.9fr);gap:58px;min-height:650px}.home-hero h1{font-size:clamp(52px,4.5vw,66px)}.home-visual{max-width:590px;padding:22px}.home-flow-main{min-height:92px}}
@media(max-width:1100px){.home-hero{grid-template-columns:1fr;gap:52px;min-height:0;padding:64px 0 78px}.home-hero h1{font-size:clamp(52px,7vw,68px)}.home-visual{max-width:700px}.home-proof{margin-top:0}.home-section{padding:76px 0}.home-section>h2{font-size:clamp(30px,4vw,39px)}}
@media(max-width:650px){.home-hero{gap:40px;padding:50px 0 60px}.home-hero h1{font-size:clamp(38px,10.5vw,46px);line-height:1.1;letter-spacing:-2px}.home-lead{font-size:14px}.home-visual{padding:14px}.home-flow-main{min-height:72px}.home-section{padding:64px 0}.home-section>h2,.home-cta h2{font-size:27px;letter-spacing:-.7px}.home-step-grid h3,.home-feature-grid h3{font-size:16px}}


/* User recharge summaries and storage capacity. */
.admin-user-table .user-cell-detail{display:block;font-size:11px;margin-top:4px;white-space:normal;min-width:155px;line-height:1.5}.admin-user-table td:last-child{min-width:240px}.admin-user-table .actions{gap:6px}.admin-user-table .actions button{padding:7px 10px;font-size:12px}
dialog.recharge-history-dialog{width:min(1060px,94vw);max-width:94vw;max-height:90vh;overflow:hidden;padding:0}.recharge-history-dialog>section{display:flex;flex-direction:column;max-height:90vh}.recharge-history-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.recharge-history-dialog header button{font-size:22px;padding:3px 12px}.recharge-history-body{padding:22px;overflow:auto;min-height:120px}.recharge-history-body>.hint{margin-bottom:16px}.recharge-history-body .stats{margin-bottom:16px;gap:12px}.recharge-history-body .stat{padding:15px}.recharge-history-body .stat strong{font-size:22px}.recharge-history-body .table-wrap{max-height:42vh}.recharge-history-dialog footer{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding:12px 22px;margin:0}.recharge-reason{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-width:180px;max-width:360px}.recharge-positive{color:var(--green)}
@media(max-width:650px){.recharge-history-body{padding:12px}.recharge-history-body .stats{grid-template-columns:1fr}.recharge-history-body .stat strong{font-size:20px}}
