.account-center-open{overflow:hidden}.account-center-backdrop{z-index:125;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#04142b94;place-items:center;padding:22px;animation:.2s both account-center-fade;display:grid;position:fixed;inset:0}.account-center{border:1px solid color-mix(in srgb, var(--border) 74%, white);background:var(--surface);border-radius:20px;grid-template-columns:238px minmax(0,1fr);width:min(1120px,100%);height:min(780px,100dvh - 44px);animation:.26s cubic-bezier(.2,.7,.2,1) both account-center-rise;display:grid;position:relative;overflow:hidden;box-shadow:0 36px 110px #031b3e4d}.account-center__sidebar{border-right:1px solid var(--border);background:color-mix(in srgb, var(--surface-soft) 58%, var(--surface));flex-direction:column;min-width:0;padding:20px 14px 16px;display:flex}.account-identity-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:68px;padding:11px;display:grid}.account-identity-card__avatar{background:var(--navy);color:#fff;border-radius:11px;place-items:center;width:42px;height:42px;font-size:15px;font-weight:760;display:grid}.account-identity-card div{min-width:0}.account-identity-card strong,.account-identity-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.account-identity-card strong{font-size:13px}.account-identity-card small{color:var(--muted);margin-top:4px;font-size:9px}.account-identity-card>svg{color:var(--brand)}.account-center__sidebar nav{gap:5px;margin-top:20px;display:grid}.account-center__sidebar nav button{width:100%;min-height:54px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;transition:background .18s,color .18s,transform .18s;display:grid}.account-center__sidebar nav button:hover{background:var(--surface);color:var(--text)}.account-center__sidebar nav button:active{transform:translateY(1px)}.account-center__sidebar nav button.is-active{background:var(--brand);color:var(--on-brand);box-shadow:0 10px 24px color-mix(in srgb, var(--brand) 22%, transparent)}.account-center__sidebar nav button>span{min-width:0}.account-center__sidebar nav strong,.account-center__sidebar nav small{display:block}.account-center__sidebar nav strong{font-size:12px;font-weight:680}.account-center__sidebar nav small{opacity:.68;margin-top:3px;font-size:9px}.account-center__sidebar-foot{border-top:1px solid var(--border);gap:4px;margin-top:auto;padding-top:14px;display:grid}.account-center__sidebar-foot button{height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:11px;display:flex}.account-center__sidebar-foot button:hover{background:var(--surface);color:var(--text)}.account-center__content{background:var(--surface);min-width:0;position:relative;overflow:auto}.account-center__close{z-index:4;float:right;border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 90%, transparent);width:36px;height:36px;color:var(--muted);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;border-radius:9px;place-items:center;margin:18px 18px 0 0;padding:0;display:grid;position:sticky;top:18px}.account-center__close:hover{background:var(--surface-soft);color:var(--text)}.account-center__page{width:min(850px,100%);min-height:100%;margin:0 auto;padding:44px 38px 48px}.account-page-heading{max-width:650px;margin-bottom:28px}.account-page-heading p{color:var(--brand);letter-spacing:.17em;margin:0 0 9px;font-size:9px;font-weight:760}.account-page-heading h2{letter-spacing:-.045em;text-wrap:balance;margin:0;font-size:clamp(28px,3vw,40px);line-height:1.08}.account-page-heading>span{max-width:58ch;color:var(--muted);margin-top:11px;font-size:12px;line-height:1.65;display:block}.account-balance-panel{background:var(--navy);color:#fff;min-height:170px;box-shadow:0 22px 48px color-mix(in srgb, var(--navy) 24%, transparent);border-radius:16px;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px;display:flex}.account-balance-panel span,.account-balance-panel small{color:#ffffffa3;display:block}.account-balance-panel span{font-size:11px}.account-balance-panel strong{letter-spacing:-.055em;font-variant-numeric:tabular-nums;margin:8px 0 6px;font-size:clamp(38px,5vw,62px);line-height:.95;display:block}.account-balance-panel small{font-size:9px}.account-balance-panel button,.invite-code-panel button,.mock-checkout>button,.recharge-pack button{cursor:pointer;border:0;justify-content:center;align-items:center;gap:7px;transition:transform .18s,background .18s,opacity .18s;display:inline-flex}.account-balance-panel button{height:40px;color:var(--navy);background:#fff;border-radius:9px;padding:0 14px;font-size:11px;font-weight:680}.account-balance-panel button:hover{transform:translateY(-1px)}.account-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.account-summary-grid article{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;padding:16px}.account-summary-icon{background:var(--brand-soft);width:34px;height:34px;color:var(--brand);border-radius:9px;place-items:center;margin-bottom:20px;display:grid}.account-summary-grid small,.account-summary-grid p{color:var(--muted)}.account-summary-grid small{font-size:9px}.account-summary-grid strong{letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin-top:7px;font-size:18px;display:block}.account-summary-grid p{text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:9px;overflow:hidden}.account-section-block{margin-top:34px}.account-section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:13px;display:flex}.account-section-heading span{color:var(--brand);letter-spacing:.15em;font-size:8px;font-weight:750}.account-section-heading h3{letter-spacing:-.025em;margin:4px 0 0;font-size:18px}.account-section-heading>p{color:var(--muted);margin:0;font-size:10px}.account-section-heading>button{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:10px;display:inline-flex}.account-section-heading>button:hover{color:var(--brand)}.account-data-list{border:1px solid var(--border);border-radius:12px;overflow:hidden}.account-data-list article{background:var(--surface);grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:11px;min-height:64px;padding:10px 13px;display:grid}.account-data-list article+article{border-top:1px solid var(--border)}.account-data-list__icon{background:var(--surface-soft);width:32px;height:32px;color:var(--brand);border-radius:8px;place-items:center;display:grid}.account-data-list article>div{min-width:0}.account-data-list strong,.account-data-list small{display:block}.account-data-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.account-data-list small{color:var(--muted);margin-top:4px;font-size:8px}.account-data-list em{color:var(--text);font-variant-numeric:tabular-nums;font-size:11px;font-style:normal;font-weight:690}.order-status{background:var(--surface-soft);color:var(--muted);white-space:nowrap;border-radius:6px;padding:5px 7px;font-size:8px}.order-status.is-paid{background:var(--brand-soft);color:var(--brand)}.account-trust-strip{border:1px solid color-mix(in srgb, var(--brand) 20%, var(--border));background:var(--brand-soft);color:var(--brand);border-radius:12px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.account-trust-strip div{min-width:0}.account-trust-strip strong,.account-trust-strip span{display:block}.account-trust-strip strong{font-size:11px}.account-trust-strip span{color:var(--muted);margin-top:3px;font-size:9px}.account-trust-strip em{white-space:nowrap;font-size:8px;font-style:normal;font-weight:700}.recharge-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.recharge-pack{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-height:190px;padding:20px;display:grid}.recharge-pack>span{color:var(--muted);font-size:10px}.recharge-pack>strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:13px;font-size:28px}.recharge-pack>strong small{color:var(--muted);letter-spacing:normal;font-size:10px}.recharge-pack>p{color:var(--brand);margin:5px 0 18px;font-size:15px;font-weight:700}.recharge-pack button{background:var(--brand);height:38px;color:var(--on-brand);border-radius:8px;margin-top:auto;font-size:10px;font-weight:680}.recharge-pack button:hover:not(:disabled){background:var(--brand-hover);transform:translateY(-1px)}.recharge-pack button:disabled{cursor:not-allowed;opacity:.58}.mock-checkout{border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;margin-top:12px;padding:16px;display:grid}.mock-checkout>div:first-child span,.mock-checkout>div:first-child strong,.mock-checkout>div:first-child small{display:block}.mock-checkout>div:first-child span,.mock-checkout>div:first-child small{color:var(--muted);font-size:8px}.mock-checkout>div:first-child strong{margin:4px 0;font-size:11px}.mock-checkout__amount{text-align:right}.mock-checkout__amount span,.mock-checkout__amount strong{display:block}.mock-checkout__amount span{color:var(--muted);font-size:8px}.mock-checkout__amount strong{font-variant-numeric:tabular-nums;margin-top:3px;font-size:15px}.mock-checkout>button{background:var(--brand);color:#fff;border-radius:8px;height:36px;padding:0 12px;font-size:9px;font-weight:680}.mock-checkout>button:disabled{opacity:.58}.mock-checkout>.mock-checkout__cancel{color:var(--muted);background:0 0;padding:0}.invite-code-panel{background:var(--navy);color:#fff;border-radius:16px;justify-content:space-between;align-items:flex-end;gap:24px;min-height:150px;padding:25px;display:flex}.invite-code-panel span,.invite-code-panel small{color:#ffffff9e;display:block}.invite-code-panel span{font-size:10px}.invite-code-panel strong{letter-spacing:.08em;margin:10px 0 6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(26px,4vw,40px);display:block}.invite-code-panel small{font-size:9px}.invite-code-panel button{height:40px;color:var(--navy);background:#fff;border-radius:9px;padding:0 14px;font-size:10px;font-weight:680}.promotion-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.promotion-metrics article{border:1px solid var(--border);border-radius:11px;min-width:0;padding:15px}.promotion-metrics small,.promotion-metrics span{color:var(--muted);display:block}.promotion-metrics small{font-size:8px}.promotion-metrics strong{text-overflow:ellipsis;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:8px 0 5px;font-size:17px;display:block;overflow:hidden}.promotion-metrics span{font-size:8px}.promotion-application-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;padding:22px}.promotion-status-card>span,.promotion-review-note>strong{color:var(--brand);letter-spacing:.08em;font-size:9px;font-weight:760}.promotion-status-card>strong{margin-top:8px;font-size:17px;display:block}.promotion-status-card p,.promotion-review-note p{color:var(--muted);margin:9px 0 0;font-size:10px;line-height:1.65}.promotion-status-card small{color:var(--muted);margin-top:10px;font-size:8px;display:block}.promotion-review-note{border-left:3px solid var(--brand);background:var(--surface);border-radius:7px;margin-bottom:14px;padding:12px 14px}.promotion-review-note p{margin-top:4px}.promotion-application-field{gap:7px;display:grid}.promotion-application-field>span,.referral-bind-form label>span,.promotion-review-controls label>span{color:var(--muted);font-size:9px;font-weight:650}.promotion-application-field textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;min-height:116px;color:var(--text);font:inherit;border-radius:9px;outline:none;padding:12px;font-size:11px;line-height:1.65}.promotion-application-field textarea:focus,.referral-bind-form input:focus,.promotion-review-controls input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.promotion-application-field small{color:var(--muted);justify-self:end;font-size:8px}.promotion-primary-action,.referral-bind-form>button,.promotion-review-controls>button,.promotion-admin-actions button{background:var(--brand);color:var(--on-brand);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:9px;font-weight:700;display:inline-flex}.promotion-primary-action{height:38px;margin-top:12px;padding:0 14px}.promotion-primary-action:disabled,.referral-bind-form>button:disabled,.promotion-review-controls>button:disabled,.promotion-admin-actions button:disabled{cursor:not-allowed;opacity:.5}.referral-bound-card{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:var(--brand-soft);color:var(--brand);border-radius:11px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:11px;padding:15px;display:grid}.referral-bound-card strong,.referral-bound-card span{display:block}.referral-bound-card strong{font-size:11px}.referral-bound-card span{color:var(--muted);margin-top:4px;font-size:9px}.referral-bind-form{border:1px solid var(--border);border-radius:11px;grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr) auto;align-items:end;gap:12px;padding:15px;display:grid}.referral-bind-form label{gap:6px;display:grid}.referral-bind-form input,.promotion-review-controls input{border:1px solid var(--border);background:var(--surface);width:100%;height:36px;color:var(--text);border-radius:8px;outline:none;padding:0 10px;font-size:10px}.referral-bind-form>div strong,.referral-bind-form>div span{display:block}.referral-bind-form>div strong{font-size:10px}.referral-bind-form>div span{color:var(--muted);margin-top:4px;font-size:8px;line-height:1.45}.referral-bind-form>button{white-space:nowrap;height:36px;padding:0 13px}.promotion-admin-actions{gap:7px;display:flex}.promotion-admin-actions button{background:var(--surface-soft);height:30px;color:var(--muted);padding:0 9px}.promotion-review-list{gap:9px;display:grid}.promotion-review-list>article{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:16px}.promotion-review-list header{justify-content:space-between;align-items:center;gap:12px;display:flex}.promotion-review-list header strong,.promotion-review-list header span{display:block}.promotion-review-list header strong{font-size:11px}.promotion-review-list header span{color:var(--muted);margin-top:3px;font-size:8px}.promotion-review-list header em{background:var(--brand-soft);color:var(--brand);border-radius:6px;padding:5px 7px;font-size:8px;font-style:normal}.promotion-review-list>article>p{color:var(--muted);margin:13px 0;font-size:10px;line-height:1.65}.promotion-review-controls{grid-template-columns:116px auto;justify-content:end;align-items:end;gap:8px;display:grid}.promotion-review-controls label{gap:5px;display:grid;position:relative}.promotion-review-controls label:first-child input{padding-right:26px}.promotion-review-controls label>small{color:var(--muted);font-size:8px;position:absolute;bottom:10px;right:10px}.promotion-review-controls>button{height:36px;padding:0 12px}.promotion-review-controls>button.is-reject{border:1px solid var(--border);background:var(--surface);color:var(--muted)}.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr)) 180px;gap:9px;display:grid}.ledger-summary article,.ledger-summary label{border:1px solid var(--border);border-radius:11px;min-height:82px;padding:14px}.ledger-summary article{grid-template-columns:24px minmax(0,1fr);align-items:center;gap:4px 8px;display:grid}.ledger-summary article svg{color:var(--brand);grid-row:1/span 2}.ledger-summary article span,.ledger-summary label>span{color:var(--muted);font-size:8px}.ledger-summary article strong{letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:21px}.ledger-summary label{gap:6px;display:grid}.ledger-summary select{border:1px solid var(--border);background:var(--surface);width:100%;height:34px;color:var(--text);border-radius:7px;padding:0 9px;font-size:9px}.ledger-list .is-income{color:var(--brand)}.ledger-list .is-expense{color:var(--text)}.account-empty-state{border:1px dashed var(--border);background:color-mix(in srgb, var(--surface-soft) 42%, var(--surface));text-align:center;border-radius:12px;align-content:center;place-items:center;min-height:160px;padding:26px;display:grid}.account-empty-state>span{background:var(--brand-soft);width:40px;height:40px;color:var(--brand);border-radius:10px;place-items:center;margin-bottom:12px;display:grid}.account-empty-state strong{font-size:12px}.account-empty-state p{max-width:42ch;color:var(--muted);text-wrap:pretty;margin:7px 0 0;font-size:9px;line-height:1.6}.account-loading-list{border:1px solid var(--border);background:var(--border);border-radius:12px;gap:1px;display:grid;overflow:hidden}.account-loading-list i{background:linear-gradient(90deg, var(--surface) 10%, var(--surface-soft) 45%, var(--surface) 80%);background-size:220% 100%;height:62px;animation:1.2s linear infinite account-skeleton}.account-center__alert{z-index:3;clear:both;border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:color-mix(in srgb, var(--surface) 92%, transparent);color:var(--muted);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:9px;align-items:center;gap:8px;margin:12px 66px 0 16px;padding:10px 12px;font-size:9px;display:flex;position:sticky;top:12px}.account-center__alert span{flex:1}.account-center__alert svg{color:var(--brand)}.account-center__alert button{color:var(--brand);cursor:pointer;background:0 0;border:0;font-size:9px;font-weight:680}.account-center__toast{z-index:6;border:1px solid var(--border);background:var(--navy);color:#fff;box-shadow:var(--shadow);border-radius:9px;align-items:center;gap:7px;padding:10px 13px;font-size:10px;animation:.2s both account-toast-in;display:flex;position:absolute;bottom:20px;right:22px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes account-center-fade{0%{opacity:0}}@keyframes account-center-rise{0%{opacity:0;transform:translateY(12px)scale(.985)}}@keyframes account-toast-in{0%{opacity:0;transform:translateY(6px)}}@keyframes account-spin{to{transform:rotate(360deg)}}@keyframes account-skeleton{to{background-position:-220% 0}}@media (width<=820px){.account-center-backdrop{padding:0}.account-center{border:0;border-radius:0;grid-template-columns:1fr;width:100%;height:100dvh}.account-center__sidebar{border-right:0;border-bottom:1px solid var(--border);padding:12px 56px 0 12px;display:block;position:relative}.account-identity-card{background:0 0;border:0;min-height:52px;padding:7px}.account-identity-card__avatar{border-radius:9px;width:36px;height:36px}.account-center__sidebar nav{scrollbar-width:none;gap:4px;margin-top:8px;display:flex;overflow-x:auto}.account-center__sidebar nav::-webkit-scrollbar{display:none}.account-center__sidebar nav button{min-width:max-content;min-height:36px;padding:0 10px;display:flex}.account-center__sidebar nav button>svg:last-child,.account-center__sidebar nav small{display:none}.account-center__sidebar nav strong{font-size:10px}.account-center__sidebar-foot{display:none}.account-center__content{min-height:0}.account-center__close{margin:0;position:fixed;top:14px;right:12px}.account-center__page{padding:32px 16px 40px}.account-page-heading{padding-right:34px}.account-summary-grid,.promotion-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.recharge-pack-grid{grid-template-columns:1fr}.mock-checkout{grid-template-columns:1fr auto}.mock-checkout>button,.mock-checkout>.mock-checkout__cancel{grid-column:1/-1}.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-summary label{grid-column:1/-1;min-height:auto}.referral-bind-form,.promotion-review-controls{grid-template-columns:1fr 1fr}.referral-bind-form>div{grid-column:1/-1}.account-data-list article{grid-template-columns:32px minmax(0,1fr) auto}.account-data-list article>em{grid-column:2/-1;justify-self:end}.account-center__alert{margin-right:16px}}@media (width<=520px){.account-balance-panel,.invite-code-panel{flex-direction:column;align-items:flex-start;min-height:180px}.account-balance-panel button,.invite-code-panel button{width:100%;margin-top:auto}.account-summary-grid,.promotion-metrics{grid-template-columns:1fr 1fr}.account-trust-strip{grid-template-columns:26px minmax(0,1fr)}.account-trust-strip em{grid-column:2}.referral-bind-form,.promotion-review-controls{grid-template-columns:1fr}.promotion-admin-actions{width:100%}.promotion-admin-actions button{flex:1}.account-section-heading{flex-direction:column;align-items:flex-start;gap:8px}}@media (prefers-reduced-motion:reduce){.account-center-backdrop,.account-center,.account-center__toast,.account-loading-list i{animation:none}}.account-dialog-open{overflow:hidden}.account-dialog-backdrop{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#05122685;place-items:center;padding:20px;animation:.18s both account-backdrop-in;display:grid;position:fixed;inset:0}.account-dialog{border:1px solid color-mix(in srgb, var(--border) 82%, white);background:var(--surface);border-radius:18px;width:min(440px,100%);animation:.24s cubic-bezier(.2,.7,.2,1) both account-dialog-in;position:relative;overflow:hidden;box-shadow:0 28px 90px #031b3e47}.account-dialog__close{z-index:1;border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--muted);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid;position:absolute;top:16px;right:16px}.account-dialog__close:hover{color:var(--text);background:var(--surface-soft)}.account-panel{padding:38px 38px 34px}.account-mode-tabs{border:1px solid var(--border);background:var(--bg);border-radius:11px;grid-template-columns:1fr 1fr;gap:4px;margin:0 44px 28px 0;padding:4px;display:grid}.account-mode-tabs button{height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;font-size:13px;font-weight:650}.account-mode-tabs button.is-active{background:var(--surface);color:var(--text);box-shadow:0 2px 8px #0c223c14}.account-dialog__back{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;margin:0 0 24px;padding:0;font-size:12px;display:inline-flex}.account-dialog__back:hover{color:var(--brand)}.account-dialog__icon{border:1px solid color-mix(in srgb, var(--brand) 20%, var(--border));background:var(--brand-soft);width:46px;height:46px;color:var(--brand);border-radius:12px;place-items:center;margin-bottom:18px;display:grid}.account-dialog__eyebrow{color:var(--brand);letter-spacing:.16em;margin:0 0 8px;font-size:10px;font-weight:750}.account-dialog h2{letter-spacing:-.035em;margin:0;font-size:28px;line-height:1.15}.account-dialog__lead{color:var(--muted);overflow-wrap:anywhere;margin:11px 0 25px;font-size:13px;line-height:1.7}.account-panel--register .account-dialog__lead{margin-bottom:18px}.account-fields{gap:15px;display:grid}.account-field{gap:8px;display:grid}.account-field>span{color:var(--muted);font-size:11px;font-weight:650}.account-field input{border:1px solid var(--border);background:var(--bg);width:100%;height:48px;color:var(--text);border-radius:10px;padding:0 14px;font-size:14px;transition:border-color .18s,box-shadow .18s,background .18s}.account-field input::placeholder{color:color-mix(in srgb, var(--muted) 62%, transparent)}.account-field input:focus{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 11%, transparent);outline:0}.account-field input[inputmode=numeric]{letter-spacing:.08em;font-size:17px;font-weight:680}.account-field input[inputmode=numeric]::placeholder{letter-spacing:0;font-size:13px;font-weight:450}.account-password-input{display:block;position:relative}.account-password-input input{padding-right:46px}.account-password-input button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.account-password-input button:hover{background:var(--surface-soft);color:var(--text)}.account-code-input{display:block;position:relative}.account-code-input input{padding-right:112px}.account-code-input button{background:var(--brand-soft);min-width:96px;height:34px;color:var(--brand);cursor:pointer;border:0;border-radius:7px;padding:0 11px;font-size:12px;font-weight:680;position:absolute;top:7px;right:7px}.account-code-input button:hover{background:color-mix(in srgb, var(--brand) 16%, var(--surface))}.account-code-input button:disabled{cursor:not-allowed;opacity:.58}.account-login-method{border-bottom:1px solid var(--border);gap:18px;margin:-8px 0 20px;display:flex}.account-login-method button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 0 10px;font-size:12px;position:relative}.account-login-method button.is-active{color:var(--brand);font-weight:680}.account-login-method button.is-active:after{content:"";background:var(--brand);border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.account-flow-progress{color:var(--muted);grid-template-columns:max-content 1fr max-content;align-items:center;gap:10px;margin:-7px 0 22px;font-size:11px;display:grid}.account-flow-progress i{background:var(--border);height:1px}.account-flow-progress span.is-active{color:var(--brand);font-weight:700}.account-flow-progress span.is-complete{color:var(--text)}.account-primary-button,.account-secondary-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:16px;font-weight:680;display:inline-flex}.account-primary-button{border:1px solid var(--brand);background:var(--brand);color:var(--on-brand)}.account-primary-button:hover{background:var(--brand-hover)}.account-secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.account-secondary-button:hover{background:var(--surface-soft)}.account-primary-button:disabled,.account-secondary-button:disabled,.account-resend-button:disabled{cursor:not-allowed;opacity:.58}.account-resend-button,.account-text-action{width:100%;color:var(--brand);cursor:pointer;background:0 0;border:0;margin-top:13px;font-size:12px}.account-entry-actions{justify-content:center;align-items:center;gap:14px;margin-top:15px;display:flex}.account-entry-actions span{background:var(--border);width:1px;height:12px}.account-entry-actions button{color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.account-dialog__error{color:#ba2626;background:#fff0f0;border-radius:8px;margin:12px 0 0;padding:10px 12px;font-size:12px;line-height:1.5}:root[data-theme=dark] .account-dialog__error{color:#ff9b9b;background:#ba262626}.account-dialog__footnote,.account-role-note{color:var(--muted);text-align:center;margin:16px 0 0;font-size:11px;line-height:1.65}.account-primary-role{border:1px solid var(--border);background:var(--bg);border-radius:10px;justify-content:space-between;align-items:center;padding:15px;display:flex}.account-primary-role span{color:var(--muted);font-size:12px}.account-primary-role strong{color:var(--brand);font-size:14px}.account-role-list{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.account-role-list span{background:var(--brand-soft);color:var(--brand);border-radius:7px;align-items:center;gap:4px;padding:6px 8px;font-size:11px;font-weight:650;display:inline-flex}.avatar-button.is-guest{background:var(--navy);border-radius:10px;width:auto;min-width:52px;padding:0 12px}@keyframes account-backdrop-in{0%{opacity:0}}@keyframes account-dialog-in{0%{opacity:0;transform:translateY(12px)scale(.985)}}@media (width<=560px){.account-dialog-backdrop{align-items:end;padding:0}.account-dialog{border-radius:18px 18px 0 0;width:100%;max-height:calc(100dvh - 24px);overflow-y:auto}.account-panel{padding:34px 24px max(28px, env(safe-area-inset-bottom))}.account-mode-tabs{margin-right:42px}}@media (prefers-reduced-motion:reduce){.account-dialog-backdrop,.account-dialog{animation:none}}.account-avatar-menu{flex:none;position:relative}.account-avatar-menu .avatar-button.is-open{border-color:color-mix(in srgb, var(--brand) 42%, var(--border));box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent)}.account-quick-menu{z-index:80;border:1px solid color-mix(in srgb, var(--brand) 12%, var(--border));background:color-mix(in srgb, var(--surface) 96%, transparent);width:min(360px,100vw - 28px);box-shadow:0 24px 64px color-mix(in srgb, var(--navy) 18%, transparent), 0 2px 8px #122a4a0f;color:var(--text);-webkit-backdrop-filter:blur(24px)saturate(1.15);backdrop-filter:blur(24px)saturate(1.15);transform-origin:100% 0;border-radius:18px;padding:12px;animation:.2s cubic-bezier(.2,.7,.2,1) both account-menu-in;position:absolute;top:calc(100% + 10px);right:0}.account-quick-menu__identity{background:var(--surface-soft);border-radius:13px;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:12px;display:grid}.account-quick-menu__avatar{background:var(--navy);color:#fff;border-radius:13px;place-items:center;width:42px;height:42px;font-size:14px;font-weight:760;display:grid;box-shadow:inset 0 0 0 1px #ffffff26}.account-quick-menu__identity-copy{min-width:0}.account-quick-menu__identity-copy strong,.account-quick-menu__identity-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.account-quick-menu__identity-copy strong{letter-spacing:-.015em;font-size:14px;font-weight:720}.account-quick-menu__identity-copy small{color:var(--muted);margin-top:4px;font-size:11px}.account-quick-menu__identity>svg{color:var(--brand)}.account-quick-menu__credit{background:color-mix(in srgb, var(--brand-soft) 48%, var(--surface));width:100%;color:var(--text);text-align:left;cursor:pointer;border:0;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:11px 14px 13px;transition:background .18s,transform .18s;display:flex}.account-quick-menu__credit:hover{background:color-mix(in srgb, var(--brand-soft) 72%, var(--surface))}.account-quick-menu__credit:active{transform:translateY(1px)}.account-quick-menu__credit span small,.account-quick-menu__credit span strong{display:block}.account-quick-menu__credit span small{color:var(--brand);font-size:10px;font-weight:680}.account-quick-menu__credit span strong{margin-top:4px;font-size:11px;font-weight:600}.account-quick-menu__credit>svg{color:var(--muted)}.account-quick-menu__nav{border-bottom:1px solid var(--border);gap:2px;margin-top:10px;padding:3px 0 7px;display:grid}.account-quick-menu__nav button,.account-quick-menu__logout{width:100%;min-height:42px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;padding:0 10px;transition:background .18s,transform .18s;display:grid}.account-quick-menu__nav button:hover,.account-quick-menu__logout:hover{background:var(--surface-soft)}.account-quick-menu__nav button:active,.account-quick-menu__logout:active{transform:translateY(1px)}.account-quick-menu__nav button>svg:first-child,.account-quick-menu__logout>svg{color:var(--muted)}.account-quick-menu__nav button>span,.account-quick-menu__logout>span{font-size:12px;font-weight:610}.account-quick-menu__nav button>small{color:var(--muted);font-size:9px}.account-quick-menu__nav button>svg:last-child{color:var(--muted)}.account-quick-menu__logout{grid-template-columns:22px minmax(0,1fr);margin-top:5px}.account-quick-menu__logout:disabled{opacity:.55;cursor:wait}.account-quick-menu button:focus-visible,.account-avatar-menu .avatar-button:focus-visible{outline:2px solid color-mix(in srgb, var(--brand) 72%, white);outline-offset:2px}@keyframes account-menu-in{0%{opacity:0;transform:translateY(-6px)scale(.985)}}@media (width<=560px){.account-quick-menu{border-radius:16px;width:min(360px,100vw - 20px);max-height:calc(100dvh - 72px);position:fixed;top:58px;right:10px;overflow-y:auto}}@media (prefers-reduced-motion:reduce){.account-quick-menu{animation:none}}.admin-console{width:min(1480px,100%);min-height:calc(100dvh - 68px);margin:0 auto;padding:34px 30px 60px}.admin-console--center{text-align:center;color:var(--muted);align-content:center;place-items:center;gap:12px;display:grid}.admin-console--center strong{color:var(--text);font-size:18px}.admin-console--center p{max-width:520px;margin:0}.admin-console__spinner,.is-spinning{animation:.8s linear infinite admin-spin}.admin-console__header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.admin-console__eyebrow{color:var(--brand);letter-spacing:.06em;align-items:center;gap:7px;margin-bottom:9px;font-size:12px;font-weight:700;display:inline-flex}.admin-console__header h1{letter-spacing:-.045em;margin:0;font-size:clamp(30px,3.2vw,46px)}.admin-console__header p{color:var(--muted);margin:10px 0 0;font-size:14px}.admin-refresh-button,.admin-action-button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:650;display:inline-flex}.admin-refresh-button:disabled{opacity:.6;cursor:wait}.admin-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.admin-summary-grid article{border:1px solid var(--border);background:radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 38%), var(--surface);min-height:150px;box-shadow:0 12px 34px color-mix(in srgb, var(--navy) 7%, transparent);border-radius:16px;flex-direction:column;justify-content:space-between;padding:20px;display:flex}.admin-summary-grid article span{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.admin-summary-grid article strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(28px,3vw,42px)}.admin-summary-grid article small{color:var(--muted)}.admin-security-note{border:1px solid color-mix(in srgb, var(--brand) 18%, var(--border));background:color-mix(in srgb, var(--brand-soft) 58%, var(--surface));color:var(--brand);border-radius:12px;align-items:flex-start;gap:12px;margin-top:14px;padding:14px 16px;display:flex}.admin-security-note div{gap:3px;display:grid}.admin-security-note strong{color:var(--text);font-size:13px}.admin-security-note span{color:var(--muted);font-size:12px;line-height:1.6}.admin-tabs{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:5px;width:fit-content;margin-top:28px;padding:4px;display:flex}.admin-tabs button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 16px;font-weight:650}.admin-tabs button.is-active{background:var(--brand);color:var(--on-brand);box-shadow:0 7px 20px color-mix(in srgb, var(--brand) 22%, transparent)}.admin-panel{border:1px solid var(--border);background:var(--surface);box-shadow:0 16px 42px color-mix(in srgb, var(--navy) 7%, transparent);border-radius:16px;margin-top:14px;overflow:hidden}.admin-panel__toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;min-height:66px;padding:12px 16px;display:flex}.admin-panel__toolbar>span{color:var(--muted);font-size:12px}.admin-search{border:1px solid var(--border);background:var(--bg);width:min(420px,100%);height:40px;color:var(--muted);border-radius:10px;align-items:center;gap:9px;padding:0 12px;display:flex}.admin-search:focus-within{border-color:color-mix(in srgb, var(--brand) 46%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent)}.admin-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1}.admin-user-table-wrap{overflow-x:auto}.admin-user-table{border-collapse:collapse;width:100%;min-width:1120px}.admin-user-table th{background:color-mix(in srgb, var(--bg) 62%, var(--surface));color:var(--muted);text-align:left;white-space:nowrap;padding:13px 14px;font-size:11px;font-weight:700}.admin-user-table td{border-top:1px solid var(--border);color:var(--muted);vertical-align:middle;padding:15px 14px;font-size:12px}.admin-user-table tbody tr:hover{background:color-mix(in srgb, var(--brand) 3.5%, var(--surface))}.admin-user-identity{color:var(--text);align-items:center;gap:10px;display:flex}.admin-user-avatar{background:var(--navy);color:#fff;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-weight:750;display:grid}.admin-user-identity>span:last-child{gap:2px;min-width:0;display:grid}.admin-user-identity strong{font-size:13px}.admin-user-identity small{max-width:220px;color:var(--muted);text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.admin-test-badge{color:#b36a00;background:#f59e0b24;border-radius:999px;margin:6px 0 0 44px;padding:2px 6px;font-size:9px;font-style:normal;font-weight:700;display:inline-block}.admin-role-list{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.admin-role-list em{background:var(--surface-soft);color:var(--brand);border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal;font-weight:700}.admin-status-dot{background:#9aa7b7;border-radius:50%;width:7px;height:7px}.admin-status-dot.active{background:#20a36a;box-shadow:0 0 0 3px #20a36a26}.admin-status-dot.suspended{background:#e49318}.admin-status-dot.closed{background:#d04b4b}.admin-balance{gap:2px;display:grid}.admin-balance strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:16px}.admin-balance small{color:var(--muted)}.admin-row-actions{gap:7px;display:grid}.admin-row-actions>button{border:1px solid color-mix(in srgb, var(--brand) 25%, var(--border));background:var(--brand-soft);width:fit-content;min-height:30px;color:var(--brand);cursor:pointer;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex}.admin-role-actions{flex-wrap:wrap;gap:4px;display:flex}.admin-role-actions button{border:1px solid var(--border);background:var(--surface);min-height:26px;color:var(--muted);cursor:pointer;border-radius:7px;padding:0 7px;font-size:9px}.admin-role-actions button.is-active{border-color:color-mix(in srgb, var(--brand) 35%, var(--border));background:var(--brand-soft);color:var(--brand);font-weight:700}.admin-role-actions button:disabled{opacity:.45;cursor:not-allowed}.admin-grant-list{display:grid}.admin-grant-list article{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px;display:grid}.admin-grant-list article:last-child{border-bottom:0}.admin-grant-icon,.admin-dialog-icon{background:var(--brand-soft);width:40px;height:40px;color:var(--brand);border-radius:12px;place-items:center;display:grid}.admin-grant-copy,.admin-grant-meta{gap:4px;display:grid}.admin-grant-copy strong,.admin-grant-meta strong{color:var(--text);font-size:12px}.admin-grant-copy small,.admin-grant-meta small{color:var(--muted);font-size:10px}.admin-grant-meta{text-align:right}.admin-empty-state{color:var(--muted);text-align:center;padding:40px 20px}.admin-usage-summary,.admin-provider-overview{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--brand-soft) 36%, var(--surface));flex-wrap:wrap;align-items:center;gap:10px 22px;padding:14px 16px;display:flex}.admin-usage-summary>span,.admin-provider-overview>span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.admin-usage-summary strong,.admin-provider-overview strong{color:var(--text);font-size:14px}.admin-usage-summary small{color:var(--muted);margin-left:auto;font-size:10px}.admin-usage-table{min-width:1080px}.admin-usage-account,.admin-provider-model{gap:3px;display:grid}.admin-usage-account strong,.admin-provider-model strong,.admin-usage-capability{color:var(--text);font-size:12px}.admin-usage-account small{text-overflow:ellipsis;max-width:210px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.admin-usage-table td>small,.admin-provider-model small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.admin-credit-cost{color:var(--text);font-variant-numeric:tabular-nums;font-size:15px}.admin-operation-status{border-radius:999px;align-items:center;min-height:25px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.admin-operation-status.settled{background:color-mix(in srgb, #20a36a 12%, var(--surface));color:#147447}.admin-operation-status.released{background:color-mix(in srgb, #e49318 13%, var(--surface));color:#a56100}.admin-operation-status.reserved{background:color-mix(in srgb, var(--brand) 12%, var(--surface));color:var(--brand)}.admin-operation-status.reconciliation_required{background:color-mix(in srgb, #d3513c 13%, var(--surface));color:#a63a29}.admin-usage-summary>span.is-warning{border-color:color-mix(in srgb, #d3513c 35%, var(--border));color:#a63a29}.admin-reconciliation-actions{flex-wrap:wrap;gap:6px;display:flex}.admin-reconciliation-actions button{border:1px solid color-mix(in srgb, #d3513c 35%, var(--border));background:color-mix(in srgb, #d3513c 8%, var(--surface));color:#a63a29;min-height:30px;font:inherit;cursor:pointer;border-radius:7px;padding:0 9px;font-size:10px;font-weight:700}.admin-reconciliation-actions button.is-release{border-color:color-mix(in srgb, #e49318 38%, var(--border));background:color-mix(in srgb, #e49318 9%, var(--surface));color:#9a5b00}.admin-reconciliation-actions button:disabled{opacity:.5;cursor:wait}.admin-pagination{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:12px;min-height:58px;padding:10px 16px;display:flex}.admin-pagination span{color:var(--muted);font-size:11px}.admin-pagination button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);cursor:pointer;border-radius:8px;align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:650;display:inline-flex}.admin-pagination button:disabled{opacity:.45;cursor:not-allowed}.admin-provider-section{margin-top:14px}.admin-provider-audit{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 38%), var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px;padding:20px;display:grid}.admin-provider-audit>div:first-child{gap:7px;display:grid}.admin-provider-audit__eyebrow{color:var(--brand);letter-spacing:.08em;align-items:center;gap:6px;font-size:10px;font-weight:800;display:inline-flex}.admin-provider-audit>div>strong{color:var(--text);font-size:17px}.admin-provider-audit p{max-width:860px;color:var(--muted);margin:0;font-size:11px;line-height:1.7}.admin-provider-audit>button{border:1px solid var(--brand);background:var(--brand);min-height:38px;color:var(--on-brand);cursor:pointer;border-radius:10px;align-self:start;align-items:center;gap:7px;padding:0 14px;font-size:11px;font-weight:800;display:inline-flex}.admin-provider-audit>button:disabled{opacity:.6;cursor:wait}.admin-provider-audit dl{border-top:1px solid var(--border);grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid}.admin-provider-audit dl>div{gap:4px;padding:14px 14px 0 0;display:grid}.admin-provider-audit dt{color:var(--muted);font-size:9px;font-weight:700}.admin-provider-audit dd{color:var(--text);margin:0;font-size:12px;font-weight:750}.admin-provider-audit dd code{font-size:10px}.admin-provider-audit__links{grid-column:1/-1;align-items:center;gap:14px;display:flex}.admin-provider-audit__links a{color:var(--brand);align-items:center;gap:4px;font-size:9px;font-weight:750;text-decoration:none;display:inline-flex}.admin-provider-audit__links a:hover{text-decoration:underline}.admin-provider-overview{border:1px solid var(--border);background:var(--surface);border-radius:14px;justify-content:space-between;margin-top:10px}.admin-provider-disclosure{border:1px solid color-mix(in srgb, var(--brand) 18%, var(--border));background:color-mix(in srgb, var(--brand-soft) 45%, var(--surface));color:var(--muted);border-radius:11px;align-items:center;gap:9px;margin-top:10px;padding:12px 14px;font-size:11px;line-height:1.55;display:flex}.admin-provider-disclosure svg{color:var(--brand);flex:none}.admin-provider-disclosure strong{color:var(--text)}.admin-provider-list{gap:12px;margin-top:12px;display:grid}.admin-provider-card{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:0 14px 38px color-mix(in srgb, var(--navy) 6%, transparent);border-radius:16px;overflow:hidden}.admin-provider-card>header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px;display:grid}.admin-provider-logo{background:var(--navy);color:#fff;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.admin-provider-card header>span:nth-child(2){gap:3px;min-width:0;display:grid}.admin-provider-card header strong{color:var(--text);font-size:14px}.admin-provider-card header small{color:var(--muted);font-size:10px}.admin-provider-card header>em{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:9px;font-style:normal;font-weight:750}.admin-provider-card header>em.is-live{background:color-mix(in srgb, #20a36a 12%, var(--surface));color:#147447}.admin-provider-card header>em.is-paused{background:color-mix(in srgb, #e49318 12%, var(--surface));color:#9b5c00}.admin-provider-card header>em.is-off{background:color-mix(in srgb, #738095 12%, var(--surface));color:#586578}.admin-provider-equation{border:1px solid var(--border);background:color-mix(in srgb, var(--bg) 62%, var(--surface));border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px;margin:0 16px 14px;padding:11px 12px;display:flex}.admin-provider-equation>span{align-items:center;gap:4px;font-size:9px;font-weight:700;display:inline-flex}.admin-provider-equation>span.is-pass{color:#147447}.admin-provider-equation>span.is-fail{color:#a0680d}.admin-provider-equation>strong{color:var(--text);margin-left:auto;font-size:10px}.admin-provider-details{border-top:1px solid var(--border)}.admin-provider-details>summary{color:var(--text);cursor:pointer;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:13px 16px;list-style:none;display:grid}.admin-provider-details>summary::-webkit-details-marker{display:none}.admin-provider-details>summary span{font-size:11px;font-weight:800}.admin-provider-details>summary small{color:var(--muted);font-size:9px}.admin-provider-details>summary svg{transition:transform .18s}.admin-provider-details[open]>summary svg{transform:rotate(180deg)}.admin-provider-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:4px 16px 16px;display:grid}.admin-provider-detail-grid section{min-width:0}.admin-provider-detail-grid h3,.admin-provider-models h3{color:var(--text);margin:0 0 9px;font-size:11px}.admin-provider-evidence{gap:7px;display:grid}.admin-provider-evidence>div{border:1px solid var(--border);border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px;display:grid}.admin-provider-evidence>div>span:nth-child(2){gap:2px;min-width:0;display:grid}.admin-provider-evidence strong{color:var(--text);font-size:10px}.admin-provider-evidence small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.admin-provider-evidence>div>code{color:var(--muted);font-size:8px}.admin-provider-evidence .is-pass{color:#15905a}.admin-provider-evidence .is-fail{color:#c1841a}.admin-provider-evidence .is-neutral{color:var(--muted)}.admin-provider-balance{border:1px solid var(--border);background:color-mix(in srgb, var(--bg) 58%, var(--surface));border-radius:11px;margin:0;padding:13px}.admin-provider-balance>span{color:var(--brand);align-items:center;gap:7px;display:flex}.admin-provider-balance strong{color:var(--text);font-size:12px}.admin-provider-balance p{color:var(--muted);margin:7px 0 0;font-size:10px;line-height:1.6}.admin-provider-balance>small{color:var(--muted);margin-top:7px;font-size:9px;display:block}.admin-provider-bases{gap:7px;padding:12px 0 0;display:grid}.admin-provider-bases>span{gap:3px;min-width:0;display:grid}.admin-provider-bases small{color:var(--muted);font-size:9px;font-weight:700}.admin-provider-bases code,.admin-provider-routes code{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.admin-provider-routes{gap:5px;padding:10px 16px 15px;display:grid}.admin-provider-routes>span{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;display:grid}.admin-provider-routes em{background:var(--brand-soft);color:var(--brand);text-align:center;border-radius:5px;padding:2px 4px;font-size:8px;font-style:normal;font-weight:800}.admin-provider-routes small{color:var(--muted);font-size:9px}.admin-provider-details>footer{border-top:1px solid var(--border);background:color-mix(in srgb, var(--bg) 50%, var(--surface));align-items:center;gap:14px;padding:12px 16px;display:flex}.admin-provider-details>footer a{color:var(--brand);align-items:center;gap:4px;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.admin-provider-details>footer a:hover{text-decoration:underline}.admin-provider-models{border-top:1px solid var(--border);padding:16px}.admin-provider-models h3{align-items:baseline;gap:8px;display:flex}.admin-provider-models h3 small{color:var(--muted);font-size:9px;font-weight:500}.admin-provider-model-table{border:1px solid var(--border);border-radius:11px;display:grid;overflow:hidden}.admin-provider-model-table>div{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(170px,1.2fr) minmax(120px,.7fr) minmax(160px,1fr) minmax(220px,1.4fr);align-items:center;gap:10px;min-width:0;padding:10px 12px;display:grid}.admin-provider-model-table>div:last-child{border-bottom:0}.admin-model-state.is-live{color:#15905a}.admin-model-state.is-blocked{color:#c1841a}.admin-model-name,.admin-model-result{gap:3px;min-width:0;display:grid}.admin-model-name strong,.admin-model-result strong{color:var(--text);font-size:10px}.admin-model-name small,.admin-model-result small{color:var(--muted);text-overflow:ellipsis;font-size:8px;line-height:1.5;overflow:hidden}.admin-model-name code,.admin-model-endpoint code{overflow-wrap:anywhere;font-size:8px}.admin-model-capabilities{flex-wrap:wrap;gap:4px;display:flex}.admin-model-capabilities em{background:var(--brand-soft);color:var(--brand);border-radius:999px;padding:3px 6px;font-size:8px;font-style:normal;font-weight:750}.admin-model-endpoint{min-width:0;color:var(--muted);font-size:8px}.admin-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0312277a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.admin-grant-dialog{border:1px solid color-mix(in srgb, var(--brand) 18%, var(--border));background:var(--surface);border-radius:18px;width:min(480px,100%);padding:25px;position:relative;box-shadow:0 28px 80px #00163447}.admin-dialog-close{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:15px;right:15px}.admin-grant-dialog h2{margin:15px 0 7px;font-size:24px}.admin-grant-dialog>p{color:var(--muted);margin:0 0 20px;font-size:13px}.admin-grant-dialog form,.admin-grant-dialog label{gap:8px;display:grid}.admin-grant-dialog form{gap:15px}.admin-grant-dialog label span{font-size:12px;font-weight:700}.admin-grant-dialog input,.admin-grant-dialog textarea{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);border-radius:10px;outline:0}.admin-grant-dialog input{height:42px;padding:0 12px}.admin-grant-dialog textarea{resize:vertical;padding:11px 12px;line-height:1.55}.admin-grant-dialog input:focus,.admin-grant-dialog textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent)}.admin-dialog-warning{background:color-mix(in srgb, #f59e0b 10%, var(--surface));color:color-mix(in srgb, #b36a00 80%, var(--text));border-radius:10px;padding:11px 12px;font-size:11px;line-height:1.6}.admin-dialog-actions{justify-content:flex-end;gap:8px;display:flex}.admin-dialog-actions button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:700;display:inline-flex}.admin-dialog-actions button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}.admin-dialog-actions button:disabled{opacity:.6;cursor:wait}@media (width<=1080px){.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-provider-model-table>div{grid-template-columns:auto minmax(180px,1fr) minmax(120px,.7fr) minmax(190px,1fr)}.admin-model-result{grid-column:2/-1}}@media (width<=820px){.admin-console{padding:22px 14px 42px}.admin-console__header{align-items:flex-start}.admin-console__header p{max-width:430px}.admin-refresh-button{width:40px;padding:0;font-size:0}.admin-panel__toolbar{flex-direction:column;align-items:stretch;gap:9px}.admin-search{width:100%}.admin-user-table,.admin-usage-table{min-width:0}.admin-user-table thead{display:none}.admin-user-table tbody{gap:10px;padding:10px;display:grid}.admin-user-table tr{border:1px solid var(--border);background:var(--surface);border-radius:13px;gap:10px;padding:15px;display:grid}.admin-user-table td{border:0;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;padding:0;display:grid}.admin-user-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700}.admin-user-table td:first-child{display:block}.admin-user-table td:first-child:before{display:none}.admin-row-actions{justify-items:start}.admin-grant-list article{grid-template-columns:auto minmax(0,1fr)}.admin-grant-meta{text-align:left;grid-column:2}.admin-provider-overview{justify-content:flex-start}.admin-usage-summary small{width:100%;margin-left:0}.admin-provider-detail-grid{grid-template-columns:1fr}.admin-provider-audit dl{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-provider-model-table>div{grid-template-columns:auto minmax(0,1fr);align-items:start}.admin-model-capabilities,.admin-model-endpoint,.admin-model-result{grid-column:2}}@media (width<=520px){.admin-summary-grid{grid-template-columns:1fr 1fr;gap:8px}.admin-summary-grid article{min-height:125px;padding:15px}.admin-summary-grid article strong{font-size:28px}.admin-summary-grid article small{font-size:9px}.admin-tabs{width:100%;overflow-x:auto}.admin-tabs button{flex:1;min-width:max-content;padding-inline:9px;font-size:11px}.admin-user-table td{grid-template-columns:76px minmax(0,1fr)}.admin-pagination{justify-content:space-between}.admin-pagination span{text-align:center}.admin-provider-routes>span{grid-template-columns:34px minmax(0,1fr)}.admin-provider-routes small{grid-column:2}.admin-provider-audit{grid-template-columns:1fr;padding:16px}.admin-provider-audit>button{justify-content:center;width:100%}.admin-provider-audit dl{grid-column:1}.admin-provider-audit__links{flex-wrap:wrap;grid-column:1}.admin-provider-card>header{grid-template-columns:auto minmax(0,1fr)}.admin-provider-card header>em{grid-column:2;justify-self:start}.admin-provider-equation>strong{width:100%;margin-left:0}.admin-provider-details>summary{grid-template-columns:minmax(0,1fr) auto}.admin-provider-details>summary small{grid-column:1}.admin-provider-details>summary svg{grid-area:1/2/span 2}.admin-provider-evidence>div{grid-template-columns:auto minmax(0,1fr)}.admin-provider-evidence>div>code{grid-column:2}.admin-provider-models h3{display:grid}.admin-dialog-actions{flex-direction:column-reverse}.admin-dialog-actions button{width:100%}}@keyframes admin-spin{to{transform:rotate(360deg)}}.login-page{--login-ink:#f8fbff;--login-muted:#e2edffb8;min-height:100dvh;color:var(--login-ink);isolation:isolate;background:#06172f;grid-template-columns:minmax(0,1.24fr) minmax(400px,.76fr);align-items:center;gap:clamp(36px,4.5vw,76px);padding:clamp(96px,11vh,132px) clamp(42px,6vw,104px) clamp(72px,8vh,96px);display:grid;position:relative;overflow:hidden auto}.login-page__hero-image{z-index:-2;-o-object-fit:cover;object-fit:cover;-o-object-position:63% center;object-position:63% center;width:68%;height:100%;position:absolute;inset:0 32% 0 0;transform:scale(1.012);-webkit-mask-image:linear-gradient(90deg,#000 0% 70%,#000000b8 82%,#00000047 94%,#0000 100%);mask-image:linear-gradient(90deg,#000 0% 70%,#000000b8 82%,#00000047 94%,#0000 100%)}.login-page__backdrop{z-index:-1;background:linear-gradient(90deg,#041836f0 0%,#06377085 32%,#051e415c 50%,#06172fb8 64%,#06172f 78% 100%),linear-gradient(#030f2533 0%,#0000 52%,#030e22b8 100%);position:absolute;inset:0}.login-page__brand{z-index:1;align-items:center;gap:12px;display:flex;position:absolute;top:clamp(26px,4.5vh,52px);left:clamp(30px,5vw,86px)}.login-page__brand-mark{-o-object-fit:contain;object-fit:contain;filter:brightness(0)invert()opacity(.94)drop-shadow(0 8px 20px #000c2047);width:52px;height:52px}.login-page__brand-name{-o-object-fit:contain;object-fit:contain;filter:brightness(0)invert()opacity(.94)drop-shadow(0 7px 18px #000c204d);width:auto;height:34px}.login-story{text-shadow:0 4px 30px #02102757;align-self:center;width:min(650px,100%);transform:translate(-18px)}.login-story h1{color:#fff;font-synthesis:none;letter-spacing:-.012em;gap:0;margin:0;font-family:Yunhu Model Title,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-size:clamp(52px,5.6vw,84px);font-weight:500;line-height:.98;display:grid}.login-story h1 span{white-space:nowrap;display:block}.login-story__lead{color:#ffffffb8;width:min(460px,100%);margin:28px 0 0;font-size:clamp(14px,1.35vw,17px);line-height:1.75}.login-card{-webkit-backdrop-filter:blur(26px)saturate(118%);background:linear-gradient(145deg,#d5e5ff36,#7f9ed21f);border:1px solid #e2edff4d;border-radius:26px;justify-self:end;width:min(470px,100%);min-height:594px;padding:38px 42px 32px;box-shadow:0 30px 90px #00112f5c,inset 0 1px #ffffff2e}.login-card__heading{text-align:center}.login-card__heading>button{color:#e7f0ffb8;cursor:pointer;background:0 0;border:0;margin:-4px 0 17px;padding:0;font-size:12px;display:block}.login-card__heading>button:hover{color:#fff}.login-card__heading p{color:#dae8ff9e;letter-spacing:.19em;margin:0 0 9px;font-size:10px;font-weight:740}.login-card__heading h2{color:#fff;letter-spacing:.05em;margin:0;font-family:Songti SC,STSong,serif;font-size:34px;font-weight:500}.login-card__heading>span{color:#e1ecffab;margin:11px 0 0;font-size:12px;line-height:1.65;display:block}.login-method-tabs{background:#071a3d47;border:1px solid #e2edff26;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin:27px 0 22px;padding:4px;display:grid}.login-method-tabs button{color:#e3edffa8;cursor:pointer;background:0 0;border:0;border-radius:8px;height:38px;padding:0 12px;font-size:12px;font-weight:650;transition:background .18s,color .18s,box-shadow .18s}.login-method-tabs button.is-active{color:#fff;background:#e0ebff2e;box-shadow:inset 0 1px #ffffff24,0 6px 18px #04122d26}.login-form{gap:17px;margin-top:27px;display:grid}.login-method-tabs+.login-form{margin-top:0}.login-field{gap:8px;display:grid}.login-field>span:first-child{color:#ebf3ffc2;letter-spacing:.045em;margin-left:2px;font-size:10.5px;font-weight:640}.login-field__control{background:radial-gradient(circle at 18% 0,#dceaff1f,#0000 48%),linear-gradient(#ebf3ff21,#06193a45);border:1px solid #e0ecff4d;border-radius:14px;align-items:center;min-width:0;height:54px;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff21,inset 0 -1px #04122c38,0 10px 28px #01112b17}.login-field__control:hover{background:linear-gradient(#ebf3ff2b,#06193a40);border-color:#e8f1ff6b}.login-field__control:focus-within{background:radial-gradient(circle at 18% 0,#dceaff33,#0000 50%),linear-gradient(#e2eeff2b,#071d4359);border-color:#aecfffdb;transform:translateY(-1px);box-shadow:inset 0 1px #fff3,0 0 0 3px #689fff1c,0 14px 32px #01112b24}.login-field__icon{color:#d7e6ffb0;background:#dae8ff14;border:1px solid #e1edff24;border-radius:10px;flex:0 0 36px;place-items:center;height:36px;margin-left:8px;transition:background .2s,border-color .2s,color .2s,box-shadow .2s;display:grid;box-shadow:inset 0 1px #ffffff0f}.login-field__control:focus-within .login-field__icon{color:#e9f2ff;background:#b5d3ff26;border-color:#bed8ff4d;box-shadow:inset 0 1px #ffffff1f,0 4px 14px #0a367321}.login-field__control input{color:#f8fbff;caret-color:#c6ddff;min-width:0;height:100%;font:inherit;letter-spacing:.01em;background:0 0;border:0;outline:0;flex:1;padding:0 14px 0 12px;font-size:14px;font-weight:500}.login-field__control input:focus-visible{outline:0}.login-field__control input::placeholder{color:#d5e3f96b;letter-spacing:0;font-weight:430}.login-field__control input[inputmode=numeric]{font-variant-numeric:tabular-nums;letter-spacing:.14em;font-size:15px}.login-field__control input:-webkit-autofill{-webkit-text-fill-color:#f8fbff;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000}.login-field__control input:-webkit-autofill:hover{-webkit-text-fill-color:#f8fbff;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000}.login-field__control input:-webkit-autofill:focus{-webkit-text-fill-color:#f8fbff;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000}.login-field__icon-button{color:#d6e5ff94;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:0 0 36px;place-items:center;height:36px;margin-right:8px;padding:0;transition:border-color .18s,background .18s,color .18s,transform .18s;display:grid}.login-field__icon-button:hover{color:#fff;background:#e6efff17;border-color:#e2edff26}.login-field__icon-button:active{transform:scale(.96)}.login-field__control--code>button{color:#f0f6ff;letter-spacing:.025em;cursor:pointer;background:linear-gradient(#e5efff33,#b9d2f81a);border:1px solid #dae9ff3d;border-radius:10px;flex:none;min-width:88px;height:38px;margin-right:7px;padding:0 13px;font-size:11px;font-weight:680;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;box-shadow:inset 0 1px #ffffff1c,0 5px 15px #02132f1a}.login-field__control--code>button:hover{background:linear-gradient(#eff6ff42,#c0d9ff24);border-color:#e1eeff5c;box-shadow:inset 0 1px #ffffff26,0 7px 18px #02132f24}.login-field__control--code>button:active{transform:scale(.97)}.login-field__control--code>button:disabled{cursor:not-allowed;opacity:.52}.login-form__error{color:#ffd5d9;background:#700d1d47;border:1px solid #ffa4a43d;border-radius:9px;margin:-3px 0 0;padding:9px 11px;font-size:11px;line-height:1.5}.login-form__submit{color:#0c2d65;cursor:pointer;background:linear-gradient(135deg,#eaf2ffeb,#c8dcffd1);border:1px solid #e5efffad;border-radius:11px;justify-content:center;align-items:center;gap:9px;width:100%;height:48px;margin-top:3px;font-size:13px;font-weight:760;transition:transform .18s,box-shadow .18s;display:flex;box-shadow:0 12px 30px #051b4133}.login-form__submit:hover{transform:translateY(-1px);box-shadow:0 16px 34px #051b4145}.login-form__submit:disabled{cursor:wait;opacity:.7;transform:none}.login-card__secondary-actions{justify-content:center;align-items:center;gap:14px;margin-top:17px;display:flex}.login-card__secondary-actions span{background:#e2edff33;width:1px;height:12px}.login-card__secondary-actions button{color:#eaf1ffbd;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.login-card__secondary-actions button:hover{color:#fff}.login-card__flow-note,.login-card__terms{color:#d6e3f87a;text-align:center;font-size:10px;line-height:1.6}.login-card__flow-note{margin:16px 0 0}.login-card__terms{margin:20px 0 0}.login-card__checking{color:#e8f1ffb8;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:510px;display:flex}.login-card__checking svg{color:#a8c6ff;margin-bottom:7px}.login-card__checking strong{color:#fff;font-size:15px}.login-card__checking span{font-size:11px}.login-page__footer{color:#d8e6fc73;letter-spacing:.05em;text-align:center;font-size:10px;position:absolute;bottom:24px;left:0;right:0}@media (width<=980px){.login-page{grid-template-columns:minmax(0,1fr);justify-items:center;padding:112px 26px 72px}.login-page__hero-image{-o-object-position:61% center;object-position:61% center;width:100%;right:0;-webkit-mask-image:none;mask-image:none}.login-page__backdrop{background:linear-gradient(#04112a94,#030e23d1)}.login-story{display:none}.login-card{justify-self:center}}@media (width<=560px){.login-page{align-items:start;min-height:100dvh;padding:92px 14px 54px;overflow-y:auto}.login-page__hero-image{-o-object-position:54% center;object-position:54% center}.login-page__brand{gap:8px;top:22px;left:20px}.login-page__brand-mark{width:42px;height:42px}.login-page__brand-name{height:24px}.login-card{border-radius:21px;width:100%;min-width:0;max-width:calc(100vw - 28px);min-height:auto;padding:30px 22px 26px}.login-card__heading h2{font-size:29px}.login-card__checking{min-height:410px}.login-page__footer{margin-top:22px;position:static}}@media (height<=760px) and (width>=981px){.login-page{padding-top:78px;padding-bottom:56px}.login-card{min-height:auto;padding-top:30px;padding-bottom:25px}.login-story__lead{margin-top:20px}}@media (prefers-reduced-motion:reduce){.login-form__submit{transition:none}}.asset-workspace{background:var(--bg);min-height:calc(100dvh - 68px);padding:30px clamp(18px,2.5vw,38px) 40px}.asset-page-heading{justify-content:space-between;align-items:flex-end;gap:24px;width:min(1480px,100%);margin:0 auto 22px;display:flex}.asset-page-heading h1{letter-spacing:-.035em;margin:0;font-size:clamp(28px,2.7vw,40px);line-height:1.1}.asset-page-heading p{color:var(--muted);margin:9px 0 0;font-size:13px}.asset-page-upload{border:1px solid var(--brand);background:var(--brand);min-height:38px;color:var(--on-brand);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:12px;font-weight:650;display:inline-flex}.asset-page-upload:hover{background:var(--brand-hover)}.asset-page-upload input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.asset-category-tabs{border-bottom:1px solid var(--border);align-items:stretch;gap:26px;width:min(1480px,100%);min-height:60px;margin:0 auto;display:flex}.asset-category-tabs button{min-width:116px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:0 2px;display:flex;position:relative}.asset-category-tabs button:after{content:"";background:var(--brand);opacity:0;height:2px;transition:opacity .18s,transform .18s;position:absolute;bottom:-1px;left:0;right:0;transform:scaleX(.5)}.asset-category-tabs strong{font-size:14px}.asset-category-tabs span{opacity:.72;font-size:10px}.asset-category-tabs button:hover,.asset-category-tabs button.is-active{color:var(--brand)}.asset-category-tabs button.is-active:after{opacity:1;transform:scaleX(1)}.asset-browser{background:var(--surface);border:1px solid var(--border);border-top:0;border-radius:0 0 14px 14px;grid-template-columns:220px minmax(0,1fr);width:min(1480px,100%);min-height:calc(100dvh - 246px);margin:0 auto;display:grid;overflow:hidden}.asset-folder-panel{border-right:1px solid var(--border);background:color-mix(in srgb, var(--surface) 94%, var(--bg));flex-direction:column;min-width:0;padding:18px 12px 12px;display:flex}.asset-folder-panel__heading{justify-content:space-between;align-items:center;min-height:34px;padding:0 8px 10px;display:flex}.asset-folder-panel__heading strong{font-size:12px}.asset-folder-panel__heading button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.asset-folder-panel__heading button:hover{background:var(--surface-soft);color:var(--brand)}.asset-folder-list{gap:4px;display:grid}.asset-folder-list>button{width:100%;min-height:40px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;display:grid}.asset-folder-list>button span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550;overflow:hidden}.asset-folder-list>button small{font-size:10px}.asset-folder-list>button:hover{background:var(--surface-soft);color:var(--text)}.asset-folder-list>button.is-active{background:var(--brand-soft);color:var(--brand)}.asset-folder-create{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;gap:5px;margin-top:8px;padding:8px;display:grid}.asset-folder-create input{border:1px solid var(--border);background:var(--surface);min-width:0;height:30px;color:var(--text);border-radius:6px;padding:0 8px;font-size:11px}.asset-folder-create button{background:var(--brand);height:30px;color:var(--on-brand);cursor:pointer;border:0;border-radius:6px;padding:0 8px;font-size:10px}.asset-folder-create button:last-child{background:var(--surface-soft);width:30px;color:var(--muted);place-items:center;padding:0;display:grid}.asset-folder-create button:disabled{opacity:.45;cursor:not-allowed}.asset-folder-add{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin-top:auto;font-size:11px;display:inline-flex}.asset-folder-add:hover{border-color:color-mix(in srgb, var(--brand) 38%, var(--border));color:var(--brand)}.asset-content{min-width:0;padding:0 24px 32px;position:relative}.asset-content__toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;min-height:72px;display:flex}.asset-content__title{align-items:baseline;gap:10px;display:flex}.asset-content__title h2{margin:0;font-size:17px}.asset-content__title span{color:var(--muted);font-size:10px}.asset-toolbar-controls{align-items:center;gap:8px;display:flex}.asset-search,.asset-select{border:1px solid var(--border);background:var(--surface);height:36px;color:var(--muted);border-radius:8px;align-items:center;gap:7px;padding:0 10px;display:flex}.asset-search:focus-within{border-color:color-mix(in srgb, var(--brand) 55%, var(--border));color:var(--brand)}.asset-search input{width:126px;color:var(--text);background:0 0;border:0;outline:0;font-size:11px}.asset-search input::placeholder{color:color-mix(in srgb, var(--muted) 68%, transparent)}.asset-select select{appearance:none;min-width:76px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;outline:0;font-size:11px}.asset-select svg:last-child{pointer-events:none;margin-left:-4px}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));align-items:start;gap:16px;padding-top:22px;display:grid}.asset-new-tile{border:1px dashed color-mix(in srgb, var(--brand) 28%, var(--border));background:color-mix(in srgb, var(--brand-soft) 30%, var(--surface));min-height:306px;color:var(--muted);cursor:pointer;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:9px;transition:border-color .18s,background .18s,color .18s,transform .18s;display:flex}.asset-new-tile>span{background:var(--brand-soft);width:48px;height:48px;color:var(--brand);border-radius:50%;place-items:center;display:grid}.asset-new-tile strong{color:var(--text);font-size:13px}.asset-new-tile small{font-size:10px}.asset-new-tile:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);transform:translateY(-2px)}.asset-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;transition:border-color .18s,transform .18s;overflow:visible}.asset-card:hover{border-color:color-mix(in srgb, var(--brand) 34%, var(--border));transform:translateY(-2px)}.asset-card__preview{aspect-ratio:1/1.06;background:var(--surface-soft);width:100%;color:inherit;cursor:pointer;border:0;border-radius:9px 9px 0 0;padding:0;display:block;position:relative;overflow:hidden}.asset-card__preview img,.asset-card__preview video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}.asset-card__missing{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.asset-card__type{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#081426b8;border-radius:7px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:9px;left:9px}.asset-card__play{color:#ffffffe6;filter:drop-shadow(0 3px 8px #0000004d);pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.asset-card__body{padding:11px 12px 10px}.asset-card__title-row{align-items:center;gap:8px;min-width:0;display:flex}.asset-card__title-row>button{min-width:0;color:var(--text);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:1;padding:0;font-size:12px;font-weight:700;overflow:hidden}.asset-card__title-row>button:hover{color:var(--brand)}.asset-card__title-row>span{background:var(--brand-soft);color:var(--brand);border-radius:5px;flex:none;padding:3px 6px;font-size:9px}.asset-card__body>p{min-height:17px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;margin:6px 0 5px;font-size:9px;display:flex;overflow:hidden}.asset-card__binding{color:#0f8a63;align-items:center;gap:3px;margin-left:auto;font-weight:650;display:inline-flex}.asset-card__binding.is-processing{color:#b46a00}.asset-card__footer{align-items:center;min-height:26px;display:flex;position:relative}.asset-card__footer time{color:color-mix(in srgb, var(--muted) 82%, transparent);font-size:9px}.asset-card__footer>button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;margin-left:auto;display:grid}.asset-card__footer>button:hover{background:var(--surface-soft);color:var(--text)}.asset-card__menu{z-index:6;border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:2px;width:132px;padding:5px;display:grid;position:absolute;top:30px;right:0;box-shadow:0 14px 34px #10213a24}.asset-card__menu button{min-height:34px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 9px;font-size:10px;display:flex}.asset-card__menu button:hover{background:var(--surface-soft);color:var(--brand)}.asset-card__menu button.is-danger:hover{background:color-mix(in srgb, #ef4444 9%, var(--surface));color:#dc2626}.asset-card__menu button:disabled{opacity:.45;cursor:not-allowed}.asset-empty-state{min-height:210px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.asset-empty-state>div{border:1px solid var(--border);background:var(--surface-soft);width:72px;height:54px;color:color-mix(in srgb, var(--brand) 64%, var(--muted));border-radius:13px;justify-content:center;align-items:center;gap:7px;margin-bottom:10px;display:flex}.asset-empty-state strong{color:var(--text);font-size:12px}.asset-empty-state p{margin:7px 0 0;font-size:10px}.asset-provider-callout{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:color-mix(in srgb, var(--brand-soft) 42%, var(--surface));border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;margin-top:16px;padding:11px 14px;display:grid}.asset-provider-callout__icon{background:var(--surface);width:38px;height:38px;color:var(--brand);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent);border-radius:9px;place-items:center;display:grid}.asset-provider-callout__copy{min-width:0}.asset-provider-callout__copy strong{color:var(--text);font-size:12px;display:block}.asset-provider-callout__copy p{color:var(--muted);margin:4px 0 0;font-size:10px}.asset-provider-callout__copy p span{color:var(--brand);padding:0 4px}.asset-provider-callout>a{border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:var(--surface);min-height:32px;color:var(--brand);border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:10px;font-weight:650;text-decoration:none;display:inline-flex}.asset-provider-callout>a:hover{border-color:var(--brand)}.asset-detail-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0714266b;justify-content:flex-end;animation:.16s ease-out asset-fade-in;display:flex;position:fixed;inset:0}.asset-detail-panel{border-left:1px solid var(--border);background:var(--surface);width:min(720px,100vw - 64px);height:100%;animation:.22s ease-out asset-slide-in;overflow:auto;box-shadow:-22px 0 64px #08183033}.asset-detail-panel__header{z-index:2;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:15px 22px;display:flex;position:sticky;top:0}.asset-detail-panel__header span{color:var(--brand);letter-spacing:.12em;font-size:9px;font-weight:700}.asset-detail-panel__header h2{margin:3px 0 0;font-size:18px}.asset-detail-panel__header>button{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--muted);cursor:pointer;border-radius:8px;place-items:center;display:grid}.asset-detail-panel__header>button:hover{color:var(--text)}.asset-detail-panel__content{grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);align-items:start;gap:18px;padding:22px;display:grid}.asset-detail-preview{aspect-ratio:1/1.12;border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;position:sticky;top:98px;overflow:hidden}.asset-detail-preview img,.asset-detail-preview video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%;display:block}.asset-detail-preview>div{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.asset-detail-fields{min-width:0}.asset-identity-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;align-items:center;gap:10px;min-height:58px;padding:10px 11px;display:flex}.asset-identity-card>div{flex:1;min-width:0}.asset-identity-card span{color:var(--muted);margin-bottom:4px;font-size:9px;display:block}.asset-identity-card code{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font:500 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;display:block;overflow:hidden}.asset-identity-card button{background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;border:0;border-radius:7px;place-items:center;display:grid}.asset-identity-card button:hover{color:var(--brand)}.asset-identity-help{color:var(--muted);margin:6px 2px 16px;font-size:9px;line-height:1.55}.seedance-binding-card{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:color-mix(in srgb, var(--brand-soft) 24%, var(--surface));border-radius:11px;padding:15px}.seedance-binding-card__heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.seedance-binding-card__heading span{color:var(--muted);font-size:9px}.seedance-binding-card__heading h3{margin:3px 0 0;font-size:14px}.seedance-binding-card__heading strong,.seedance-binding-card__heading em{background:color-mix(in srgb, #10b981 12%, var(--surface));color:#0f8a63;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;min-height:25px;padding:0 8px;font-size:9px;font-style:normal;display:inline-flex}.seedance-binding-card__heading em{background:var(--surface-soft);color:var(--muted)}.seedance-binding-card>p{color:var(--muted);margin:12px 0;font-size:10px;line-height:1.65}.seedance-binding-card>p code{background:var(--surface);color:var(--brand);border-radius:4px;padding:2px 4px;font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.seedance-id-field>span{color:var(--text);margin-bottom:6px;font-size:10px;font-weight:650;display:block}.seedance-id-field>div{border:1px solid var(--border);background:var(--surface);height:40px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.seedance-id-field>div:focus-within{border-color:var(--brand);color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.seedance-id-field input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font:500 10px ui-monospace,SFMono-Regular,Menlo,monospace}.seedance-id-field small{color:#dc2626;margin-top:5px;font-size:9px;line-height:1.45;display:block}.seedance-id-field.has-error>div{border-color:color-mix(in srgb, #ef4444 62%, var(--border))}.seedance-confirmation{color:var(--muted);cursor:pointer;grid-template-columns:15px minmax(0,1fr);align-items:start;gap:7px;margin:12px 0;font-size:9px;line-height:1.55;display:grid}.seedance-confirmation input{width:14px;height:14px;accent-color:var(--brand);margin:1px 0 0}.seedance-binding-actions{flex-wrap:wrap;gap:6px;display:flex}.seedance-binding-actions button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:9px;font-weight:650;display:inline-flex}.seedance-binding-actions button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}.seedance-binding-actions button.is-danger{color:#dc2626}.seedance-binding-actions button:disabled{opacity:.45;cursor:not-allowed}.seedance-binding-note{background:color-mix(in srgb, #f59e0b 8%, var(--surface));color:#b46a00;border-radius:8px;grid-template-columns:18px minmax(0,1fr);gap:7px;margin-top:12px;padding:9px 10px;display:grid}.seedance-binding-note p{margin:0}.seedance-binding-note strong,.seedance-binding-note span{font-size:9px;line-height:1.45;display:block}.seedance-binding-note span{color:var(--muted);margin-top:2px}.seedance-binding-card>a{color:var(--brand);align-items:center;gap:5px;margin-top:12px;font-size:9px;font-weight:650;text-decoration:none;display:inline-flex}.asset-reference-note{border:1px solid var(--border);background:var(--surface-soft);color:var(--brand);border-radius:9px;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:12px;display:grid}.asset-reference-note strong{color:var(--text);font-size:11px}.asset-reference-note p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}@keyframes asset-fade-in{0%{opacity:0}}@keyframes asset-slide-in{0%{opacity:.7;transform:translate(22px)}}.role-editor{z-index:80;background:var(--surface);color:var(--text);grid-template-rows:72px minmax(0,1fr) 76px;animation:.16s ease-out asset-fade-in;display:grid;position:fixed;inset:0;overflow:hidden}.role-editor__header{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:0 36px;display:flex}.role-editor__header button{width:38px;height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.role-editor__header button:hover{background:var(--surface-soft);color:var(--text)}.role-editor__header h2{margin:0;font-size:21px}.role-editor__main{grid-template-columns:minmax(420px,1.08fr) minmax(390px,.92fr);gap:42px;padding:32px 42px;display:grid;overflow:auto}.role-editor__media,.role-editor__form{min-width:0}.role-editor__section-title{justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:12px;display:flex}.role-editor i{color:#ef4444;font-style:normal}.role-editor__section-title strong,.role-editor__form label>span,.role-editor__form legend{font-size:13px;font-weight:700}.role-editor__section-title span{color:var(--muted);font-size:10px}.role-editor__preview{border:1px dashed color-mix(in srgb, var(--muted) 42%, transparent);background:var(--surface-soft);border-radius:12px;place-items:center;min-height:400px;max-height:54vh;display:grid;position:relative;overflow:hidden}.role-editor__preview img,.role-editor__preview video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%;max-height:54vh;display:block}.role-editor__preview>div{color:var(--muted);place-items:center;gap:8px;font-size:11px;display:grid}.role-editor__source{color:#fff;background:#081426ad;border-radius:6px;padding:5px 8px;font-size:9px;position:absolute;top:12px;left:12px}.role-editor__binding{border:1px solid var(--border);border-radius:11px;margin-top:18px;padding:16px}.role-editor__binding-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.role-editor__binding-head strong{font-size:13px}.role-editor__binding-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.role-editor__binding-head>span{background:var(--surface-soft);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:9px;display:inline-flex}.role-editor__binding-head>span.is-active{background:color-mix(in srgb, #10b981 12%, var(--surface));color:#0f8a63}.role-editor__binding-head>span.is-processing{background:color-mix(in srgb, #f59e0b 12%, var(--surface));color:#a85f00}.role-editor__id-row,.role-editor__manual{align-items:center;gap:7px;margin-top:13px;display:flex}.role-editor__id-row code{background:var(--surface-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;flex:1;min-width:0;padding:11px 12px;font-size:10px;overflow:hidden}.role-editor__id-row button,.role-editor__manual button{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--text);cursor:pointer;border-radius:8px;padding:0 11px;font-size:10px}.role-editor__apply{background:var(--brand);width:100%;min-height:42px;color:var(--on-brand);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin-top:14px;font-size:11px;font-weight:700;display:flex}.role-editor__apply:disabled{opacity:.45;cursor:not-allowed}.role-editor__unavailable{color:#b46a00;align-items:center;gap:6px;margin:9px 0 0;font-size:9px;display:flex}.role-editor__manual-toggle{color:var(--brand);cursor:pointer;background:0 0;border:0;margin:12px 0 0;padding:0;font-size:9px}.role-editor__manual input{border:1px solid var(--border);background:var(--surface);min-width:0;height:38px;color:var(--text);border-radius:8px;flex:1;padding:0 10px;font:10px ui-monospace,monospace}.role-editor__binding>a{color:var(--brand);align-items:center;gap:4px;margin-top:12px;font-size:9px;text-decoration:none;display:inline-flex}.role-editor__form{align-content:start;gap:20px;display:grid}.role-editor__form label{gap:8px;display:grid}.role-editor__form input,.role-editor__form textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:9px;outline:0;font-size:12px}.role-editor__form input{height:44px;padding:0 12px}.role-editor__form textarea{resize:vertical;min-height:190px;padding:12px;line-height:1.65}.role-editor__form input:focus,.role-editor__form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.role-editor__form fieldset{border:0;margin:0;padding:0}.role-editor__form legend{margin-bottom:9px}.role-editor__form fieldset>div{gap:8px;display:flex}.role-editor__form fieldset button{border:1px solid var(--border);background:var(--surface);min-width:120px;height:42px;color:var(--text);cursor:pointer;border-radius:8px;font-size:11px}.role-editor__form fieldset button.is-active{border-color:var(--brand);color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.role-editor__voice{border:1px dashed var(--border);border-radius:10px;padding:15px}.role-editor__voice>div{align-items:center;gap:8px;display:flex}.role-editor__voice strong{font-size:12px}.role-editor__voice p{color:var(--muted);margin:7px 0 12px;font-size:10px}.role-editor__voice button{border:1px solid var(--border);background:var(--surface);height:34px;color:var(--text);cursor:pointer;border-radius:7px;padding:0 12px;font-size:10px}.role-editor__voice>span{color:var(--muted);margin-left:10px;font-size:9px}.role-editor__yunhu-id{background:var(--surface-soft);border-radius:8px;padding:11px 12px}.role-editor__yunhu-id span{color:var(--muted);margin-bottom:4px;font-size:9px;display:block}.role-editor__yunhu-id code{font-size:9px}.role-editor__footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:10px;padding:0 36px;display:flex}.role-editor__footer button{border:1px solid var(--border);background:var(--surface);min-width:86px;height:40px;color:var(--text);cursor:pointer;border-radius:999px}.role-editor__footer button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}.role-editor__footer button:disabled{opacity:.45;cursor:not-allowed}.is-spinning{animation:.8s linear infinite role-spin}@keyframes role-spin{to{transform:rotate(360deg)}}@media (width<=1080px){.asset-browser{grid-template-columns:190px minmax(0,1fr)}.asset-content{padding-inline:18px}.asset-content__toolbar{flex-direction:column;justify-content:center;align-items:flex-start;padding-block:13px}.asset-toolbar-controls{width:100%}.asset-search{flex:1}.asset-search input{width:100%}}@media (width<=760px){.asset-workspace{min-height:calc(100dvh - 62px);padding:20px 14px 30px}.asset-page-heading{align-items:flex-start}.asset-page-heading p{max-width:260px;line-height:1.55}.asset-page-upload{width:38px;padding:0;font-size:0}.asset-category-tabs{gap:12px;min-height:58px;overflow-x:auto}.asset-category-tabs button{min-width:94px}.asset-category-tabs span{display:none}.asset-browser{background:0 0;border:0;min-height:calc(100dvh - 210px);display:block;overflow:visible}.asset-folder-panel{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:12px 0 0;padding:9px;display:block;overflow:hidden}.asset-folder-panel__heading{display:none}.asset-folder-list{display:flex;overflow-x:auto}.asset-folder-list>button{flex:none;width:auto;min-width:116px}.asset-folder-create{margin:8px 0 0}.asset-folder-add{width:100%;margin-top:8px}.asset-content{padding:0}.asset-content__toolbar{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:auto;margin-top:12px;padding:12px}.asset-toolbar-controls{overflow-x:auto}.asset-search{min-width:150px}.asset-select{flex:none}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding-top:12px}.asset-new-tile{min-height:260px}.asset-card__body{padding-inline:10px}.asset-provider-callout{grid-template-columns:auto minmax(0,1fr)}.asset-provider-callout>a{grid-column:1/-1;justify-content:center;width:100%}.asset-detail-panel{width:100%}.asset-detail-panel__content{grid-template-columns:1fr;padding:15px}.asset-detail-preview{aspect-ratio:1.4;position:static}.role-editor{grid-template-rows:58px minmax(0,1fr) 68px}.role-editor__header{padding:0 14px}.role-editor__main{padding:18px 14px;display:block}.role-editor__form{margin-top:24px}.role-editor__preview{min-height:280px}.role-editor__section-title{flex-direction:column;align-items:flex-start;gap:4px}.role-editor__form fieldset>div{overflow-x:auto}.role-editor__form fieldset button{min-width:104px}.role-editor__footer{padding:0 14px}}@media (width<=450px){.asset-page-heading h1{font-size:28px}.asset-page-heading p{font-size:11px}.asset-grid{grid-template-columns:1fr}.asset-new-tile{min-height:150px}.asset-card__preview{aspect-ratio:1.25}.asset-empty-state{min-height:150px}}.prompt-preset-bar{gap:7px;min-width:0;margin-top:10px;display:grid}.prompt-preset-bar__heading{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;display:flex}.prompt-preset-bar__heading>span{color:color-mix(in srgb, var(--brand) 78%, var(--text));letter-spacing:.02em;align-items:center;gap:5px;font-size:10px;font-weight:760;display:inline-flex}.prompt-preset-bar__heading small{text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:500;overflow:hidden}.prompt-preset-bar__list{scrollbar-width:thin;gap:7px;min-width:0;padding:1px 1px 5px;display:flex;overflow-x:auto}.prompt-preset-bar__list>button{text-align:left;border:1px solid color-mix(in srgb, var(--brand) 14%, var(--border));background:color-mix(in srgb, var(--brand-soft) 36%, var(--surface));min-width:150px;max-width:220px;color:var(--text);font:inherit;cursor:pointer;scroll-snap-align:start;border-radius:9px;gap:3px;padding:8px 9px;transition:border-color .16s,background .16s,transform .16s;display:grid}.prompt-preset-bar__list>button:hover,.prompt-preset-bar__list>button:focus-visible{border-color:color-mix(in srgb, var(--brand) 52%, var(--border));background:color-mix(in srgb, var(--brand-soft) 76%, var(--surface));outline:none;transform:translateY(-1px)}.prompt-preset-bar__list>button.is-selected{border-color:color-mix(in srgb, var(--brand) 68%, var(--border));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 16%, transparent)}.prompt-preset-bar__list strong{color:color-mix(in srgb, var(--brand) 78%, var(--text));font-size:10px;font-weight:760}.prompt-preset-bar__list span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:9px;font-weight:500;line-height:1.45;display:-webkit-box;overflow:hidden}.prompt-preset-bar.is-compact{gap:6px;margin-top:-2px}.prompt-preset-bar.is-compact .prompt-preset-bar__heading small{display:none}.prompt-preset-bar.is-compact .prompt-preset-bar__list{grid-template-columns:1fr;gap:8px;padding:1px;display:grid;overflow:visible}.prompt-preset-bar.is-compact .prompt-preset-bar__list>button{width:100%;min-width:0;max-width:none;padding:9px 10px}.prompt-preset-bar.is-compact .prompt-preset-bar__list span{text-wrap:pretty;-webkit-box-orient:initial;-webkit-line-clamp:unset;font-size:10px;line-height:1.55;display:block;overflow:visible}@media (width<=700px){.prompt-preset-bar__list{scroll-snap-type:x proximity}.prompt-preset-bar__list>button{min-width:min(76vw,230px)}.prompt-preset-bar.is-compact .prompt-preset-bar__list>button{min-width:0}}.creation-workspace{--workspace-gap:clamp(18px, 2.4vw, 32px);min-height:calc(100dvh - 68px);padding:24px var(--workspace-gap) var(--workspace-gap);background:var(--bg)}.creation-stage{grid-template-rows:minmax(210px,calc(100dvh - 390px)) auto;gap:18px;width:min(1440px,100%);min-height:calc(100dvh - 124px);margin:0 auto;display:grid}.creation-stage.has-media-result{grid-template-rows:auto auto;min-height:0}.creation-output{border:1px solid color-mix(in srgb, var(--brand) 10%, var(--border));background:color-mix(in srgb, var(--surface) 72%, transparent);border-radius:14px;place-items:stretch stretch;min-height:210px;display:grid;overflow:auto}.creation-output.has-media-result{background:0 0;border:0;min-height:0;overflow:visible}.creation-output__status,.creation-output__error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:210px;padding:26px;display:flex}.creation-output__status{color:var(--brand)}.creation-output__status strong{color:var(--text);font-size:14px}.creation-output__status p{color:var(--muted);margin:0;font-size:11px}.creation-output__error{color:var(--text)}.creation-output__error strong{font-size:14px}.creation-output__error p{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.creation-output__error button,.creation-result-actions button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:11px;text-decoration:none;display:inline-flex}.creation-output__error button{margin-top:4px}.creation-result-grid{grid-template-columns:repeat(auto-fit,minmax(260px,420px));align-items:start;gap:18px;width:100%;padding:0;display:grid}.creation-result-grid figure{background:0 0;gap:10px;min-width:0;margin:0;display:grid}.creation-result-grid figure img{-o-object-fit:contain;object-fit:contain;background:0 0;border-radius:12px;width:100%;height:auto;max-height:min(56vh,520px);display:block}.creation-result-actions{align-items:center;gap:8px;display:flex}.creation-result-actions button{min-height:36px;padding-inline:13px;transition:border-color .18s,background .18s,color .18s,transform .18s}.creation-result-actions button:first-child{border-color:color-mix(in srgb, var(--brand) 32%, var(--border));color:var(--brand)}.creation-result-actions button:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);transform:translateY(-1px)}.creation-result-actions button:active{transform:translateY(0)}.creation-video-result{place-items:center;gap:10px;width:100%;min-height:0;padding:0;display:grid}.creation-video-result video{background:#07101e;border-radius:11px;width:min(760px,100%);max-height:44vh}.creation-video-result .creation-result-actions{justify-content:center}.creation-spin{animation:.9s linear infinite creation-spin}@keyframes creation-spin{to{transform:rotate(360deg)}}.asset-save-dialog{z-index:110;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#08162a5c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.asset-save-dialog__panel{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(520px,100%);padding:20px;box-shadow:0 24px 70px #081d3a33}.asset-save-dialog__heading{align-items:flex-start;gap:18px;display:flex}.asset-save-dialog__heading>div{gap:5px;display:grid}.asset-save-dialog__heading strong{font-size:16px}.asset-save-dialog__heading span{color:var(--muted);font-size:11px}.asset-save-dialog__heading>button{background:var(--surface-soft);width:30px;height:30px;color:var(--muted);cursor:pointer;border:0;border-radius:7px;place-items:center;margin-left:auto;font-size:20px;line-height:1;display:grid}.asset-save-dialog__heading>button:hover{color:var(--text)}.asset-save-dialog__categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.asset-save-dialog__categories button{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:132px;color:var(--text);text-align:left;cursor:pointer;border-radius:10px;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:5px;padding:14px;transition:border-color .18s,background .18s,transform .18s;display:flex}.asset-save-dialog__categories button>span{background:var(--brand-soft);width:32px;height:32px;color:var(--brand);border-radius:8px;place-items:center;margin-bottom:auto;font-size:12px;font-weight:800;display:grid}.asset-save-dialog__categories strong{font-size:13px}.asset-save-dialog__categories small{color:var(--muted);font-size:9px}.asset-save-dialog__categories button:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-2px)}.creation-empty{min-height:210px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:28px 20px;display:flex}.creation-empty__illustration{place-items:center;width:118px;height:82px;margin-bottom:15px;display:grid;position:relative}.creation-empty__illustration:before,.creation-empty__illustration:after{content:"";border:1px solid color-mix(in srgb, var(--brand) 25%, var(--border));background:color-mix(in srgb, var(--brand-soft) 60%, transparent);position:absolute}.creation-empty__illustration:before{border-radius:12px;width:82px;height:58px;transform:rotate(-5deg)}.creation-empty__illustration:after{border-radius:12px;width:82px;height:58px;transform:rotate(5deg)}.creation-empty__sheet{z-index:2;border:1px solid color-mix(in srgb, var(--brand) 42%, var(--border));background:var(--surface);width:82px;height:58px;color:color-mix(in srgb, var(--brand) 72%, white);box-shadow:0 13px 30px color-mix(in srgb, var(--brand) 11%, transparent);border-radius:12px;place-items:center;display:grid;position:relative}.creation-empty__spark{z-index:3;color:var(--brand);font-weight:800;position:absolute}.creation-empty__spark--one{font-size:18px;top:0;right:1px}.creation-empty__spark--two{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:2px 7px 5px;font-size:9px;line-height:1;top:8px;left:-5px}.creation-empty strong{color:var(--text);font-size:15px}.creation-empty p{margin:7px 0 0;font-size:12px;line-height:1.7}.creation-composer{border:1px solid color-mix(in srgb, var(--brand) 14%, var(--border));background:var(--surface);border-radius:16px;overflow:hidden;box-shadow:0 18px 52px #1268e817,0 2px 8px #10213a0a}.creation-tabs{border-bottom:1px solid var(--border);justify-content:space-between;align-items:stretch;gap:12px;min-height:58px;padding:0 18px;display:flex}.creation-tabs__main{align-items:stretch;gap:clamp(4px,1vw,14px);display:flex}.creation-tabs__main button{min-width:124px;color:var(--muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:650;display:inline-flex;position:relative}.creation-tabs__main button:after{content:"";background:var(--brand);opacity:0;border-radius:2px 2px 0 0;height:2px;transition:opacity .18s,transform .18s;position:absolute;bottom:-1px;left:14px;right:14px;transform:scaleX(.55)}.creation-tabs__main button:hover{color:var(--text)}.creation-tabs__main button.is-active{color:var(--brand)}.creation-tabs__main button.is-active:after{opacity:1;transform:scaleX(1)}.creation-tabs__future{color:var(--brand);cursor:pointer;background:0 0;border:0;align-self:center;align-items:center;gap:7px;padding:7px 0 7px 12px;font-size:11px;display:inline-flex}.creation-tabs__future span{background:var(--brand-soft);border-radius:6px;place-items:center;min-width:20px;height:20px;font-size:10px;font-weight:800;display:grid}.creation-input-area{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:15px;min-height:126px;margin:16px;padding:0 0 12px;display:grid;position:relative}.creation-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.creation-upload-list{align-items:center;gap:8px;display:flex}.creation-upload-wrap{flex:none;position:relative}.creation-upload{border:1px dashed color-mix(in srgb, var(--brand) 26%, var(--border));background:var(--surface-soft);width:64px;height:64px;color:var(--muted);cursor:pointer;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:7px;transition:border-color .16s,background .16s,color .16s;display:flex;overflow:hidden}.creation-upload:hover,.creation-upload.has-file{border-color:color-mix(in srgb, var(--brand) 55%, var(--border));background:var(--brand-soft);color:var(--brand)}.creation-upload:active{transform:translateY(1px)}.creation-upload span{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.creation-bound-role{border:1px dashed color-mix(in srgb, var(--brand) 30%, var(--border));background:var(--surface-soft);width:84px;height:64px;color:var(--muted);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:6px;display:flex;position:relative;overflow:hidden}.creation-bound-role.has-value{border-style:solid;border-color:color-mix(in srgb, #10b981 48%, var(--border));background:color-mix(in srgb, #10b981 8%, var(--surface));color:#0f8a63}.creation-bound-role>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;overflow:hidden}.creation-bound-role select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.creation-prompt{min-width:0}.creation-handoff-queue{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:color-mix(in srgb, var(--brand) 4%, var(--surface));border-radius:10px;gap:9px;margin-bottom:10px;padding:10px;display:grid}.creation-handoff-queue__heading,.creation-handoff-queue__footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.creation-handoff-queue__heading>div{min-width:0;color:var(--brand);align-items:center;gap:7px;display:flex}.creation-handoff-queue__heading span{gap:1px;min-width:0;display:grid}.creation-handoff-queue__heading small{color:var(--muted);letter-spacing:.08em;font-size:8px;font-weight:650}.creation-handoff-queue__heading strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.creation-handoff-queue__heading em{color:var(--brand);flex:none;font-size:9px;font-style:normal;font-weight:720}.creation-handoff-queue__shots{scrollbar-width:thin;gap:6px;padding:1px 1px 4px;display:flex;overflow-x:auto}.creation-handoff-queue__shots button{height:28px;color:var(--muted);border:1px solid var(--border);background:var(--surface);font:inherit;cursor:pointer;border-radius:8px;flex:none;align-items:center;gap:5px;padding:0 9px 0 6px;display:inline-flex}.creation-handoff-queue__shots button>span{background:var(--surface-soft);border-radius:6px;place-items:center;width:17px;height:17px;font-size:8px;display:grid}.creation-handoff-queue__shots button strong{font-size:9px;font-weight:680}.creation-handoff-queue__shots button.is-active{color:var(--brand);border-color:color-mix(in srgb, var(--brand) 48%, var(--border));background:var(--brand-soft)}.creation-handoff-queue__shots button.is-completed>span{color:#0f8a63;background:color-mix(in srgb, #10b981 12%, var(--surface))}.creation-handoff-queue__footer>span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.creation-handoff-queue__footer>div{flex:none;gap:5px;display:flex}.creation-handoff-queue__footer button{min-height:26px;color:var(--brand);border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));font:inherit;cursor:pointer;background:0 0;border-radius:7px;align-items:center;gap:4px;padding:0 8px;font-size:9px;font-weight:680;display:inline-flex}.creation-handoff-queue__footer button:last-child{color:var(--muted);border-color:#0000}.creation-handoff-queue__footer button:disabled{color:var(--muted);cursor:default;opacity:.7}.creation-prompt__handoff{color:var(--brand);background:var(--brand-soft);border-radius:8px;align-items:center;gap:7px;margin-bottom:8px;padding:8px 10px;font-size:10px;font-weight:650;display:flex}.creation-prompt__handoff span{flex:1}.creation-prompt__handoff button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:9px}.creation-prompt__handoff button:hover{color:var(--text)}.creation-prompt__field{position:relative}.creation-prompt textarea{resize:none;width:100%;min-height:104px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:8px 2px;font-size:14px;line-height:1.65}.creation-prompt textarea::placeholder{color:color-mix(in srgb, var(--muted) 56%, transparent)}.creation-prompt__count{color:color-mix(in srgb, var(--muted) 70%, transparent);font-size:9px;position:absolute;bottom:0;right:2px}.fission-settings{min-width:0;padding:5px 2px 0}.fission-settings p{color:color-mix(in srgb, var(--muted) 68%, transparent);margin:0 0 18px;font-size:12px;line-height:1.65}.fission-mode-list{flex-wrap:wrap;gap:8px;display:flex}.fission-mode-list button{border:1px solid var(--border);background:var(--surface);min-width:62px;height:32px;color:var(--muted);cursor:pointer;border-radius:8px;padding:0 15px;font-size:11px}.fission-mode-list button:hover{border-color:color-mix(in srgb, var(--brand) 38%, var(--border));color:var(--brand)}.fission-mode-list button.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:700}.three-view-cases{padding:0 16px 12px}.three-view-cases__heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.three-view-cases__heading>div{color:var(--text);align-items:center;gap:7px;font-size:11px;display:flex}.three-view-cases__heading svg{color:var(--brand)}.three-view-cases__heading>span{color:var(--muted);font-size:10px}.three-view-cases__list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.three-view-cases__list button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;min-width:0;padding:0;transition:border-color .16s,transform .16s,box-shadow .16s;overflow:hidden}.three-view-cases__list button:hover{border-color:color-mix(in srgb, var(--brand) 38%, var(--border));transform:translateY(-2px)}.three-view-cases__list button.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 13%, transparent)}.three-view-cases__list img{aspect-ratio:2;-o-object-fit:cover;object-fit:cover;-o-object-position:center top;object-position:center top;background:var(--surface-soft);width:100%}.three-view-cases__list span{color:var(--muted);text-align:left;text-overflow:ellipsis;white-space:nowrap;padding:6px 8px;font-size:9px;display:block;overflow:hidden}.three-view-cases__list button.is-selected span{color:var(--brand)}.creation-controls{justify-content:space-between;align-items:center;gap:12px;padding:0 16px 16px;display:flex}.creation-controls--only-action{justify-content:flex-end}.creation-controls__parameters{align-items:center;gap:7px;min-width:0;display:flex}.creation-controls__parameters button{border:1px solid var(--border);background:var(--surface);height:34px;color:var(--text);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:0 12px;font-size:11px;display:inline-flex}.creation-controls__parameters button:hover{border-color:color-mix(in srgb, var(--brand) 36%, var(--border));color:var(--brand)}.creation-controls__parameters button>svg:last-child{color:var(--muted)}.creation-controls__parameters button.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.creation-controls__parameters button>svg.is-open{transform:rotate(180deg)}.creation-model-panel{padding:0 16px 14px}.creation-model-panel__heading{border-top:1px solid var(--border);align-items:flex-start;gap:16px;min-height:40px;padding:10px 2px 11px;display:flex}.creation-model-panel__heading>div{gap:3px;display:grid}.creation-model-panel__heading strong{font-size:12px}.creation-model-panel__heading span{color:var(--muted);font-size:9px;line-height:1.5}.creation-model-panel__heading>button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;margin-left:auto;padding:0;font-size:18px;line-height:1;display:grid}.creation-model-panel__heading>button:hover{background:var(--surface-soft);color:var(--text)}.creation-model-panel__grid{overscroll-behavior:contain;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;max-height:min(430px,52vh);padding-right:4px;display:grid;overflow-y:auto}.creation-model-panel__grid>button{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:88px;color:var(--text);text-align:left;cursor:pointer;border-radius:9px;flex-direction:column;align-items:stretch;gap:5px;padding:11px 12px;transition:border-color .18s,background .18s,transform .18s;display:flex}.creation-model-panel__grid>button:hover{border-color:color-mix(in srgb, var(--brand) 42%, var(--border));transform:translateY(-1px)}.creation-model-panel__grid>button:disabled{cursor:not-allowed;opacity:.56}.creation-model-panel__grid>button:disabled:hover{border-color:var(--border);transform:none}.creation-model-panel__grid>button.is-selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 10%, transparent)}.creation-model-panel__title{align-items:center;gap:8px;min-width:0;display:flex}.creation-model-panel__title strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;overflow:hidden}.creation-model-panel__title small{background:var(--surface-soft);color:var(--muted);border-radius:5px;flex:none;padding:3px 5px;font-size:8px;font-weight:650}.creation-model-panel__title small.is-connected{background:color-mix(in srgb, #22c55e 12%, var(--surface));color:#16803b}.creation-model-panel__title small.is-paused{background:color-mix(in srgb, #f59e0b 12%, var(--surface));color:#a35d00}:root[data-theme=dark] .creation-model-panel__title small.is-connected{color:#7ee2a2}:root[data-theme=dark] .creation-model-panel__title small.is-paused{color:#f7c66c}.creation-model-panel__provider{color:var(--brand);font-size:9px;font-weight:650}.creation-model-panel__meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:auto;font-size:9px;line-height:1.4;overflow:hidden}.parameter-ratio{border:1.5px solid;border-radius:2px;width:17px;height:11px}.parameter-frame{width:15px;height:15px;box-shadow:inset 4px 0 0 color-mix(in srgb, currentColor 12%, transparent);border:1.5px solid;border-radius:2px}.creation-generate{border:1px solid var(--border);background:var(--surface-soft);width:62px;min-width:62px;height:38px;color:color-mix(in srgb, var(--muted) 70%, transparent);box-shadow:none;cursor:pointer;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex}.creation-generate:hover{background:var(--surface-soft);color:var(--muted);box-shadow:none;transform:none}.creation-generate.is-ready{border-color:var(--brand);background:var(--brand);color:var(--on-brand);box-shadow:0 8px 20px color-mix(in srgb, var(--brand) 20%, transparent)}.creation-generate.is-ready:hover{background:var(--brand-hover);transform:translateY(-1px)}.creation-generate:active{transform:translateY(1px)}.creation-generate:disabled{cursor:not-allowed;opacity:.7}.creation-generate strong{font-size:13px}.cost-confirmation{z-index:90;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#09142b7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.cost-confirmation__panel{border:1px solid color-mix(in srgb, var(--border) 82%, white);background:color-mix(in srgb, var(--surface) 96%, transparent);width:min(480px,100%);color:var(--text);border-radius:18px;padding:27px;box-shadow:0 28px 80px #0814303d}.cost-confirmation__eyebrow{color:var(--brand);letter-spacing:.06em;align-items:center;gap:7px;font-size:11px;font-weight:750;display:flex}.cost-confirmation__panel h2{letter-spacing:-.035em;margin:11px 0 8px;font-size:24px}.cost-confirmation__lead{color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.7}.cost-confirmation__panel dl{border:1px solid var(--border);border-radius:12px;margin:0;overflow:hidden}.cost-confirmation__panel dl>div{border-bottom:1px solid var(--border);grid-template-columns:92px minmax(0,1fr);gap:14px;padding:11px 13px;display:grid}.cost-confirmation__panel dl>div:last-child{border-bottom:0}.cost-confirmation__panel dt{color:var(--muted);font-size:11px}.cost-confirmation__panel dd{color:var(--text);text-align:right;overflow-wrap:anywhere;margin:0;font-size:11px;font-weight:680}.cost-confirmation__total{background:color-mix(in srgb, var(--brand) 8%, var(--surface-soft));border-radius:12px;gap:5px;margin-top:14px;padding:16px;display:grid}.cost-confirmation__total>span{color:var(--muted);font-size:10px}.cost-confirmation__total>strong{color:var(--brand);letter-spacing:-.035em;font-size:25px}.cost-confirmation__total>small{color:var(--muted);font-size:9px;line-height:1.6}.cost-confirmation__actions{grid-template-columns:1fr 1.4fr;gap:9px;margin-top:18px;display:grid}.cost-confirmation__actions button{border:1px solid var(--border);background:var(--surface);height:42px;color:var(--text);cursor:pointer;border-radius:10px;font-size:12px;font-weight:700}.cost-confirmation__actions button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}.cost-confirmation__actions button:hover{transform:translateY(-1px)}@media (width<=980px){.creation-tabs__main button{min-width:110px}.creation-tabs__future{font-size:0}.creation-tabs__future:before{content:"开发中";font-size:11px}.creation-controls{align-items:stretch}.creation-controls__parameters{flex:auto;grid-template-columns:repeat(auto-fit,minmax(116px,1fr));display:grid}.creation-controls__parameters button{justify-content:center;padding-inline:8px}}@media (width<=700px){.creation-workspace{min-height:calc(100dvh - 62px);padding:18px 14px 24px}.creation-stage{grid-template-rows:minmax(170px,calc(100dvh - 410px)) auto;min-height:calc(100dvh - 100px)}.creation-stage.has-media-result{grid-template-rows:auto auto;min-height:0}.creation-output,.creation-output__status,.creation-output__error{min-height:170px}.creation-output.has-media-result{min-height:0}.creation-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.creation-result-grid figure img{max-height:42vh}.creation-empty{min-height:170px}.creation-empty__illustration{margin-bottom:4px;transform:scale(.84)}.creation-tabs{min-height:54px;padding:0 8px;overflow-x:auto}.creation-tabs__main{gap:0;min-width:max-content}.creation-tabs__main button{min-width:112px;padding:0 9px}.creation-tabs__future{display:none}.creation-input-area{grid-template-columns:1fr;gap:10px;min-height:190px;margin:12px}.creation-upload{width:60px;height:60px}.creation-handoff-queue__footer{flex-direction:column;align-items:flex-start}.creation-handoff-queue__footer>div{justify-content:flex-end;width:100%}.creation-prompt textarea{min-height:104px}.three-view-cases{padding-inline:12px;overflow:hidden}.three-view-cases__heading>span{display:none}.three-view-cases__list{scroll-snap-type:x proximity;padding:2px 2px 6px;display:flex;overflow-x:auto}.three-view-cases__list button{scroll-snap-align:start;flex:0 0 148px}.creation-controls{align-items:flex-end;padding:0 12px 12px}.creation-controls__parameters{display:flex;overflow-x:auto}.creation-controls__parameters button{flex:none}.creation-model-panel{padding-inline:12px}.creation-model-panel__grid{scroll-snap-type:x proximity;padding:1px 1px 6px;display:flex;overflow-x:auto}.creation-model-panel__grid>button{scroll-snap-align:start;flex:0 0 220px}}@media (width<=430px){.creation-tabs__main button{min-width:104px;font-size:12px}.creation-controls__parameters button{height:38px;font-size:10px}.creation-controls__parameters button:first-child span{text-overflow:ellipsis;max-width:64px;overflow:hidden}.creation-result-grid{grid-template-columns:1fr}.creation-result-actions{grid-template-columns:1fr 1fr;display:grid}.creation-result-actions button{padding-inline:8px;font-size:10px}.asset-save-dialog__categories{grid-template-columns:1fr}.asset-save-dialog__categories button{-moz-column-gap:10px;grid-template-columns:32px minmax(0,1fr);justify-content:stretch;align-items:center;column-gap:10px;min-height:80px;display:grid}.asset-save-dialog__categories button>span{grid-row:1/span 2;margin:0}.cost-confirmation{align-items:end;padding:12px}.cost-confirmation__panel{border-radius:18px;padding:22px 18px 18px}}@media (prefers-reduced-motion:reduce){.creation-workspace *,.creation-workspace :before,.creation-workspace :after{transition-duration:.01ms!important}}.script-entry{background:radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 34%), var(--bg);place-items:center;min-height:calc(100dvh - 68px);padding:34px 24px 52px;display:grid}.script-entry__panel{border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 96%, var(--bg));width:min(920px,100%);box-shadow:0 24px 70px color-mix(in srgb, var(--text) 8%, transparent);border-radius:24px;padding:34px}.script-entry__back{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:-4px 0 24px;padding:7px 0;font-size:12px;display:inline-flex}.script-entry__heading{text-align:center;max-width:640px;margin:0 auto 28px}.script-entry__heading.is-compact{margin-bottom:24px}.script-entry__heading>span{color:var(--brand);letter-spacing:.16em;font-size:10px;font-weight:760}.script-entry__heading h1{color:var(--text);letter-spacing:-.045em;margin:8px 0;font-size:clamp(26px,4vw,38px)}.script-entry__heading p{color:var(--muted);margin:0;font-size:13px}.script-entry__choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.script-entry__choices button{border:1px solid var(--border);background:var(--surface);min-height:186px;color:var(--text);text-align:left;cursor:pointer;border-radius:18px;flex-direction:column;align-items:flex-start;gap:9px;padding:24px;transition:border-color .16s,transform .16s,box-shadow .16s;display:flex}.script-entry__choices button:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));box-shadow:0 15px 34px color-mix(in srgb, var(--brand) 9%, transparent);transform:translateY(-2px)}.script-entry__choices button>span{background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:12px;place-items:center;margin-bottom:14px;display:grid}.script-entry__choices strong{font-size:16px}.script-entry__choices small{color:var(--muted);font-size:12px;line-height:1.6}.script-entry__form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.script-entry__field{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.script-entry__field.is-wide{grid-column:1/-1}.script-entry__field>span,.script-entry__field legend{color:var(--text);font-size:12px;font-weight:650}.script-entry__field input,.script-entry__field select,.script-entry__field textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:10px;padding:11px 12px;font-size:13px;line-height:1.65}.script-entry__field textarea{resize:vertical}.script-entry__segments{gap:6px;margin-bottom:10px;display:flex}.script-entry__segments button{border:1px solid var(--border);background:var(--surface);color:var(--muted);font:inherit;cursor:pointer;border-radius:8px;padding:7px 13px;font-size:12px}.script-entry__segments button.is-active{border-color:color-mix(in srgb, var(--brand) 32%, var(--border));background:var(--brand-soft);color:var(--brand)}.script-entry__number-row{gap:10px;display:flex}.script-entry__number{align-items:center;gap:8px;width:fit-content;display:flex}.script-entry__number input{width:92px}.script-entry__number span{color:var(--muted);font-size:12px}.script-entry__primary{background:var(--brand);min-height:44px;color:var(--on-brand);font:inherit;cursor:pointer;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;padding:0 22px;font-size:13px;font-weight:680;display:flex}.script-entry__primary:disabled{opacity:.55;cursor:wait}.script-entry__error{color:#c24141;text-align:center;margin:14px 0 0;font-size:12px}.script-entry__import-preview{border:1px solid var(--border);background:var(--surface-strong);max-height:330px;color:var(--muted);border-radius:12px;grid-template-columns:24px minmax(0,1fr);gap:10px;margin-top:16px;padding:16px;display:grid;overflow:auto}.script-entry__import-preview pre{color:var(--text);white-space:pre-wrap;margin:0;font:12px/1.8 Songti SC,Noto Serif SC,serif}@media (width<=720px){.script-entry{align-items:start;padding:18px 12px 30px}.script-entry__panel{border-radius:18px;padding:24px 18px}.script-entry__choices{grid-template-columns:1fr}.script-entry__choices button{min-height:126px}.script-entry__choices button>span{margin-bottom:2px}.script-entry__form{grid-template-columns:1fr}.script-entry__field.is-wide{grid-column:auto}}.script-proposal{border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:color-mix(in srgb, var(--brand-soft) 38%, var(--surface));border-radius:14px;gap:13px;margin:8px 4px 18px;padding:15px;display:grid}.script-proposal.is-generating,.script-proposal.is-failed,.script-proposal.is-stale{color:var(--brand);grid-template-columns:24px minmax(0,1fr);align-items:start}.script-proposal.is-failed{color:#c24141}.script-proposal.is-stale{color:#b16a12}.script-proposal.is-generating strong,.script-proposal.is-failed strong,.script-proposal.is-stale strong{color:var(--text);font-size:12px;display:block}.script-proposal.is-generating p,.script-proposal.is-failed p,.script-proposal.is-stale p{color:var(--muted);margin:4px 0 0;font-size:11px;line-height:1.55}.script-proposal.is-stale button,.script-proposal.is-failed button,.script-proposal.is-generating button{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:7px;align-items:center;gap:5px;margin-top:9px;padding:6px 8px;font-size:11px;display:inline-flex}.script-proposal__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.script-proposal__head>div{gap:2px;display:grid}.script-proposal__head span{color:var(--brand);letter-spacing:.12em;font-size:9px;font-weight:760}.script-proposal__head strong{color:var(--text);font-size:13px}.script-proposal__head small{color:var(--muted);font-size:9px}.script-proposal__compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.script-proposal__compare.is-outline{grid-template-columns:1fr}.script-proposal__compare article{border:1px solid var(--border);background:var(--surface);border-radius:9px;min-width:0;overflow:hidden}.script-proposal__compare article>span{border-bottom:1px solid var(--border);color:var(--muted);padding:6px 9px;font-size:9px;font-weight:700;display:block}.script-proposal__compare article.is-after>span{color:var(--brand);background:var(--brand-soft)}.script-proposal__compare pre{max-height:250px;color:var(--text);white-space:pre-wrap;margin:0;padding:10px;font:11px/1.7 Songti SC,Noto Serif SC,serif;overflow:auto}.script-proposal__actions{justify-content:flex-end;gap:8px;display:flex}.script-proposal__actions button{min-height:34px;font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:11px;font-weight:650;display:inline-flex}.script-proposal__actions .is-secondary{border:1px solid var(--border);background:var(--surface);color:var(--muted)}.script-proposal__actions .is-primary{border:1px solid var(--brand);background:var(--brand);color:var(--on-brand)}.script-proposal__safety{color:var(--muted);justify-content:flex-end;align-items:center;gap:5px;margin:-4px 0 0;font-size:9px;display:flex}.script-history-backdrop{z-index:90;background:color-mix(in srgb, var(--text) 32%, transparent);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);place-items:center;padding:22px;display:grid;position:fixed;inset:0}.script-history{border:1px solid var(--border);background:var(--surface);width:min(980px,100%);max-height:min(760px,100dvh - 44px);box-shadow:0 28px 90px color-mix(in srgb, var(--text) 25%, transparent);border-radius:20px;overflow:hidden}.script-history>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:72px;padding:15px 20px;display:flex}.script-history>header span{color:var(--brand);letter-spacing:.14em;font-size:9px;font-weight:760}.script-history>header h2{color:var(--text);margin:3px 0 0;font-size:19px}.script-history>header button{background:var(--surface-strong);width:34px;height:34px;color:var(--muted);cursor:pointer;border:0;border-radius:9px;place-items:center;display:grid}.script-history__body{grid-template-columns:280px minmax(0,1fr);min-height:480px;display:grid}.script-history__body nav{border-right:1px solid var(--border);padding:10px;overflow-y:auto}.script-history__body nav button{width:100%;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:18px minmax(0,1fr);gap:7px;padding:10px;display:grid}.script-history__body nav button.is-active{background:var(--brand-soft);color:var(--brand)}.script-history__body nav span{gap:3px;min-width:0;display:grid}.script-history__body nav strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.script-history__body nav small{color:var(--muted);font-size:9px}.script-history__preview{flex-direction:column;min-width:0;padding:18px;display:flex;overflow:hidden}.script-history__compare{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;display:grid}.script-history__compare section{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.script-history__compare section.is-current{border-color:color-mix(in srgb, var(--brand) 26%, var(--border))}.script-history__compare header{border-bottom:1px solid var(--border);background:var(--surface);gap:3px;padding:9px 11px;display:grid}.script-history__compare header strong{color:var(--text);font-size:11px}.script-history__compare header small{color:var(--muted);font-size:9px}.script-history__compare pre{color:var(--text);white-space:pre-wrap;flex:1;margin:0;padding:14px;font:11px/1.8 Songti SC,Noto Serif SC,serif;overflow:auto}.script-history__preview>button{background:var(--brand);min-height:38px;color:var(--on-brand);font:inherit;cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;margin-top:12px;font-size:12px;font-weight:650;display:inline-flex}@media (width<=720px){.script-proposal__compare{grid-template-columns:1fr}.script-history-backdrop{align-items:end;padding:0}.script-history{border-radius:20px 20px 0 0;max-height:88dvh}.script-history__body{grid-template-columns:1fr;min-height:0}.script-history__body nav{border-right:0;border-bottom:1px solid var(--border);max-height:190px}.script-history__preview{min-height:360px}.script-history__compare{grid-template-columns:1fr}.script-history__compare section{min-height:190px}}.script-workspace-loading{color:var(--muted);justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex}.script-mobile-tabs{display:none}.script-document-title-group{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.script-new-button,.script-meta-action{border:1px solid var(--border);min-height:30px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:10px;transition:border-color .15s,background .15s,color .15s;display:inline-flex}.script-new-button{flex:none}.script-new-button:hover,.script-meta-action:hover{border-color:color-mix(in srgb, var(--brand) 28%, var(--border));background:var(--brand-soft);color:var(--brand)}.script-save-state{align-items:center;gap:4px;display:inline-flex}button.script-save-state{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:10px}.script-save-state.is-error{color:color-mix(in srgb, var(--brand) 46%, #a52b2b)}.script-selection-bar{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--brand-soft) 54%, var(--surface));align-items:center;gap:7px;min-height:42px;padding:6px 20px 6px 34px;display:flex}.script-selection-bar>span{color:var(--muted);margin-right:auto;font-size:10px}.script-selection-bar button{border:1px solid color-mix(in srgb, var(--brand) 17%, var(--border));background:var(--surface);min-height:27px;color:var(--text);font:inherit;cursor:pointer;border-radius:7px;align-items:center;gap:5px;padding:0 8px;font-size:10px;display:inline-flex}.script-task-picker{scrollbar-width:none;gap:6px;padding:0 4px 10px;display:flex;overflow-x:auto}.script-task-picker::-webkit-scrollbar{display:none}.script-task-picker button{border:1px solid var(--border);background:var(--surface);min-height:31px;color:var(--muted);font:inherit;cursor:pointer;border-radius:9px;flex:none;padding:0 10px;font-size:10px}.script-task-picker button.is-active{border-color:color-mix(in srgb, var(--brand) 30%, var(--border));background:var(--brand-soft);color:var(--brand)}.script-credit-estimate{color:var(--muted);white-space:nowrap;flex:none;font-size:9px}.script-outline-editor{border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:color-mix(in srgb, var(--brand-soft) 34%, var(--surface));border-radius:14px;gap:10px;margin:8px 4px 18px;padding:16px;display:grid}.script-outline-editor>span{color:var(--brand);letter-spacing:.1em;font-size:9px;font-weight:760}.script-outline-editor h2{color:var(--text);margin:0;font-size:15px}.script-outline-editor p{color:var(--muted);margin:0;font-size:11px;line-height:1.65}.script-outline-editor textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:9px;padding:12px;font:12px/1.75 Songti SC,Noto Serif SC,serif}.script-outline-editor>button{background:var(--brand);min-height:38px;color:var(--on-brand);font:inherit;cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:650;display:inline-flex}.script-outline-editor>button:disabled{opacity:.5;cursor:not-allowed}.script-cost-confirmation{z-index:80;background:color-mix(in srgb, var(--text) 28%, transparent);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.script-cost-confirmation__panel{border:1px solid var(--border);background:var(--surface);width:min(520px,100%);color:var(--text);box-shadow:0 24px 70px color-mix(in srgb, var(--text) 20%, transparent);border-radius:16px;padding:26px}.script-cost-confirmation__eyebrow{color:var(--brand);align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.script-cost-confirmation__panel h2{margin:12px 0 8px;font-size:21px}.script-cost-confirmation__panel>p{color:var(--muted);margin:0;font-size:13px;line-height:1.65}.script-cost-confirmation__panel dl{border-block:1px solid var(--border);margin:20px 0}.script-cost-confirmation__panel dl>div{border-bottom:1px solid var(--border);grid-template-columns:100px minmax(0,1fr);gap:14px;padding:11px 0;font-size:13px;display:grid}.script-cost-confirmation__panel dl>div:last-child{border-bottom:0}.script-cost-confirmation__panel dt{color:var(--muted)}.script-cost-confirmation__panel dd{text-align:right;margin:0;font-weight:650}.script-cost-confirmation__actions{justify-content:flex-end;gap:10px;display:flex}.script-cost-confirmation__actions button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);font:inherit;cursor:pointer;border-radius:9px;padding:0 18px;font-size:13px}.script-cost-confirmation__actions button.is-primary{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}@media (width<=1100px){.script-document-meta>span:not(.script-save-state),.script-document-meta .script-save-state:before{display:none}.script-meta-action{width:30px;padding:0;font-size:0}}@media (width<=820px){.script-workspace.is-v2{padding-top:12px}.script-mobile-tabs{border:1px solid var(--border);background:var(--surface-strong);border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(360px,100%);margin:0 auto 12px;padding:4px;display:grid}.script-mobile-tabs button{min-height:38px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:12px;position:relative}.script-mobile-tabs button.is-active{background:var(--surface);color:var(--text);box-shadow:0 4px 14px color-mix(in srgb, var(--text) 7%, transparent)}.script-mobile-tabs button span{background:var(--brand);min-width:16px;height:16px;color:var(--on-brand);border-radius:999px;place-items:center;padding:0 4px;font-size:9px;display:grid;position:absolute;top:5px;right:calc(50% - 38px)}.script-workspace.is-v2 .script-editor-pane,.script-workspace.is-v2 .script-chat-pane{display:none}.script-workspace.is-v2 .script-editor-pane.is-mobile-active,.script-workspace.is-v2 .script-chat-pane.is-mobile-active{display:flex}.script-workspace.is-v2 .script-chat-pane{min-height:calc(100dvh - 150px);padding-top:0}.script-workspace.is-v2 .script-chat-history{min-height:260px}}@media (width<=520px){.script-document-title-group{width:100%}.script-document-title-group .script-title-input{flex:1;width:auto}.script-document-meta{flex-wrap:wrap;width:100%}.script-save-state{margin-right:auto}.script-selection-bar{padding-inline:14px;overflow-x:auto}.script-selection-bar>span{flex:none}.script-credit-estimate{display:none}}.script-workspace{background:var(--bg);width:min(1540px,100%);min-height:calc(100dvh - 68px);margin:0 auto;padding:24px 30px 28px}.script-workspace-body{grid-template-columns:minmax(0,1.78fr) minmax(340px,.92fr);gap:26px;min-height:calc(100dvh - 120px);display:grid}.script-editor-pane{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);background:var(--surface);min-width:0;min-height:720px;box-shadow:0 18px 46px color-mix(in srgb, var(--text) 5%, transparent);border-radius:18px 18px 14px 14px;flex-direction:column;display:flex;overflow:hidden}.script-document-head{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 88%, var(--bg));justify-content:space-between;align-items:center;gap:24px;min-height:76px;padding:17px 30px 16px 34px;display:flex}.script-title-input{width:min(560px,70%);color:var(--text);font:inherit;letter-spacing:-.035em;background:0 0;border:0;padding:3px 0;font-size:22px;font-weight:680;line-height:1.35}.script-document-meta{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:12px;font-size:11px;display:flex}.script-create-storyboard{min-height:30px;color:var(--brand);font:inherit;border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:var(--brand-soft);cursor:pointer;border-radius:8px;align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.script-create-storyboard:disabled{cursor:not-allowed;opacity:.45}.script-document-meta span+span:before{content:"·";color:color-mix(in srgb, var(--muted) 44%, transparent);margin-right:12px}.script-page{background:linear-gradient(90deg, transparent 0, transparent 57px, color-mix(in srgb, var(--brand) 10%, transparent) 57px, color-mix(in srgb, var(--brand) 10%, transparent) 58px, transparent 58px), var(--surface);flex:1;min-height:0;display:flex;position:relative}.script-page:before{content:"";background:color-mix(in srgb, var(--brand) 44%, var(--surface));width:7px;height:7px;box-shadow:0 18px 0 color-mix(in srgb, var(--brand) 22%, var(--surface)), 0 36px 0 color-mix(in srgb, var(--brand) 14%, var(--surface));pointer-events:none;border-radius:50%;position:absolute;top:34px;left:31px}.script-editor{resize:none;width:100%;min-height:640px;color:color-mix(in srgb, var(--text) 91%, var(--muted));letter-spacing:.018em;caret-color:var(--brand);scrollbar-gutter:stable;background:0 0;border:0;flex:1;padding:34px 48px 54px 82px;font-family:Songti SC,STSong,Noto Serif SC,Source Han Serif SC,serif;font-size:16px;line-height:2.12}.script-title-input:focus,.script-editor:focus,.script-composer textarea:focus{outline:0}.script-title-input:focus-visible,.script-editor:focus-visible,.script-composer textarea:focus-visible,.script-model-picker select:focus-visible,.script-tool-button:focus-visible,.script-send-button:focus-visible,.script-context-card button:focus-visible{outline:2px solid color-mix(in srgb, var(--brand) 36%, transparent);outline-offset:3px}.script-chat-pane{flex-direction:column;min-width:0;min-height:720px;padding:4px 0 2px;display:flex}.script-chat-heading{align-items:center;gap:10px;min-height:56px;padding:0 5px 15px;display:flex}.script-chat-heading>span{border:1px solid color-mix(in srgb, var(--brand) 16%, var(--border));background:var(--brand-soft);width:31px;height:31px;color:var(--brand);border-radius:9px;flex:none;place-items:center;display:grid}.script-chat-heading>div{gap:1px;min-width:0;display:grid}.script-chat-heading strong{color:var(--text);font-size:13px;font-weight:660}.script-chat-heading small{color:var(--muted);font-size:11px}.script-safety-notice{border:1px solid color-mix(in srgb, var(--brand) 18%, var(--border));background:color-mix(in srgb, var(--brand) 6%, var(--surface));color:var(--brand);border-radius:9px;align-items:center;gap:7px;margin:-5px 4px 10px;padding:9px 10px;font-size:10px;font-weight:650;display:flex}.script-safety-notice svg{flex:none}.script-chat-history{min-height:230px;color:var(--muted);scrollbar-gutter:stable;flex:1;padding:10px 4px 24px;font-size:13px;line-height:1.75;overflow-y:auto}.script-chat-empty{text-align:center;max-width:330px;margin:34px auto 0;padding:0 22px}.script-chat-empty strong{color:color-mix(in srgb, var(--text) 72%, var(--muted));margin-bottom:7px;font-size:13px;font-weight:620;display:block}.script-chat-empty p{color:color-mix(in srgb, var(--muted) 82%, transparent);text-wrap:pretty;margin:0;font-size:12px;line-height:1.7}.script-chat-message{background:color-mix(in srgb, var(--surface-strong) 68%, var(--surface));max-width:90%;color:var(--text);border-radius:10px;gap:4px;margin-top:14px;padding:10px 12px;display:grid}.script-chat-message.is-user{border:1px solid color-mix(in srgb, var(--brand) 16%, var(--border));background:var(--brand-soft);margin-left:auto}.script-chat-message strong{font-size:10px;font-weight:650}.script-chat-message span{font-size:12px;line-height:1.58}.script-chat-message.is-loading{color:var(--muted);align-items:center;display:flex}.script-chat-error{border:1px solid color-mix(in srgb, #d84a4a 35%, var(--border));background:color-mix(in srgb, #d84a4a 7%, var(--surface));color:var(--text);border-radius:10px;gap:10px;margin-top:16px;padding:12px;font-size:12px;display:grid}.script-chat-error button{border:1px solid var(--border);background:var(--surface);width:fit-content;color:var(--text);font:inherit;cursor:pointer;border-radius:7px;align-items:center;gap:6px;padding:7px 9px;display:inline-flex}.script-composer{border:1px solid color-mix(in srgb, var(--border) 88%, transparent);background:color-mix(in srgb, var(--surface) 96%, var(--bg));box-shadow:0 18px 42px color-mix(in srgb, var(--text) 8%, transparent), inset 0 1px 0 #ffffff6b;border-radius:18px;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden}.script-composer:focus-within{border-color:color-mix(in srgb, var(--brand) 35%, var(--border));box-shadow:0 22px 48px color-mix(in srgb, var(--brand) 10%, transparent), 0 0 0 3px color-mix(in srgb, var(--brand) 8%, transparent), inset 0 1px 0 #ffffff70}.script-composer-context{gap:7px;padding:12px 12px 0;display:grid}.script-context-card{border:1px solid color-mix(in srgb, var(--brand) 13%, var(--border));background:color-mix(in srgb, var(--brand-soft) 52%, var(--surface));min-width:0;color:var(--muted);border-radius:9px;grid-template-columns:18px minmax(0,1fr) 26px;align-items:center;gap:8px;padding:8px 8px 8px 10px;display:grid}.script-context-card>div{gap:1px;min-width:0;display:grid}.script-context-card strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:620;overflow:hidden}.script-context-card span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.45;overflow:hidden}.script-context-card.is-quote span{white-space:normal;max-height:2.9em}.script-context-card button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;transition:background .16s,color .16s;display:grid}.script-context-card button:hover{background:var(--surface-strong);color:var(--text)}.script-composer>textarea{resize:vertical;width:100%;min-height:112px;max-height:220px;color:var(--text);font:inherit;background:0 0;border:0;padding:18px 20px 8px;font-size:13px;line-height:1.7}.script-composer>textarea::placeholder{color:var(--muted);opacity:.68}.script-composer>.prompt-preset-bar{padding:0 12px}.script-composer-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 10px 10px 12px;display:flex}.script-composer-tools,.script-composer-submit{align-items:center;gap:5px;min-width:0;display:flex}.script-file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.script-tool-button{height:34px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 9px;font-size:11px;transition:background .17s,color .17s,transform .17s;display:inline-flex}.script-tool-button:hover:not(:disabled),.script-tool-button.is-active{background:var(--brand-soft);color:var(--brand)}.script-tool-button:active:not(:disabled),.script-send-button:active:not(:disabled){transform:translateY(1px)scale(.98)}.script-tool-button:disabled{opacity:.42;cursor:default}.script-model-picker{min-width:0;position:relative}.script-model-picker:before{content:"";background:var(--brand);pointer-events:none;border-radius:50%;width:6px;height:6px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.script-model-picker select{appearance:none;background-color:#0000;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);width:154px;height:36px;color:var(--text);font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-position:calc(100% - 13px) 16px,calc(100% - 9px) 16px;background-repeat:no-repeat;background-size:4px 4px,4px 4px;border:0;border-radius:8px;padding:0 27px 0 23px;font-size:11px;font-weight:600;transition:background-color .17s;overflow:hidden}.script-model-picker select:hover{background-color:var(--surface-strong)}.script-send-button{background:var(--brand);width:38px;height:38px;color:var(--on-brand);cursor:pointer;box-shadow:0 7px 16px color-mix(in srgb, var(--brand) 24%, transparent);border:0;border-radius:10px;flex:none;place-items:center;padding:0;transition:background .17s,transform .17s,opacity .17s;display:grid}.script-send-button:hover:not(:disabled){background:var(--brand-hover)}.script-send-button:disabled{background:var(--surface-strong);color:var(--muted);box-shadow:none;cursor:default}.script-spin,.script-chat-message.is-loading svg{animation:.9s linear infinite script-spin}@keyframes script-spin{to{transform:rotate(360deg)}}.script-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1100px){.script-workspace{padding-inline:22px}.script-workspace-body{grid-template-columns:minmax(0,1.42fr) minmax(320px,.9fr);gap:20px}.script-editor{padding-inline:70px 34px}.script-page{background-position:-12px 0}.script-document-meta span:last-child{display:none}}@media (width<=820px){.script-workspace{padding:18px 18px 30px}.script-workspace-body{min-height:auto;display:block}.script-editor-pane{min-height:680px}.script-document-head{padding-inline:24px}.script-editor{min-height:600px;padding:30px 28px 44px 62px;font-size:15px}.script-chat-pane{min-height:520px;padding-top:28px}.script-chat-history{min-height:230px}.script-chat-heading{padding-inline:3px}}@media (width<=520px){.script-workspace{padding:12px 12px 26px}.script-editor-pane{border-radius:14px 14px 10px 10px;min-height:620px}.script-document-head{flex-direction:column;align-items:flex-start;gap:4px;min-height:70px;padding:14px 18px 12px}.script-title-input{width:100%;font-size:20px}.script-document-meta{gap:8px}.script-document-meta span+span:before{margin-right:8px}.script-page{background-position:-22px 0}.script-page:before{display:none}.script-editor{min-height:540px;padding:26px 19px 38px 24px;font-size:15px;line-height:2}.script-chat-pane{min-height:500px}.script-chat-history{min-height:210px}.script-composer{border-radius:15px}.script-composer>textarea{min-height:104px;padding-inline:16px}.script-composer-toolbar{align-items:flex-end}.script-composer-tools{gap:1px}.script-tool-button{justify-content:center;width:34px;padding:0}.script-tool-button span{display:none}.script-model-picker select{width:136px}}@media (prefers-reduced-motion:reduce){.script-composer,.script-tool-button,.script-send-button,.script-context-card button{transition:none}}.storyboard-workspace{--storyboard-guided-width:1080px;min-height:calc(100dvh - 72px);color:var(--text);background:var(--bg);padding:20px 24px 28px}.storyboard-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;max-width:1680px;margin:0 auto 12px;display:flex}.storyboard-title-back{min-height:36px;color:var(--brand);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:4px;padding:0 2px;font-size:12px;font-weight:750;transition:color .16s,transform .16s;display:inline-flex}.storyboard-title-back:hover{color:var(--text)}.storyboard-title-back:active{transform:translateY(1px)}.storyboard-title-back:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 22%, transparent);outline-offset:3px}.storyboard-toolbar__actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:10px;display:flex}.storyboard-primary-button,.storyboard-secondary-button,.storyboard-board-heading>button{min-height:38px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.storyboard-primary-button:disabled,.storyboard-secondary-button:disabled{cursor:wait;opacity:.58}.storyboard-primary-button,.storyboard-secondary-button,.storyboard-mode-switch button,.storyboard-entry button{transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s}.storyboard-primary-button:not(:disabled):active,.storyboard-secondary-button:not(:disabled):active,.storyboard-mode-switch button:active,.storyboard-entry button:active{transform:translateY(1px)}.storyboard-primary-button:focus-visible,.storyboard-secondary-button:focus-visible,.storyboard-mode-switch button:focus-visible,.storyboard-entry button:focus-visible,.storyboard-entry input:focus-visible,.storyboard-entry textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 22%, transparent);outline-offset:2px}.storyboard-mode-switch{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(2,auto);gap:3px;padding:3px;display:inline-grid}.storyboard-mode-switch button{min-height:30px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 10px;font-size:11px;font-weight:650}.storyboard-mode-switch button.is-active{color:var(--text);background:var(--surface);box-shadow:0 4px 12px color-mix(in srgb, var(--text) 7%, transparent)}.storyboard-mode-area{width:100%;max-width:1680px;height:clamp(680px,100dvh - 158px,820px);min-height:680px;margin:0 auto}.storyboard-mode-area.is-guided{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;padding:20px 22px 30px;overflow:auto}.storyboard-production-map{max-width:var(--storyboard-guided-width);margin:0 auto 32px}.storyboard-production-map.is-entry{max-width:none;margin:-6px 0 28px}.storyboard-production-map>header{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:2px 12px;margin:0 2px 8px;display:grid}.storyboard-production-map>header>span{color:var(--brand);background:var(--brand-soft);letter-spacing:.04em;border-radius:6px;grid-row:1/span 2;padding:5px 7px;font-size:9px;font-weight:760}.storyboard-production-map>header>strong{letter-spacing:-.015em;font-size:13px}.storyboard-production-map>header>small{color:var(--muted);font-size:10px;line-height:1.5}.storyboard-production-map ol{background:var(--border);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;padding:1px;list-style:none;display:grid;overflow:hidden}.storyboard-production-map li{background:var(--surface);flex-direction:column;min-width:0;min-height:104px;padding:12px;display:flex;position:relative}.storyboard-production-map li>span{color:var(--muted);letter-spacing:.1em;font-variant-numeric:tabular-nums;margin-bottom:auto;font-size:9px;font-weight:760}.storyboard-production-map li>strong{letter-spacing:-.015em;margin-top:16px;font-size:13px}.storyboard-production-map li>small{color:var(--text);margin-top:3px;font-size:11px;font-weight:650}.storyboard-production-map li>p{color:var(--muted);text-wrap:pretty;margin:5px 0 0;font-size:9px;line-height:1.45}.storyboard-production-map li.is-current{color:var(--brand);background:radial-gradient(circle at 12% 5%, color-mix(in srgb, var(--brand-soft) 92%, transparent), transparent 58%), var(--surface);box-shadow:inset 0 3px 0 var(--brand)}.storyboard-production-map li.is-current>span,.storyboard-production-map li.is-current>small{color:var(--brand)}.storyboard-production-map li>em{color:var(--brand);border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));border-radius:5px;padding:3px 5px;font-size:8px;font-style:normal;font-weight:750;position:absolute;top:11px;right:11px}.storyboard-guided-next,.storyboard-guided-empty{max-width:var(--storyboard-guided-width);border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 96%, var(--brand-soft));border-radius:18px;align-items:center;gap:20px 28px;margin:0;padding:24px 26px;display:grid}.storyboard-guided-next{grid-template-columns:minmax(0,1fr) auto}.storyboard-guided-next__copy{flex-direction:column;gap:5px;min-width:0;display:flex}.storyboard-guided-next__copy>span{color:var(--brand);letter-spacing:.08em;font-size:10px;font-weight:750}.storyboard-guided-next strong{letter-spacing:-.015em;font-size:15px}.storyboard-guided-next small{color:var(--muted);font-size:11px;line-height:1.55}.storyboard-guided-next__action{grid-area:1/2;min-width:228px}.storyboard-guided-model{border-top:1px solid var(--border);grid-column:1/-1;grid-template-columns:minmax(220px,.8fr) minmax(280px,1fr);align-items:center;gap:8px 18px;padding-top:20px;display:grid}.storyboard-guided-model>div{flex-direction:column;grid-row:1/span 2;gap:4px;min-width:0;display:flex}.storyboard-guided-model>div strong{font-size:13px}.storyboard-guided-model>div small{max-width:46ch}.storyboard-guided-model select{width:100%;min-height:40px;color:var(--text);border:1px solid var(--border);background:var(--surface);font:inherit;border-radius:10px;outline:none;padding:8px 32px 8px 11px;font-size:12px;font-weight:650}.storyboard-guided-model select:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.storyboard-guided-model>span,.storyboard-guided-model>button{color:var(--muted);justify-self:start;font-size:10px}.storyboard-guided-model>button{color:#9a4b2f;font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 0;font-weight:680}.storyboard-text-model{max-width:var(--storyboard-guided-width);border:1px solid color-mix(in srgb, var(--brand) 20%, var(--border));border-left:3px solid var(--brand);background:color-mix(in srgb, var(--brand-soft) 26%, var(--surface));border-radius:5px 14px 14px 5px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;margin:0 auto 12px;padding:15px 16px;display:grid}.storyboard-text-model>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.storyboard-text-model>div:first-child>span{color:var(--brand);letter-spacing:.07em;font-size:9px;font-weight:760}.storyboard-text-model>div:first-child>strong{letter-spacing:-.015em;font-size:13px}.storyboard-text-model>div:first-child>small{color:var(--muted);font-size:10px;line-height:1.5}.storyboard-text-model__control{grid-template-columns:auto minmax(220px,290px);align-items:center;gap:5px 9px;display:grid}.storyboard-text-model__control label{color:var(--muted);font-size:9px;font-weight:700}.storyboard-text-model__control select{min-height:36px;color:var(--text);border:1px solid var(--border);background:var(--surface);font:inherit;border-radius:9px;outline:none;padding:7px 30px 7px 10px;font-size:11px;font-weight:650}.storyboard-text-model__control select:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.storyboard-text-model__control>small,.storyboard-text-model__reload,.storyboard-text-model__action{grid-column:2}.storyboard-text-model__control>small{color:var(--muted);font-size:9px}.storyboard-text-model__reload{color:#9a4b2f;font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;padding:4px 0;font-size:9px;font-weight:680}.storyboard-text-model__action{color:#fff;background:var(--brand);min-height:34px;font:inherit;cursor:pointer;border:0;border-radius:9px;justify-self:end;align-items:center;gap:6px;padding:7px 11px;font-size:10px;font-weight:720;transition:transform .18s,filter .18s,opacity .18s;display:inline-flex}.storyboard-text-model__action:hover{filter:brightness(1.06)}.storyboard-text-model__action:active{transform:translateY(1px)}.storyboard-text-model__action:disabled{opacity:.55;cursor:not-allowed}.storyboard-ai-consent{width:min(var(--storyboard-guided-width), 100%);border:1px solid color-mix(in srgb, var(--brand) 30%, var(--border));background:linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 70%, transparent), transparent 48%), var(--surface);border-radius:18px;margin:0 auto 12px;padding:18px;box-shadow:0 18px 44px #221b1214}.storyboard-ai-consent>header,.storyboard-ai-consent>footer{justify-content:space-between;align-items:center;gap:18px;display:flex}.storyboard-ai-consent>header{border-bottom:1px solid var(--border);padding-bottom:14px}.storyboard-ai-consent>header div{flex-direction:column;gap:2px;display:flex}.storyboard-ai-consent>header span{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:750}.storyboard-ai-consent h2{letter-spacing:-.025em;margin:0;font-size:18px}.storyboard-ai-consent>header>button,.storyboard-ai-consent__unavailable button{border:1px solid var(--border);color:var(--muted);background:var(--surface);cursor:pointer;border-radius:9px;padding:7px 10px}.storyboard-ai-consent__facts{border:1px solid var(--border);background:var(--border);border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:14px 0;display:grid;overflow:hidden}.storyboard-ai-consent__facts>div{background:var(--surface);flex-direction:column;gap:7px;min-width:0;min-height:86px;padding:12px;display:flex}.storyboard-ai-consent__facts dt{color:var(--muted);font-size:10px;font-weight:700}.storyboard-ai-consent__facts dd{flex-direction:column;gap:4px;min-width:0;margin:0;font-size:13px;font-weight:720;line-height:1.35;display:flex}.storyboard-ai-consent__facts dd small{color:var(--muted);font-size:10px;font-weight:500;line-height:1.4}.storyboard-ai-consent__model-picker{width:fit-content;color:var(--muted);align-items:center;gap:10px;margin:0 0 14px;font-size:11px;font-weight:650;display:flex}.storyboard-ai-consent__model-picker select{border:1px solid var(--border);min-width:220px;color:var(--text);background:var(--surface);font:inherit;border-radius:9px;padding:8px 30px 8px 10px}.storyboard-ai-consent>footer{border-top:1px solid var(--border);padding-top:14px}.storyboard-ai-consent>footer>span{color:var(--muted);font-size:11px;line-height:1.5}.storyboard-ai-consent__status{color:var(--muted);margin:16px 0 0;font-size:12px}.storyboard-ai-consent__unavailable{border:1px solid color-mix(in srgb, #b65d3a 22%, var(--border));background:color-mix(in srgb, #b65d3a 7%, var(--surface));border-radius:12px;grid-template-columns:1fr auto;align-items:center;gap:4px 14px;margin-top:14px;padding:12px;display:grid}.storyboard-ai-consent__unavailable strong{font-size:12px}.storyboard-ai-consent__unavailable span{color:var(--muted);font-size:11px}.storyboard-ai-consent__unavailable button{grid-area:1/2/span 2}.storyboard-ai-consent__warning{color:#9a4b2f;margin:0 0 12px;font-size:11px;font-weight:650}.storyboard-guided-flow{max-width:var(--storyboard-guided-width);gap:24px;margin:0 auto;display:grid}.storyboard-guided-scenes{flex-direction:column;gap:24px;padding:0 0 36px;display:flex}.storyboard-guided-scene>header{align-items:center;gap:14px;padding:0 4px 10px;display:flex}.storyboard-guided-scene>header>span{color:var(--brand);letter-spacing:.1em;font-size:10px;font-weight:750}.storyboard-guided-scene>header>div{align-items:baseline;gap:10px;display:flex}.storyboard-guided-scene h2{letter-spacing:-.025em;margin:0;font-size:17px}.storyboard-guided-scene header small{color:var(--muted);font-size:10px}.storyboard-guided-shot-list{border:1px solid var(--border);background:var(--surface);border-radius:17px;overflow:hidden}.storyboard-guided-shot{grid-template-columns:58px minmax(0,1fr) auto;gap:16px;padding:18px;display:grid}.storyboard-guided-shot+.storyboard-guided-shot{border-top:1px solid var(--border)}.storyboard-guided-shot.is-editing{background:color-mix(in srgb, var(--brand-soft) 32%, var(--surface))}.storyboard-guided-shot__number{color:var(--brand);flex-direction:column;display:flex}.storyboard-guided-shot__number span{letter-spacing:.12em;font-size:9px;font-weight:700}.storyboard-guided-shot__number strong{font-variant-numeric:tabular-nums;letter-spacing:-.05em;margin-top:1px;font-size:23px}.storyboard-guided-shot__content{min-width:0}.storyboard-guided-shot__meta{flex-wrap:wrap;gap:6px;margin-bottom:11px;display:flex}.storyboard-guided-shot__meta span{color:var(--muted);background:var(--surface-soft);border-radius:6px;padding:4px 7px;font-size:9px;font-weight:650}.storyboard-guided-shot__content>p{grid-template-columns:44px minmax(0,1fr);gap:10px;margin:7px 0 0;font-size:12px;line-height:1.65;display:grid}.storyboard-guided-shot__content>p strong{color:var(--muted);font-size:10px;font-weight:650}.storyboard-guided-shot__content>p span{text-wrap:pretty;min-width:0}.storyboard-guided-shot__edit{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;align-self:start;align-items:center;gap:5px;padding:7px 8px;font-size:10px;font-weight:650;transition:color .16s,background .16s,transform .16s;display:inline-flex}.storyboard-guided-shot__edit:hover{color:var(--brand);background:var(--brand-soft)}.storyboard-guided-shot__edit:active{transform:translateY(1px)}.storyboard-guided-shot__edit:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 22%, transparent)}.storyboard-guided-shot__editor{gap:10px;display:grid}.storyboard-guided-shot__editor label{color:var(--muted);flex-direction:column;gap:5px;font-size:10px;font-weight:650;display:flex}.storyboard-guided-shot__editor textarea{resize:vertical;width:100%;color:var(--text);border:1px solid var(--border);background:var(--surface);font:inherit;border-radius:9px;outline:none;padding:10px 11px;font-size:12px;line-height:1.6}.storyboard-guided-shot__editor textarea:focus{border-color:color-mix(in srgb, var(--brand) 58%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 9%, transparent)}.storyboard-guided-shot__editor>button{justify-self:start}.storyboard-guided-empty{min-height:180px;color:var(--muted);background:var(--surface);border-style:dashed;grid-template-columns:auto minmax(0,1fr) auto;justify-content:flex-start;padding-inline:24px}.storyboard-guided-empty>div{flex-direction:column;gap:3px;display:flex}.storyboard-guided-empty strong{color:var(--text);font-size:14px}.storyboard-guided-empty span{font-size:11px}.storyboard-guided-upload{flex:none;margin-left:auto}.storyboard-ai-error{color:#a63232;border:1px solid color-mix(in srgb, #c73c3c 25%, var(--border));background:color-mix(in srgb, #c73c3c 7%, var(--surface));border-radius:11px;align-items:center;gap:10px;max-width:1680px;margin:0 auto 14px;padding:11px 13px;display:flex}.storyboard-ai-error>div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.storyboard-ai-error strong{font-size:12px}.storyboard-ai-error span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.storyboard-ai-error button{color:inherit;font:inherit;background:var(--surface);cursor:pointer;border:1px solid;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:700}.storyboard-ai-error button.is-paid{color:#96510c}.storyboard-ai-preview{z-index:90;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0512247a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.storyboard-ai-preview__card{border:1px solid var(--border);background:var(--surface);width:min(780px,100%);max-height:min(760px,100dvh - 48px);box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.storyboard-ai-preview__head,.storyboard-ai-preview__actions{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.storyboard-ai-preview__head>div{flex-direction:column;gap:3px;display:flex}.storyboard-ai-preview__head span{color:var(--brand);font-size:11px;font-weight:750}.storyboard-ai-preview__head strong{font-size:15px}.storyboard-ai-preview__head>button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;font-size:12px}.storyboard-ai-preview__scenes{max-height:520px;padding:16px 18px;overflow:auto}.storyboard-ai-preview__scenes section+section{border-top:1px solid var(--border);margin-top:17px;padding-top:17px}.storyboard-ai-preview__scenes section>strong{font-size:12px}.storyboard-ai-preview__scenes section>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.storyboard-ai-preview__scenes article{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;padding:10px}.storyboard-ai-preview__scenes article span{color:var(--brand);font-size:10px;font-weight:700}.storyboard-ai-preview__scenes article p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.55}.storyboard-ai-preview__actions{border-top:1px solid var(--border);border-bottom:0;justify-content:flex-end}.storyboard-primary-button{color:#fff;background:var(--brand);box-shadow:0 8px 20px #2563eb29}.storyboard-secondary-button,.storyboard-board-heading>button{color:var(--text);border-color:var(--border);background:var(--surface)}.storyboard-picker{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.storyboard-picker select{max-width:190px;height:36px;color:var(--text);border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:0 30px 0 10px}.storyboard-layout{border:1px solid var(--border);background:var(--surface);width:100%;max-width:none;height:100%;min-height:0;box-shadow:var(--shadow);border-radius:18px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:224px minmax(420px,1fr) 318px;margin:0;display:grid;overflow:hidden}.storyboard-layout>.storyboard-text-model.is-professional{border:0;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--brand-soft) 18%, var(--surface));border-radius:0;grid-column:1/-1;width:100%;max-width:none;margin:0}.storyboard-scenes,.storyboard-inspector{background:color-mix(in srgb, var(--surface) 92%, var(--brand-soft));flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.storyboard-scenes{border-right:1px solid var(--border)}.storyboard-inspector{border-left:1px solid var(--border)}.storyboard-panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:66px;padding:13px 15px;display:flex}.storyboard-panel-heading>div{flex-direction:column;gap:3px;min-width:0;display:flex}.storyboard-panel-heading span{font-size:13px;font-weight:780}.storyboard-panel-heading small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.storyboard-scene-list{flex:1;min-height:0;padding:10px;overflow:auto}.storyboard-scene-item{width:100%;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:30px minmax(0,1fr);gap:8px;padding:11px 10px;display:grid}.storyboard-scene-item>span{color:var(--muted);padding-top:1px;font-size:11px;font-weight:750}.storyboard-scene-item div{flex-direction:column;gap:4px;min-width:0;display:flex}.storyboard-scene-item strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.storyboard-scene-item small{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.storyboard-scene-item:hover{color:var(--text);background:var(--surface)}.storyboard-scene-item.is-active{color:var(--brand);border-color:color-mix(in srgb, var(--brand) 26%, var(--border));background:var(--brand-soft)}.storyboard-board{background:var(--bg);min-width:0;min-height:0;overflow:auto}.storyboard-board-heading{background:color-mix(in srgb, var(--surface) 88%, transparent)}.storyboard-board-heading>button{min-height:34px;padding-inline:11px}.storyboard-shot-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:14px;padding:16px;display:grid}.storyboard-shot-card{min-width:0;color:var(--text);text-align:left;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:14px;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden;box-shadow:0 4px 15px #1c2d480a}.storyboard-shot-card:hover{border-color:color-mix(in srgb, var(--brand) 35%, var(--border));transform:translateY(-2px)}.storyboard-shot-card.is-active{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent)}.storyboard-shot-card__visual{aspect-ratio:16/9;background:linear-gradient(145deg, var(--surface-soft), color-mix(in srgb, var(--brand-soft) 74%, var(--surface)));place-items:center;display:grid;position:relative;overflow:hidden}.storyboard-shot-card__visual img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.storyboard-shot-card__visual>span{color:var(--muted);flex-direction:column;align-items:center;gap:8px;display:flex}.storyboard-shot-card__visual>span small{font-size:10px}.storyboard-shot-card__visual em,.storyboard-shot-card__visual i{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#08162bb8;border-radius:999px;padding:4px 7px;font-size:10px;font-style:normal;position:absolute;top:9px}.storyboard-shot-card__visual em{left:9px}.storyboard-shot-card__visual i{place-items:center;padding:5px;display:grid;right:9px}.storyboard-shot-card__meta{flex-direction:column;gap:5px;padding:12px;display:flex}.storyboard-shot-card__meta strong{font-size:13px}.storyboard-shot-card__meta small{color:var(--muted);font-size:10px}.storyboard-shot-card__meta p{min-height:34px;color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 0;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.storyboard-inspector-heading>button{width:32px;height:32px;color:var(--muted);border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid}.storyboard-inspector-form{flex-direction:column;flex:1;gap:14px;min-height:0;max-height:none;padding:15px;display:flex;overflow:auto}.storyboard-inspector-form label{color:var(--muted);flex-direction:column;gap:6px;font-size:11px;font-weight:650;display:flex}.storyboard-inspector-form input,.storyboard-inspector-form select,.storyboard-inspector-form textarea{width:100%;min-height:38px;color:var(--text);font:inherit;border:1px solid var(--border);background:var(--surface);resize:vertical;border-radius:9px;outline:none;padding:9px 10px;font-size:12px;line-height:1.55}.storyboard-inspector-form input:focus,.storyboard-inspector-form select:focus,.storyboard-inspector-form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.storyboard-field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.storyboard-reference-assets{flex-wrap:wrap;gap:5px;display:flex}.storyboard-reference-assets button{color:var(--brand);font:inherit;border:1px solid color-mix(in srgb, var(--brand) 22%, var(--border));background:var(--brand-soft);cursor:pointer;border-radius:999px;padding:5px 7px;font-size:9px}.storyboard-shot-tools{grid-template-columns:repeat(4,1fr);gap:6px;padding-top:2px;display:grid}.storyboard-shot-tools button,.storyboard-generation-tools button{min-height:34px;color:var(--muted);font:inherit;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:0 6px;font-size:10px;display:inline-flex}.storyboard-shot-tools button:disabled{cursor:not-allowed;opacity:.4}.storyboard-shot-tools button.is-danger{color:#c73c3c}.storyboard-generation-tools{border-top:1px solid var(--border);grid-template-columns:1fr 1fr;gap:8px;padding-top:4px;display:grid}.storyboard-generation-tools button{min-height:39px;color:var(--brand);font-size:11px;font-weight:700}.storyboard-entry{place-items:center;min-height:calc(100dvh - 72px);display:grid}.storyboard-entry__panel{border:1px solid var(--border);background:radial-gradient(circle at 90% 5%, color-mix(in srgb, var(--brand-soft) 75%, transparent), transparent 34%), var(--surface);width:min(940px,100%);box-shadow:0 26px 70px color-mix(in srgb, var(--text) 7%, transparent);border-radius:22px;padding:clamp(26px,5vw,54px)}.storyboard-entry__back{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:0 0 22px;padding:6px 0;font-size:12px;display:inline-flex}.storyboard-entry__back:hover{color:var(--brand)}.storyboard-entry__heading{max-width:620px;margin-bottom:28px}.storyboard-entry__heading.is-compact{margin-bottom:22px}.storyboard-entry__heading>span{color:var(--brand);letter-spacing:.13em;font-size:10px;font-weight:760}.storyboard-entry__heading h1{letter-spacing:-.045em;text-wrap:balance;margin:7px 0 8px;font-size:clamp(28px,4vw,42px);line-height:1.08}.storyboard-entry__heading p{max-width:52ch;color:var(--muted);text-wrap:pretty;margin:0;font-size:13px;line-height:1.7}.storyboard-entry__choices{grid-template-columns:1.15fr 1fr 1fr;gap:12px;display:grid}.storyboard-entry__choices>button{min-height:178px;color:var(--text);text-align:left;border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 93%, var(--bg));cursor:pointer;border-radius:15px;flex-direction:column;align-items:flex-start;padding:20px;display:flex;position:relative}.storyboard-entry__choices>button:hover{border-color:color-mix(in srgb, var(--brand) 34%, var(--border));box-shadow:0 15px 32px color-mix(in srgb, var(--brand) 8%, transparent);transform:translateY(-2px)}.storyboard-entry__choices>button.is-recommended{border-color:color-mix(in srgb, var(--brand) 32%, var(--border));background:color-mix(in srgb, var(--brand-soft) 58%, var(--surface))}.storyboard-entry__choices>button>span{width:42px;height:42px;color:var(--brand);background:var(--surface);border-radius:12px;place-items:center;margin-bottom:auto;display:grid}.storyboard-entry__choices strong{letter-spacing:-.015em;margin-top:20px;font-size:15px}.storyboard-entry__choices small{color:var(--muted);margin-top:6px;font-size:11px;line-height:1.55}.storyboard-entry__choices em{color:var(--brand);font-size:10px;font-style:normal;font-weight:720;position:absolute;top:16px;right:16px}.storyboard-entry__form{gap:16px;max-width:700px;display:grid}.storyboard-entry__form label{color:var(--muted);gap:7px;font-size:11px;font-weight:680;display:grid}.storyboard-entry__form input,.storyboard-entry__form textarea{width:100%;color:var(--text);border:1px solid var(--border);background:var(--surface);font:inherit;resize:vertical;border-radius:10px;outline:none;padding:12px 13px;font-size:13px;line-height:1.7}.storyboard-entry__form input:focus,.storyboard-entry__form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent)}.storyboard-entry__form>button{justify-self:start;min-width:170px}.storyboard-entry__error{color:#b53636;margin:14px 0 0;font-size:12px}.storyboard-empty,.storyboard-loading{text-align:center;align-content:center;place-items:center;min-height:calc(100dvh - 72px);padding:40px;display:grid}.storyboard-empty__icon{width:58px;height:58px;color:var(--brand);background:var(--brand-soft);border-radius:18px;place-items:center;margin-bottom:14px;display:grid}.storyboard-empty h1{margin:0 0 8px;font-size:26px}.storyboard-empty p{max-width:520px;color:var(--muted);margin:0 0 20px;line-height:1.7}@media (width<=1180px){.storyboard-layout{grid-template-columns:190px minmax(360px,1fr) 286px}.storyboard-toolbar__actions{justify-content:flex-end}}@media (width<=920px){.storyboard-workspace{padding:18px}.storyboard-mode-area{height:auto;min-height:0}.storyboard-production-map ol{grid-template-columns:repeat(2,minmax(0,1fr))}.storyboard-production-map li{min-height:104px}.storyboard-text-model{grid-template-columns:1fr;gap:13px}.storyboard-text-model__control{grid-template-columns:auto minmax(0,1fr)}.storyboard-layout{grid-template-columns:176px minmax(0,1fr)}.storyboard-inspector{border-top:1px solid var(--border);border-left:0;grid-column:1/-1}.storyboard-inspector-form{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;display:grid}.storyboard-shot-tools{align-self:end}.storyboard-entry__choices{grid-template-columns:repeat(2,minmax(0,1fr))}.storyboard-entry__choices>button.is-recommended{grid-column:1/-1;min-height:156px}}@media (width<=760px){.storyboard-workspace{padding:12px}.storyboard-toolbar{flex-wrap:wrap;align-items:center;gap:8px 14px}.storyboard-toolbar__actions,.storyboard-picker{width:100%}.storyboard-toolbar__actions>button{flex:1}.storyboard-mode-switch{grid-template-columns:1fr 1fr;width:100%}.storyboard-mode-area{min-height:0}.storyboard-mode-area.is-guided{border-radius:14px;padding:14px}.storyboard-production-map{margin-bottom:24px}.storyboard-production-map>header{grid-template-columns:1fr;gap:3px}.storyboard-production-map>header>span{grid-row:auto;width:fit-content}.storyboard-production-map li{min-height:110px;padding:11px}.storyboard-production-map li>strong{margin-top:13px}.storyboard-text-model{padding:14px}.storyboard-text-model__control{grid-template-columns:1fr}.storyboard-text-model__control select,.storyboard-text-model__control>small,.storyboard-text-model__reload,.storyboard-text-model__action{grid-column:1;width:100%}.storyboard-text-model__action{justify-self:stretch}.storyboard-guided-flow{gap:18px}.storyboard-guided-next{grid-template-columns:1fr;align-items:stretch;gap:18px;padding:20px 18px}.storyboard-guided-next__action{grid-area:auto/1;width:100%;min-width:0}.storyboard-guided-model{grid-column:1;grid-template-columns:1fr;gap:10px;padding-top:18px}.storyboard-guided-model>div{grid-row:auto}.storyboard-guided-model select{font-size:16px}.storyboard-guided-empty{grid-template-columns:auto minmax(0,1fr);align-items:flex-start;min-height:0;padding:18px}.storyboard-guided-upload{grid-column:1/-1;width:100%;margin:8px 0 0}.storyboard-ai-consent{width:100%;padding:15px}.storyboard-ai-consent__facts{grid-template-columns:1fr 1fr}.storyboard-ai-consent__facts>div{min-height:82px}.storyboard-ai-consent>footer{flex-direction:column;align-items:stretch}.storyboard-ai-consent>footer>button{width:100%}.storyboard-ai-consent__model-picker{flex-direction:column;align-items:stretch;width:100%}.storyboard-ai-consent__model-picker select{width:100%;min-width:0}.storyboard-guided-shot{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:14px}.storyboard-guided-shot__edit{grid-column:2;justify-self:start;margin-top:2px}.storyboard-guided-scene>header>div{flex-direction:column;align-items:flex-start;gap:2px}.storyboard-layout{border-radius:14px;flex-direction:column;min-height:0;display:flex}.storyboard-scenes{border-right:0;border-bottom:1px solid var(--border)}.storyboard-scene-list{gap:7px;display:flex;overflow-x:auto}.storyboard-scene-item{flex:0 0 165px}.storyboard-board{min-height:420px}.storyboard-shot-grid{grid-template-columns:1fr;padding:12px}.storyboard-inspector-form{display:flex}.storyboard-field-row{grid-template-columns:1fr 1fr}.storyboard-entry{padding:0}.storyboard-entry__panel{border-radius:16px;padding:26px 18px 30px}.storyboard-entry__choices{grid-template-columns:1fr}.storyboard-entry__choices>button.is-recommended{grid-column:auto}.storyboard-entry__choices>button{min-height:146px}}@font-face{font-family:Yunhu Model Title;src:url(../fonts/yunhu-display-lxgw-wenkai-medium-40f69f02.woff2)format("woff2");font-style:normal;font-weight:500;font-display:swap}:root{color:#10213a;font-synthesis:none;text-rendering:optimizelegibility;--bg:#f5f9ff;--surface:#fff;--surface-soft:#eaf3ff;--surface-strong:#d8ebff;--text:#10213a;--muted:#607089;--border:#d9e6f5;--brand:#1268e8;--brand-hover:#0756b8;--brand-soft:#eaf3ff;--navy:#0b2a52;--on-brand:#fff;--shadow:0 20px 50px #1268e81a;background:#f5f9ff;font-family:SF Pro Display,PingFang SC,Noto Sans SC,system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#07182e;--surface:#0b2340;--surface-soft:#102e52;--surface-strong:#163b67;--text:#f2f7ff;--muted:#9db0c8;--border:#73a9e62e;--brand:#4b9bff;--brand-hover:#72b1ff;--brand-soft:#102e52;--navy:#061426;--on-brand:#fff;--shadow:0 20px 50px #00224e57}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-width:320px;min-height:100dvh;color:var(--text);margin:0}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 35%, transparent);outline-offset:2px}img{max-width:100%;display:block}.app-shell{min-height:100dvh}.sidebar{z-index:40;background:color-mix(in srgb, var(--surface) 94%, transparent);border-right:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-direction:column;width:228px;padding:18px 14px 16px;transition:width .22s cubic-bezier(.2,.65,.2,1),padding .22s cubic-bezier(.2,.65,.2,1),transform .24s;display:flex;position:fixed;inset:0 auto 0 0}.brand-row{align-items:center;height:54px;padding:0 7px 13px;display:flex;position:relative}.brand-button{cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.brand-mark{-o-object-fit:contain;object-fit:contain;flex:none;width:36px;height:36px}.brand-wordmark{-o-object-fit:contain;object-fit:contain;-o-object-position:left center;object-position:left center;width:52px;max-height:28px}.sidebar-collapse-button{width:32px;height:32px;color:color-mix(in srgb, var(--text) 78%, var(--muted));box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;margin-left:auto;padding:0;transition:background .18s,color .18s,transform .18s;display:grid;position:static}.sidebar-collapse-button svg{transition:transform .18s}.sidebar-collapse-button:hover{background:var(--surface-soft);color:var(--text)}.sidebar-collapse-button:hover svg{transform:translate(-1px)}.sidebar-collapse-button:active{transform:scale(.94)}.nav-stack{gap:5px;display:grid}.nav-item{width:100%;height:43px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:0 12px;text-decoration:none;transition:background .18s,color .18s;display:flex}.nav-item:hover{background:var(--surface-soft);color:var(--text)}.nav-item.is-active,.nav-item.is-section-active{background:color-mix(in srgb, var(--brand) 11%, var(--surface));color:var(--brand);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 15%, transparent)}.nav-item span{font-size:14px;font-weight:600}.nav-chevron{margin-left:auto;transition:transform .2s}.nav-chevron.is-open{transform:rotate(180deg)}.creation-menu{opacity:0;visibility:hidden;pointer-events:none;border-left:1px solid #0000;max-height:0;margin:0 0 0 18px;padding-left:12px;transition:max-height .24s cubic-bezier(.2,.65,.2,1),opacity .16s,transform .2s,margin .2s,border-color .2s;overflow:hidden;transform:translateY(-4px)}.creation-menu.is-open{border-left-color:color-mix(in srgb, var(--brand) 22%, var(--border));opacity:1;visibility:visible;pointer-events:auto;max-height:240px;margin-top:5px;margin-bottom:7px;padding-bottom:2px;transform:translateY(0)}.creation-menu__item{width:100%;min-height:36px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;transition:background .16s,color .16s,transform .16s,box-shadow .16s;display:flex;position:relative}.creation-menu__item:hover{background:color-mix(in srgb, var(--brand) 7%, var(--surface));color:var(--brand)}.creation-menu__item:active{transform:translateY(1px)}.creation-menu__item.is-active{background:var(--brand);color:var(--on-brand);box-shadow:0 7px 18px color-mix(in srgb, var(--brand) 23%, transparent)}.creation-menu__marker{opacity:0;background:currentColor;border-radius:3px;flex:none;width:3px;height:16px;transition:opacity .16s,transform .18s;transform:scaleY(.45)}.creation-menu__item.is-active .creation-menu__marker{opacity:.9;transform:scaleY(1)}.creation-menu__label{min-width:0;font-size:13px;font-weight:560;line-height:1.2}.creation-menu__item.is-active .creation-menu__label{font-weight:680}.sidebar-spacer{flex:1}.nav-secondary{border-top:1px solid var(--border);padding-top:12px}.drawer-scrim,.mobile-brand-trigger{display:none}.sidebar.is-collapsed{width:74px;padding-inline:10px}.sidebar.is-collapsed .brand-row{justify-content:center;padding-inline:0}.sidebar.is-collapsed .brand-button{justify-content:center;width:100%}.sidebar.is-collapsed .brand-mark{width:36px;height:36px}.sidebar.is-collapsed .brand-wordmark,.sidebar.is-collapsed .nav-item span,.sidebar.is-collapsed .nav-chevron,.sidebar.is-collapsed .creation-menu{display:none}.sidebar.is-collapsed .nav-item{justify-content:center;padding:0}.sidebar.is-collapsed .nav-secondary{padding-top:12px}.main-column{min-height:100dvh;margin-left:228px;transition:margin-left .22s cubic-bezier(.2,.65,.2,1)}.sidebar-is-collapsed .main-column{margin-left:74px}.topbar{z-index:30;background:color-mix(in srgb, var(--bg) 88%, transparent);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-items:center;height:68px;padding:0 30px;display:flex;position:sticky;top:0}.top-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.icon-button,.avatar-button,.download-button,.credit-chip{border:1px solid var(--border);background:var(--surface);cursor:pointer;transition:transform .18s,background .18s}.icon-button:hover,.avatar-button:hover,.download-button:hover,.credit-chip:hover{background:var(--surface-soft);transform:translateY(-1px)}.icon-button:active,.avatar-button:active,.download-button:active,.credit-chip:active{transform:translateY(1px)}.icon-button{border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.download-button{border-color:color-mix(in srgb, var(--brand) 28%, var(--border));height:38px;color:var(--brand);border-radius:9px;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:600;text-decoration:none;display:flex}.credit-chip{border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 11px;font-size:12px;display:flex}.credit-chip strong{font-variant-numeric:tabular-nums}.credit-chip__action{color:var(--brand);font-weight:650}.credit-dot{background:var(--brand);width:8px;height:8px;box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);border-radius:50%}.avatar-button{background:var(--navy);color:#fff;border-radius:50%;width:38px;height:38px;font-size:13px;font-weight:700}.content-wrap{width:min(1480px,100%);margin:0 auto;padding:20px 26px 50px}.content-wrap.is-hidden{display:none}.hero{background:var(--navy);color:#fff;min-height:min(620px,100vh - 108px);box-shadow:var(--shadow);isolation:isolate;border-radius:18px;position:relative;overflow:hidden}.hero-image{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;z-index:-2;width:100%;height:100%;animation:1s cubic-bezier(.2,.65,.2,1) both hero-in;position:absolute;inset:0;transform:scale(1.015)}.hero-shade{z-index:-1;background:linear-gradient(90deg,#041836eb 0%,#063770a8 42%,#0c56aa24 78%),linear-gradient(#0000 56%,#041f4494);position:absolute;inset:0}.hero-content{width:min(580px,70%);padding:clamp(70px,9vw,130px) clamp(30px,5.6vw,90px)}.eyebrow,.section-kicker{color:#8cc4ff;letter-spacing:.18em;margin:0 0 13px;font-size:11px;font-weight:700}.hero h1{letter-spacing:-.012em;font-synthesis:none;margin:0;font-family:Yunhu Model Title,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-size:clamp(46px,5.2vw,82px);font-weight:500;line-height:.98}.hero h1 span{white-space:nowrap;display:block}.hero-copy{color:#ffffffb8;max-width:440px;margin:25px 0 0;font-size:clamp(14px,1.4vw,17px);line-height:1.75}.hero-actions{gap:10px;margin-top:34px;display:flex}.primary-button,.glass-button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;height:44px;padding:0 18px;font-weight:600;display:inline-flex}.primary-button{color:var(--navy);background:#fff;border:1px solid #fff}.glass-button{color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#237de129;border:1px solid #add7ff52;text-decoration:none}.primary-button:hover,.glass-button:hover{transform:translateY(-1px)}.section-block{padding:clamp(72px,9vw,120px) 6px 0;scroll-margin-top:88px}.section-heading{margin-bottom:27px}.section-heading h2{letter-spacing:-.04em;max-width:800px;margin:0;font-size:clamp(30px,3vw,48px);line-height:1.12}:is(#models,#workflow,#inspiration) .section-heading h2{letter-spacing:-.012em;font-synthesis:none;text-wrap:balance;font-family:Yunhu Model Title,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-weight:500;line-height:1.16}.section-heading>p:last-child{color:var(--muted);margin:15px 0 0;font-size:14px}.section-kicker{color:var(--brand)}.split-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.segmented-control{border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:3px;padding:4px;display:inline-flex}.segmented-control button{height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 13px;font-size:12px;font-weight:600}.segmented-control button.is-active{background:var(--brand);color:var(--on-brand)}.model-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.model-card{border:1px solid var(--border);background:var(--surface);min-width:0;animation-delay:var(--delay);border-radius:12px;flex-direction:column;padding:13px;transition:transform .22s,box-shadow .22s;display:flex}.model-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.model-details{align-items:flex-start;gap:12px;display:flex}.model-copy{-moz-column-gap:8px;grid-template-columns:30px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0;display:grid}.model-type-icon{background:var(--brand-soft);width:30px;height:30px;color:var(--brand);border-radius:8px;grid-row:1/span 2;place-items:center;display:grid}.model-details h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:13px;overflow:hidden}.model-details p{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:10px;overflow:hidden}.round-action{background:var(--surface-soft);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;margin-left:auto;display:grid}.round-action:hover{background:var(--brand-soft);color:var(--brand)}.model-tags{flex-wrap:wrap;gap:5px;margin:10px 0 0;padding:0;list-style:none;display:flex}.model-tags li{border:1px solid var(--border);color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:6px;padding:5px 7px;font-size:9px;line-height:1}.workflow-grid{grid-template-rows:repeat(2,220px);grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.workflow-card{border:1px solid color-mix(in srgb, currentColor 8%, transparent);text-align:left;cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;padding:24px;transition:transform .22s;display:flex;position:relative;overflow:hidden}.workflow-card:hover{transform:translateY(-3px)}.tone-violet{color:#0b4f9c;background:#e9f3ff}.tone-indigo{color:#0a4d8c;background:#e4f1ff}.tone-blue{color:#0756b8;background:#dceeff}.tone-orange{color:#0c6fb8;background:#e7f7ff}.tone-green{color:#073b75;background:#d5e8ff}.tone-sky{color:#0a5f9f;background:#def4ff}.workflow-index{letter-spacing:.12em;opacity:.55;font-size:11px;font-weight:700;position:absolute;top:20px;right:22px}.workflow-icon{border:1px solid color-mix(in srgb, currentColor 16%, transparent);background:#ffffff75;border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.workflow-copy{gap:8px;margin-top:auto;display:grid}.workflow-copy strong{letter-spacing:-.035em;font-size:clamp(20px,2vw,30px)}.workflow-copy small{opacity:.75;max-width:330px;font-size:12px;line-height:1.6}.workflow-link{margin-top:18px;font-size:11px;font-weight:700}.text-button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:12px}.text-button:hover{color:var(--brand)}.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.portfolio-card{aspect-ratio:1.5;border:1px solid color-mix(in srgb, var(--brand) 12%, var(--border));background:var(--surface-soft);text-align:left;cursor:pointer;min-width:0;box-shadow:0 14px 36px color-mix(in srgb, var(--brand) 8%, transparent);border-radius:14px;padding:0;position:relative;overflow:hidden}.portfolio-card:after{content:"";pointer-events:none;background:linear-gradient(#0000 46%,#03142bbd 100%);position:absolute;inset:0}.portfolio-card img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;transition:transform .35s cubic-bezier(.16,1,.3,1);display:block}.portfolio-card__label{z-index:1;color:#f7fbff;letter-spacing:-.025em;text-shadow:0 2px 14px #03142b6b;font-size:clamp(18px,2vw,24px);font-weight:700;position:absolute;bottom:19px;left:22px}.portfolio-card:hover img{transform:scale(1.025)}.portfolio-card:active{transform:translateY(1px)}.portfolio-card:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 70%, white);outline-offset:3px}.toast{z-index:100;color:#fff;opacity:0;pointer-events:none;background:#17171a;border:1px solid #ffffff24;border-radius:9px;max-width:calc(100vw - 30px);padding:11px 16px;font-size:12px;transition:opacity .2s,transform .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);box-shadow:0 16px 40px #00000038}.toast.is-visible{opacity:1;transform:translate(-50%)}@keyframes hero-in{0%{opacity:0;transform:scale(1.06)}to{opacity:1;transform:scale(1.015)}}.reveal{animation:.5s both reveal}@keyframes reveal{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (width<=1120px){.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-grid{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:220px}}@media (width<=820px){.sidebar,.sidebar.is-collapsed{width:clamp(138px,42vw,184px);padding:14px 10px 12px;transform:translate(-100%);box-shadow:20px 0 60px #0003}.sidebar.is-open{transform:translate(0)}.sidebar.is-collapsed .brand-row{justify-content:flex-start;padding:0 7px 13px}.sidebar.is-collapsed .brand-button{justify-content:flex-start;width:auto}.sidebar.is-collapsed .brand-mark{width:36px;height:36px}.sidebar.is-collapsed .brand-wordmark{display:block}.sidebar.is-collapsed .nav-item{justify-content:flex-start;padding:0 12px}.sidebar.is-collapsed .nav-item span,.sidebar.is-collapsed .nav-chevron,.sidebar.is-collapsed .creation-menu.is-open{display:block}.sidebar-collapse-button,.mobile-nav-hint{border:1px solid var(--border);appearance:none;background:color-mix(in srgb, var(--brand) 11%, var(--surface));width:32px;height:32px;color:var(--brand);box-shadow:0 5px 14px color-mix(in srgb, var(--brand) 10%, transparent);border-radius:7px;place-items:center;padding:0;display:grid}.sidebar-collapse-button{margin-left:auto}.sidebar-collapse-button svg,.mobile-nav-hint svg{stroke-width:1.8px}.sidebar-collapse-button:hover,.mobile-brand-trigger:hover .mobile-nav-hint{background:color-mix(in srgb, var(--brand) 11%, var(--surface));color:var(--brand)}.drawer-scrim{z-index:35;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a0a0c75;border:0;display:block;position:fixed;inset:0}.main-column,.sidebar-is-collapsed .main-column{margin-left:0}.topbar{gap:9px;height:62px;padding:0 16px}.mobile-brand-trigger{cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;width:80px;height:40px;padding:3px 4px 3px 2px;display:flex}.mobile-brand-trigger img{-o-object-fit:contain;object-fit:contain;width:32px;height:32px;transform:translate(-2px)}.mobile-nav-hint{flex:none}.download-button span,.topbar-optional{display:none}.download-button{justify-content:center;width:38px;padding:0}.credit-chip{display:none}.content-wrap{padding:14px 14px 40px}.hero{border-radius:14px;min-height:570px}.hero-content{width:88%;padding:90px 28px}.hero-shade{background:linear-gradient(90deg,#041836e6,#07418466),linear-gradient(#0000 44%,#041f44ad)}.section-block{padding-top:60px}.split-heading{flex-direction:column;align-items:flex-start}.workflow-grid{grid-template-rows:none;grid-template-columns:1fr 1fr;grid-auto-rows:180px;gap:10px}}@media (width<=560px){.hero{min-height:520px}.hero-content{width:100%;padding:84px 22px}.hero h1{font-size:48px}.hero-copy{max-width:280px;font-size:13px}.hero-actions{flex-wrap:wrap}.hero-status{bottom:18px;right:20px}.section-block{padding-top:52px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:27px}:is(#models,#workflow,#inspiration) .section-heading h2{letter-spacing:.01em;font-family:Yunhu Model Title,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-weight:500;line-height:1.25}#workflow .section-heading h2{max-width:350px;font-size:24px;line-height:1.22}#inspiration .section-heading h2{font-size:24px;line-height:1.22}.model-grid{grid-template-columns:1fr}.workflow-grid{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:8px}.workflow-card{min-height:136px;padding:14px}.workflow-index{font-size:9px;top:12px;right:13px}.workflow-icon{border-radius:8px;width:34px;height:34px}.workflow-copy{gap:4px}.workflow-copy strong{font-size:16px}.workflow-copy small{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10px;line-height:1.4;display:-webkit-box;overflow:hidden}.workflow-link{display:none}#inspiration .section-heading{margin-bottom:14px}#inspiration .section-heading h2{white-space:nowrap}.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portfolio-card{aspect-ratio:1.08;box-shadow:0 8px 22px color-mix(in srgb, var(--brand) 7%, transparent);border-radius:10px}.portfolio-card__label{font-size:15px;bottom:11px;left:12px}}@media (width<=360px){.sidebar,.sidebar.is-collapsed{padding-left:8px;padding-right:8px}.brand-row,.sidebar.is-collapsed .brand-row{padding-left:2px;padding-right:2px}.brand-button{gap:5px}.brand-wordmark{width:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:is(.creation-prompt,.script-entry__field,.script-composer,.storyboard-entry__form,.storyboard-guided-shot__editor,.storyboard-inspector-form,.role-editor__form) :is(input,select,textarea){font-size:15px;line-height:1.65}:is(.creation-prompt,.script-entry__field,.script-composer,.storyboard-entry__form,.storyboard-guided-shot__editor,.storyboard-inspector-form,.role-editor__form) :is(input,textarea)::-moz-placeholder{color:color-mix(in srgb, var(--muted) 84%, transparent);opacity:1}:is(.creation-prompt,.script-entry__field,.script-composer,.storyboard-entry__form,.storyboard-guided-shot__editor,.storyboard-inspector-form,.role-editor__form) :is(input,textarea)::placeholder{color:color-mix(in srgb, var(--muted) 84%, transparent);opacity:1}.creation-prompt textarea{min-height:124px;padding:10px 2px 18px;font-size:16px;line-height:1.7}.creation-prompt__handoff{font-size:12px}.creation-prompt__handoff button,.creation-prompt__count{font-size:11px}.prompt-preset-bar{gap:9px;margin-top:13px}.prompt-preset-bar__heading>span{font-size:13px;font-weight:720}.prompt-preset-bar__heading small{font-size:12px;font-weight:520}.prompt-preset-bar__list{gap:9px;padding-bottom:7px}.prompt-preset-bar__list>button{border-radius:10px;gap:5px;min-width:210px;max-width:300px;padding:11px 12px}.prompt-preset-bar__list strong{font-size:13px;font-weight:720}.prompt-preset-bar__list span{font-size:12.5px;line-height:1.6}.prompt-preset-bar.is-compact .prompt-preset-bar__list>button{min-width:190px;padding:9px 10px}.prompt-preset-bar.is-compact .prompt-preset-bar__list span{-webkit-line-clamp:2}.script-entry__field>span,.script-entry__field legend,.storyboard-entry__form label,.storyboard-guided-shot__editor label,.storyboard-inspector-form label,.role-editor__form label>span{font-size:13px}.workflow-copy small{font-size:13px;line-height:1.62}.workflow-link,.workflow-index{font-size:12px}@media (width<=700px){:is(.creation-prompt,.script-entry__field,.script-composer,.storyboard-entry__form,.storyboard-guided-shot__editor,.storyboard-inspector-form,.role-editor__form) :is(input,select,textarea){font-size:16px}.prompt-preset-bar__list>button,.prompt-preset-bar.is-compact .prompt-preset-bar__list>button{min-width:min(78vw,260px)}.workflow-copy small{font-size:13px}}
