:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface-primary:#f9fafb;--surface-sidebar:#fff;--surface-card:#fff;--surface-subtle:#f3f4f6;--text-primary:#111827;--text-secondary:#4b5563;--text-muted:#6b7280;--border-default:#e5e7eb;--border-subtle:#eef0f3;--accent-primary:#2563eb;--accent-hover:#1d4ed8;--status-success:#16a34a;--status-warning:#d97706;--status-error:#dc2626;--status-info:#2563eb;--shadow-card:0 1px 2px #0f172a0a, 0 8px 24px #0f172a09;--shadow-elevated:0 18px 60px #0f172a24}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface-primary:#111318;--surface-sidebar:#171a21;--surface-card:#1d212a;--surface-subtle:#252a35;--text-primary:#f9fafb;--text-secondary:#d1d5db;--text-muted:#9ca3af;--border-default:#303744;--border-subtle:#262c37;--accent-primary:#60a5fa;--accent-hover:#93c5fd;--status-success:#22c55e;--status-warning:#fbbf24;--status-error:#f87171;--status-info:#60a5fa;--shadow-card:0 1px 2px #00000038;--shadow-elevated:0 18px 60px #0000006b}*{box-sizing:border-box}html{background:var(--surface-primary);font-feature-settings:"cv01", "ss03";min-width:320px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--accent-primary) 10%, transparent), transparent 28rem), var(--surface-primary);color:var(--text-primary);margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}code,pre{font-variant-numeric:tabular-nums;font-family:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,monospace}.min-w-0{min-width:0}.shell{grid-template-columns:264px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-right:1px solid var(--border-subtle);background:color-mix(in srgb, var(--surface-sidebar) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);width:264px;padding:20px 14px;position:fixed;inset:0 auto 0 0;overflow-y:auto}.content-shell{grid-column:2;min-width:0}.topbar{z-index:20;border-bottom:1px solid var(--border-subtle);background:color-mix(in srgb, var(--surface-primary) 90%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);align-items:center;gap:16px;min-height:64px;padding:12px 24px;display:flex;position:sticky;top:0}.brand,.auth-brand{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{background:url(/favicon.svg) 50%/contain no-repeat;border-radius:12px;flex:none;place-items:center;width:36px;height:36px;display:inline-grid}.brand-mark svg{display:none}.brand strong,.brand small{display:block}.brand strong{color:var(--text-primary);font-size:15px;font-weight:700;line-height:1.1}.brand small{color:var(--text-muted);font-size:12px;font-weight:500}.sidebar nav{gap:4px;margin-top:18px;display:grid}.sidebar nav p{color:var(--text-muted);margin:12px 10px 6px;font-size:12px;font-weight:700}.nav-link{min-height:38px;color:var(--text-secondary);white-space:nowrap;border-radius:10px;align-items:center;gap:10px;padding:0 10px;font-size:14px;font-weight:600;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out;display:flex}.nav-link:hover,.nav-link.active{background:color-mix(in srgb, var(--accent-primary) 9%, transparent);color:var(--accent-primary)}.nav-link:active{transform:translateY(1px)}.mobile-brand{color:var(--text-primary);align-items:center;gap:8px;font-weight:700;display:none}.global-search-wrap{min-width:0;position:relative}.global-search,.table-search{border:1px solid var(--border-default);background:var(--surface-subtle);min-width:0;color:var(--text-muted);border-radius:12px;align-items:center;gap:8px;display:flex}.global-search{width:min(420px,44vw);padding:0 12px}.global-search input,.table-search input,.field input{width:100%;min-width:0;color:var(--text-primary);background:0 0;border:0;outline:0}.global-search input{height:40px}.search-results{z-index:30;border:1px solid var(--border-default);background:var(--surface-card);width:min(420px,88vw);box-shadow:var(--shadow-elevated);border-radius:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.search-result{min-height:44px;color:var(--text-secondary);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 12px;font-size:14px;display:grid}.search-result:hover{background:var(--surface-subtle);color:var(--text-primary)}.search-result code{color:var(--text-muted);font-size:12px}.topbar-actions,.page-actions,.card-action,.row-actions,.quick-actions,.form-actions,.pagination{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.topbar-actions{justify-content:flex-end;margin-left:auto}.icon-button,.copy-button,.button,.user-chip{border:1px solid var(--border-default);white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 14px;transition:background .12s ease-out,border-color .12s ease-out,color .12s ease-out,transform .12s ease-out;display:inline-flex}.button-primary{border-color:var(--accent-primary);background:var(--accent-primary);color:#fff;box-shadow:0 8px 18px color-mix(in srgb, var(--accent-primary) 20%, transparent)}.button-secondary,.icon-button,.copy-button,.user-chip{background:var(--surface-card);color:var(--text-secondary)}.button-ghost{color:var(--text-secondary);background:0 0;border-color:#0000}.button.is-active,.button-ghost.is-active{border-color:color-mix(in srgb, var(--accent-primary) 24%, var(--border-default));background:color-mix(in srgb, var(--accent-primary) 10%, transparent);color:var(--accent-primary)}.button-danger{border-color:color-mix(in srgb, var(--status-error) 34%, var(--border-default));background:color-mix(in srgb, var(--status-error) 8%, transparent);color:var(--status-error)}.button:hover,.icon-button:hover,.copy-button:hover,.user-chip:hover{border-color:color-mix(in srgb, var(--accent-primary) 46%, var(--border-default));color:var(--accent-primary);transform:translateY(-1px)}.button-primary:hover{background:var(--accent-hover);color:#fff}.button:disabled,.button.is-disabled{cursor:not-allowed;opacity:.58;transform:none}.button:focus-visible,.icon-button:focus-visible,.copy-button:focus-visible,.nav-link:focus-visible,.user-chip:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid color-mix(in srgb, var(--accent-primary) 70%, transparent);outline-offset:2px}.user-chip{font-size:14px;font-weight:600}main{width:100%;margin:0;padding:18px 24px 52px}.page-stack{gap:22px;display:grid}.page-header{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.eyebrow{color:var(--accent-primary);margin:0 0 8px;font-size:12px;font-weight:700}.page-header h1,.auth-copy h1{color:var(--text-primary);text-wrap:balance;margin:0;font-size:clamp(24px,4vw,30px);font-weight:700;line-height:1.2}.page-header p,.auth-copy p,.card-header p,.amount-panel p,.qr-panel p{color:var(--text-secondary);margin:6px 0 0;line-height:1.6}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.card,.auth-panel,.amount-panel,.qr-panel{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:16px}.card{min-width:0;padding:22px}.card-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.card h2,.amount-panel h2,.qr-panel h2{color:var(--text-primary);margin:0;font-size:18px;font-weight:700;line-height:1.35}.metric-card{gap:9px;display:grid;position:relative}.metric-icon{background:color-mix(in srgb, var(--accent-primary) 10%, transparent);width:38px;height:38px;color:var(--accent-primary);border-radius:12px;place-items:center;display:grid}.metric-label{color:var(--text-muted);margin:0;font-size:13px;font-weight:600}.metric-card strong{color:var(--text-primary);font-size:30px;font-weight:700;line-height:1.1}.metric-card span{color:var(--text-secondary);font-size:13px}.dashboard-grid,.recharge-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.45fr);gap:16px;display:grid}.subscription-page{gap:18px;width:100%;min-width:0;display:grid}.subscription-toolbar{justify-content:space-between;align-items:center;gap:16px;margin:-4px 0 6px;display:flex}.subscription-tabs{border:1px solid var(--border-default);background:var(--surface-subtle);border-radius:12px;gap:4px;max-width:100%;padding:4px;display:inline-flex;overflow-x:auto}.subscription-tabs span{min-height:34px;color:var(--text-secondary);white-space:nowrap;border-radius:9px;align-items:center;padding:0 14px;font-size:14px;font-weight:700;display:inline-flex}.subscription-tabs .active{background:var(--surface-card);color:var(--accent-primary);box-shadow:var(--shadow-card)}.subscription-hero-grid,.subscription-lower{grid-template-columns:minmax(0,1fr) minmax(300px,.24fr);align-items:stretch;gap:16px;display:grid}.recharge-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,.24fr);align-items:start;gap:16px;display:grid}.subscription-hero,.wallet-panel,.plan-card,.subscription-orders,.subscription-notes>div{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:16px}.subscription-hero{background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 9%, transparent), transparent 48%), var(--surface-card);padding:28px}.hero-meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-weight:700;display:flex}.subscription-hero h1{max-width:780px;color:var(--text-primary);text-wrap:balance;margin:18px 0 8px;font-size:clamp(28px,2.8vw,38px);font-weight:760;line-height:1.18}.subscription-hero p,.wallet-panel p,.plan-card p,.subscription-orders p,.subscription-notes p{color:var(--text-secondary);margin:0;line-height:1.6}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.wallet-panel{align-content:start;gap:14px;padding:22px;display:grid}.wallet-panel strong,.wallet-panel span{display:block}.wallet-panel strong{color:var(--text-primary);font-size:16px;font-weight:750}.wallet-panel span{color:var(--text-muted);margin-top:3px;font-size:13px;font-weight:600}.wallet-panel b{color:var(--text-primary);font-size:34px;font-weight:760;line-height:1.1}.wallet-panel i{background:color-mix(in srgb, var(--accent-primary) 10%, var(--surface-subtle));border-radius:999px;height:9px;display:block;overflow:hidden}.wallet-panel i span{background:var(--accent-primary);width:64%;height:100%;margin:0}.subscription-plans{grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px;min-width:0;display:grid}.plan-card{align-content:start;min-height:282px;padding:20px;display:grid}.plan-card.featured{border-color:color-mix(in srgb, var(--accent-primary) 52%, var(--border-default));background:linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 8%, transparent), transparent 44%), var(--surface-card);box-shadow:0 18px 48px color-mix(in srgb, var(--accent-primary) 12%, transparent)}.plan-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.plan-head h2,.subscription-orders h2,.subscription-notes h2{color:var(--text-primary);margin:0;font-size:18px;font-weight:760;line-height:1.3}.plan-price{color:var(--text-primary);margin:18px 0 10px;font-size:30px;font-weight:760;line-height:1.1}.plan-price small{color:var(--text-muted);font-size:14px;font-weight:600}.plan-card ul{color:var(--text-secondary);gap:10px;margin:18px 0 22px;padding:0;font-size:13px;line-height:1.45;list-style:none;display:grid}.plan-card li{grid-template-columns:12px minmax(0,1fr);gap:8px;display:grid}.plan-card li:before{background:var(--accent-primary);content:"";border-radius:999px;width:6px;height:6px;margin-top:7px}.plan-card .button{align-self:end;width:100%}.custom-plan .field{margin:16px 0 12px}.recharge-workspace .qr-panel{min-height:0;position:sticky;top:84px}.subscription-orders{overflow:hidden}.subscription-orders .panel-head{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:0 18px;display:flex}.subscription-notes{gap:14px;display:grid}.subscription-notes>div{padding:20px}.subscription-notes h2{margin-bottom:8px}.usage-overview{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;display:grid}.usage-billing,.usage-plan{justify-content:space-between;align-items:stretch;gap:22px;display:flex}.usage-billing h2,.usage-plan h2{color:var(--text-primary);margin:0;font-size:34px;font-weight:750;line-height:1.05}.usage-billing span,.usage-plan span{color:var(--text-secondary);margin-top:10px;line-height:1.6;display:block}.usage-plan{flex-direction:column}.usage-progress{align-content:end;gap:10px;min-width:min(260px,100%);display:grid}.usage-progress div{color:var(--text-muted);justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:700;display:flex}.usage-progress strong{color:var(--text-primary)}.usage-progress i{background:linear-gradient(90deg, var(--accent-primary), color-mix(in srgb, var(--accent-primary) 56%, #22c55e));border-radius:999px;block-size:9px;max-inline-size:100%;display:block}.period-tabs{border:1px solid var(--border-default);background:var(--surface-card);width:fit-content;box-shadow:var(--shadow-card);border-radius:14px;flex-wrap:wrap;gap:6px;padding:5px;display:inline-flex}.copy-row,.code-card{border:1px solid var(--border-subtle);background:var(--surface-subtle);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:14px;display:flex}.copy-row+.copy-row,.quick-actions{margin-top:12px}.copy-row span{color:var(--text-muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.copy-row code,.code-card code,td code{color:var(--text-primary);overflow-wrap:anywhere}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{border-bottom:1px solid var(--border-subtle);text-align:left;vertical-align:middle;padding:13px 10px;font-size:14px}th{color:var(--text-muted);font-size:12px;font-weight:700}tbody tr:hover{background:color-mix(in srgb, var(--accent-primary) 3%, transparent)}.badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.badge-success{background:color-mix(in srgb, var(--status-success) 12%, transparent);color:var(--status-success)}.badge-warning{background:color-mix(in srgb, var(--status-warning) 13%, transparent);color:var(--status-warning)}.badge-danger{background:color-mix(in srgb, var(--status-error) 12%, transparent);color:var(--status-error)}.badge-info{background:color-mix(in srgb, var(--status-info) 12%, transparent);color:var(--status-info)}.field{gap:8px;display:grid}.field span{color:var(--text-secondary);font-size:13px;font-weight:700}.field input,.field select,.table-search{min-height:40px;padding:0 12px}.field input,.field select,.table-wrap input{border:1px solid var(--border-default);background:var(--surface-subtle);color:var(--text-primary);border-radius:12px}.table-wrap input{width:min(150px,100%);min-height:34px;padding:0 10px}.field small{color:var(--text-muted)}.filter-grid,.amount-grid,.docs-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.form-actions{margin-top:16px}.form-message{color:var(--text-secondary);margin:12px 0 0;font-size:13px}.copy-block{border:1px solid color-mix(in srgb, var(--accent-primary) 18%, var(--border-default));background:color-mix(in srgb, var(--accent-primary) 6%, var(--surface-card));border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:14px;display:flex}.copy-block code{overflow-wrap:anywhere}.inline-edit-form{display:contents}.switch-field{align-items:center;gap:8px;display:inline-flex}.pagination{color:var(--text-muted);justify-content:flex-end;margin-top:14px;font-size:13px}.notice-list{gap:10px;display:grid}.notice-list p{color:var(--text-secondary);align-items:center;gap:8px;margin:0;display:flex}.auth-page{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-page:before{content:"";z-index:-1;background:radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-primary) 13%, transparent), transparent 30rem), var(--surface-primary);position:fixed;inset:0}.auth-panel{width:min(460px,100%);box-shadow:var(--shadow-elevated);padding:30px}.auth-brand{color:var(--text-primary);justify-content:center;font-size:18px;font-weight:700}.auth-copy,.auth-form{text-align:center;gap:16px;margin-top:26px;display:grid}.auth-form{text-align:left}.auth-footer,.forgot-link{color:var(--text-secondary);font-size:14px}.auth-footer a,.forgot-link{color:var(--accent-primary);font-weight:700}.auth-footer{justify-content:center;gap:8px;margin:18px 0 0;display:flex}.forgot-link{margin-top:12px;display:inline-flex}.amount-panel,.qr-panel{padding:22px}.amount-grid{margin:18px 0}.amount-panel .amount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amount-option{border:1px solid var(--border-default);background:var(--surface-card);min-height:78px;color:var(--text-primary);text-align:left;border-radius:14px;grid-template-columns:auto 1fr;align-items:baseline;gap:6px;padding:16px;transition:background .12s ease-out,border-color .12s ease-out,transform .12s ease-out;display:grid}.amount-option:hover,.amount-option.active{border-color:color-mix(in srgb, var(--accent-primary) 50%, var(--border-default));background:color-mix(in srgb, var(--accent-primary) 7%, var(--surface-card))}.amount-option:active{transform:translateY(1px)}.amount-option strong{font-size:26px;font-weight:700}.amount-option small{color:var(--text-muted);grid-column:1/-1}.qr-panel{text-align:left;align-content:start;justify-items:stretch;gap:16px;display:grid}.qr-box{aspect-ratio:1;border:1px solid var(--border-default);background:var(--surface-subtle);width:min(260px,100%);color:var(--accent-primary);border-radius:18px;place-items:center;margin:0 auto;display:grid;position:relative;overflow:hidden}.qr-box img{object-fit:contain;background:#fff;width:100%;height:100%;padding:14px}.purchase-page{gap:16px;width:100%;min-width:0;display:grid}.purchase-tabs{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding-bottom:10px;display:flex}.purchase-tabs nav{border:1px solid var(--border-default);background:color-mix(in srgb, var(--surface-subtle) 86%, var(--surface-card));border-radius:10px;max-width:100%;padding:3px;display:inline-flex;overflow-x:auto}.purchase-tabs a{min-height:32px;color:var(--text-muted);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.purchase-tabs a.active{background:var(--surface-card);color:var(--accent-primary);box-shadow:0 1px 2px #0f172a14}.purchase-actions{flex:none;gap:8px;display:inline-flex}.purchase-shell{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;width:100%;min-width:0;display:grid}.purchase-main,.purchase-side{gap:16px;min-width:0;display:grid}.purchase-side{position:sticky;top:84px}.purchase-card,.purchase-plan-card{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:14px}.purchase-card{padding:20px}.purchase-hero-card{background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 9%, transparent), transparent 52%), var(--surface-card);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;min-height:158px;display:grid}.purchase-card-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.purchase-hero-card p,.purchase-card-head p,.payment-detail p{color:var(--accent-primary);margin:0 0 8px;font-size:12px;font-weight:800}.purchase-hero-card h1,.purchase-card-head h1{color:var(--text-primary);text-wrap:balance;margin:0;font-size:28px;font-weight:780;line-height:1.18}.purchase-hero-card span,.purchase-card-head span,.payment-detail span,.purchase-info-card span,.wallet-summary-card p,.purchase-support span,.invoice-grid span{color:var(--text-secondary);font-size:13px;line-height:1.55}.purchase-hero-card h1+span,.purchase-card-head h1+span{margin-top:10px;display:block}.purchase-hero-meta{color:var(--text-muted);white-space:nowrap;justify-items:end;gap:8px;font-size:12px;font-weight:700;display:grid}.plan-matrix{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.purchase-plan-card{min-height:260px;padding:18px;transition:border-color .12s ease-out,background .12s ease-out,transform .12s ease-out;display:grid}.purchase-plan-card.is-selected{border-color:color-mix(in srgb, var(--accent-primary) 54%, var(--border-default));background:linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 7%, transparent), transparent 45%), var(--surface-card)}.purchase-plan-card:hover{transform:translateY(-1px)}.purchase-plan-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.purchase-plan-head h2,.payment-detail h2,.purchase-info-card strong,.wallet-summary-card span,.purchase-support strong,.invoice-grid strong{color:var(--text-primary);margin:0;font-size:16px;font-weight:760;line-height:1.3}.purchase-plan-price{color:var(--text-primary);margin:18px 0 10px;font-size:28px;font-weight:780;line-height:1.05}.purchase-plan-price small{color:var(--text-muted);font-size:13px;font-weight:600}.purchase-plan-card p{min-height:44px;color:var(--text-secondary);margin:0;font-size:13px;line-height:1.55}.purchase-plan-card ul{color:var(--text-secondary);gap:9px;margin:16px 0 18px;padding:0;font-size:13px;line-height:1.45;list-style:none;display:grid}.purchase-plan-card li{grid-template-columns:12px minmax(0,1fr);gap:8px;display:grid}.purchase-plan-card li:before{background:var(--accent-primary);content:"";border-radius:999px;width:5px;height:5px;margin-top:7px}.purchase-plan-card .button{align-self:end;width:100%}.amount-compose-card{gap:16px;display:grid}.amount-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.amount-choice{border:1px solid var(--border-default);background:var(--surface-card);min-height:76px;color:var(--text-primary);text-align:left;border-radius:12px;align-items:baseline;gap:8px;padding:16px;transition:background .12s ease-out,border-color .12s ease-out,transform .12s ease-out;display:flex}.amount-choice:hover,.amount-choice.active{border-color:color-mix(in srgb, var(--accent-primary) 54%, var(--border-default));background:color-mix(in srgb, var(--accent-primary) 6%, var(--surface-card))}.amount-choice:active{transform:translateY(1px)}.amount-choice span{color:var(--text-muted);font-size:14px;font-weight:700}.amount-choice strong{font-size:28px;font-weight:780}.amount-submit{width:fit-content}.payment-card{grid-template-columns:260px minmax(0,1fr);align-items:center;gap:24px;display:grid}.payment-qr-box{aspect-ratio:1;border:1px solid var(--border-default);background:var(--surface-subtle);width:min(260px,100%);color:var(--accent-primary);border-radius:18px;place-items:center;display:grid;overflow:hidden}.payment-qr-box img{object-fit:contain;background:#fff;width:100%;height:100%;padding:14px}.payment-detail{gap:12px;display:grid}.order-summary{gap:10px;margin:4px 0 0;display:grid}.order-summary div{grid-template-columns:88px minmax(0,1fr);gap:12px;display:grid}.order-summary dd{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:13px}.wallet-summary-card,.purchase-info-card{align-content:start;gap:10px;display:grid}.wallet-summary-card svg,.purchase-info-card svg{color:var(--accent-primary)}.wallet-summary-card strong{color:var(--text-primary);font-size:32px;font-weight:780;line-height:1.05}.purchase-table-card,.invoice-card{overflow:hidden}.invoice-grid,.purchase-support{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.invoice-grid div,.purchase-support div{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:14px;gap:8px;padding:18px;display:grid}.qr-grid{background:linear-gradient(90deg, var(--text-primary) 8px, transparent 8px) 0 0 / 22px 22px, linear-gradient(var(--text-primary) 8px, transparent 8px) 0 0 / 22px 22px;opacity:.08;position:absolute;inset:18px}.polling-state{color:var(--text-secondary);justify-self:start;align-items:center;gap:8px;font-size:14px;display:inline-flex}.spin-icon{animation:1s linear infinite spin}.order-summary{text-align:left;gap:10px;width:100%;margin:14px 0 0;display:grid}.order-summary div{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;display:grid}.order-summary dt{color:var(--text-muted);font-size:12px;font-weight:700}.order-summary dd{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;margin:0}pre{background:var(--surface-subtle);max-width:100%;color:var(--text-secondary);border-radius:14px;margin:0;padding:14px;font-size:13px;line-height:1.6;overflow-x:auto}.skeleton-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.skeleton,.skeleton-card{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:16px}.page-header-skeleton,.skeleton-card{gap:12px;padding:20px;display:grid}.skeleton span,.skeleton strong,.skeleton p,.skeleton-card span,.skeleton-card strong,.skeleton-card p{background:linear-gradient(90deg, var(--surface-subtle), color-mix(in srgb, var(--accent-primary) 9%, var(--surface-subtle)), var(--surface-subtle));background-size:200% 100%;border-radius:999px;animation:1.35s ease-in-out infinite shimmer;display:block;overflow:hidden}.skeleton span,.skeleton-card span{width:120px;height:14px}.skeleton strong,.skeleton-card strong{width:min(360px,80%);height:30px}.skeleton p,.skeleton-card p{width:100%;height:14px}.skeleton-table p{height:38px}.skeleton-usage-card{min-height:148px}.skeleton-usage-card strong{height:38px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:960px){.shell{display:block}.sidebar{display:none}.content-shell{min-width:0}.mobile-brand{display:flex}.global-search{width:min(100%,360px)}.dashboard-grid,.recharge-grid,.usage-overview,.subscription-hero-grid,.recharge-workspace,.subscription-lower,.purchase-shell,.payment-card{grid-template-columns:1fr}.purchase-side{position:static}.subscription-plans,.plan-matrix,.amount-choice-grid,.invoice-grid,.purchase-support{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-billing{flex-direction:column}.amount-panel .amount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.topbar{flex-direction:column;align-items:stretch;padding:12px 16px}.topbar-actions,.global-search,.global-search-wrap,.page-actions,.subscription-tabs,.purchase-tabs nav,.purchase-actions{width:100%}main{padding:20px 16px 38px}.subscription-toolbar,.purchase-tabs,.page-header,.card-header,.purchase-card-head,.purchase-hero-card,.copy-row,.code-card,.usage-billing,.usage-plan{flex-direction:column;align-items:stretch}.period-tabs{width:100%;display:flex}.amount-panel .amount-grid,.subscription-plans,.plan-matrix,.amount-choice-grid,.invoice-grid,.purchase-support{grid-template-columns:1fr}.purchase-hero-meta{justify-items:start}.page-actions,.purchase-actions,.amount-submit,.button,.copy-button{width:100%}.auth-panel{padding:24px}}:root{--console-blue-soft:#eef5ff;--console-blue-mist:#f6f9ff;--console-green:#18a957}.shell{grid-template-columns:230px minmax(0,1fr)}.sidebar{background:color-mix(in srgb, var(--surface-sidebar) 96%, transparent);flex-direction:column;width:230px;padding:18px 10px;display:flex}.content-shell{grid-column:2}.brand{margin:0 10px 28px}.brand-mark{border-radius:11px;width:32px;height:32px}.brand strong{font-size:16px}.brand small{margin-top:2px;font-size:12px}.sidebar nav{gap:5px;margin-top:0}.sidebar nav+nav{margin-top:18px}.nav-link{border-radius:9px;min-height:36px;padding:0 13px;font-size:14px}.nav-link.active{color:#2563eb;background:#eaf3ff}html[data-theme=dark] .nav-link.active{background:color-mix(in srgb, var(--accent-primary) 14%, transparent)}.sidebar-footer{gap:4px;margin-top:auto;padding:12px 10px 4px;display:grid}.sidebar-tool{min-height:34px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;font-size:14px;font-weight:650;display:flex}.sidebar-tool:hover{background:var(--surface-subtle);color:var(--accent-primary)}.topbar{background:color-mix(in srgb, var(--surface-card) 94%, transparent);justify-content:flex-end;gap:10px;min-height:50px;padding:8px 18px}.language-chip,.topbar-balance,.account-chip{min-height:30px;color:var(--text-secondary);background:0 0;border:0;border-radius:10px;align-items:center;gap:7px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.topbar-balance{color:#2563eb;background:#edf4ff}.account-chip{min-height:36px}.account-chip strong{background:var(--accent-primary);color:#fff;border-radius:999px;place-items:center;width:30px;height:30px;font-size:12px;display:grid}.account-chip span{gap:1px;min-width:0;display:grid}.account-chip b,.account-chip small{text-overflow:ellipsis;white-space:nowrap;max-width:132px;display:block;overflow:hidden}.account-chip b{color:var(--text-primary);font-size:12px}.account-chip small{color:var(--text-muted);font-size:11px}main{background:radial-gradient(circle at 22% 8%,#dbeafecc,#0000 34rem),linear-gradient(115deg,#f7fbff 0%,#f4f8ff 42%,#fbfbff 100%);min-height:calc(100dvh - 50px);padding:22px 28px 64px}html[data-theme=dark] main{background:radial-gradient(circle at 22% 8%, #2563eb24, transparent 34rem), var(--surface-primary)}.page-stack{gap:18px}.page-header{align-items:flex-start;min-height:36px}.page-header h1{font-size:22px}.page-header p{color:var(--text-muted);margin-top:2px;font-size:13px}.eyebrow{color:var(--text-secondary);margin-bottom:2px;font-size:12px}.card{border-radius:14px;padding:18px}.fenno-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.fenno-stat-card{border:1px solid var(--border-default);background:var(--surface-card);min-height:76px;box-shadow:var(--shadow-card);border-radius:14px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:16px;display:grid}.fenno-stat-icon{color:#2563eb;background:#dbeafe;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.fenno-stat-card:nth-child(3n+2) .fenno-stat-icon{color:#16a34a;background:#dcfce7}.fenno-stat-card:nth-child(3n) .fenno-stat-icon{color:#8b5cf6;background:#f3e8ff}.fenno-stat-card p,.fenno-stat-card span{color:var(--text-muted);margin:0;font-size:12px;font-weight:650}.fenno-stat-card strong{color:var(--text-primary);margin-top:2px;font-size:22px;line-height:1;display:block}.console-toolbar{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.console-toolbar-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.console-select,.console-input{border:1px solid var(--border-default);background:var(--surface-card);min-height:36px;color:var(--text-primary);border-radius:10px;padding:0 12px;font-size:13px}.console-input{min-width:230px}.chart-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.chart-card{min-height:210px}.empty-state{min-height:150px;color:var(--text-muted);text-align:center;place-items:center;font-size:13px;display:grid}.empty-state>div{justify-items:center;gap:8px;display:grid}.empty-state-icon{background:var(--surface-subtle);width:52px;height:52px;color:var(--text-muted);border-radius:14px;place-items:center;display:grid}.dashboard-lower{grid-template-columns:minmax(0,2.2fr) minmax(300px,.8fr);gap:16px;display:grid}.quick-action-list{gap:10px;display:grid}.quick-action{background:var(--surface-subtle);border-radius:12px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.quick-action i{color:#2563eb;background:#dbeafe;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.quick-action strong,.quick-action span{display:block}.quick-action span{color:var(--text-muted);margin-top:2px;font-size:12px}.endpoint-pill{background:var(--surface-card);width:fit-content;max-width:100%;color:var(--text-muted);border-radius:9px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:inline-flex}.endpoint-pill code{color:var(--text-primary)}.key-create-panel{border:1px solid var(--border-default);background:var(--surface-card);border-radius:14px;padding:16px}.wide-table-card{padding:0}.wide-table-card .table-wrap{box-shadow:none;border:0;border-radius:14px}.wide-table-card table{min-width:1100px}.center-panel{width:min(760px,100%);margin:0 auto}.profile-shell{gap:18px;width:min(820px,100%);margin:0 auto;display:grid}.profile-hero,.redeem-balance-card{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:var(--shadow-card);border-radius:16px;padding:22px}.profile-hero{grid-template-columns:70px minmax(0,1fr);align-items:center;gap:18px;display:grid}.avatar-large{background:var(--accent-primary);color:#fff;border-radius:18px;place-items:center;width:64px;height:64px;font-size:24px;font-weight:800;display:grid}.redeem-balance-card{color:#fff;text-align:center;background:linear-gradient(135deg,#3b82f6,#2563eb);justify-items:center;gap:8px;display:grid}.redeem-balance-card strong{font-size:34px}.referral-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.referral-page{gap:18px}.referral-page .page-header{min-height:34px}.referral-page .page-header h1{font-size:22px;line-height:1.2}.referral-page .page-header p{margin-top:2px;font-size:13px;line-height:1.45}.referral-page .referral-grid{gap:16px}.referral-page .fenno-stat-card{grid-template-columns:40px minmax(0,1fr);align-items:center;min-height:118px;padding:22px}.referral-page .fenno-stat-card strong{margin-top:8px;font-size:28px}.referral-page .fenno-stat-card span{margin-top:8px;display:block}.referral-page .fenno-stat-card>span{margin-top:0}.referral-page .fenno-stat-card>.fenno-stat-icon{place-self:center;place-items:center;margin-top:0;display:grid}.referral-page .fenno-stat-card>.fenno-stat-icon svg{display:block}.referral-page .fenno-stat-card strong.referral-rate-line{color:var(--text-primary);font-size:16px;font-weight:760;line-height:1.15}.referral-page .fenno-stat-card strong.referral-rate-line em,.referral-page .referral-rate-sub em{color:var(--accent-primary);font-style:normal;font-weight:800}.referral-page .fenno-stat-card strong.referral-rate-line em{font-size:22px}.referral-page .referral-rate-sub{color:var(--text-secondary);font-size:13px;font-weight:700}.referral-page .referral-rate-sub em{font-size:15px}.referral-page .card{padding:24px}.referral-page .card-header{margin-bottom:20px}.referral-page .card h2{font-size:18px}.referral-page .card-header p{margin-top:6px;font-size:13px;line-height:1.55}.referral-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.referral-page .field{gap:8px}.referral-page .field span{font-size:13px}.referral-page .field input{border-radius:10px;min-height:44px;font-size:14px;font-weight:650}.referral-page .form-actions{gap:10px;margin-top:16px;display:flex}.referral-page .callout-blue{color:#2563eb;border-radius:10px;margin-top:16px;padding:18px;font-size:14px;line-height:1.75}.referral-page .callout-blue strong{color:#2563eb;margin-bottom:4px;font-size:14px;display:block}.referral-page .callout-blue ul{margin:0;padding-left:18px}.referral-warning{color:var(--status-warning);margin:0;font-size:13px;font-weight:700}.referral-page .empty-state{border:1px dashed var(--border-default);border-radius:10px;min-height:78px;font-size:13px}.callout-blue{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:14px}.purchase-tabs{border-bottom:0;justify-content:center}.purchase-tabs nav{justify-content:center;width:min(897px,100%)}.purchase-tabs a{flex:1 1 0}.purchase-shell.is-subscription{grid-template-columns:1fr}.purchase-shell.is-subscription .purchase-main{width:min(897px,100%);margin:0 auto}.purchase-shell.is-balance{grid-template-columns:1fr}.purchase-shell.is-balance .purchase-main{width:min(897px,100%);margin:0 auto}.balance-recharge-flow{gap:16px;display:grid}.balance-account-card{align-content:center;gap:4px;min-height:64px;display:grid}.balance-account-card span,.amount-compose-card h2,.balance-payment-method h2{color:var(--text-secondary);margin:0;font-size:13px;font-weight:700}.balance-account-card strong{color:var(--console-green);font-size:14px;font-weight:800}.purchase-shell.is-balance .amount-compose-card,.purchase-shell.is-balance .balance-payment-method{padding:20px}.purchase-shell.is-balance .amount-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.purchase-shell.is-balance .amount-choice{border-radius:7px;justify-content:center;min-height:44px;padding:0 16px}.purchase-shell.is-balance .amount-choice strong{color:var(--text-secondary);font-size:14px;font-weight:800}.purchase-shell.is-balance .amount-choice.active strong{color:var(--accent-primary)}.purchase-shell.is-balance .field{gap:8px}.purchase-shell.is-balance .field input{min-height:44px}.balance-payment-method{gap:12px;display:grid}.balance-payment-option{border:1px solid color-mix(in srgb, var(--accent-primary) 58%, var(--border-default));background:color-mix(in srgb, var(--accent-primary) 5%, var(--surface-card));min-height:50px;color:var(--text-primary);border-radius:7px;justify-content:center;align-items:center;gap:8px;display:flex}.balance-payment-option svg{color:var(--accent-primary)}.balance-confirm-button{border-radius:8px;width:100%;min-height:44px}.purchase-shell.is-subscription .purchase-hero-card{display:none}.purchase-shell.is-subscription .plan-matrix{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.purchase-shell.is-subscription .purchase-plan-card{min-height:283px;padding:16px;position:relative;overflow:hidden}.purchase-shell.is-subscription .purchase-plan-head{min-height:64px;padding-right:110px}.purchase-shell.is-subscription .purchase-plan-head>div{width:100%;min-width:0}.purchase-shell.is-subscription .purchase-plan-head h2{align-items:center;gap:9px;font-size:18px;display:inline-flex}.purchase-shell.is-subscription .purchase-plan-head .badge{padding:2px 8px;font-size:11px}.purchase-shell.is-subscription .purchase-plan-head p{-webkit-line-clamp:2;min-height:auto;color:var(--text-muted);overflow-wrap:normal;text-wrap:pretty;word-break:keep-all;-webkit-box-orient:vertical;margin-top:5px;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.purchase-shell.is-subscription .purchase-plan-price{color:#059669;text-align:right;white-space:nowrap;width:106px;margin:0;font-size:26px;position:absolute;top:18px;right:16px}.purchase-shell.is-subscription .purchase-plan-price small,.purchase-shell.is-subscription .purchase-plan-price span{color:var(--text-muted);font-size:11px}.plan-discount-row{min-height:18px;color:var(--text-muted);justify-content:flex-end;gap:7px;font-size:11px;display:flex}.plan-discount-row span{color:#16a34a;background:#dcfce7;border-radius:6px;padding:1px 5px;font-weight:800}.plan-limit-grid{background:var(--surface-subtle);color:var(--text-muted);word-break:keep-all;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 9px;padding:10px 11px;font-size:11px;line-height:1.25;display:grid}.plan-limit-grid strong{color:var(--text-primary);font-weight:800}.purchase-shell.is-subscription .purchase-plan-card ul{word-break:keep-all;gap:5px;margin:14px 0 16px;font-size:12px}.purchase-shell.is-subscription .purchase-plan-card li{overflow-wrap:normal;grid-template-columns:14px minmax(0,1fr)}.purchase-shell.is-subscription .purchase-plan-card li:before{color:#16a34a;content:"✓";background:0 0;border-radius:0;width:auto;height:auto;margin:0;font-weight:900}.purchase-shell.is-subscription .purchase-plan-card .button{border-color:var(--console-green);background:var(--console-green);color:#fff;min-height:39px;box-shadow:none;border-radius:8px;font-size:14px}@media (max-width:1180px){.fenno-stat-grid,.referral-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:960px){.shell{display:block}.content-shell{grid-column:auto}.chart-grid,.dashboard-lower{grid-template-columns:1fr}.topbar{justify-content:space-between}}@media (max-width:640px){.fenno-stat-grid,.referral-grid{grid-template-columns:1fr}.console-toolbar{flex-direction:column;align-items:stretch}.console-toolbar-group,.console-input,.console-select,.language-chip,.topbar-balance,.account-chip{width:100%}}.shell.is-collapsed{grid-template-columns:64px minmax(0,1fr)}.shell.is-collapsed .sidebar{width:64px;padding:16px 8px}.shell.is-collapsed .brand{justify-content:center;margin:0 0 22px}.shell.is-collapsed .brand>span:last-child,.shell.is-collapsed .sidebar nav p,.shell.is-collapsed .nav-link>span,.shell.is-collapsed .nav-link em,.shell.is-collapsed .sidebar-tool>span{display:none}.shell.is-collapsed .nav-link,.shell.is-collapsed .sidebar-tool{justify-content:center;padding:0}.sidebar-backdrop{display:none}@media (max-width:960px){.shell.is-collapsed{display:block}.shell.is-mobile-open .sidebar{z-index:40;width:230px;box-shadow:var(--shadow-elevated);display:flex}.shell.is-mobile-open .sidebar-backdrop{z-index:30;cursor:pointer;background:#0f172a73;border:0;padding:0;display:block;position:fixed;inset:0}}.purchase-tabs.is-balance nav,.purchase-tabs.is-subscription nav{width:min(897px,100%)}.purchase-shell.is-balance .amount-choice{text-align:center;justify-content:center;align-items:center}.card-header p{color:var(--text-muted);font-size:13px}.profile-hero h2{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:18px;font-weight:700;line-height:1.3}.profile-hero p{color:var(--text-muted);margin:2px 0 0;font-size:13px;line-height:1.5}.profile-hero strong{color:var(--text-primary);font-size:14px}.profile-hero .form-actions{margin-top:8px}.profile-hero .filter-grid{margin-top:10px}.profile-hero .filter-grid>span{color:var(--text-secondary);font-size:13px;font-weight:600}.callout-blue{color:var(--text-secondary);font-size:13px;line-height:1.6}.callout-blue strong{color:var(--text-primary);font-size:13px}.callout-blue ul{margin:6px 0 0;padding-left:18px}
