.commerce-home{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:18px}.commerce-home>.page-heading{flex-shrink:0}.commerce-balance{display:flex;align-items:center;gap:32px;padding:16px 22px;border:1px solid #e1e8d5;background:#f4f7ec;border-radius:14px;flex-shrink:0}.commerce-balance>div{display:flex;flex-direction:column;gap:4px}.commerce-balance span{font-size:11px;color:#6b775b}.commerce-balance strong{font-size:26px;letter-spacing:-1px}.commerce-balance>div+div strong{font-size:20px;color:#687957}.commerce-balance>a{margin-left:auto;font-size:11px}.commerce-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;flex:1;min-height:0}.credit-packs,.monthly-card{display:flex;flex-direction:column;min-height:0;padding:clamp(20px,3vw,40px);border:1px solid #dce5cc;border-radius:18px;background:#f5f8ed}.commerce-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#697c4e}.credit-packs h2,.monthly-card h2{font-size:25px;letter-spacing:-.7px;margin:12px 0 6px}.credit-packs .section-title p{font-size:12px;color:#6c785d}.credit-packs .section-title>.hp-icon{width:32px;height:32px}.pack-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:1;min-height:0;margin:20px 0}.pack-option{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;border:1px solid #d6dfc7;border-radius:14px;background:#fff;color:#26331b;padding:20px;text-align:left;cursor:pointer}.pack-option.selected{border:1px solid #859d51;background:#faffed;box-shadow:inset 0 0 0 1.5px #859d51,0 3px 0 #d9e6bd}.pack-option>span{font-size:14px;font-weight:650}.pack-option strong{font-size:clamp(40px,4vw,64px);letter-spacing:-2px}.pack-option small{font-size:12px;color:#72815f}.pack-option>.hp-icon{position:absolute;right:12px;top:12px;width:20px;height:20px}.pack-checkout{display:flex;flex-direction:column;gap:10px;flex-shrink:0}.pack-checkout p,.pack-checkout small{font-size:11px;color:#687658;margin:0}.pack-checkout small{text-align:center;font-size:10px}.pack-checkout .primary{width:100%}.monthly-card{background:#f4f0f8;border-color:#e2d9eb}.monthly-card .commerce-eyebrow{color:#8c759d}.monthly-card h2{font-size:23px}.monthly-amount{font-size:clamp(45px,4vw,64px);font-weight:650;letter-spacing:-2px;margin:22px 0 12px;color:#564066}.monthly-amount>span{display:block;font-size:12px;letter-spacing:0;font-weight:400;margin-top:5px}.monthly-price{font-size:24px;font-weight:650;margin:0 0 14px}.monthly-price>span{font-size:12px;font-weight:400;color:#87758f}.plan-comparison{font-size:12px;line-height:1.6;color:#756580;margin:0 0 16px}.monthly-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.monthly-actions>.secondary{flex:1}.monthly-actions>.text-button{font-size:11px}.monthly-card .fine{font-size:10px;line-height:1.6;color:#8b7c95;margin:14px 0 0}.monthly-card.is-subscribed>p{font-size:12px}.monthly-card.is-subscribed .monthly-amount{font-size:42px}
.build-home{display:flex;flex-direction:column;gap:18px;min-height:0;width:100%;height:100%}.build-wallet{display:flex;align-items:center;justify-content:space-between;padding:25px 30px;background:#f0f6e2;border:1px solid #dfe8cb;border-radius:16px;gap:16px}.build-wallet>div{display:flex;flex-direction:column;gap:8px}.build-wallet span{font-size:12px;color:#66784b}.build-wallet strong{font-size:48px;letter-spacing:-2px}.build-wallet .text-link{font-size:10px}.build-next{display:flex;align-items:center;gap:20px;padding:25px 30px;border:1px solid #e2e6db;border-radius:16px;background:white}.build-next>span>.hp-icon{width:45px;height:45px}.build-next>div{flex:1}.build-next h2{font-size:20px;margin:0 0 7px}.build-next p{font-size:12px;color:#7b8370;margin:0}.build-links{display:flex;align-items:center;justify-content:space-between;gap:14px}.build-links .text-link{display:flex;align-items:center;gap:8px;font-size:12px}.build-links .hp-icon{width:20px;height:20px}.build-response{font-size:12px;border:1px solid #e1e8d5;border-radius:10px;padding:12px 16px}.build-response summary{cursor:pointer}.build-response summary>.hp-icon{width:15px;height:15px;vertical-align:middle}.build-response p{max-height:70px;overflow:auto;line-height:1.6}.plan-nudge{margin-top:auto;display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f4f0f8;border:1px solid #e2d9eb;border-radius:12px}.plan-nudge>div{flex:1}.plan-nudge strong{font-size:12px}.plan-nudge p{font-size:11px;margin:5px 0 0;color:#81728d}.plan-nudge .text-link{font-size:11px;white-space:nowrap}
#screen[data-screen="billing"]{max-width:none}.commerce-home~.commerce-home{height:auto}
@media(max-width:1000px){.commerce-home{gap:14px}.commerce-grid{gap:14px;grid-template-columns:1.1fr 1fr}.credit-packs,.monthly-card{padding:20px}.pack-options{gap:10px;margin:16px 0}.pack-option{padding:14px}.pack-option>span{font-size:12px}.pack-option strong{font-size:38px}.monthly-card h2,.credit-packs h2{font-size:21px}.monthly-amount{font-size:48px}}
@media(max-width:640px){.commerce-home{gap:12px}.commerce-grid{display:flex;flex-direction:column;gap:12px}.credit-packs{flex:1;min-height:230px;padding:16px}.monthly-card{flex-shrink:0;padding:15px;display:grid;grid-template-columns:1fr auto;gap:4px 12px}.monthly-card>.commerce-eyebrow{grid-column:1}.monthly-card>h2{grid-column:1;font-size:16px;margin:3px 0}.monthly-amount{grid-column:2;grid-row:1/4;margin:0;font-size:35px;text-align:right;align-self:center}.monthly-amount>span{font-size:10.5px;margin-top:3px}.monthly-price{grid-column:1;font-size:19px;margin:0}.monthly-price>span{font-size:11px}.plan-comparison{grid-column:1/-1;font-size:11px;margin:4px 0;line-height:1.4}.monthly-actions{grid-column:1/-1;margin:3px 0 0}.monthly-actions>.secondary{font-size:12px;min-height:42px;padding:8px 12px}.monthly-card .fine{grid-column:1/-1;font-size:10.5px;margin:4px 0 0;line-height:1.5}.monthly-card.is-subscribed>p:not(.fine){grid-column:1/-1;font-size:11px;margin:4px 0}.monthly-card.is-subscribed .monthly-amount{font-size:29px}.commerce-balance{gap:15px;padding:12px 15px}.commerce-balance span{font-size:10.5px}.commerce-balance strong{font-size:23px}.commerce-balance>div+div strong{font-size:18px}.commerce-balance>a{font-size:11px;max-width:54px;text-align:right}.credit-packs .section-title{margin-bottom:0}.credit-packs h2{font-size:20px;margin:5px 0}.credit-packs .section-title p{font-size:11px}.commerce-eyebrow{font-size:10px}.pack-options{margin:12px 0;gap:10px}.pack-option{padding:12px;gap:4px}.pack-option strong{font-size:35px}.pack-option small{font-size:11px}.pack-checkout{gap:6px}.pack-checkout p{font-size:10.5px}.pack-checkout .primary{font-size:12px;min-height:42px}.pack-checkout small{font-size:10px}.build-home{gap:14px}.build-wallet{padding:20px}.build-wallet strong{font-size:39px}.build-wallet>.secondary,.build-wallet>.primary{font-size:11px;padding:10px 12px}.build-next{padding:18px;gap:12px;flex-wrap:wrap}.build-next h2{font-size:17px}.build-next p{font-size:11px}.build-next>.primary{width:100%;font-size:12px}.build-next>span>.hp-icon{width:32px;height:32px}.build-links .text-link{font-size:10px}.plan-nudge{flex-wrap:wrap;padding:12px}.plan-nudge>div{flex-basis:calc(100% - 45px)}.plan-nudge>.icon-button{order:-1}.plan-nudge strong{font-size:11px}.plan-nudge p{font-size:10px}.plan-nudge>.text-link{margin-left:45px}}
@media(max-width:640px) and (max-height:780px){.commerce-home{gap:8px}.commerce-grid{gap:8px}.commerce-balance{padding:9px 12px}.credit-packs{padding:12px;min-height:210px}.pack-options{margin:8px 0}.pack-option strong{font-size:29px}.monthly-card{padding:12px;gap:2px 10px}.monthly-amount{font-size:30px}.monthly-card .fine{font-size:10px}.credit-packs .section-title p{display:none}.commerce-home .page-heading h1{font-size:23px}}
@media(max-height:650px){.commerce-home,.build-home{height:auto;min-height:100%}.commerce-grid{min-height:440px}.build-home{gap:12px}}
@media(max-width:640px){.plan-nudge{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:7px}.plan-nudge>div{grid-column:1;grid-row:1}.plan-nudge>.icon-button{grid-column:2;grid-row:1;width:24px;height:24px;padding:0;align-self:start}.plan-nudge>.text-link{grid-column:1/-1;margin:0}.build-wallet>.secondary,.build-wallet>.primary{white-space:nowrap;gap:7px;font-size:10px;flex-shrink:0}}
.rate-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:7px 9px;border-radius:9px;background:#e9efd9;color:#536535;font-size:12px;font-weight:750;letter-spacing:0}.rate-badge>span{font-size:10.5px;font-weight:600}.rate-badge.is-boosted{background:#e9dff6;color:#694a8d}.rate-badge>.hp-icon{width:16px;height:16px}.rate-control{border:0;background:none;padding:0;border-radius:999px}.rate-control .rate-badge{min-height:36px;padding:5px 12px;border-radius:999px;border:1px solid #5a34a0}.rate-control .rate-badge>span{display:none}.rate-control:hover .rate-badge{box-shadow:0 0 0 1px #b7a3d0}.monthly-amount.boost-display{font-size:clamp(64px,6vw,90px);line-height:1;letter-spacing:-4px;margin:18px 0}.boost-display>.hp-icon{height:.8em;width:.7em;vertical-align:-.02em;margin-right:5px;filter:drop-shadow(0 3px 0 #d9c9ed)}.boost-display>span{font-size:11px;letter-spacing:0;line-height:1.4;margin-top:10px}.monthly-price>small{display:block;margin-top:5px;font-size:12px;font-weight:400;color:#6e587f;line-height:1.5}.monthly-card .plan-comparison{color:#6e587f}.monthly-actions>.boost-button{background:#e3d3f4;color:#563875;border-color:#cdb3e6;box-shadow:0 3px 0 #cdb3e6;gap:8px}.boost-button:hover:not(:disabled){background:#ecddfc}.boost-button>.hp-icon{width:19px;height:19px}.member-allowance>strong{font-size:24px;letter-spacing:-1px}.monthly-card.is-subscribed .boost-display{font-size:72px}.plan-nudge strong{display:flex;align-items:center;gap:6px}.plan-nudge strong>.hp-icon{width:19px;height:19px}.order-summary>.rate-badge{margin:10px auto 0}.order-summary>.value-badge{display:block}.celebration>.hp-icon:has(path[fill="#a28ad2"]){filter:drop-shadow(0 5px 0 #e4d7f1)}
@media(max-width:1000px){.monthly-amount.boost-display{font-size:68px}.rate-badge>span{display:none}}
@media(max-width:640px){.rate-control .rate-badge{min-height:36px;padding:5px 10px;border-radius:999px;font-size:11px;gap:3px}.rate-control .hp-icon{width:14px;height:14px}.workspace-plan{gap:5px}.monthly-amount.boost-display,.monthly-card.is-subscribed .boost-display{font-size:46px;letter-spacing:-2px;margin:0;grid-row:1/4}.boost-display>span{font-size:10.5px;margin-top:5px}.boost-display>.hp-icon{margin-right:0}.monthly-price>small{font-size:11px;margin-top:3px;max-width:160px}.monthly-card.is-subscribed>.member-allowance{grid-column:1;max-width:150px;line-height:1.5}.member-allowance>strong{font-size:20px}.monthly-card .plan-comparison{font-size:11px}.monthly-card.is-subscribed>.plan-comparison{margin:2px 0}.credit-packs .section-title{gap:10px}.rate-badge{font-size:11px;padding:6px 8px}.monthly-actions{flex-wrap:wrap}.monthly-actions>.text-button{font-size:11px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}.plan-nudge strong>.hp-icon{width:15px;height:15px}}
@media(max-width:640px) and (max-height:780px){.monthly-amount.boost-display,.monthly-card.is-subscribed .boost-display{font-size:40px}.monthly-price>small{font-size:10.5px}.monthly-card .plan-comparison{font-size:10.5px;line-height:1.4}.monthly-card .fine{font-size:10px}.pack-option{gap:3px}}
.checkout.is-membership .order-summary{background:#f4f0f8}.checkout.is-membership .value-badge{background:#e9dff6;color:#694a8d}.checkout .boost-button{background:#e3d3f4;color:#563875;border-color:#cdb3e6;box-shadow:0 3px 0 #cdb3e6;gap:8px}.monthly-card.is-subscribed>p.fine{font-size:10px}
@media(max-width:640px){.monthly-card.is-subscribed>p.member-allowance{grid-column:1;margin:0;font-size:10px;line-height:1.4}.monthly-card.is-subscribed>p.fine{font-size:9px;line-height:1.4;margin:4px 0 0}.monthly-card.is-subscribed>.monthly-actions{margin-top:0}.monthly-card.is-subscribed>.monthly-actions>.text-button{padding:7px 0}.pack-options{min-height:88px}.credit-packs{min-height:246px}.monthly-card.is-subscribed{row-gap:2px}}
@media(max-width:640px) and (max-height:780px){.monthly-card.is-subscribed>p.fine{font-size:8px}.credit-packs{min-height:240px}}
@media(max-width:640px) and (min-height:581px) and (max-height:700px){.commerce-home>.page-heading{display:none}.credit-packs{min-height:212px}.credit-packs .commerce-eyebrow,.pack-checkout>small{display:none}.pack-options{min-height:82px;margin:6px 0}.checkout{gap:12px;padding:14px}.checkout .order-summary{padding:12px}.checkout .checkout-usage{font-size:40px}.checkout .price-line strong{font-size:30px}.checkout .order-summary>.rate-badge{margin-top:6px}}
.pack-option strong{line-height:1.1}
@media(max-width:640px) and (min-height:581px) and (max-height:700px){.pack-options{min-height:92px}.credit-packs,.monthly-card{padding:10px}.credit-packs h2{margin:3px 0}}
/* One next action after activation. */
.focus-home{width:100%;max-width:760px;margin:auto;display:flex;flex-direction:column;gap:18px}.focus-wallet{background:#f1f6e6;border:1px solid #dce6c9;border-radius:24px;padding:clamp(24px,4vh,44px);display:flex;flex-direction:column;align-items:center;text-align:center}.focus-earned{display:inline-flex;align-items:center;gap:7px;border-radius:20px;background:#e5efcf;padding:7px 12px;font-size:12px;color:#53673b;margin-bottom:22px}.focus-earned>.hp-icon{width:20px;height:20px}.focus-label{font-size:12px;color:#6a785b}.focus-balance{font-size:clamp(48px,7vh,76px);line-height:1.2;font-weight:750;letter-spacing:-3px;text-decoration:none;margin:5px 0 22px}.focus-balance:hover{text-decoration:underline;text-decoration-thickness:2px}.has-workspace .focus-wallet h1{font-size:25px;letter-spacing:-.8px}.focus-wallet>p{font-size:12px;color:#69745d;margin:10px 0 24px}.focus-primary{min-width:230px}.focus-secondary{display:block;font-size:11px;color:#6c745f;margin-top:17px;text-underline-offset:3px}.focus-boost{display:flex;align-items:center;gap:16px;background:#f1eaf8;border:1px solid #e1d4ec;border-radius:16px;padding:18px}.boost-art{display:flex;align-items:center;color:#745395}.boost-art>.hp-icon{width:30px;height:30px}.boost-art>strong{font-size:33px;letter-spacing:-1px}.focus-boost>div{flex:1}.focus-boost>div>strong{font-size:13px}.focus-boost p{font-size:11px;margin:5px 0 0;color:#796287}.focus-boost>.secondary{font-size:11px;white-space:nowrap;gap:8px}.focus-boost>.icon-button{width:25px;height:25px;padding:0}.boost-invite{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;background:#eee5f8;color:#65447f;font-size:11px;font-weight:650}.boost-invite>.hp-icon{width:19px;height:19px;transition:transform .25s}.boost-invite:hover>.hp-icon,.boost-invite:focus-visible>.hp-icon{transform:rotate(-15deg) scale(1.16)}.focus-boost:hover .boost-art>.hp-icon{transform:rotate(-10deg);transition:transform .25s}.setup-focused{max-width:850px;margin:0 auto}.setup-focused .harness-picker{gap:10px}.setup-focused .harness-choice{min-height:60px;padding:10px;font-size:11px}.setup-card{padding:28px 34px;background:white;border:1px solid #e0e3d7;border-radius:20px;max-width:650px;width:100%;margin:auto;min-height:0}.setup-tool{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;margin-bottom:25px}.setup-tool>img,.setup-tool>.hp-icon{width:25px;height:25px}.setup-status{margin-left:auto;font-size:10px;color:#627a3b}.setup-card .harness-instructions>h2{font-size:24px}.setup-card .setup-reward{font-size:11px;margin:13px 0 0;color:#637648}.setup-success{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 0}.setup-success>.hp-icon{width:42px;height:42px;margin-bottom:15px}.setup-success h2{font-size:24px;margin:0 0 10px}.setup-success>p{font-size:12px;color:#69745d;margin:0 0 20px}.setup-success .focus-earned{margin-bottom:22px}.setup-success>.primary{min-width:210px}.setup-test-controls{display:flex;gap:15px;border-top:1px solid #eee;margin-top:15px}
@media(max-width:1000px){.focus-boost{gap:10px;padding:15px}.focus-boost>div>strong{font-size:12px}}
@media(max-width:640px){.header-balance>span{display:none}.boost-invite{font-size:10px;padding:6px;gap:3px}.boost-invite>.hp-icon{width:15px;height:15px}.focus-home{gap:12px}.focus-wallet{padding:26px 18px;border-radius:18px}.focus-earned{font-size:10px;margin-bottom:16px}.focus-balance{font-size:54px;margin-bottom:18px}.has-workspace .focus-wallet h1{font-size:22px}.focus-wallet>p{font-size:11px;margin:8px 0 20px;max-width:230px}.focus-label{font-size:10px}.focus-primary{font-size:12px;min-width:210px}.focus-boost{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:8px 10px;padding:14px}.boost-art{grid-column:1;grid-row:1;gap:0}.boost-art>.hp-icon{width:18px;height:22px}.boost-art>strong{font-size:25px}.focus-boost>div{grid-column:2;grid-row:1}.focus-boost p{font-size:10px}.focus-boost>.secondary{grid-column:1/-1;min-height:36px}.focus-boost>.icon-button{grid-column:3;grid-row:1;width:20px;height:20px}.setup-focused .harness-picker{gap:5px}.setup-focused .harness-choice{padding:8px 3px;min-height:60px;font-size:9px}.setup-card{padding:21px 18px;border-radius:15px}.setup-tool{margin-bottom:20px}.setup-card .harness-instructions>h2,.setup-success h2{font-size:21px}.setup-success>p{font-size:11px}.setup-card .harness-command{max-height:110px}.setup-awaiting,.setup-card .setup-reward{font-size:10px}.setup-test-controls{flex-wrap:wrap;gap:8px}.setup-test-controls .text-button{font-size:9px}}
@media(max-width:640px) and (max-height:700px){.focus-wallet{padding:18px}.focus-earned{margin-bottom:10px}.focus-balance{font-size:46px;margin-bottom:12px}.focus-wallet>p{margin-bottom:15px}.focus-secondary{margin-top:12px}.setup-card{padding:16px}.setup-tool{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.boost-invite>.hp-icon,.focus-boost .boost-art>.hp-icon{transition:none!important;transform:none!important}}

.live-receipt { width:min(100%,540px); margin:28px auto 0; text-align:center; display:grid; justify-items:center; gap:16px; padding:clamp(24px,5vw,44px); }
.live-receipt h2,.live-receipt p { margin:0; }
.live-receipt-icon { display:grid; place-items:center; width:72px; height:72px; background:var(--accent,#e0f580); border-radius:24px; }
.live-receipt.is-membership .live-receipt-icon { background:#efe6fa; }
.live-receipt.is-pending .live-receipt-icon { background:#fdf3df; }
.live-receipt.is-changed .live-receipt-icon { background:#eff1e7; }
.live-receipt-icon svg { width:34px; height:34px; }
.live-settings { width:100%; display:grid; gap:14px; text-align:left; }
.live-settings.compact { margin-top:14px; }
.live-settings.compact label { font-weight:700; color:var(--ink); }
.live-settings .setting-row { display:flex; align-items:flex-end; gap:10px; }
.live-settings .setting-row > label { flex:1; min-width:0; }
.live-settings label { display:grid; gap:6px; font-size:12px; color:var(--muted); }
.live-settings code { display:flex; align-items:center; min-height:38px; color:var(--ink); overflow-wrap:anywhere; white-space:pre-wrap; padding:8px 12px; background:var(--paper); border:1px solid var(--line); border-radius:8px; font-family:var(--mono); font-size:12px; }
.live-settings code.is-placeholder { color:var(--muted); font-family:inherit; font-size:12.5px; }
.copy-inline { padding:8px 11px; min-height:38px; flex-shrink:0; font-size:12px; border:1px solid var(--line); border-radius:8px; background:#fff; text-decoration:none; color:var(--ink); font-weight:600; }
.copy-inline:hover { background:#f1f4e8; }
.secret-display { white-space:pre-wrap; overflow-wrap:anywhere; padding:16px; background:var(--paper); border:1px solid var(--line); border-radius:12px; }

/* Audit polish: Billing density, 3x violet energy, Checkout badges, Connect header, and mobile stacking. */
#screen[data-screen="billing"]{padding:16px 30px 16px}
.commerce-home { height:auto; gap:14px; max-width:1080px; margin:0 auto; }
.commerce-home > .page-heading h1 { font-size:26px; }
.commerce-balance { padding:12px 20px; }
.commerce-grid { flex:0 1 auto; align-items:stretch; }
.credit-packs, .monthly-card { padding:clamp(18px,2.2vw,28px); }
.commerce-eyebrow { display:block; line-height:1.2; font-size:11px; color:#4d5f33; }
.credit-packs .section-title { align-items:flex-start; }
.pack-checkout { margin-top:auto; }
.pack-options { flex:0 0 auto; margin:14px 0; }
.pack-option { min-height:114px; padding:16px 18px; }
.pack-option small { color:#4f5f3c; }
.commerce-balance span { color:#4c5a3d; }
.commerce-balance > div + div strong { color:#46582c; }
.monthly-card .commerce-eyebrow { color:#5d417a; }
.monthly-price > span { color:#5d4a6e; }
.monthly-card .fine { color:#5d4d6b; font-size:11px; }
.pack-checkout small { font-size:11px; color:#525f43; }
.rate-badge.is-boosted { background:#6d44b8; color:#fff; }
.rate-badge.is-boosted .hp-icon path { fill:#fff; stroke:#fff; }
.rate-control:hover .rate-badge.is-boosted { background:#5c37a3; box-shadow:0 0 0 2px #d8c6f2; }
.monthly-actions>.boost-button, .checkout .boost-button { background:#6d44b8; color:#fff; border-color:#5a34a0; box-shadow:0 3px 0 #4a2887; gap:8px; }
.monthly-actions>.boost-button:hover:not(:disabled), .checkout .boost-button:hover:not(:disabled) { background:#7b52c6; }
.monthly-actions>.boost-button:active:not(:disabled), .checkout .boost-button:active:not(:disabled) { transform:translateY(2px); box-shadow:0 1px 0 #4a2887; }
.monthly-card.is-canceling { background:#fdf6ea; border-color:#ead5b0; }
.monthly-card.is-canceling .commerce-eyebrow { color:#7a5212; }
.monthly-card.is-canceling .monthly-amount { color:#6c4812; }
.monthly-card.is-canceling .boost-display > .hp-icon { filter:none; }
.monthly-card.is-canceling .plan-comparison, .monthly-card.is-canceling .fine, .monthly-card.is-canceling > p { color:#664b21; }
.monthly-card.is-canceling .monthly-actions > .boost-button { background:#242521; color:#fff; border-color:#151613; box-shadow:0 3px 0 #11120f; }
.monthly-card.is-canceling .monthly-actions > .boost-button:hover:not(:disabled) { background:#383a33; }
progress.member-progress { appearance:none; display:block; width:100%; height:6px; border:0; border-radius:999px; background:#dfd4ee; overflow:hidden; margin:8px 0 12px; }
progress.member-progress::-webkit-progress-bar { background:#dfd4ee; border-radius:999px; }
progress.member-progress::-webkit-progress-value { background:#6d44b8; border-radius:999px; }
progress.member-progress::-moz-progress-bar { background:#6d44b8; border-radius:999px; }
.monthly-card.is-canceling progress.member-progress { background:#eddcb8; }
.monthly-card.is-canceling progress.member-progress::-webkit-progress-bar { background:#eddcb8; }
progress.member-progress::-webkit-progress-value { background:#6d44b8; border-radius:999px; }
.monthly-card.is-canceling progress.member-progress::-webkit-progress-value { background:#b37a1e; }
.monthly-card.is-canceling progress.member-progress::-moz-progress-bar { background:#b37a1e; }
.plan-bullets { list-style:none; padding:0; margin:0 0 16px; display:grid; gap:7px; font-size:12px; color:#4f3c61; }
.plan-bullets li { position:relative; padding-left:18px; line-height:1.45; }
.plan-bullets li::before { content:"✓"; position:absolute; left:0; top:0; color:#6d44b8; font-weight:700; }
.order-summary > .value-badge { display:inline-flex; width:fit-content; margin:8px auto 0; }
.order-badges { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
.order-badges > .value-badge, .order-badges > .rate-badge { margin:0; height:28px; padding:0 10px; border-radius:8px; font-size:11.5px; display:inline-flex; align-items:center; }
.order-badges > .rate-badge > span { font-size:11px; }
#screen[data-screen="checkout"] > .page-heading { max-width:850px; width:100%; margin:0 auto; }
#screen[data-screen="receipt"] > .page-heading { max-width:540px; width:100%; margin:0 auto; }
.checkout-action > p.checkout-trust { margin:12px 0 8px; text-align:center; }
.checkout-action .text-button { align-self:center; padding-inline:12px; }
.live-receipt > p:not(.fine) { max-width:36ch; }
.live-receipt .button-row { margin-top:0; justify-content:center; }
.focus-wallet.is-exhausted { background:#fdf5e7; border-color:#ecd8b3; }
.focus-wallet.is-exhausted .focus-earned { background:#f5e4c2; color:#744f12; }
.setup-card { max-width:850px; margin:12px auto 0; }
.setup-card .live-settings { max-width:560px; margin:0 auto; }
.setup-tool-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px 18px; flex-wrap:wrap; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #eef0e7; }
.setup-card:has(.tool-capability-bar) .setup-tool-head { border-bottom:0; padding-bottom:0; margin-bottom:10px; }
.setup-tool-head .setup-tool { margin-bottom:0; flex-shrink:0; white-space:nowrap; min-height:40px; }
.setup-tool-head .setup-controls-row { flex:1 1 380px; justify-content:flex-end; }
.setup-tool-head .live-model-select { margin:0; flex:1 1 200px; min-width:180px; flex-direction:column; align-items:stretch; gap:5px; }
.setup-tool-head .live-model-select.is-reasoning { flex:0 1 175px; min-width:150px; }
@media(max-width:820px){ .setup-card { padding:22px; } }
.setup-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; margin-top:16px; width:100%; }
dialog .setup-actions { justify-content:flex-start; }
@media(max-width:640px){
  .commerce-grid { align-items:stretch; }
  .credit-packs, .monthly-card { width:100%; }
  .credit-packs { flex:0 0 auto; min-height:0; }
  .pack-options { flex:0 0 auto; min-height:0; }
  .pack-option { min-height:106px; }
  .commerce-balance { display:grid; grid-template-columns:1fr auto; gap:10px 14px; padding:14px 16px; }
  .commerce-balance > div:first-child { grid-column:1; }
  .commerce-balance > a { grid-column:2; grid-row:1; max-width:none; white-space:nowrap; font-size:12px; min-height:44px; display:inline-flex; align-items:center; margin-left:auto; align-self:center; }
  .commerce-balance > div:nth-child(2) { grid-column:1; grid-row:2; }
  .commerce-balance > div:nth-child(3) { grid-column:2; grid-row:2; text-align:right; }
  .commerce-balance span { font-size:11px; }
  .monthly-price > small { max-width:210px; font-size:11px; }
  .monthly-amount.boost-display, .monthly-card.is-subscribed .boost-display { align-self:start; }
  .setup-tool-head .live-model-select, .setup-tool-head .live-model-select.is-reasoning { width:100%; min-width:0; flex:1 1 100%; }
  .live-settings .setting-row { flex-direction:row; align-items:flex-end; gap:8px; }
  .live-settings code { min-height:44px; }
  .copy-inline { min-height:44px; padding:10px 14px; }
  .checkout-action > p.checkout-trust { margin:12px 0 6px; font-size:11px; line-height:1.5; }
  .checkout-action .primary { min-height:44px; font-size:13px; }
  .checkout-action .text-button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:8px 16px; }
  .harness-picker, .setup-focused .harness-picker { display:flex; overflow-x:auto; gap:8px; padding-bottom:4px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
  .harness-choice, .setup-focused .harness-choice { flex:0 0 84px; min-height:68px; padding:10px 8px; font-size:11px; scroll-snap-align:start; }
  .harness-home .page-heading > .text-link, .harness-home .page-heading .heading-links .text-link { font-size:12px; min-height:44px; display:inline-flex; align-items:center; }
}
.heading-links{display:inline-flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;color:#68705b}

/* Wave 2-4: Perforated Ticket-Stub Receipts + Pending Settlement Rail, Pack transitions & Boost dismiss. */
.ticket-stub{position:relative;overflow:visible}
.receipt-tear{position:relative;width:calc(100% + 2 * clamp(24px,5vw,44px));border-top:1.5px dashed #cfd5c3;margin:6px 0}
.receipt-tear::before,.receipt-tear::after{content:"";position:absolute;top:-9px;width:9px;height:16px;background:#f8f9f5;border:1px solid var(--line)}
.receipt-tear::before{left:-1px;border-left:0;border-radius:0 999px 999px 0}
.receipt-tear::after{right:-1px;border-right:0;border-radius:999px 0 0 999px}
.receipt-rail{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:4px 0}
.rail-step{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#5f6556;padding:4px 9px;border-radius:999px;background:#f4f5f0}
.rail-step i{width:7px;height:7px;border-radius:50%;background:#c2c7b8;display:inline-block}
.rail-step.is-done{background:#eef6dc;color:#334a19}
.rail-step.is-done i{background:#7ea32c}
.rail-step.is-active{background:#efe7fa;color:#523478}
.rail-step.is-active i{background:#6d44b8;animation:hp-rail-pulse 1.6s ease-in-out infinite}
@keyframes hp-rail-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(1.25)}}
@media(max-width:640px){.receipt-rail{flex-wrap:wrap;gap:5px}}
@media(prefers-reduced-motion:reduce){.rail-step.is-active i{animation:none}}

.pack-option{transition:background-color 150ms cubic-bezier(.22,1,.36,1),box-shadow 150ms cubic-bezier(.22,1,.36,1),border-color 150ms ease,transform 110ms ease}
.pack-option:active{transform:translateY(1px)}
.pack-option.selected>.hp-icon{animation:hp-check-pop 220ms cubic-bezier(.34,1.56,.64,1)}
@keyframes hp-check-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
.focus-boost{transition:opacity 180ms cubic-bezier(.22,1,.36,1),transform 180ms cubic-bezier(.22,1,.36,1),max-height 200ms cubic-bezier(.22,1,.36,1),padding 200ms ease;overflow:hidden}
.focus-boost.is-dismissing{opacity:0;transform:translateY(-6px);max-height:0!important;padding-top:0;padding-bottom:0;border-width:0}
.focus-boost .boost-art>.hp-icon{transition:transform 220ms cubic-bezier(.22,1,.36,1)}
.live-receipt.is-pending .live-receipt-icon{animation:hp-pending-pulse 1.8s ease-in-out infinite}
.live-receipt.is-paid .live-receipt-icon,.live-receipt.is-membership .live-receipt-icon{animation:hp-receipt-pop 380ms cubic-bezier(.34,1.56,.64,1)}
@keyframes hp-pending-pulse{0%,100%{opacity:1}50%{opacity:.6}}
@keyframes hp-receipt-pop{0%{transform:scale(.82);opacity:.4}60%{transform:scale(1.06);opacity:1}100%{transform:scale(1);opacity:1}}
.focus-home{margin:auto}
.focus-boost>.secondary{font-size:12.5px;min-height:40px;padding:8px 14px}
.focus-boost>.secondary>.hp-icon{width:16px;height:16px}
.rate-control.boost-invite{border-radius:999px;border:1px solid #d9c8ef;padding:5px 11px}
.monthly-amount{color:#4f2c8c}
.monthly-card.is-canceling .boost-display .hp-icon path{fill:#d97706;stroke:#7a5212}
.focus-tools-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:0 0 20px}
.tool-chip{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 12px;border-radius:8px;background:#fff;border:1px solid #d5dac7;box-shadow:0 1px 0 #dce1cf;font-size:12px;font-weight:650;color:#242521;cursor:pointer;transition:background-color 120ms ease,border-color 120ms ease}
.tool-chip:hover{background:#e0f580;border-color:#98b03e}
@media(prefers-reduced-motion:reduce){.live-receipt-icon,.pack-option.selected>.hp-icon{animation:none!important}.focus-boost{transition:none!important}}

/* Number-free proportional ratio meters (2x 50/50 vs 3x 33/67) & flush-aligned billing CTAs. */
.ratio-meter{display:flex;align-items:stretch;margin:4px 0 12px;font-size:11px;font-weight:700;line-height:1}
.ratio-paid{flex:0 0 50%;display:flex;align-items:center;justify-content:center;padding:7px 8px;background:#fff;border:1px solid #c5d1b0;border-radius:8px 0 0 8px;color:#34421d;white-space:nowrap}
.ratio-meter.is-boosted .ratio-paid{flex:0 0 33.333%;border-color:#c8b5e4;color:#462a7a}
.ratio-bonus{flex:1;display:flex;align-items:center;justify-content:center;padding:7px 8px;background:#e0f580;border:1px solid #b5cb58;border-left:0;border-radius:0 8px 8px 0;color:#2c3a17;white-space:nowrap}
.ratio-meter.is-boosted .ratio-bonus{background:#eee7fa;border:1px solid #c8b5e4;border-left:0;color:#4f2c8c}
.credit-packs .ratio-meter{margin:12px 0 0}
.monthly-card .ratio-meter{margin:0 0 16px}
.monthly-card.is-subscribed>.section-title{margin-bottom:4px}
@media(max-width:640px){.monthly-card .ratio-meter{grid-column:1/-1;margin:6px 0 6px}.monthly-card .plan-bullets{grid-column:1/-1;margin:2px 0 8px}.monthly-card.is-subscribed>.section-title{grid-column:1/-1}.monthly-card.is-subscribed .boost-display{grid-column:1;grid-row:auto;text-align:left}}

/* Post-states granular QA fixes: earned-response spacing, member-allowance gap. */
.focus-wallet .focus-balance{margin:4px 0 14px}
.focus-wallet>p{margin:8px 0 18px}
.focus-wallet .earned-response{width:min(100%,460px);margin:0 0 16px;text-align:left}
.focus-wallet .earned-response>p{margin-top:10px;text-align:left}
.member-allowance>strong{margin-right:4px}
.pair-command-box{display:flex;align-items:center;gap:10px;width:min(100%,660px);padding:8px 8px 8px 16px;background:#1b1d18;border:1.5px solid #242521;border-radius:12px;box-shadow:0 3px 0 #d5dbc6;margin:4px 0 2px}
.pair-command-box.is-launch{width:min(100%,460px);box-shadow:0 2px 0 #d5dbc6}
.pair-command-box>code{flex:1;min-width:0;text-align:left;font:600 13px/1.4 var(--mono);color:#f1f5e6;overflow-x:auto;white-space:nowrap;cursor:pointer;padding:4px 0}
.pair-command-box>.primary,.pair-command-box>.secondary{flex-shrink:0;min-height:40px;padding:9px 15px;font-size:12.5px}
.pair-command-box>.secondary{background:#2d3028;border-color:#44483d;color:#f1f5e6;box-shadow:none}
.pair-command-box>.secondary:hover:not(:disabled){background:#3a3e34}
.pair-summary{margin:2px 0 0}
.keys-cli-callout{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;margin:0 0 14px;background:#f7f9ee;border:1px solid #cfd8a8;border-radius:12px;font-size:13px;font-weight:600;line-height:1.4;color:#242521}
.keys-cli-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;flex-wrap:wrap}
.keys-cli-actions>.secondary{white-space:nowrap;min-height:36px;padding:7px 12px;font-size:12px}
.uninstall-label{margin:8px 0 2px;font-weight:600;color:#242521}
.uninstall-server-box{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-top:14px;background:#fcf7f6;border:1px solid #ead4d1;border-radius:12px}
.uninstall-server-box p{margin:2px 0 0}
.uninstall-server-box>.danger{flex-shrink:0}
.secondary.danger{color:#9a2c0f;border-color:#e4bdb5}
.secondary.danger:hover:not(:disabled){background:#fcebe5}
.setup-lead{margin:0 0 10px}
.key-row:first-child{padding-top:0}
.key-list>p.muted{margin:0;padding-bottom:12px;border-bottom:1px solid var(--line)}
.tool-capability-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin:0 0 8px;background:#faf8f0;border:1px solid #e5decb;border-radius:10px;font-size:12px;line-height:1.4;color:#4c5342;text-align:left}
.tool-capability-bar.is-multi{background:#f3f8ea;border-color:#d8e3c3}
.tool-capability-bar code{font:600 11px var(--mono);background:#ebefe0;padding:1px 5px;border-radius:4px;color:#242521}
.tool-capability-bar>.text-button{padding:2px 0;font-weight:700;color:#2f3d19;white-space:nowrap;flex-shrink:0}
.config-preview{margin:12px 0 4px;text-align:left}
.config-preview>summary{font-size:12px;font-weight:600;color:#4c5342;cursor:pointer;padding:4px 0}
.config-preview>pre{margin-top:8px;max-height:190px;padding:12px;font-size:11.5px;line-height:1.55}
#modal .pair-command-box{width:100%;margin:6px 0 12px}
#modal .pair-command-box:last-child{margin-bottom:0}
#modal .pair-command-box>code{font-size:12.5px}
.setup-success p>code{font:600 12px var(--mono);background:#f2f4eb;padding:2px 6px;border-radius:5px;color:#242521}
.setup-tool-head .setup-controls-row{flex:1 1 100%;justify-content:stretch}
.install-mode-toggle{display:inline-flex;align-items:center;gap:4px;padding:3px;margin:0 0 8px;background:#f3f5ec;border:1px solid #d9dfd0;border-radius:10px}
.mode-pill{border:0;background:transparent;color:#4f5843;font-size:12px;font-weight:650;padding:6px 12px;min-height:32px;border-radius:7px;cursor:pointer;transition:background-color 120ms ease,color 120ms ease,box-shadow 120ms ease}
.mode-pill:hover:not(:disabled){color:#242521}
.mode-pill.selected{background:#fff;color:#242521;box-shadow:0 1px 2px rgba(36,37,33,.08),inset 0 0 0 1px #ced6be}
.pair-mode-note{font-size:11.5px;line-height:1.45;color:#5a634e;margin:6px 0 8px;max-width:560px}
.pair-mode-note code{font:600 11px var(--mono);background:#f2f4eb;padding:1px 5px;border-radius:4px;color:#242521}
.cursor-quick-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:8px 0 4px}
.cursor-quick-links>.secondary{min-height:36px;padding:7px 14px;font-size:12px;text-decoration:none}
.connect-quick-guide{width:min(100%,540px);margin:6px 0 12px;padding:10px 14px;background:#f8f9f3;border:1px solid #e1e6d5;border-radius:12px;display:grid;gap:7px;text-align:left;font-size:12px}
.quick-guide-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.quick-guide-row>span:first-child{color:#5e6751;font-weight:600;white-space:nowrap}
.quick-guide-row code{font:600 11.5px var(--mono);background:#eef1e4;padding:2px 6px;border-radius:5px;color:#242521}
.quick-guide-cmd{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.quick-guide-cmd>code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-guide-cmd>.text-button{font-size:11.5px;padding:2px 4px;flex-shrink:0}
@media(max-width:640px){
  .rate-control.boost-invite{padding:4px 9px;font-size:10.5px}
  .tool-chip{min-height:38px}
  .harness-picker,.setup-focused .harness-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible;padding-bottom:0}
  .harness-choice,.setup-focused .harness-choice{flex:none;min-height:58px;padding:7px 2px;font-size:10.5px;gap:4px}
  .setup-card{padding:16px 14px;margin-top:6px}
  .setup-tool-head{margin-bottom:8px;padding-bottom:10px}
  .setup-tool-head .setup-controls-row:has(.is-reasoning){display:grid;grid-template-columns:minmax(0,1.35fr) minmax(108px,.85fr);gap:10px;align-items:end}
  .setup-tool-head .live-model-select,.setup-tool-head .live-model-select.is-reasoning{min-width:0}
  .setup-tool-head .live-model-select select{min-width:0;padding:7px 28px 7px 10px;font-size:14px}
  .connect-pipeline{width:min(100%,220px);margin:2px 0 10px}
  .pipe-node{width:38px;height:38px}
  .setup-success{padding:4px 0}
  .setup-success h2{font-size:19px;margin:0 0 6px}
  .setup-success>p{margin:0 0 10px}
  .pair-command-box{flex-direction:column;align-items:stretch;padding:10px 12px;gap:8px}
  .pair-command-box>code{white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:visible;text-align:center;font-size:11.5px}
  .pair-command-box>.primary,.pair-command-box>.secondary{width:100%;min-height:42px}
  .tool-capability-bar{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:7px 10px;font-size:11.5px}
  .tool-capability-bar>.text-button{min-height:28px;padding:2px 0}
  .keys-cli-callout,.uninstall-server-box{flex-direction:column;align-items:stretch;gap:8px}
  .keys-cli-actions{justify-content:space-between}
  .uninstall-server-box>.danger{width:100%;justify-content:center}
  .install-mode-toggle{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .mode-pill{min-height:36px;padding:6px 8px;font-size:11.5px}
  .connect-quick-guide{padding:10px 12px;font-size:11.5px}
  .quick-guide-row{flex-direction:column;align-items:flex-start;gap:4px}
}

/* Unified Go 3x hero price & 3-Cell Charged Credit Tank (matching landing page) */
.monthly-card > .section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.monthly-hero{display:flex;align-items:baseline;gap:10px;margin:18px 0 14px;font-variant-numeric:tabular-nums}
.monthly-hero-price{font-size:clamp(34px,3.6vw,48px);font-weight:750;letter-spacing:-2px;line-height:1;color:#242521}
.monthly-hero-price>span{font-size:15px;font-weight:500;letter-spacing:0;color:#6b558c;margin-left:2px}
.monthly-hero-arrow{font-size:22px;color:#8c759d;font-weight:500}
.monthly-hero-credits{font-size:clamp(34px,3.6vw,48px);font-weight:750;letter-spacing:-2px;line-height:1;color:#5a34a0}
.v3x-tank{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;padding:6px;border-radius:12px;background:#ebe2f7;border:1px solid #d5c4ec;box-shadow:inset 0 1px 2px rgba(70,37,125,.08);font-variant-numeric:tabular-nums;user-select:none}
.v3x-tank-cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.v3x-tank-cell{position:relative;display:flex;align-items:center;justify-content:center;height:32px;border-radius:7px;font:700 12.5px/1 var(--mono);letter-spacing:-.2px;overflow:hidden}
.v3x-tank-cell.is-paid{background:#fff;border:1px solid #d5c6ec;color:#242521;box-shadow:0 1px 0 rgba(70,37,125,.12)}
.v3x-tank-cell.is-bonus{background:linear-gradient(180deg,#7c52cf 0%,#6d44b8 100%);border:1px solid #5933a1;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 0 rgba(56,26,112,.24);animation:v3x-tank-pulse 4.4s ease-in-out infinite}
.v3x-tank-cell.is-bonus::after{content:"";position:absolute;inset:-4px auto -4px -55%;width:48%;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.32) 50%,rgba(255,255,255,0) 100%);transform:translateX(0) skewX(-20deg);pointer-events:none;animation:v3x-tank-sheen 4.4s cubic-bezier(.4,0,.2,1) infinite}
.v3x-tank-cell.is-bonus-2,.v3x-tank-cell.is-bonus-2::after{animation-delay:160ms}
.v3x-tank-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-items:center}
.v3x-tank-label{text-align:center;font:700 10.5px/1 var(--mono);letter-spacing:.25px;white-space:nowrap}
.v3x-tank-label.is-paid{grid-column:1;color:#6b558c}
.v3x-tank-label.is-bonus{grid-column:2/4;color:#4b2889}
@keyframes v3x-tank-sheen{0%,66%{transform:translateX(0) skewX(-20deg);opacity:0}72%{opacity:1}90%{transform:translateX(420%) skewX(-20deg);opacity:.9}96%,100%{transform:translateX(420%) skewX(-20deg);opacity:0}}
@keyframes v3x-tank-pulse{0%,66%,100%{filter:brightness(1)}80%{filter:brightness(1.07)}}
@media(prefers-reduced-motion:reduce){.v3x-tank-cell.is-bonus,.v3x-tank-cell.is-bonus::after{animation:none!important}}
@media(max-width:640px){
  .monthly-card{display:flex;flex-direction:column;gap:0}
  .monthly-card>.section-title{width:100%}
  .monthly-hero{margin:12px 0 10px}
  .monthly-hero-price,.monthly-hero-credits{font-size:32px}
  .v3x-tank{margin:0 0 14px}
  .v3x-tank-cell{font-size:12px}
}

/* Streamlined 3-step Connect guide card (zero-scroll across all 5 tools including Cursor) */
#screen[data-screen="connect"]{padding:16px 30px 14px}
.setup-focused.harness-home{gap:12px;height:auto}
.setup-focused>.page-heading h1{font-size:26px}
.setup-focused .harness-choice{min-height:50px;padding:8px 10px}
.connect-guide-card{padding:20px 26px;display:flex;flex-direction:column;gap:14px;margin:0 auto}
.connect-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #eef0e7}
.connect-tool-title{display:flex;align-items:center;gap:12px;min-width:0}
.connect-tool-title>img,.connect-tool-title>.hp-icon{width:28px;height:28px;flex-shrink:0}
.connect-tool-title h2{font-size:20px;letter-spacing:-.45px;margin:0 0 2px}
.connect-tool-title p{font-size:12.5px;color:#5a624f;margin:0;line-height:1.4}
.connect-tool-title p>code,.connect-step-copy p>code{font:600 11.5px var(--mono);background:#f1f3ea;padding:1.5px 5px;border-radius:5px;color:#242521;white-space:nowrap}
.connect-guide-card .setup-status{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#e5efcf;color:#3d551e;font-size:11.5px;font-weight:700;white-space:nowrap;flex-shrink:0}
.cursor-open-btn{white-space:nowrap;min-height:36px;padding:7px 13px;font-size:12.5px;text-decoration:none;flex-shrink:0}
.connect-steps{display:flex;flex-direction:column;gap:12px}
.connect-step{display:flex;flex-direction:column;gap:6px}
.connect-step-head{display:flex;align-items:flex-start;gap:10px}
.connect-step-num{width:22px;height:22px;border-radius:999px;background:#e0f580;border:1px solid #bdd458;color:#242521;font:700 11.5px/1 var(--mono);display:grid;place-items:center;flex-shrink:0;margin-top:1px}
.connect-step-copy{min-width:0;flex:1}
.connect-step-copy strong{display:block;font-size:14px;font-weight:700;color:#242521;line-height:1.28}
.connect-step-copy p{margin:2px 0 0;font-size:12px;color:#5b6351;line-height:1.4}
.connect-step .pair-command-box{width:100%;margin:0;padding:5px 7px 5px 12px}
.connect-step .pair-command-box.is-compact{background:#23261f;box-shadow:0 2px 0 #dfe4d4}
.connect-step .pair-command-box>.primary,.connect-step .pair-command-box>.secondary{min-height:32px;padding:5px 13px;font-size:12px}
.connect-step-stack{display:flex;flex-direction:column;gap:6px}
@media(min-width:641px) and (max-height:700px){
  #screen[data-screen="connect"],#screen[data-screen="billing"]{padding-top:12px;padding-bottom:10px}
  .setup-focused.harness-home{gap:8px}
  .setup-focused .harness-choice{min-height:44px;padding:6px 8px}
  .connect-guide-card{padding:14px 22px;gap:10px}
  .connect-card-head{padding-bottom:9px}
  .connect-steps{gap:8px}
  .connect-step{gap:4px}
  .commerce-home{gap:10px}
  .commerce-balance{padding:9px 18px}
  .credit-packs,.monthly-card{padding:16px 22px}
  .pack-options{margin:10px 0}
  .pack-option{min-height:98px}
  .monthly-hero{margin:10px 0 8px}
  .v3x-tank{margin:0 0 10px}
}
.pair-inline-tag{font:700 10.5px/1 var(--mono);text-transform:uppercase;letter-spacing:.5px;color:#9ea692;background:#2f332a;border:1px solid #3f4439;border-radius:6px;padding:5px 7px;flex-shrink:0}
.pair-command-box>code.is-muted{color:#9ca392;font-weight:500;cursor:default}
.pair-command-box>code.is-path{color:#e6ecd9;cursor:default}
.cursor-launch-cta{text-decoration:none;white-space:nowrap}
.model-picker-btn.is-dark{flex:1;min-width:0;min-height:34px;padding:4px 8px;border:0;border-radius:7px;background:transparent;color:#f1f5e6;font-size:12.5px}
.model-picker-btn.is-dark:hover:not(:disabled){background:#2e3229}
.model-picker-btn.is-dark .provider-logo{filter:brightness(0) invert(1);opacity:.92}
.model-picker-btn.is-dark .provider-initial{background:#34382e;border-color:#4a4f42;color:#f1f5e6}
.model-picker-btn.is-dark>.hp-icon{color:#b6beaa}
.connect-connected-footer{display:flex;justify-content:flex-start;padding-top:4px}
.connect-footnote{margin:0;color:var(--muted)}
.connect-guide-card .live-settings{max-width:none;margin:0}
.cursor-model-row{max-width:340px}
@media(max-width:640px){
  .connect-guide-card{padding:18px 16px;gap:16px}
  .connect-card-head{flex-direction:column;align-items:stretch;gap:12px;padding-bottom:14px}
  .connect-tool-title h2{font-size:19px}
  .cursor-open-btn{text-align:center;justify-content:center}
  .connect-step .pair-command-box{flex-direction:row;align-items:center;padding:7px 8px 7px 12px;gap:8px}
  .connect-step .pair-command-box>code{text-align:left;white-space:nowrap;overflow-x:auto;font-size:12px}
  .connect-step .pair-command-box>.primary,.connect-step .pair-command-box>.secondary{width:auto;min-height:34px;padding:6px 12px}
  .cursor-model-row{max-width:none}
}

/* Connected Overview Dashboard (Zero-Scroll Command Center) */
#screen[data-screen="dashboard"]:has(.dash-home){padding:16px 30px 14px}
.dash-home{width:100%;max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.dash-top-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch}
.dash-top-row.has-boost{grid-template-columns:minmax(0,1.58fr) minmax(290px,1fr)}
.dash-hero{background:#f3f7e8;border:1px solid #dce6c7;border-radius:18px;padding:15px 20px 14px;display:flex;flex-direction:column;justify-content:space-between;gap:11px}
.dash-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.dash-hero-balance{display:flex;flex-direction:column;gap:4px;min-width:0}
.dash-hero-kicker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dash-label{font-size:11px;font-weight:700;color:#576643;text-transform:uppercase;letter-spacing:.6px}
.dash-hero-kicker .rate-badge{padding:3px 8px;font-size:10.5px;border-radius:999px}
.dash-balance-num{font-size:clamp(38px,4.4vw,48px);font-weight:750;letter-spacing:-2px;line-height:1.05;color:#242521;text-decoration:none;font-variant-numeric:tabular-nums;width:fit-content}
.dash-balance-num:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.dash-balance-sub{margin:0;font-size:12px;color:#5a6749;line-height:1.4}
.dash-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:2px}
.dash-hero-actions>.primary,.dash-hero-actions>.secondary{min-height:38px;padding:8px 13px;font-size:12.5px;white-space:nowrap}
.dash-stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:12px;border-top:1px solid #dfead0}
.dash-stat{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid #e1e9d2;text-decoration:none;color:inherit;transition:background-color 140ms ease,border-color 140ms ease}
.dash-stat:hover{background:#fff;border-color:#c6d4ab}
.dash-stat>span{font-size:11px;font-weight:600;color:#5e6b4d}
.dash-stat>strong{font-size:19px;font-weight:750;letter-spacing:-.6px;color:#242521;font-variant-numeric:tabular-nums}

/* Top-row Go 3x Upsell Card (paired beside Hero Wallet) + inline banner fallback */
.dash-home .dash-boost-card{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:10px;background:linear-gradient(160deg,#f5effc 0%,#efe6fa 100%);border:1px solid #d9c8ee;border-radius:18px;padding:16px 18px}
.dash-boost-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto}
.dash-boost-head .commerce-eyebrow{color:#5d417a;margin:0}
.dash-boost-head>.icon-button{width:24px;height:24px;padding:0;color:#6c558d}
.dash-boost-title{flex:0 0 auto}
.dash-boost-title>strong{display:block;font-size:16px;font-weight:750;letter-spacing:-.3px;color:#392066;line-height:1.2}
.dash-boost-title>p{margin:3px 0 0;font-size:12px;color:#5e467f;line-height:1.35}
.dash-boost-card .v3x-tank.is-compact{margin:2px 0;padding:5px;gap:4px}
.dash-boost-card .v3x-tank.is-compact .v3x-tank-cell{height:26px;font-size:11.5px}
.dash-boost-card .v3x-tank.is-compact .v3x-tank-label{font-size:10px}
.dash-boost-card>.boost-button{width:100%;justify-content:center;background:#6d44b8;color:#fff;border-color:#5a34a0;box-shadow:0 2px 0 #4a2887;min-height:38px;padding:8px 14px;font-size:12.5px;white-space:nowrap;gap:7px;margin-top:auto}
.dash-boost-card>.boost-button:hover:not(:disabled){background:#7b52c6}

.focus-home .focus-boost{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(90deg,#f2eafb 0%,#f7f2fc 100%);border:1px solid #d9c8ee;border-radius:16px;padding:14px 18px}
.boost-left{display:flex;align-items:center;gap:16px;min-width:0;flex:1}
.boost-mini-tank{display:grid;grid-template-columns:repeat(3,auto);gap:3px;padding:4px;border-radius:10px;background:#e7dcf6;border:1px solid #d1bee9;flex-shrink:0;font:700 11px/1 var(--mono);font-variant-numeric:tabular-nums}
.boost-mini-tank>span{display:grid;place-items:center;height:26px;padding:0 8px;border-radius:6px}
.boost-mini-tank>.is-paid{background:#fff;color:#242521;border:1px solid #d5c6ec}
.boost-mini-tank>.is-bonus{background:#6d44b8;color:#fff;border:1px solid #5933a1}
.boost-copy{min-width:0}
.boost-copy>strong{display:block;font-size:14px;font-weight:750;color:#392066;line-height:1.25}
.boost-copy>p{margin:3px 0 0;font-size:12px;color:#664d88;line-height:1.35}
.boost-right,.focus-boost>.boost-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.boost-right>.boost-button{background:#6d44b8;color:#fff;border-color:#5a34a0;box-shadow:0 2px 0 #4a2887;min-height:38px;padding:8px 14px;font-size:12.5px;white-space:nowrap;gap:7px}
.boost-right>.boost-button:hover:not(:disabled){background:#7b52c6}
.boost-right>.icon-button{width:28px;height:28px;padding:0;color:#6c558d}

/* Balanced 2-Column Connected Tools & Recent Activity Grid */
.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}
.dash-card{padding:16px 20px;display:flex;flex-direction:column;gap:10px;margin:0}
.dash-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dash-card-head>h2{font-size:15px;font-weight:750;letter-spacing:-.25px;margin:0}
.dash-card-head>.text-link{font-size:12px;white-space:nowrap}
.dash-tools-list{display:flex;flex-direction:column;gap:6px}
.dash-tool-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:7px 11px;border-radius:9px;border:1px solid #e6eadc;background:#fafbf7;color:#242521;font-size:13px;cursor:pointer;text-align:left;transition:border-color 130ms ease,background-color 130ms ease}
.dash-tool-row:hover{border-color:#b8ca8a;background:#f3f8e6}
.dash-tool-row.is-connected{background:#f5f9eb;border-color:#cde0a2}
.dash-tool-id{display:inline-flex;align-items:center;gap:9px;min-width:0}
.dash-tool-id>img,.dash-tool-id>.hp-icon{width:17px;height:17px;flex-shrink:0}
.dash-tool-id>strong{font-weight:650;font-size:13px}
.dash-tool-state{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:#5e694f;white-space:nowrap}
.dash-tool-row.is-connected .dash-tool-state{color:#355218}
.dash-tool-row.is-connected .dash-tool-state>i{width:7px;height:7px;border-radius:50%;background:#6fa32b;display:inline-block}

.dash-activity-list{display:flex;flex-direction:column}
.dash-activity-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eef0e7}
.dash-activity-row:first-child{padding-top:2px}
.dash-activity-row:last-child{border-bottom:0;padding-bottom:2px}
.dash-activity-model{display:inline-flex;align-items:center;gap:9px;min-width:0;flex:1}
.dash-activity-model>.provider-logo,.dash-activity-model>.provider-initial{width:18px;height:18px;flex-shrink:0}
.dash-activity-name{font-size:13px;font-weight:650;color:#242521;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-activity-meta{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.dash-activity-meta>strong{font:650 12px/1 var(--mono);color:#242521;min-width:46px;text-align:right;font-variant-numeric:tabular-nums}
.dash-activity-empty{margin:auto 0;padding:24px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.dash-activity-empty>p{margin:0;font-size:13px}

/* Compact Bottom Contextual Strip (Next Reward or Referral) */
.dash-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 18px;background:#fafbf7;border:1px solid #e1e5d8;border-radius:14px}
.dash-strip-copy{display:flex;align-items:center;gap:11px;min-width:0}
.dash-strip-copy>.hp-icon{width:18px;height:18px;color:#4f6428;flex-shrink:0}
.dash-strip-copy strong{display:inline;font-size:13px;font-weight:700;color:#242521;margin-right:8px}
.dash-strip-copy span{display:inline;font-size:12px;color:#5c6550}
.dash-strip>.secondary{white-space:nowrap;min-height:34px;padding:6px 13px;font-size:12px}

@media(max-width:960px){
  .dash-top-row.has-boost,.dash-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  .dash-hero{padding:16px;gap:12px}
  .dash-hero-actions{width:100%}
  .dash-hero-actions>.primary,.dash-hero-actions>.secondary{flex:1;justify-content:center;font-size:12.5px;min-height:38px;padding:8px 12px}
  .dash-stats-row{gap:8px}
  .dash-stat{padding:8px 10px}
  .dash-stat>strong{font-size:17px}
  .focus-home .focus-boost{flex-direction:column;align-items:stretch;gap:12px;padding:14px}
  .boost-left{flex-direction:column;align-items:flex-start;gap:10px}
  .boost-right{width:100%}
  .boost-right>.boost-button{flex:1;justify-content:center}
  .dash-card{padding:15px}
  .dash-strip{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}
  .dash-strip-copy strong,.dash-strip-copy span{display:block;margin-right:0}
  .dash-strip>.secondary{width:100%;justify-content:center}
}

/* Unified API Keys page matching HallPass dark terminal + crisp 2-column zero-scroll desktop layout */
#screen[data-screen="keys"]{padding:18px 30px 18px}
.keys-home{width:100%;max-width:1080px;height:100%;flex:1 1 0;min-height:0;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.keys-home>.page-heading{align-items:center;flex-shrink:0}
.keys-home>.page-heading h1{font-size:26px}
.keys-home>.page-heading p{margin-top:3px;font-size:13px}
.keys-home>.page-heading .primary{min-height:38px;padding:8px 15px;font-size:13px;white-space:nowrap}
.keys-grid{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:14px;flex:1 1 0;min-height:0;align-items:stretch}
.keys-card,.keys-sdk-card{padding:16px 20px;display:flex;flex-direction:column;gap:12px;margin:0;min-height:0;min-width:0;overflow:hidden}
.keys-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}
.keys-card-head>h2{font-size:15.5px;font-weight:750;letter-spacing:-.25px;margin:0}
.keys-count-pill{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#eef4dc;color:#3d551e}
.keys-list{display:flex;flex-direction:column;gap:8px;flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.keys-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:11px;border:1px solid #e4e8da;background:#fafbf7;flex-shrink:0}
.keys-item-id{display:flex;align-items:center;gap:10px;min-width:0}
.keys-item-id>.hp-icon{width:17px;height:17px;color:#4f6428;flex-shrink:0}
.keys-item-id>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.keys-item-id strong{font-size:13px;font-weight:700;color:#242521}
.keys-item-id code{font:600 11.5px/1 var(--mono);padding:4px 7px;border-radius:6px;background:#eef1e5;color:#3c4433}
.keys-copy-btn{min-height:30px;padding:4px 10px;font-size:12px}
.keys-empty{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:11px;border:1px dashed #d5dcc7;background:#fafbf7}
.keys-empty>.hp-icon{width:20px;height:20px;color:#627050;flex-shrink:0}
.keys-empty strong{display:block;font-size:13.5px;font-weight:700;color:#242521}
.keys-empty p{margin:2px 0 0;font-size:12.5px;color:#5c6451}
.keys-url-bar{width:100%;margin:0;padding:6px 8px 6px 12px;background:#23261f;box-shadow:0 2px 0 #dfe4d4;flex-shrink:0}
.keys-url-bar>.secondary{min-height:32px;padding:5px 12px;font-size:12px}
.keys-sdk-card>.setup-controls-row{margin:0;flex-shrink:0}
.keys-sdk-card>.setup-controls-row>.live-model-select{flex:1 1 220px}
.keys-sdk-card>.setup-controls-row>.live-model-select.is-reasoning{flex:0 0 auto}
.keys-code-shell{border-radius:14px;background:#1b1d18;border:1.5px solid #242521;box-shadow:0 3px 0 #dfe4d4;overflow:hidden;flex:1 1 0;min-height:0;display:flex;flex-direction:column}
.keys-code-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;background:#23261f;border-bottom:1px solid #30342b;flex-shrink:0}
.keys-lang-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none;min-width:0}
.keys-lang-tabs::-webkit-scrollbar{display:none}
.keys-lang-tab{border:0;background:transparent;color:#adb5a2;font-size:12px;font-weight:650;padding:5px 10px;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background-color 120ms ease,color 120ms ease}
.keys-lang-tab:hover{color:#f1f5e6;background:#2e3229}
.keys-lang-tab.active{background:#e0f580;color:#1d2410}
.keys-copy-code{border:1px solid #44483d;background:#2d3028;color:#f1f5e6;font-size:12px;font-weight:650;padding:5px 11px;border-radius:8px;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background-color 120ms ease}
.keys-copy-code:hover:not(:disabled){background:#3a3e34}
.keys-copy-code:disabled{opacity:.5;cursor:not-allowed}
.keys-code-shell>pre{margin:0;padding:13px 16px;background:transparent;border:0;border-radius:0;color:#f1f5e6;font:500 12px/1.55 var(--mono);flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain}
.keys-code-shell>pre>code{color:#f1f5e6;background:transparent;padding:0}
@media(max-width:900px),(max-height:600px){
  .keys-home{height:auto;flex:0 0 auto}
  .keys-grid{grid-template-columns:1fr;flex:0 0 auto}
  .keys-list{max-height:220px;flex:0 0 auto}
  .keys-code-shell>pre{flex:0 0 auto;max-height:320px}
}
@media(max-width:640px){
  #screen[data-screen="keys"]{padding:14px 16px 14px}
  .keys-card,.keys-sdk-card{padding:15px}
  .keys-item{flex-direction:column;align-items:stretch;gap:10px}
  .keys-item .key-row-actions{justify-content:flex-end}
  .keys-url-bar{flex-direction:row;align-items:center;padding:7px 8px 7px 10px}
  .keys-url-bar>code{text-align:left;white-space:nowrap;overflow-x:auto;font-size:12px}
  .keys-url-bar>.secondary{width:auto;min-height:34px;padding:6px 12px}
  .keys-code-bar{flex-wrap:wrap;gap:8px;padding:8px 10px}
  .keys-code-shell>pre{padding:14px;font-size:11.5px}
}

/* Zero-scroll desktop Usage layout (tables own internal scroll) */
.workspace-shell:has(#screen[data-screen="usage"]){grid-template-rows:64px minmax(0,1fr)}
.workspace-shell:has(#screen[data-screen="usage"]) .app-footer{display:none}
#screen[data-screen="usage"]{overflow:hidden;scrollbar-gutter:auto;padding:18px 30px 18px;gap:12px}
#screen[data-screen="usage"]>.page-heading h1{font-size:26px}
#screen[data-screen="usage"]>.page-heading p{margin-top:3px;font-size:13px}
#screen[data-screen="usage"]>.usage-stats{gap:12px}
#screen[data-screen="usage"]>.usage-stats>.stat{padding:12px 16px;font-size:12px}
#screen[data-screen="usage"]>.usage-stats>.stat strong{font-size:24px;margin-top:4px;line-height:1.1}
#screen[data-screen="usage"]>.usage-panels{flex:1 1 0;min-height:0;grid-template-columns:1.08fr .92fr;gap:14px;align-items:stretch}
.usage-left-col{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}
.usage-left-col>.panel,.usage-panels>.usage-requests-panel{display:flex;flex-direction:column;min-height:0;max-height:none;padding:15px 18px;margin:0;overflow:hidden}
.usage-left-col>.usage-balances-panel{flex:1 1 0}
.usage-panels.has-payments .usage-left-col>.usage-balances-panel{flex:1 1 0;min-height:140px}
.usage-panels.has-payments .usage-left-col>.usage-payments{flex:0 1 auto;max-height:42%;min-height:110px}
.usage-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;margin-bottom:8px}
.usage-panel-head>h2{font-size:15.5px;font-weight:750;letter-spacing:-.25px;margin:0}
.usage-count-pill{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:#eef4dc;color:#3d551e;white-space:nowrap;font-variant-numeric:tabular-nums}
#screen[data-screen="usage"] .credit-composition{flex-shrink:0;margin:0 0 8px}
#screen[data-screen="usage"] .table-wrap{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain}
#screen[data-screen="usage"] .usage-payments .table-wrap{flex:0 1 auto}
#screen[data-screen="usage"] .usage-panels th,#screen[data-screen="usage"] .usage-panels td{padding:8px 7px;font-size:12.5px}
#screen[data-screen="usage"] .usage-payments th:nth-child(1){width:auto}
#screen[data-screen="usage"] .usage-payments th:nth-child(3),#screen[data-screen="usage"] .usage-payments td:nth-child(3),#screen[data-screen="usage"] .usage-payments th:nth-child(4),#screen[data-screen="usage"] .usage-payments td:nth-child(4){width:auto;white-space:nowrap}
@media(max-width:900px),(max-height:620px){
  #screen[data-screen="usage"]{overflow:auto;padding:16px 20px 16px}
  #screen[data-screen="usage"]>.usage-panels{flex:0 0 auto;grid-template-columns:1fr;min-height:auto}
  .usage-left-col>.panel,.usage-panels.has-payments .usage-left-col>.usage-balances-panel,.usage-panels.has-payments .usage-left-col>.usage-payments,.usage-panels>.usage-requests-panel{flex:0 0 auto;max-height:none;min-height:0;overflow:visible}
  #screen[data-screen="usage"] .table-wrap,#screen[data-screen="usage"] .usage-payments .table-wrap{overflow-x:auto;overflow-y:visible;flex:0 0 auto}
}
@media(max-width:640px){
  .workspace-shell:has(#screen[data-screen="usage"]){height:auto;grid-template-rows:52px minmax(0,1fr)}
  #screen[data-screen="usage"]{padding:14px 16px 14px;gap:10px}
  #screen[data-screen="usage"]>.usage-stats>.stat{padding:11px 13px}
  #screen[data-screen="usage"]>.usage-stats>.stat strong{font-size:22px}
  .usage-left-col>.panel,.usage-panels>.usage-requests-panel{padding:14px}
}
