.playground-page{max-width:1120px;margin:0 auto}.playground-workbench{flex-direction:column;gap:14px;display:flex}.playground-config{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:auto minmax(210px,1.1fr) minmax(190px,.75fr) minmax(170px,.7fr) auto;align-items:center;gap:20px;padding:14px 16px;display:grid}.config-heading{align-items:center;gap:9px;display:flex}.config-number{background:var(--surface-active);width:26px;height:26px;font-family:var(--serif);border-radius:6px;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.config-heading h2{white-space:nowrap;font-size:12px;font-weight:500}.playground-config .form-section>label{margin-bottom:5px}.range-label{justify-content:space-between;align-items:center;display:flex}.range-label output{font-family:var(--serif);font-size:13px}.temperature-field input[type=range]{width:100%;height:4px;accent-color:var(--ink);border:0;margin:8px 0 2px}.range-scale{color:var(--soft);justify-content:space-between;font-size:11px;display:flex}.stream-setting{justify-content:space-between;align-items:center;gap:13px;display:flex}.stream-setting strong,.stream-setting div span{display:block}.stream-setting strong{font-size:12px;font-weight:500}.stream-setting div span{color:var(--muted);margin-top:2px;font-size:11px}.config-status{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.config-status em{font-family:var(--serif);margin-left:3px;font-size:13px;font-style:normal}.playground-conversation{border:1px solid var(--line);background:var(--surface);min-height:570px;box-shadow:var(--shadow-soft);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.conversation-toolbar{border-bottom:1px solid var(--line);flex:0 0 46px;justify-content:space-between;align-items:center;gap:16px;min-height:46px;padding:0 15px;display:flex}.conversation-title,.conversation-model{min-width:0;color:var(--muted);align-items:center;gap:7px;font-size:11px;font-weight:500;display:inline-flex}.conversation-title{color:var(--ink);text-transform:uppercase}.conversation-model{text-overflow:ellipsis;white-space:nowrap;max-width:50%;overflow:hidden}.conversation-model .health-dot{flex:none}.conversation-transcript{overscroll-behavior:contain;background:color-mix(in srgb, var(--surface-soft) 52%, var(--surface));flex:auto;height:clamp(370px,51vh,610px);min-height:0;overflow:auto}.conversation-empty{width:min(390px,100% - 40px);height:100%;min-height:330px;color:var(--soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;margin:0 auto;font-size:13px;line-height:1.65;display:flex}.assistant-avatar,.message-avatar{border-radius:7px;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.assistant-avatar{background:var(--ink);color:var(--surface);font-family:var(--serif);font-size:14px;font-weight:700}.conversation-empty>.assistant-avatar{flex-basis:38px;width:38px;height:38px;font-size:17px}.message-list{width:min(820px,100%);margin:0 auto;padding:30px 28px 40px}.chat-message{grid-template-columns:30px minmax(0,1fr);align-items:flex-start;gap:12px;display:grid}.chat-message+.chat-message{margin-top:28px}.message-body{min-width:0}.message-author{color:var(--muted);margin-bottom:7px;font-size:11px;font-weight:500;display:block}.message-body p{color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px;line-height:1.75}.user-message{width:min(610px,86%);margin-left:auto}.user-message .user-avatar{background:var(--surface-active);color:var(--muted)}.user-message .message-body{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:11px 14px 12px}.user-message .message-author{margin-bottom:4px}.assistant-message-heading{justify-content:space-between;align-items:flex-start;gap:12px;height:25px;display:flex}.assistant-message-heading .message-author{margin:0}.message-identity{align-items:center;gap:8px;min-width:0;display:flex}.message-identity em{min-width:0;color:var(--soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-style:normal;overflow:hidden}.message-copy.icon-button{flex-basis:25px;width:25px;height:25px;margin-top:-5px}.assistant-response{padding-right:10px;position:relative}.assistant-response.is-streaming>p:after{background:var(--cyan);content:"";vertical-align:-2px;width:5px;height:14px;margin-left:3px;animation:1s ease-in-out infinite live-pulse;display:inline-block}.empty-response-copy{color:var(--soft)!important}.thinking{min-height:30px;color:var(--soft);align-items:center;gap:7px;font-size:12px;display:flex}.thinking i{background:var(--cyan);border-radius:50%;width:5px;height:5px;animation:1.1s ease-in-out infinite thinking}.thinking i:nth-child(2){background:var(--yellow);animation-delay:.12s}.thinking i:nth-child(3){background:var(--coral);animation-delay:.24s}.response-meta{color:var(--soft);align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.response-meta span+span:before{content:"·";margin-right:12px}.conversation-composer{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;flex-direction:column;flex:none;min-height:104px;margin:12px;padding:11px 11px 9px 14px;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 3px 12px #1718160a}.conversation-composer:focus-within{border-color:color-mix(in srgb, var(--cyan) 72%, var(--line-strong));box-shadow:0 0 0 3px color-mix(in srgb, var(--cyan-soft) 52%, transparent)}.conversation-composer textarea{resize:none;width:100%;min-height:42px;max-height:160px;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:13px;line-height:1.6;display:block}.conversation-composer textarea::placeholder{color:var(--soft)}.conversation-composer textarea:focus-visible{outline:0}.composer-footer{justify-content:space-between;align-items:flex-end;gap:14px;min-height:34px;margin-top:7px;display:flex}.composer-footer>span{min-width:0;max-width:60%;color:var(--soft);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.composer-footer>div{flex:none;align-items:center;gap:9px;display:flex}.composer-footer em{color:var(--soft);font-size:12px;font-style:normal}.composer-action{background:var(--ink);width:32px;height:32px;color:var(--surface);border-radius:50%;justify-content:center;align-items:center;transition:opacity .15s,transform .15s;display:inline-flex}.composer-action:hover:not(:disabled){opacity:.84;transform:translateY(-1px)}.stop-composer-action{background:var(--coral-soft);color:var(--danger)}.nav-scrim{display:none}.spin{animation:.85s linear infinite spin}.pulse{animation:1s ease-in-out infinite live-pulse}@keyframes spin{to{transform:rotate(360deg)}}@keyframes live-pulse{50%{opacity:.35}}@keyframes skeleton-pulse{50%{opacity:.45}}@keyframes thinking{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}@keyframes drawer-enter{0%{opacity:0;transform:translate(18px)}}@keyframes toast-enter{0%{opacity:0;transform:translateY(-14px)}}@media (max-width:1359px){.channel-list,.channel-list-skeleton{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1180px){.routing-snapshot-setting-fields,.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-settings-band{grid-template-columns:minmax(0,1fr);gap:19px}.pricing-settings-band>header p{max-width:none}.playground-config{grid-template-columns:auto minmax(190px,1fr) minmax(170px,.8fr) auto}.stream-setting{grid-column:2/4}.config-status{grid-area:1/4}}@media (max-width:980px){.marketing-header{grid-template-columns:1fr auto}.marketing-nav{display:none}.mobile-site-menu{display:block}.models-section,.documentation-section{grid-template-columns:minmax(0,1fr)}.provider-directory{margin-top:6px}:root{--sidebar-width:0px}.sidebar{width:244px;transition:transform .18s;transform:translate(-102%)}.sidebar.is-open{transform:translate(0)}.sidebar-close{display:inline-flex}.sidebar-footer,.sidebar-toggle{display:none}.nav-scrim{z-index:29;background:#12131147;width:100%;height:100%;display:block;position:fixed;inset:0}.mobile-menu{display:inline-flex}.overview-grid{grid-template-columns:minmax(0,1fr)}.log-toolbar{flex-wrap:wrap}.log-search{width:min(100%,420px)}.auto-refresh-toggle{margin-left:0}.user-toolbar{flex-wrap:wrap}.user-search{width:min(100%,430px)}.account-toolbar{flex-wrap:wrap}.account-search{width:min(100%,430px)}.user-refresh{margin-left:0}.pricing-settings-band{grid-template-columns:minmax(0,1fr);gap:19px}.pricing-settings-band>header p{max-width:none}.playground-config{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.config-heading,.stream-setting,.config-status{grid-area:auto}}@media (max-width:760px){.marketing-header{height:62px;padding:0 16px}.marketing-actions>.language-link,.marketing-auth-link,.marketing-console-button{display:none}.marketing-actions>.command-button{min-height:32px;padding:0 10px;font-size:12px}.marketing-hero{min-height:calc(100svh - 140px);padding:40px 16px 30px}.marketing-hero h1{font-size:64px}.marketing-hero .hero-copy>p{max-width:540px;font-size:15px}.provider-route-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.route-node{min-height:40px;font-size:12px}.route-direction{height:40px}.gateway-node{min-height:60px}.next-section-signal{height:50px}.marketing-section{padding:76px 20px}.section-intro h2,.docs-copy h2{font-size:42px}.capability-list{grid-template-columns:minmax(0,1fr);gap:44px;margin-top:54px}.workflow-track{grid-template-columns:minmax(0,1fr)}.workflow-track article{min-height:130px}.workflow-track article>svg{top:auto;bottom:-21px;right:50%;transform:translate(50%)rotate(90deg)}.provider-directory article{grid-template-columns:auto 1fr auto}.provider-directory code{grid-area:2/2/auto/-1}.catalog-promotion{grid-template-columns:auto minmax(0,1fr)}.catalog-promotion time{white-space:normal;grid-column:2}.model-catalog-head{display:none}.model-catalog-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;padding:15px 12px}.catalog-model-name{grid-column:1/-1;padding-bottom:4px}.catalog-price,.catalog-rate,.catalog-effective-rate{align-items:flex-end;min-height:43px;padding-top:16px;display:flex;position:relative}.catalog-price:before,.catalog-rate:before,.catalog-effective-rate:before{color:var(--soft);content:attr(data-label);text-transform:uppercase;font-size:11px;position:absolute;top:0;left:0}.catalog-effective-rate{justify-content:flex-start}.catalog-meta{flex-direction:column;align-items:flex-start;gap:3px}.marketing-footer{grid-template-columns:1fr auto}.marketing-footer p{grid-area:2/1/auto/-1}.auth-site{grid-template-rows:62px minmax(0,1fr) auto}.auth-header{padding:0 16px}.auth-main,.auth-site--wide .auth-main{padding:30px 16px 44px}.auth-panel{padding:27px 22px}.auth-panel-heading h1{font-size:30px}.account-heading{flex-direction:column;align-items:flex-start;gap:18px}.account-heading h1{font-size:34px}.account-back{margin-bottom:20px}.account-profile,.account-usage,.account-api-key,.account-sessions{padding:19px 17px}.account-session-activity{display:none}.account-details{grid-template-columns:minmax(0,1fr)}.account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root{--topbar-height:62px}.topbar{padding:0 14px}.topbar-title{font-size:13px}.page-content{padding:22px 16px 38px}.page-heading{min-height:0;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading p{max-width:95%;font-size:12px}.page-heading-aside{padding-top:15px}.email-settings-band,.email-test-band,.pricing-settings-band{grid-template-columns:minmax(0,1fr);gap:19px;padding:24px 0}.pricing-settings-band>header p{max-width:none}.pricing-heading-summary{flex-wrap:wrap;justify-content:flex-start;width:100%}.email-toggle-grid,.email-form-grid,.email-registration-readiness{grid-column:1}.email-settings-band header p,.email-test-band header p{max-width:none}.email-settings-actions{min-height:70px}.usage-page .page-heading{display:block}.usage-page .page-heading-aside,.usage-heading-actions{width:100%}.usage-periods{flex:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.usage-stat-grid,.usage-stat-skeleton{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-stat{min-height:116px;padding:15px 14px 13px}.usage-stat strong{font-size:25px}.usage-chart-wrap{height:220px;padding-left:14px;padding-right:14px}.usage-chart-wrap:before,.usage-chart-wrap:after{left:14px;right:14px}.usage-chart-peak{left:14px}.usage-breakdown-grid,.usage-panel-skeleton{grid-template-columns:minmax(0,1fr)}.usage-ranking,.usage-breakdown-empty{min-height:0}.usage-panel-skeleton i{height:320px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:117px;padding:15px 13px 12px}.metric strong{font-size:26px}.metric:last-child{grid-column:1/-1}.section-heading{min-height:62px;padding:12px 14px}.traffic-chart,.traffic-empty{height:178px;padding:25px 14px 18px}.traffic-chart:before,.traffic-chart:after,.traffic-empty:before,.traffic-empty:after{left:14px;right:14px}.recent-section .compact-button{width:30px;min-width:30px;padding:0;font-size:0}.log-toolbar{align-items:stretch}.log-search{flex:100%}.user-toolbar{align-items:stretch}.user-search{flex:100%}.user-refresh{margin-left:auto}.user-table-wrap{background:var(--surface-soft);min-height:0;padding:10px;overflow:visible}.user-table{min-width:0;display:block}.user-table thead{display:none}.user-table tbody{gap:9px;display:grid}.user-table tr{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:7px;padding:14px;display:block}.user-table td{border-top:1px solid var(--line);text-align:right;justify-content:space-between;align-items:center;gap:16px;width:100%;height:auto;min-height:38px;padding:7px 0;display:flex}.user-table td:before{color:var(--soft);content:attr(data-label);text-transform:uppercase;flex:none;font-size:11px}.user-table td:first-child{border-top:0;padding-top:0}.user-table td:first-child:before{display:none}.user-table td:last-child{padding-bottom:0}.user-identity{text-align:left;width:100%}.user-status-control{width:min(205px,68%)}.user-usage{text-align:left;width:min(205px,68%)}.user-masked-key{max-width:68%}.user-table tr:hover td{background:0 0}.user-row-actions{margin-left:auto}.user-table-surface>.empty-state,.user-list-skeleton{min-height:410px}.account-toolbar{align-items:stretch}.account-search{flex:100%}.account-toolbar .provider-filter{flex:140px;width:auto}.account-table-wrap{background:var(--surface-soft);min-height:0;padding:10px;overflow:visible}.account-table{min-width:0;display:block}.account-table thead{display:none}.account-table tbody{gap:9px;display:grid}.account-table tr{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:7px;padding:14px;display:block}.account-table td{border-top:1px solid var(--line);text-align:right;justify-content:space-between;align-items:center;gap:16px;width:100%;height:auto;min-height:38px;padding:7px 0;display:flex}.account-table td:before{color:var(--soft);content:attr(data-label);text-transform:uppercase;flex:none;font-size:11px}.account-table td:first-child{border-top:0;padding-top:0}.account-table td:first-child:before{display:none}.account-table td:last-child{padding-bottom:0}.account-identity{text-align:left;width:100%}.account-status{width:min(220px,70%)}.account-table tr:hover td{background:0 0}.account-row-actions{margin-left:auto}.account-table-surface>.empty-state{min-height:410px}.diagnostic-drawer{width:min(560px,100%)}.diagnostic-drawer-header{padding:20px 18px 16px}.diagnostic-drawer-body{padding-left:18px;padding-right:18px}.diagnostic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-toolbar{align-items:stretch}.search-field{flex:1}.account-toolbar .account-search{flex:100%;width:100%}.provider-filter{width:132px}.channel-list,.channel-list-skeleton{grid-template-columns:minmax(0,1fr)}.channel-row{min-height:168px}.channel-drawer,.channel-drawer.user-drawer,.channel-drawer.account-drawer{width:100%}.channel-drawer.pricing-model-drawer{border-radius:8px;width:calc(100% - 12px);height:calc(100dvh - 12px);inset:6px 6px auto auto;overflow:hidden}.drawer-header{padding:20px 18px 16px}.channel-drawer-tabs{padding-left:18px;padding-right:18px}.channel-form-body{padding:17px 18px 20px}.channel-account-pool-header,.channel-account-pool-list,.channel-account-pool-skeleton{padding-left:18px;padding-right:18px}.drawer-form-footer{padding-right:18px;padding-bottom:max(18px, env(safe-area-inset-bottom));padding-left:18px}.pricing-model-drawer-body{padding-top:0;padding-bottom:0}.pricing-model-toolbar{flex-wrap:wrap;align-items:stretch}.pricing-model-search{flex:100%;width:100%}.pricing-model-filter-tabs{flex-wrap:wrap;flex:100%;width:100%}.pricing-model-filter{flex:64px}.pricing-model-count{flex:auto;align-items:center;min-height:30px;margin-left:0;display:flex}.pricing-model-list-head{display:none}.pricing-model-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px;min-height:0;padding:14px 10px}.pricing-model-identity{grid-column:1/-1;padding-bottom:2px}.pricing-model-base,.pricing-model-adjustment,.pricing-model-final,.pricing-model-status{flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:38px;display:flex}.pricing-model-mobile-label{color:var(--soft);text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:500;display:block}.pricing-model-badges{align-content:flex-start}.playground-config{gap:16px}.config-heading,.stream-setting,.config-status{grid-column:1/-1}.playground-conversation{min-height:530px}.conversation-transcript{height:clamp(340px,48vh,520px)}}@media (max-width:380px){.console-shell .language-button{display:none}}@media (max-width:500px){.marketing-brand strong{display:none}.marketing-actions{gap:7px}.hero-actions{flex-direction:column;gap:5px}.hero-actions>*{width:min(240px,100%)}.marketing-hero h1{font-size:54px}.gateway-ready{display:none}.gateway-node{grid-template-columns:auto minmax(0,1fr)}.route-node{padding:0 8px}.section-intro h2,.docs-copy h2{font-size:34px}.models-page-main{padding:48px 16px 72px}.models-page-intro h1{font-size:36px}.models-page-intro p{font-size:13px}.models-page-catalog{margin-top:38px}.provider-directory article{padding:10px}.code-window pre{padding:24px 18px;font-size:11px}.marketing-footer{padding-left:20px;padding-right:20px}.auth-header .marketing-brand strong{display:block}.auth-key-value{grid-template-columns:minmax(0,1fr)}.auth-key-value .secondary-button{width:100%}.auth-code-field button{min-width:108px;padding:0 7px;font-size:11px}.account-details>div{grid-template-columns:90px minmax(0,1fr)}.account-stat-grid>div{padding:12px 10px}.account-stat-grid strong{font-size:19px}.account-masked-key{flex-direction:column;align-items:flex-start;gap:5px}.account-rotate-confirm{flex-direction:column;align-items:stretch;gap:12px}.account-rotate-confirm>div{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.page-heading{display:block}.page-heading-aside{padding-top:15px}.usage-stat{min-height:112px}.usage-stat strong{font-size:22px}.usage-stat small{white-space:normal}.usage-range{text-overflow:ellipsis;max-width:49%;overflow:hidden}.usage-range svg{display:none}.usage-chart-tooltip{max-width:min(220px,100vw - 72px)}.usage-error{grid-template-columns:auto minmax(0,1fr)}.usage-error .secondary-button{grid-column:1/-1;justify-self:start}.channel-heading-actions{justify-content:space-between;width:100%}.channel-overview-grid,.channel-source-grid{grid-template-columns:minmax(0,1fr)}.model-discovery-account{grid-template-columns:minmax(0,1fr);gap:5px}.channel-account-pool-header{flex-direction:column;align-items:stretch}.channel-account-pool-header .command-button{width:100%}.channel-account-pool-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity status""models models""routing actions";gap:9px 12px}.channel-account-pool-actions{justify-self:end}.account-toggle-grid{grid-template-columns:minmax(0,1fr)}.metric strong{font-size:24px}.section-heading{gap:10px}.section-heading p{display:none}.log-heading-actions{justify-content:space-between;width:100%}.log-search,.log-select,.transport-select{width:100%}.log-segments{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.auto-refresh-toggle{justify-content:flex-end;width:100%}.log-table-surface .data-table-wrap{min-height:420px}.user-toolbar{flex-direction:column}.user-search,.user-filter{width:100%}.user-refresh{align-self:flex-end;margin-left:0}.user-role-picker,.one-time-key{grid-template-columns:minmax(0,1fr)}.one-time-key .secondary-button,.user-key-dialog .dialog-actions .command-button{width:100%}.diagnostic-meta{grid-template-columns:minmax(0,1fr)}.model-chain code{max-width:176px}.channel-toolbar{flex-direction:column}.search-field,.provider-filter{width:100%}.provider-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-two,.pricing-form-grid{grid-template-columns:minmax(0,1fr)}.pricing-promotion-description{grid-column:1}.pricing-drawer-price-grid{grid-template-columns:minmax(0,1fr)}.pricing-drawer-auto-price{grid-template-columns:minmax(0,1fr);gap:3px}.pricing-drawer-auto-price span{text-align:left;white-space:normal}.pricing-model-drawer-footer>div{flex-wrap:wrap}.pricing-model-drawer-footer>small{text-align:left}.email-toggle-grid,.email-form-grid,.email-limit-grid,.email-test-controls{grid-template-columns:minmax(0,1fr)}.email-security-segments{width:100%}.email-settings-actions{flex-direction:column;justify-content:center;align-items:stretch;gap:9px}.email-settings-actions .command-button,.email-test-controls .secondary-button{width:100%}.dialog-actions{flex-wrap:wrap}.dialog-actions .text-button{order:3;width:100%;margin:0}.playground-config{grid-template-columns:minmax(0,1fr)}.playground-config>*{grid-column:1!important}.conversation-toolbar{padding:0 12px}.conversation-title{flex:none}.conversation-model{max-width:58%}.message-list{padding:24px 15px 32px}.chat-message{gap:9px}.user-message{width:96%}.user-message .message-body{padding:10px 12px 11px}.response-meta{flex-wrap:wrap;gap:5px 10px}.response-meta span+span:before{margin-right:10px}.conversation-composer{margin:9px}.composer-footer>span{max-width:52%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.auth-login-meta{justify-content:flex-end;margin-top:-6px;display:flex}.auth-login-meta a,.auth-back-link{color:var(--muted);font-size:12px;transition:color .15s}.auth-login-meta a:hover,.auth-back-link:hover{color:var(--ink)}.auth-back-link{align-items:center;gap:5px;margin-bottom:20px;display:inline-flex}.portal-gate{background:var(--canvas);justify-content:center;align-items:center;gap:14px;min-height:100svh;display:flex}.portal-gate--error{text-align:center;flex-direction:column;padding:24px}.portal-gate--error h1{font-family:var(--serif);margin-top:9px;font-size:28px;font-weight:400}.portal-gate--error p{max-width:480px;color:var(--muted);font-size:12px}.portal-gate--error .secondary-button{margin-top:9px}.portal-loader{border:2px solid var(--line-strong);border-top-color:var(--ink);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}.portal-sidebar{background:#edf0ec}:root[data-theme=dark] .portal-sidebar{background:#1e201d}.portal-sidebar-status{margin-top:auto}.portal-topbar{box-shadow:inset 0 -1px var(--line)}.portal-topbar-actions{gap:8px}.portal-balance-link,.portal-account-summary{min-width:0;color:var(--ink);align-items:center;display:inline-flex}.portal-balance-link{background:var(--green-soft);height:38px;color:var(--green);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--green) 12%, transparent);border-radius:7px;gap:7px;padding:0 11px;transition:background .15s,box-shadow .15s}.portal-balance-link:hover{background:color-mix(in srgb, var(--green-soft) 78%, var(--green));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--green) 20%, transparent)}.portal-balance-link>svg{flex:none}.portal-balance-link>strong{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;display:block;overflow:hidden}.portal-topbar-tools{background:var(--surface);height:38px;box-shadow:inset 0 0 0 1px var(--line);border-radius:8px;align-items:center;gap:2px;padding:2px;display:flex}.portal-topbar-tools :is(.icon-button,.language-button){border-radius:6px;flex:0 0 32px;width:32px;height:32px}.portal-account-summary{width:32px;height:32px;box-shadow:inset 1px 0 var(--line);border-radius:0 6px 6px 0;flex:0 0 32px;justify-content:center;margin-left:2px;transition:background .15s}.portal-account-summary:hover{background:var(--surface-soft)}.portal-account-summary:hover .portal-account-avatar{background:color-mix(in srgb, var(--cyan-soft) 75%, var(--cyan))}.portal-account-avatar{background:var(--cyan-soft);width:26px;height:26px;color:var(--cyan);font-family:var(--serif);border-radius:6px;flex:0 0 26px;justify-content:center;align-items:center;font-size:12px;transition:background .15s;display:inline-flex}.portal-topbar-tools .portal-logout{box-shadow:inset 1px 0 var(--line);border-radius:0 6px 6px 0;margin-left:1px}.portal-content{max-width:1370px;padding-top:22px;padding-bottom:48px}.portal-page{max-width:1240px;margin:0 auto}.portal-refresh{background:var(--surface);box-shadow:var(--shadow-soft)}.portal-shell .portal-page .page-heading{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-height:0;margin-bottom:18px;padding-bottom:14px;display:grid}.portal-shell .portal-page .page-heading>div:first-child{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:3px 9px;min-width:0;display:grid}.portal-shell .portal-page .page-heading .eyebrow{border-right:1px solid var(--line-strong);color:var(--soft);text-transform:none;white-space:nowrap;grid-area:1/1;margin:0;padding-right:9px;font-size:12px;font-weight:600;line-height:1.3}.portal-shell .portal-page .page-heading h1{overflow-wrap:anywhere;grid-area:1/2;min-width:0;font-family:inherit;font-size:23px;font-weight:600;line-height:1.25}.portal-shell .portal-page .page-heading>div:first-child:not(:has(.eyebrow)) h1{grid-column:1/-1}.portal-shell .portal-page .page-heading p{max-width:720px;color:var(--muted);grid-area:2/1/auto/-1;margin-top:0;font-size:12px;line-height:1.45}.portal-shell .portal-page .page-heading-aside{align-self:center;padding-top:0}.portal-heading-actions{align-items:center;gap:12px;display:flex}.portal-heading-actions>span{color:var(--muted);font-family:var(--serif);white-space:nowrap;font-size:13px}.portal-surface{background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);border-radius:8px}.portal-section-heading{justify-content:space-between;align-items:center;gap:18px;min-height:66px;padding:14px 18px;display:flex}.portal-section-heading h2{font-size:13px;font-weight:500}.portal-section-heading p{color:var(--soft);margin-top:4px;font-size:11px}.portal-metric-grid{gap:10px;margin-bottom:15px}.portal-metric{grid-template-rows:auto 1fr auto;gap:6px 10px;min-height:110px;padding:14px 15px 13px}.portal-metric>span{font-size:11px}.portal-metric strong{font-size:24px}.portal-overview-grid{grid-template-columns:minmax(300px,.8fr) minmax(420px,1.2fr);gap:15px;display:grid}.portal-quota-panel,.portal-trend-panel{min-height:276px}.portal-quota-panel .portal-section-heading>strong{font-family:var(--serif);font-size:21px;font-weight:400}.portal-quota-track{background:var(--surface-soft);border-radius:4px;height:7px;margin:17px 18px 0;overflow:hidden}.portal-quota-track i{border-radius:inherit;background:var(--green);height:100%;display:block}.portal-quota-values{color:var(--soft);justify-content:space-between;margin:7px 18px 16px;font-size:11px;display:flex}.portal-limit-list{background:var(--surface-soft);border-radius:7px;margin:0 18px;padding:5px 13px}.portal-limit-list>div{justify-content:space-between;align-items:center;gap:16px;min-height:42px;display:flex}.portal-limit-list>div+div{box-shadow:inset 0 1px var(--line)}.portal-limit-list span{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.portal-limit-list svg{color:var(--soft)}.portal-limit-list strong{font-family:var(--serif);font-size:14px;font-weight:400}.portal-mini-chart,.portal-usage-chart{align-items:flex-end;gap:5px;height:188px;padding:20px 18px 28px;display:flex}.portal-mini-chart>span,.portal-usage-chart>span{flex:1;justify-content:center;align-items:flex-end;min-width:3px;height:100%;display:flex;position:relative}.portal-mini-chart i,.portal-usage-chart i{background:var(--cyan);opacity:.72;border-radius:3px 3px 1px 1px;width:min(100%,18px);min-height:2px;transition:opacity .15s;display:block}.portal-mini-chart>span:hover i,.portal-usage-chart>span:hover i{opacity:1}.portal-mini-chart small,.portal-usage-chart small{color:var(--soft);white-space:nowrap;font-size:11px;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%)}.portal-inline-empty{min-height:166px;color:var(--soft);text-align:center;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.portal-quickstart{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:15px;padding:13px 16px;display:grid}.portal-quickstart-icon{background:var(--yellow-soft);width:38px;height:38px;color:var(--yellow);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.portal-quickstart h2{font-size:12px;font-weight:500}.portal-quickstart p{color:var(--muted);margin-top:3px;font-size:11px}.portal-page-skeleton>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.portal-page-skeleton i,.portal-page-skeleton>span,.portal-key-skeleton i{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.portal-page-skeleton i{height:110px}.portal-page-skeleton>span{height:276px;margin-top:15px}.portal-error-state{background:var(--surface);min-height:170px;box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:22px;display:grid}.portal-error-state>svg{color:var(--danger)}.portal-error-state h2{font-size:13px;font-weight:500}.portal-error-state p{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:11px}.portal-project-skeleton{grid-template-columns:240px minmax(0,1fr);gap:12px;min-height:500px;display:grid}.portal-project-skeleton i,.portal-project-skeleton span{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.portal-project-workspace{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:12px;min-height:520px;display:grid}.portal-project-list{background:var(--surface);max-height:calc(100svh - 210px);box-shadow:var(--shadow-soft);border-radius:8px;flex-direction:column;gap:3px;padding:6px;display:flex;overflow-y:auto}.portal-project-list>button{text-align:left;background:0 0;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:58px;padding:8px;display:grid}.portal-project-list>button:hover{background:var(--surface-soft)}.portal-project-list>button.is-active{background:var(--surface-active)}.portal-project-list>button>span{background:var(--cyan-soft);width:32px;height:32px;color:var(--cyan);font-family:var(--serif);border-radius:6px;justify-content:center;align-items:center;font-size:13px;display:inline-flex}.portal-project-list>button>div{min-width:0}.portal-project-list strong,.portal-project-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-project-list strong{font-size:12px;font-weight:500}.portal-project-list small{color:var(--soft);margin-top:3px;font-size:11px}.portal-project-list em{background:var(--green-soft);color:var(--green);white-space:nowrap;border-radius:5px;padding:3px 5px;font-size:11px;font-style:normal}.portal-project-list em.is-archived{background:var(--surface-soft);color:var(--soft)}.portal-project-detail{background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);border-radius:8px;overflow:hidden}.portal-project-header{justify-content:space-between;align-items:flex-start;gap:20px;min-height:118px;padding:22px 24px 18px;display:flex}.portal-project-header>div:first-child{min-width:0}.portal-project-header h2{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:25px;font-weight:400;overflow:hidden}.portal-project-header p{max-width:680px;color:var(--muted);overflow-wrap:anywhere;margin-top:7px;font-size:11px;line-height:1.6}.portal-project-actions{flex:none;gap:3px;display:flex}.portal-project-tabs{height:42px;box-shadow:inset 0 -1px var(--line);align-items:flex-end;gap:3px;padding:0 20px;display:flex;overflow-x:auto}.portal-project-tabs button{height:38px;color:var(--muted);background:0 0;flex:none;padding:0 11px;font-size:11px}.portal-project-tabs button.is-active{color:var(--ink);box-shadow:inset 0 -2px var(--ink)}.portal-project-overview,.portal-project-members,.portal-project-keys,.portal-project-usage,.portal-project-logs{min-height:360px;padding:20px 22px 24px}.portal-project-overview dl{background:var(--surface-soft);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.portal-project-overview dl>div{min-width:0;padding:16px}.portal-project-overview dl>div+div{box-shadow:inset 1px 0 var(--line)}.portal-project-overview dt{color:var(--muted);font-size:11px}.portal-project-overview dd{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;margin:7px 0 0;font-size:20px;font-weight:400;overflow:hidden}.portal-project-overview dl small{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:11px;display:block;overflow:hidden}.portal-project-boundary{background:var(--green-soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;min-height:82px;margin-top:14px;padding:15px 16px;display:grid}.portal-project-boundary>svg{color:var(--green)}.portal-project-boundary h3{font-size:12px;font-weight:500}.portal-project-boundary p{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.6}.portal-project-section-head{justify-content:space-between;align-items:flex-start;gap:18px;min-height:48px;display:flex}.portal-project-section-head h3{font-size:12px;font-weight:500}.portal-project-section-head p{color:var(--soft);margin-top:4px;font-size:11px;line-height:1.5}.portal-member-list,.portal-invitation-list,.portal-project-key-list{background:var(--surface-soft);border-radius:7px;margin-top:12px;overflow:hidden}.portal-member-list article{grid-template-columns:auto minmax(0,1fr) minmax(110px,auto) auto;align-items:center;gap:11px;min-height:61px;padding:9px 12px;display:grid}.portal-member-list article+article,.portal-invitation-list article+article,.portal-project-key-list article+article{box-shadow:inset 0 1px var(--line)}.portal-member-list article>span{background:var(--cyan-soft);width:32px;height:32px;color:var(--cyan);font-family:var(--serif);border-radius:6px;justify-content:center;align-items:center;font-size:13px;display:inline-flex}.portal-member-list article>div,.portal-invitation-list article>div,.portal-project-key-list article>div{min-width:0}.portal-member-list strong,.portal-member-list small,.portal-invitation-list strong,.portal-invitation-list small,.portal-project-key-list strong,.portal-project-key-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-member-list strong,.portal-invitation-list strong,.portal-project-key-list strong{font-size:11px;font-weight:500}.portal-member-list small,.portal-invitation-list small,.portal-project-key-list small{color:var(--soft);margin-top:4px;font-size:11px}.portal-member-list select{background:var(--surface);min-width:108px;height:32px;color:var(--ink);border:0;border-radius:6px;outline:0;font-size:11px}.portal-member-list em,.portal-invitation-list em,.portal-project-key-list em{color:var(--muted);white-space:nowrap;font-size:11px;font-style:normal}.portal-invitations{margin-top:26px}.portal-invitation-list article{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:55px;padding:9px 12px;display:grid}.portal-invitation-list em{background:var(--surface);border-radius:5px;padding:3px 6px}.portal-invitation-list em.is-pending{background:var(--yellow-soft);color:var(--yellow)}.portal-invitation-list em.is-accepted{background:var(--green-soft);color:var(--green)}.portal-project-key-list article{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:57px;padding:9px 12px;display:grid}.portal-project-key-list article>span{background:var(--cyan-soft);width:30px;height:30px;color:var(--cyan);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.portal-project-key-list em{background:var(--surface);color:var(--soft);border-radius:5px;padding:3px 6px}.portal-project-key-list em.is-active{background:var(--green-soft);color:var(--green)}.portal-project-usage-grid{background:var(--surface-soft);border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.portal-project-usage-grid>div{min-width:0;padding:16px}.portal-project-usage-grid>div+div{box-shadow:inset 1px 0 var(--line)}.portal-project-usage-grid span,.portal-project-usage-grid strong,.portal-project-usage-grid small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-project-usage-grid span{color:var(--muted);font-size:11px}.portal-project-usage-grid strong{font-family:var(--serif);margin-top:7px;font-size:20px;font-weight:400}.portal-project-usage-grid small{color:var(--soft);margin-top:6px;font-size:11px}.portal-project-trend{margin-top:20px}.portal-project-trend>div:last-child{align-items:flex-end;gap:5px;height:170px;padding-top:16px;display:flex}.portal-project-trend>div:last-child>span{flex:1;justify-content:center;align-items:flex-end;min-width:4px;height:130px;display:flex;position:relative}.portal-project-trend i{background:var(--cyan);border-radius:3px 3px 1px 1px;width:min(100%,18px);min-height:2px;display:block}.portal-project-trend small{color:var(--soft);white-space:nowrap;font-size:11px;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%)}.portal-project-log-list{background:var(--surface-soft);border-radius:7px;margin-top:12px;overflow:hidden}.portal-project-log-list article{grid-template-columns:auto minmax(0,1fr) minmax(150px,auto);align-items:center;gap:11px;min-height:58px;padding:9px 12px;display:grid}.portal-project-log-list article+article{box-shadow:inset 0 1px var(--line)}.portal-project-log-list>article>span{background:var(--green-soft);min-width:34px;color:var(--green);text-align:center;border-radius:5px;padding:4px 6px;font-size:11px}.portal-project-log-list>article>span.is-failed{background:var(--danger-soft);color:var(--danger)}.portal-project-log-list article>div{min-width:0}.portal-project-log-list strong,.portal-project-log-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-project-log-list strong{font-size:11px;font-weight:500}.portal-project-log-list small{color:var(--soft);margin-top:4px;font-size:11px}.portal-project-log-list article>div:last-child{text-align:right}.portal-inline-loading{min-height:180px;color:var(--soft);justify-content:center;align-items:center;font-size:11px;display:flex}.portal-invite-dialog{width:min(470px,100%)}.portal-invite-secret{width:min(610px,100%)}.portal-key-list{flex-direction:column;gap:9px;display:flex}.portal-key-row{background:var(--surface);min-height:116px;box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:auto minmax(180px,.8fr) minmax(440px,1.5fr) auto auto;align-items:center;gap:16px;padding:16px 17px;display:grid}.portal-key-row.is-disabled{opacity:.64}.portal-key-row--legacy .portal-key-icon{background:var(--yellow-soft);color:var(--yellow)}.portal-legacy-label{color:var(--soft);text-align:center;white-space:nowrap;font-size:11px}.portal-key-icon{background:var(--cyan-soft);width:38px;height:38px;color:var(--cyan);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.portal-key-main{min-width:0}.portal-key-main>div{align-items:center;gap:8px;min-width:0;display:flex}.portal-key-main h2{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.portal-environment-label{background:var(--surface-soft);max-width:110px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:5px;padding:3px 6px;font-size:11px;overflow:hidden}.portal-key-main code,.portal-key-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-key-main code{color:var(--muted);margin-top:8px;font-size:12px}.portal-key-main small{color:var(--soft);margin-top:5px;font-size:11px}.portal-status{background:var(--surface-soft);color:var(--soft);border-radius:5px;flex:none;padding:3px 6px;font-size:11px}.portal-status.is-enabled{background:var(--green-soft);color:var(--green)}.portal-key-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.portal-key-meta div{min-width:0}.portal-key-meta span,.portal-key-meta strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-key-meta span{color:var(--soft);font-size:11px}.portal-key-meta strong{margin-top:6px;font-size:11px;font-weight:500}.portal-switch{align-items:center;width:34px;height:20px;display:inline-flex;position:relative}.portal-switch input{opacity:0;width:1px;height:1px;position:absolute}.portal-switch>span{background:var(--surface-active);border-radius:10px;width:34px;height:20px;transition:background .15s;position:relative}.portal-switch>span:after{background:var(--surface);width:14px;height:14px;box-shadow:var(--shadow-soft);content:"";border-radius:50%;transition:transform .15s;position:absolute;top:3px;left:3px}.portal-switch input:checked+span{background:var(--green)}.portal-switch input:checked+span:after{transform:translate(14px)}.portal-switch input:focus-visible+span{outline:2px solid var(--cyan);outline-offset:3px}.portal-row-actions{gap:2px;display:flex}.portal-empty-state{background:var(--surface);min-height:390px;box-shadow:var(--shadow-soft);text-align:center;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:28px;display:flex}.portal-empty-state>span{background:var(--surface-soft);width:48px;height:48px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.portal-empty-state h2{margin-top:18px;font-size:13px;font-weight:500}.portal-empty-state p{max-width:420px;color:var(--muted);margin-top:7px;font-size:12px}.portal-empty-state .command-button{margin-top:19px}.portal-key-skeleton{flex-direction:column;gap:9px;display:flex}.portal-key-skeleton i{height:116px}.portal-modal-backdrop,.portal-secret-backdrop{justify-content:center;align-items:center;padding:18px;display:flex}.portal-form-dialog{background:var(--surface);width:min(590px,100%);max-height:min(760px,100svh - 36px);box-shadow:var(--shadow-raised);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.portal-form-dialog>header{flex:none;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 17px;display:flex}.portal-form-dialog header h2{font-family:var(--serif);font-size:24px;font-weight:400}.portal-form-dialog header p{color:var(--muted);margin-top:7px;font-size:11px}.portal-form-dialog form{flex-direction:column;flex:1;min-height:0;display:flex}.portal-form-scroll{min-height:0;padding:9px 24px 20px;overflow-y:auto}.portal-form-field{margin-top:14px;display:block}.portal-form-field>span:first-child{color:var(--muted);margin-bottom:7px;font-size:11px;font-weight:500;display:block}.portal-form-field input,.portal-form-field textarea,.portal-form-field select{background:var(--canvas);width:100%;min-width:0;box-shadow:inset 0 0 0 1px var(--line-strong);border:0;border-radius:7px;outline:0;font-size:12px;display:block}.portal-form-field input{height:40px;padding:0 11px}.portal-form-field select{height:40px;color:var(--ink);padding:0 11px}.portal-form-field textarea{resize:vertical;padding:10px 11px;line-height:1.55}.portal-form-field input:focus,.portal-form-field textarea:focus,.portal-form-field select:focus{box-shadow:inset 0 0 0 2px var(--cyan)}.portal-form-field small,.portal-form-hint{color:var(--soft);margin-top:6px;font-size:11px;display:block}.portal-key-advanced{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:18px}.portal-key-advanced>summary{min-height:62px;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;list-style:none;display:grid}.portal-key-advanced>summary::-webkit-details-marker{display:none}.portal-key-advanced>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}.portal-key-advanced-icon{background:var(--surface-soft);width:34px;height:34px;color:var(--muted);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.portal-key-advanced>summary>span:nth-child(2){min-width:0}.portal-key-advanced>summary strong,.portal-key-advanced>summary small{display:block}.portal-key-advanced>summary strong{font-size:12px;font-weight:500}.portal-key-advanced>summary small{color:var(--soft);margin-top:3px;font-size:11px;line-height:1.45}.portal-key-advanced>summary>svg{color:var(--soft);transition:transform .15s}.portal-key-advanced[open]>summary>svg{transform:rotate(180deg)}.portal-key-advanced-fields{padding:0 0 5px}.portal-key-advanced-fields>.portal-form-field:first-child{margin-top:8px}.portal-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.portal-form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-input-icon{background:var(--canvas);box-shadow:inset 0 0 0 1px var(--line-strong);color:var(--soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding-left:11px;display:grid}.portal-input-icon input{padding-left:0}.portal-form-toggle{background:var(--surface-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:20px;min-height:58px;margin-top:18px;padding:8px 12px;display:flex}.portal-form-toggle>span{align-items:center;gap:10px;display:flex}.portal-form-toggle svg{color:var(--green)}.portal-form-toggle strong,.portal-form-toggle small{display:block}.portal-form-toggle strong{font-size:12px;font-weight:500}.portal-form-toggle small{color:var(--soft);margin-top:2px;font-size:11px}.portal-form-toggle input{accent-color:var(--green)}.portal-form-dialog footer{background:var(--surface);flex:none;justify-content:flex-end;gap:8px;padding:13px 24px 18px;display:flex;box-shadow:0 -10px 25px #17181609}.portal-secret-dialog{background:var(--surface);width:min(530px,100%);box-shadow:var(--shadow-raised);border-radius:8px;padding:26px}.portal-secret-icon{background:var(--green-soft);width:42px;height:42px;color:var(--green);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.portal-secret-dialog h2{font-family:var(--serif);margin-top:18px;font-size:26px;font-weight:400}.portal-secret-dialog>p{color:var(--muted);margin-top:9px;font-size:12px;line-height:1.65}.portal-secret-value{background:var(--surface-soft);border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:20px 0 16px;padding:9px;display:grid}.portal-secret-value code{white-space:nowrap;-webkit-user-select:all;user-select:all;min-width:0;padding:3px;font-size:12px;overflow-x:auto}.portal-secret-dialog>.command-button{width:100%}.portal-period-actions{align-items:center;gap:8px;display:flex}.portal-period-actions>div{background:var(--surface);height:38px;box-shadow:var(--shadow-soft);border-radius:7px;grid-template-columns:repeat(3,minmax(58px,1fr));gap:2px;padding:3px;display:grid}.portal-period-actions>div button{height:32px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:6px;padding:0 10px;font-size:11px}.portal-period-actions>div button.is-active{background:var(--surface-active);color:var(--ink)}.portal-period-actions>.icon-button{background:var(--surface);box-shadow:var(--shadow-soft)}.portal-billing-summary{grid-template-columns:minmax(250px,.8fr) minmax(0,1.8fr);margin-bottom:15px;display:grid;overflow:hidden}.portal-billing-lead{background:var(--surface-soft);align-items:center;gap:13px;min-width:0;padding:18px;display:flex}.portal-billing-lead>span{background:var(--green-soft);width:39px;height:39px;color:var(--green);border-radius:7px;flex:0 0 39px;justify-content:center;align-items:center;display:inline-flex}.portal-billing-lead>div{min-width:0}.portal-billing-lead small,.portal-billing-lead strong{display:block}.portal-billing-lead small{color:var(--muted);font-size:11px}.portal-billing-lead strong{font-family:var(--serif);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 5px;font-size:23px;font-weight:400;overflow:hidden}.portal-billing-summary dl{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;margin:0;display:grid}.portal-billing-summary dl>div{border-left:1px solid var(--line);flex-direction:column;justify-content:center;min-width:0;padding:15px 18px;display:flex}.portal-billing-summary dt{color:var(--muted);font-size:11px}.portal-billing-summary dd{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 0;font-size:13px;font-weight:500;overflow:hidden}.portal-billing-summary dl small{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;overflow:hidden}.portal-billing-skeleton{border-radius:8px;grid-template-columns:.8fr repeat(3,.6fr);gap:1px;height:106px;margin-bottom:15px;display:grid;overflow:hidden}.portal-billing-skeleton i{background:var(--surface);animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.portal-billing-error,.portal-usage-chart-panel{margin-bottom:15px}.portal-usage-chart{gap:3px;height:260px;padding-top:30px}.portal-usage-chart i{background:var(--green);max-width:14px}.portal-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.portal-ranking-panel ol{flex-direction:column;gap:4px;margin:0;padding:2px 12px 14px;list-style:none;display:flex}.portal-ranking-panel li{border-radius:7px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px;display:grid}.portal-ranking-panel li:hover{background:var(--surface-soft)}.portal-ranking-panel li>span{color:var(--soft);font-family:var(--serif);font-size:12px}.portal-ranking-panel li>div{min-width:0}.portal-ranking-panel strong,.portal-ranking-panel small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-ranking-panel strong{font-size:12px;font-weight:500}.portal-ranking-panel small{color:var(--soft);margin-top:3px;font-size:11px}.portal-ranking-panel li>div>i{background:var(--surface-active);border-radius:2px;height:3px;margin-top:7px;display:block;overflow:hidden}.portal-ranking-panel li>div>i b{border-radius:inherit;background:var(--cyan);height:100%;display:block}.portal-ranking-panel li>em{color:var(--muted);font-size:11px;font-style:normal}.portal-ledger-panel{margin-top:15px;overflow:hidden}.portal-ledger-count{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.portal-ledger-count svg{color:var(--cyan)}.portal-ledger-table-wrap{min-height:360px;overflow-x:auto}.portal-ledger-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:850px}.portal-ledger-table th{height:36px;color:var(--soft);text-align:left;text-transform:uppercase;padding:0 13px;font-size:11px;font-weight:500}.portal-ledger-table td{border-top:1px solid var(--line);height:62px;color:var(--muted);vertical-align:middle;padding:8px 13px;font-size:11px}.portal-ledger-table tbody tr:hover td{background:var(--surface-soft)}.portal-ledger-table th:first-child{width:145px}.portal-ledger-table th:nth-child(2){width:205px}.portal-ledger-table th:nth-child(3){width:120px}.portal-ledger-table th:nth-child(4){width:130px}.portal-ledger-table th:nth-child(5){width:120px}.portal-ledger-table th:nth-child(6){width:130px}.portal-ledger-table td>strong,.portal-ledger-table td>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-ledger-table td>strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:11px;font-weight:500}.portal-ledger-table td>small{color:var(--soft);margin-top:4px;font-size:11px}.portal-ledger-entry{min-width:0}.portal-ledger-entry small{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;display:block;overflow:hidden}.portal-ledger-table time{white-space:nowrap;font-size:11px}.portal-ledger-kind{color:var(--muted);align-items:center;gap:6px;font-size:11px;font-weight:500;display:inline-flex}.portal-ledger-kind i{background:var(--cyan);border-radius:50%;width:6px;height:6px}.portal-ledger-kind.is-adjustment i{background:var(--yellow)}.portal-ledger-kind.is-recharge i{background:var(--green)}.portal-ledger-kind.is-refund i{background:var(--coral)}.portal-ledger-kind.is-dispute i{background:var(--ink)}.portal-ledger-amount.is-positive{color:var(--green)}.portal-ledger-amount.is-negative{color:var(--coral)}.portal-ledger-amount.is-neutral{color:var(--soft)}.portal-ledger-empty{min-height:260px}.portal-ledger-skeleton{background:var(--line);gap:1px;min-height:360px;display:grid}.portal-ledger-skeleton i{background:var(--surface);animation:1.4s ease-in-out infinite skeleton-pulse;display:block}
.recharge-balance-band{align-items:center;gap:13px;min-height:94px;padding:18px 20px;display:flex}.recharge-balance-band>span{background:var(--green-soft);width:42px;height:42px;color:var(--green);border-radius:7px;flex:0 0 42px;justify-content:center;align-items:center;display:inline-flex}.recharge-balance-band>div{min-width:0}.recharge-balance-band small,.recharge-balance-band strong{display:block}.recharge-balance-band small{color:var(--muted);font-size:11px}.recharge-balance-band strong{font-family:var(--serif);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:25px;font-weight:400;overflow:hidden}.recharge-balance-band>em{margin-left:auto}.recharge-products-section{margin-top:24px}.recharge-section-heading{justify-content:space-between;align-items:flex-start;gap:18px;min-height:60px;display:flex}.recharge-section-heading h2{font-size:13px;font-weight:500}.recharge-section-heading p{color:var(--muted);margin-top:5px;font-size:11px}.recharge-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;display:grid}.recharge-product{background:var(--surface);min-width:0;min-height:272px;box-shadow:var(--shadow-soft);border-radius:8px;flex-direction:column;padding:18px;display:flex}.recharge-product-head{justify-content:space-between;align-items:center;gap:10px;min-height:32px;display:flex}.recharge-product-head>span{background:var(--cyan-soft);width:32px;height:32px;color:var(--cyan);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.recharge-product-head em{background:var(--yellow-soft);color:color-mix(in srgb, var(--yellow) 58%, var(--ink));border-radius:6px;padding:5px 7px;font-size:11px;font-style:normal;font-weight:500}.recharge-product h3{margin-top:18px;font-size:13px;font-weight:500}.recharge-product>p{min-height:38px;color:var(--muted);margin-top:6px;font-size:11px;line-height:1.55}.recharge-product-value{margin:auto 0 15px;padding-top:17px}.recharge-product-value small,.recharge-product-value strong,.recharge-product-value span{display:block}.recharge-product-value small{color:var(--soft);font-size:11px}.recharge-product-value strong{font-family:var(--serif);font-variant-numeric:tabular-nums;margin-top:4px;font-size:25px;font-weight:400}.recharge-product-value span{color:var(--muted);margin-top:3px;font-size:11px}.recharge-product>.command-button{width:100%}.recharge-products-skeleton{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.recharge-products-skeleton i{background:var(--surface);border-radius:8px;height:272px;animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.recharge-products-empty{background:var(--surface);min-height:180px;box-shadow:var(--shadow-soft);border-radius:8px}.recharge-orders-panel{margin-top:24px;overflow:hidden}.recharge-order-count{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.recharge-order-count svg{color:var(--cyan)}.recharge-orders-table-wrap{min-height:360px;overflow-x:auto}.recharge-orders-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:960px}.recharge-orders-table th{height:36px;color:var(--soft);text-align:left;text-transform:uppercase;padding:0 13px;font-size:11px;font-weight:500}.recharge-orders-table td{border-top:1px solid var(--line);height:62px;color:var(--muted);vertical-align:middle;padding:8px 13px;font-size:11px}.recharge-orders-table tbody tr:hover td{background:var(--surface-soft)}.recharge-orders-table th:first-child{width:170px}.recharge-orders-table th:nth-child(2){width:180px}.recharge-orders-table th:nth-child(3){width:110px}.recharge-orders-table th:nth-child(4){width:105px}.recharge-orders-table th:nth-child(5){width:140px}.recharge-orders-table th:nth-child(6){width:270px}.recharge-orders-table code{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.recharge-order-product strong,.recharge-order-product small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recharge-order-product strong{color:var(--ink);font-size:11px;font-weight:500}.recharge-order-product small{color:var(--soft);margin-top:4px;font-size:11px}.recharge-order-money{color:var(--ink);font-variant-numeric:tabular-nums;font-size:11px;font-weight:500}.recharge-status{white-space:nowrap;align-items:center;gap:6px;font-size:11px;font-weight:500;display:inline-flex}.recharge-status i{background:var(--soft);border-radius:50%;width:6px;height:6px}.recharge-status.is-pending{color:#947a2d}.recharge-status.is-pending i{background:var(--yellow)}.recharge-status.is-paid{color:var(--green)}.recharge-status.is-paid i{background:var(--green)}.recharge-status.is-refunded{color:var(--cyan)}.recharge-status.is-refunded i{background:var(--cyan)}.recharge-order-actions{justify-content:flex-end;align-items:center;gap:4px;min-height:30px;display:flex}.recharge-order-actions .compact-button{min-height:29px}.recharge-order-actions .recharge-stripe-button{white-space:nowrap}.recharge-order-actions .icon-button{flex-basis:29px;width:29px;height:29px}.recharge-orders-empty{min-height:280px}.recharge-purchase-dialog{width:min(470px,100%)}.recharge-dialog-heading{align-items:center;gap:10px;min-width:0;display:flex}.recharge-dialog-heading>span{background:var(--green-soft);width:36px;height:36px;color:var(--green);border-radius:7px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex}.recharge-dialog-heading>div{min-width:0}.recharge-dialog-heading small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;display:block;overflow:hidden}.recharge-checkout-summary{background:var(--line);border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.recharge-checkout-summary>div{background:var(--surface-soft);min-width:0;padding:13px}.recharge-checkout-summary dt{color:var(--soft);font-size:11px}.recharge-checkout-summary dd{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:13px;font-weight:500;overflow:hidden}.recharge-admin-page{width:min(1280px,100%);margin:0 auto}.recharge-admin-heading-actions{align-items:center;gap:10px;display:flex}.recharge-product-surface,.recharge-order-surface{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;overflow:hidden}.recharge-order-surface{margin-top:16px}.recharge-product-section-header,.recharge-order-section-header{justify-content:space-between;align-items:center;gap:18px;min-height:76px;padding:13px 16px;display:flex}.recharge-product-section-header>div:first-child,.recharge-order-section-header>div:first-child{align-items:center;gap:10px;min-width:0;display:flex}.recharge-product-section-icon,.recharge-order-section-icon{background:var(--cyan-soft);width:36px;height:36px;color:var(--cyan);border-radius:7px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex}.recharge-order-section-icon{background:var(--green-soft);color:var(--green)}.recharge-product-section-header h2,.recharge-order-section-header h2{font-size:13px;font-weight:500}.recharge-product-section-header p,.recharge-order-section-header p{color:var(--muted);margin-top:4px;font-size:11px}.recharge-product-section-actions{color:var(--muted);white-space:nowrap;align-items:center;gap:9px;font-size:11px;display:flex}.recharge-order-section-header>span{color:var(--muted);white-space:nowrap;font-size:11px}.recharge-product-table-wrap{min-height:280px;overflow-x:auto}.recharge-product-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1010px}.recharge-product-table th,.recharge-order-table th{height:36px;color:var(--soft);text-align:left;text-transform:uppercase;padding:0 12px;font-size:11px;font-weight:500}.recharge-product-table td,.recharge-order-table td{border-top:1px solid var(--line);height:64px;color:var(--muted);vertical-align:middle;padding:8px 12px;font-size:11px}.recharge-product-table tbody tr:hover td,.recharge-order-table tbody tr:hover td{background:var(--surface-soft)}.recharge-product-table th:first-child{width:250px}.recharge-product-table th:nth-child(2),.recharge-product-table th:nth-child(3),.recharge-product-table th:nth-child(4){width:128px}.recharge-product-table th:nth-child(5){width:72px}.recharge-product-table th:nth-child(6){width:155px}.recharge-product-table th:nth-child(7){width:60px}.recharge-product-row-disabled{opacity:.62}.recharge-product-identity{align-items:center;gap:9px;min-width:0;display:flex}.recharge-product-identity>span{background:var(--surface-soft);width:32px;height:32px;color:var(--muted);border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;display:inline-flex}.recharge-product-identity>div{min-width:0}.recharge-product-identity strong,.recharge-product-identity small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recharge-product-identity strong{color:var(--ink);font-size:12px;font-weight:500}.recharge-product-identity small{color:var(--soft);margin-top:3px;font-size:11px}.recharge-product-amount,.recharge-product-credit{color:var(--ink);font-variant-numeric:tabular-nums;font-size:11px;font-weight:500}.recharge-product-bonus{color:#947a2d;font-variant-numeric:tabular-nums;align-items:center;gap:5px;font-size:11px;display:inline-flex}.recharge-product-bonus svg{color:var(--yellow)}.recharge-product-sort{font-variant-numeric:tabular-nums}.recharge-product-status-control{justify-content:space-between;align-items:center;gap:9px;display:flex}.recharge-product-row-actions,.recharge-order-row-actions{justify-content:flex-end;align-items:center;gap:3px;display:flex}.recharge-product-row-actions .icon-button,.recharge-order-row-actions .icon-button{flex-basis:29px;width:29px;height:29px}.recharge-product-pagination,.recharge-order-pagination{background:var(--surface-soft);min-height:50px;color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:7px 11px 7px 15px;font-size:11px;display:flex}.recharge-product-pagination>div,.recharge-order-pagination>div{gap:3px;display:flex}.recharge-product-pagination .icon-button,.recharge-order-pagination .icon-button{background:var(--surface);flex-basis:30px;width:30px;height:30px}.recharge-product-skeleton,.recharge-order-skeleton{background:var(--line);gap:1px;min-height:280px;display:grid}.recharge-product-skeleton span,.recharge-order-skeleton span{background:var(--surface);animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.recharge-product-empty,.recharge-order-empty{min-height:280px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex}.recharge-product-empty h3,.recharge-order-empty h3{color:var(--ink);font-size:12px;font-weight:500}.recharge-product-empty p,.recharge-order-empty p{max-width:410px;font-size:11px;line-height:1.55}.recharge-product-empty .command-button,.recharge-product-empty .secondary-button,.recharge-order-empty .secondary-button{margin-top:8px}.recharge-order-toolbar{background:var(--surface-soft);align-items:center;gap:9px;min-height:58px;padding:10px 12px;display:flex}.recharge-order-search{background:var(--surface);width:min(410px,100%);height:37px;color:var(--muted);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 5px 0 11px;display:grid}.recharge-order-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:12px}.recharge-order-search .icon-button{flex-basis:29px;width:29px;height:29px}.recharge-order-filter{background:var(--surface);border-radius:7px;width:150px;height:37px;padding:0 9px;display:block}.recharge-order-filter select{background:0 0;border:0;outline:0;width:100%;height:100%;font-size:11px}.recharge-order-refresh{background:var(--surface);margin-left:auto}.recharge-order-table-wrap{min-height:400px;overflow-x:auto}.recharge-order-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1260px}.recharge-order-table th:first-child{width:170px}.recharge-order-table th:nth-child(2){width:145px}.recharge-order-table th:nth-child(3){width:150px}.recharge-order-table th:nth-child(4){width:180px}.recharge-order-table th:nth-child(5){width:155px}.recharge-order-table th:nth-child(6){width:105px}.recharge-order-table th:nth-child(7){width:190px}.recharge-order-table th:nth-child(8){width:90px}.recharge-order-number strong,.recharge-order-number small,.recharge-order-customer strong,.recharge-order-customer small,.recharge-order-credit strong,.recharge-order-credit small,.recharge-order-payment strong,.recharge-order-payment code,.recharge-order-time time,.recharge-order-time small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recharge-order-number strong,.recharge-order-customer strong,.recharge-order-credit strong,.recharge-order-payment strong{color:var(--ink);font-size:11px;font-weight:500}.recharge-order-number small,.recharge-order-customer small,.recharge-order-credit small,.recharge-order-payment code,.recharge-order-time small{color:var(--soft);margin-top:4px;font-size:11px}.recharge-order-status{white-space:nowrap;align-items:center;gap:6px;font-size:11px;font-weight:500;display:inline-flex}.recharge-order-status i{background:var(--soft);border-radius:50%;width:6px;height:6px}.recharge-order-status--pending{color:#947a2d}.recharge-order-status--pending i{background:var(--yellow)}.recharge-order-status--paid{color:var(--green)}.recharge-order-status--paid i{background:var(--green)}.recharge-order-status--refunded{color:var(--cyan)}.recharge-order-status--refunded i{background:var(--cyan)}.recharge-product-dialog{background:var(--surface);width:min(540px,100%);max-height:min(760px,100svh - 36px);box-shadow:var(--shadow-raised);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.recharge-product-dialog-header{justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 24px 17px;display:flex}.recharge-product-dialog-header h2{font-family:var(--serif);font-size:23px;font-weight:400}.recharge-product-dialog-header p{color:var(--muted);margin-top:7px;font-size:11px}.recharge-product-form{flex-direction:column;flex:1;min-height:0;display:flex}.recharge-product-form-body{min-height:0;padding:8px 24px 20px;overflow-y:auto}.recharge-product-field{margin-top:14px;display:block}.recharge-product-field>span:first-child{color:var(--muted);margin-bottom:7px;font-size:11px;font-weight:500;display:block}.recharge-product-field>input,.recharge-product-field>textarea{background:var(--canvas);width:100%;box-shadow:inset 0 0 0 1px var(--line-strong);border:0;border-radius:7px;outline:0;font-size:12px}.recharge-product-field>input{height:40px;padding:0 11px}.recharge-product-field>textarea{resize:vertical;padding:10px 11px;line-height:1.55}.recharge-product-field>input:focus,.recharge-product-field>textarea:focus{box-shadow:inset 0 0 0 2px var(--cyan)}.recharge-product-field>small{color:var(--soft);margin-top:5px;font-size:11px;display:block}.recharge-product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.recharge-product-money-input{background:var(--canvas);height:40px;box-shadow:inset 0 0 0 1px var(--line-strong);color:var(--muted);border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;padding:0 10px;display:grid}.recharge-product-money-input input{background:0 0;border:0;outline:0;width:100%;height:38px;padding:0;font-size:12px}.recharge-product-money-input:focus-within{box-shadow:inset 0 0 0 1px var(--line-strong)}.recharge-product-toggle{background:var(--surface-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:18px;min-height:58px;margin-top:16px;padding:10px 11px;display:flex}.recharge-product-toggle strong,.recharge-product-toggle small{display:block}.recharge-product-toggle strong{font-size:11px;font-weight:500}.recharge-product-toggle small{color:var(--soft);margin-top:3px;font-size:11px}.recharge-product-dialog-actions{flex:none;justify-content:flex-end;gap:8px;padding:13px 24px 18px;display:flex;box-shadow:0 -10px 25px #17181609}.portal-log-surface{overflow:hidden}.portal-log-toolbar{align-items:center;gap:10px;min-height:62px;padding:11px 13px;display:flex}.portal-log-search{background:var(--surface-soft);width:min(360px,100%);height:36px;color:var(--soft);border-radius:7px;align-items:center;gap:8px;padding:0 10px;display:flex}.portal-log-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:34px;padding:0;font-size:12px}.portal-log-key-filter{background:var(--surface-soft);width:min(190px,100%);height:36px;color:var(--soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;padding:0 9px;display:grid}.portal-log-key-filter select{width:100%;min-width:0;height:34px;color:var(--muted);background:0 0;border:0;outline:0;font-size:11px}.portal-log-results{background:var(--surface-soft);border-radius:7px;grid-template-columns:repeat(3,auto);gap:2px;height:36px;margin-left:auto;padding:3px;display:grid}.portal-log-results button{min-width:64px;color:var(--muted);background:0 0;border-radius:6px;padding:0 9px;font-size:11px}.portal-log-results button.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-soft)}.portal-log-surface .data-table-wrap{min-height:476px}.portal-table-error{min-height:360px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;display:flex}.portal-table-error strong{color:var(--ink);font-size:13px;font-weight:500}.portal-table-error span{font-size:11px}.portal-pagination{min-height:48px;color:var(--soft);justify-content:space-between;align-items:center;gap:16px;padding:7px 13px;font-size:11px;display:flex}.portal-pagination>div{gap:3px;display:flex}.portal-docs-facts{grid-template-columns:.8fr 1.2fr;gap:10px;margin-bottom:15px;display:grid}.portal-docs-facts>div{background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);border-radius:8px;padding:15px 17px}.portal-docs-facts span{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.portal-docs-facts svg{color:var(--cyan)}.portal-docs-facts code{text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:all;user-select:all;margin-top:10px;font-size:12px;display:block;overflow:hidden}.portal-docs-main{background:var(--surface);min-height:440px;box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:minmax(250px,.66fr) minmax(480px,1.34fr);align-items:center;gap:clamp(36px,7vw,90px);padding:38px clamp(25px,5vw,64px);display:grid}.portal-docs-copy h2{font-family:var(--serif);font-size:31px;font-weight:400}.portal-docs-copy p{color:var(--muted);margin-top:11px;font-size:12px;line-height:1.7}.portal-code-tabs{gap:4px;margin-top:22px;display:flex}.portal-code-tabs button{background:var(--surface-soft);height:32px;color:var(--muted);border-radius:6px;padding:0 10px;font-size:11px}.portal-code-tabs button.is-active{background:var(--ink);color:var(--surface)}.portal-code-window{color:#efede7;background:#1d1e1c;border-radius:8px;min-width:0;overflow:hidden;box-shadow:0 20px 50px #17181629}.portal-code-window>div{background:#272825;align-items:center;gap:6px;height:40px;padding:0 12px;display:flex}.portal-code-window>div>span{background:#76776f;border-radius:50%;width:7px;height:7px}.portal-code-window>div>span:first-child{background:#cf7769}.portal-code-window>div>span:nth-child(2){background:#c5a858}.portal-code-window>div>span:nth-child(3){background:#71927c}.portal-code-window em{color:#97988f;margin-left:5px;font-size:11px;font-style:normal}.portal-code-window button{color:#aaa99f;background:0 0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;display:inline-flex}.portal-code-window button:hover{color:#f6f4ed;background:#343531}.portal-code-window pre{height:302px;margin:0;padding:24px;font-size:12px;line-height:1.8;overflow:auto}.portal-code-window code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.portal-docs-directory{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px;margin-top:15px;padding:0 6px 6px}.portal-docs-directory>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 10px 10px;display:grid}.portal-docs-directory article{background:var(--surface-soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr) minmax(120px,auto);align-items:center;gap:10px;min-width:0;min-height:66px;padding:10px 12px;display:grid}.portal-docs-directory strong,.portal-docs-directory small{display:block}.portal-docs-directory strong{font-size:12px;font-weight:500}.portal-docs-directory small{color:var(--soft);margin-top:3px;font-size:11px}.portal-docs-directory code{min-width:0;color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.portal-docs-features{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px;display:grid}.portal-docs-features>div{background:var(--surface);min-height:155px;box-shadow:var(--shadow-soft);border-radius:8px;padding:19px}.portal-docs-features svg{color:var(--green)}.portal-docs-features h3{margin-top:25px;font-size:12px;font-weight:500}.portal-docs-features p{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.6}.portal-docs-features a{color:var(--ink);margin-top:9px;font-size:11px;font-weight:500;display:inline-block}@media (max-width:1060px){.portal-project-overview dl{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-project-overview dl>div:nth-child(3){box-shadow:inset 0 1px var(--line)}.portal-project-overview dl>div:nth-child(4){box-shadow:inset 1px 0 var(--line), inset 0 1px var(--line)}.portal-key-row{grid-template-columns:auto minmax(0,.7fr) minmax(390px,1.3fr) auto}.portal-key-row>.portal-row-actions{grid-column:4}.portal-key-row>.portal-switch{grid-area:1/4;justify-self:center;transform:translateY(-19px)}.portal-docs-features{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.portal-project-workspace,.portal-project-skeleton{grid-template-columns:minmax(0,1fr)}.portal-project-list{flex-direction:row;max-height:none;overflow-x:auto}.portal-project-list>button{min-width:210px}.portal-metric-grid,.portal-page-skeleton>div{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-billing-summary{grid-template-columns:minmax(0,1fr)}.portal-billing-summary dl>div{border-top:1px solid var(--line)}.portal-overview-grid,.portal-ranking-grid{grid-template-columns:minmax(0,1fr)}.portal-key-row{grid-template-columns:auto minmax(0,1fr) auto}.portal-key-meta{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-key-row>.portal-switch{grid-area:1/3;transform:none}.portal-key-row>.portal-row-actions{grid-area:3/3}.portal-key-row--legacy .portal-legacy-label{grid-area:1/3}.portal-docs-main{grid-template-columns:minmax(0,1fr)}.portal-docs-copy{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 20px;display:grid}.portal-docs-copy>.eyebrow,.portal-docs-copy>h2,.portal-docs-copy>p{grid-column:1}.portal-code-tabs{grid-area:1/2/4;margin:0}}@media (max-width:760px){.portal-content{padding-top:18px;padding-bottom:38px}.portal-shell .portal-page .page-heading{gap:12px;margin-bottom:16px;padding-bottom:13px}.portal-shell .portal-page .page-heading .eyebrow{display:none}.portal-shell .portal-page .page-heading h1{grid-column:1/-1;font-size:21px}.portal-shell .portal-page .page-heading p{max-width:100%}.portal-shell .portal-page .page-heading-aside{justify-content:flex-end;width:auto}.portal-shell .portal-overview-page>.page-heading{grid-template-columns:minmax(0,1fr);position:relative}.portal-shell .portal-overview-page>.page-heading p{padding-right:46px}.portal-shell .portal-overview-page>.page-heading .page-heading-aside{position:absolute;bottom:0;right:0}.portal-shell :is(.portal-projects-page,.portal-keys-page,.portal-usage-page)>.page-heading{grid-template-columns:minmax(0,1fr);gap:11px}.portal-shell :is(.portal-projects-page,.portal-keys-page,.portal-usage-page)>.page-heading .page-heading-aside{justify-content:flex-start;width:100%}.portal-heading-actions,.portal-period-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.portal-heading-actions>span{margin-right:auto}.portal-period-actions>div{flex:184px;max-width:260px}.portal-quickstart{grid-template-columns:auto minmax(0,1fr)}.portal-quickstart .secondary-button{grid-column:1/-1}.portal-log-toolbar{flex-direction:column;align-items:stretch}.portal-log-search,.portal-log-key-filter{width:100%}.portal-log-results{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-left:0}.portal-docs-facts{grid-template-columns:minmax(0,1fr)}.portal-docs-main{padding:28px 20px}.portal-docs-directory>div:last-child{grid-template-columns:minmax(0,1fr)}.portal-ledger-table-wrap{min-height:0;overflow:visible}.portal-ledger-table{min-width:0;display:block}.portal-ledger-table thead{display:none}.portal-ledger-table tbody{display:block}.portal-ledger-table tr{border-top:1px solid var(--line);padding:6px 15px;display:block}.portal-ledger-table td{border-top:1px solid var(--line);text-align:right;justify-content:space-between;align-items:center;gap:15px;width:100%;height:auto;min-height:35px;padding:7px 0;display:flex}.portal-ledger-table td:first-child{border-top:0}.portal-ledger-table td:before{color:var(--soft);content:attr(data-label);text-transform:uppercase;flex:none;font-size:11px}.portal-ledger-table td>small,.portal-ledger-entry{max-width:58%;margin-left:auto}.portal-ledger-table tbody tr:hover td{background:0 0}}@media (max-width:560px){.portal-project-header{min-height:104px;padding:18px 16px 14px}.portal-projects-page .portal-heading-actions{gap:8px}.portal-projects-page .portal-heading-actions :is(.command-button,.secondary-button){padding-left:10px;padding-right:10px}.portal-project-overview,.portal-project-members,.portal-project-keys,.portal-project-usage,.portal-project-logs{padding:16px}.portal-project-overview dl{grid-template-columns:minmax(0,1fr)}.portal-project-overview dl>div+div,.portal-project-overview dl>div:nth-child(3),.portal-project-overview dl>div:nth-child(4){box-shadow:inset 0 1px var(--line)}.portal-project-section-head{flex-direction:column;align-items:stretch}.portal-project-section-head .command-button{width:100%}.portal-project-usage-grid{grid-template-columns:minmax(0,1fr)}.portal-project-usage-grid>div+div{box-shadow:inset 0 1px var(--line)}.portal-project-log-list article{grid-template-columns:auto minmax(0,1fr)}.portal-project-log-list article>div:last-child{text-align:left;grid-column:2}.portal-member-list article{grid-template-columns:auto minmax(0,1fr) auto}.portal-member-list article>select,.portal-member-list article>em{grid-column:2}.portal-member-list article>.icon-button{grid-area:1/3}.portal-metric-grid,.portal-page-skeleton>div{grid-template-columns:minmax(0,1fr)}.portal-metric{min-height:102px}.portal-overview-grid{gap:10px}.portal-trend-panel{min-height:270px}.portal-mini-chart{height:180px}.portal-error-state{grid-template-columns:auto minmax(0,1fr)}.portal-error-state .secondary-button{grid-column:1/-1;justify-self:start}.portal-billing-summary dl{grid-template-columns:minmax(0,1fr)}.portal-billing-summary dl>div{border-left:0;min-height:72px}.portal-billing-skeleton{grid-template-rows:repeat(4,1fr);grid-template-columns:minmax(0,1fr);height:260px}.portal-key-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;padding:15px}.portal-key-icon{width:34px;height:34px}.portal-key-meta{background:var(--surface-soft);border-radius:7px;grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:10px;padding:11px}.portal-key-row>.portal-switch{grid-area:1/3}.portal-key-row>.portal-row-actions{grid-area:auto/1/auto/-1;justify-self:end}.portal-form-dialog{max-height:calc(100svh - 20px)}.portal-form-dialog>header,.portal-form-scroll,.portal-form-dialog footer{padding-left:17px;padding-right:17px}.portal-form-grid,.portal-form-grid--two{grid-template-columns:minmax(0,1fr);gap:0}.portal-key-advanced>summary{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.portal-key-advanced-icon{width:32px;height:32px}.portal-secret-dialog{padding:22px 18px}.portal-usage-chart{height:220px;padding-left:10px;padding-right:10px}.portal-code-tabs{grid-area:auto/1;margin-top:18px}.portal-docs-copy{display:block}.portal-code-window pre{height:340px;padding:18px;font-size:11px}.portal-docs-directory article{grid-template-columns:auto minmax(0,1fr)}.portal-docs-directory article code{text-align:left;grid-column:2}.portal-docs-features{grid-template-columns:minmax(0,1fr)}.portal-docs-features>div{min-height:130px}}@media (max-width:420px){.portal-projects-page .portal-heading-actions>span{display:none}}@media (max-width:380px){.portal-shell .portal-topbar .topbar-title>span{display:none}.portal-shell .portal-topbar-actions{gap:6px}.portal-shell .portal-topbar-tools{gap:0}}@media (max-width:900px){.audit-toolbar{flex-wrap:wrap}.audit-segments{margin-left:0}}@media (max-width:760px){.audit-toolbar{flex-direction:column;align-items:stretch}.audit-search,.audit-select{width:100%}.audit-segments{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.audit-pagination{flex-direction:column;align-items:flex-start}.billing-ledger-toolbar{flex-direction:column;align-items:stretch}.billing-ledger-select,.billing-ledger-search{width:100%}.billing-ledger-field{justify-content:space-between}.billing-ledger-field input,.billing-ledger-user-input{flex:1}.billing-ledger-pagination{flex-direction:column;align-items:flex-start}.recharge-products-skeleton{grid-template-columns:minmax(0,1fr)}.recharge-orders-table-wrap,.recharge-product-table-wrap,.recharge-order-table-wrap{min-height:0;overflow:visible}.recharge-orders-table,.recharge-product-table,.recharge-order-table{min-width:0;display:block}.recharge-orders-table thead,.recharge-product-table thead,.recharge-order-table thead{display:none}.recharge-orders-table tbody,.recharge-product-table tbody,.recharge-order-table tbody{display:block}.recharge-orders-table tr,.recharge-product-table tr,.recharge-order-table tr{border-top:1px solid var(--line);padding:6px 15px;display:block}.recharge-orders-table td,.recharge-product-table td,.recharge-order-table td{text-align:right;border-top:0;justify-content:space-between;align-items:center;gap:16px;width:100%;height:auto;min-height:36px;padding:7px 0;display:flex}.recharge-orders-table td:first-child,.recharge-product-table td:first-child,.recharge-order-table td:first-child{border-top:0}.recharge-orders-table td:before,.recharge-product-table td:before,.recharge-order-table td:before{color:var(--soft);content:attr(data-label);text-transform:uppercase;flex:none;font-size:11px}.recharge-orders-table tbody tr:hover td,.recharge-product-table tbody tr:hover td,.recharge-order-table tbody tr:hover td{background:0 0}.recharge-orders-table td>code{min-width:0;max-width:65%;margin-left:auto}.recharge-order-product,.recharge-product-identity,.recharge-order-number,.recharge-order-customer,.recharge-order-credit,.recharge-order-payment,.recharge-order-time{text-align:right;max-width:65%;margin-left:auto}.recharge-product-identity{justify-content:flex-end}.recharge-product-status-control{width:min(210px,65%)}.recharge-product-row-actions,.recharge-order-row-actions,.recharge-order-actions{margin-left:auto}.recharge-orders-table .recharge-order-actions{flex-wrap:wrap;max-width:72%}.recharge-order-toolbar{flex-wrap:wrap;align-items:stretch}.recharge-order-search{width:100%}.recharge-order-filter{width:calc(100% - 46px)}.recharge-order-refresh{margin-left:0}}@media (max-width:560px){.recharge-admin-heading-actions{justify-content:space-between;width:100%}.recharge-balance-band{flex-wrap:wrap;align-items:flex-start}.recharge-balance-band>em{width:100%;margin-left:55px}.recharge-product-grid{grid-template-columns:minmax(0,1fr)}.recharge-product-section-header,.recharge-order-section-header{flex-direction:column;align-items:flex-start}.recharge-product-section-actions{justify-content:space-between;width:100%}.recharge-product-form-grid,.recharge-checkout-summary{grid-template-columns:minmax(0,1fr)}.recharge-product-dialog{max-height:calc(100svh - 20px)}.recharge-product-dialog-header,.recharge-product-form-body,.recharge-product-dialog-actions{padding-left:17px;padding-right:17px}.recharge-product-dialog-actions{flex-direction:column-reverse;align-items:stretch}.recharge-product-dialog-actions>button{width:100%}.recharge-purchase-dialog .dialog-actions{flex-direction:column-reverse;align-items:stretch}.recharge-purchase-dialog .dialog-actions>button{width:100%}}
