.billing-account-control{position:fixed;right:22px;bottom:20px;z-index:1200;display:flex;gap:8px;align-items:center;font:13px/1.4 system-ui,sans-serif}.billing-balance,.billing-trial-shortcut{border:1px solid #d9e2ec;background:#fff;color:#1a2b40;border-radius:24px;padding:10px 15px;text-decoration:none;box-shadow:0 4px 20px #12264018;cursor:pointer}.billing-balance{display:flex;gap:12px;align-items:center}.billing-balance strong{color:#2765cc}.billing-trial-shortcut[hidden]{display:none}.billing-quote-dialog{width:min(440px,calc(100vw - 32px));padding:30px;border:1px solid #dce4ed;border-radius:22px;color:#142339;background:#fff;box-shadow:0 28px 100px #0004;font:14px/1.6 system-ui,sans-serif}.billing-quote-dialog::backdrop{background:#101c2e88;backdrop-filter:blur(7px)}.billing-close{position:absolute;right:16px;top:13px;border:0;background:transparent;color:#60738b;font-size:26px;cursor:pointer}.billing-eyebrow{font-size:11px;letter-spacing:.14em;color:#687a91}.billing-quote-dialog h2{margin:10px 0 8px;font-size:24px;color:#15273e}.billing-quote-amount{display:flex;gap:9px;align-items:baseline;margin:18px 0}.billing-quote-amount strong{font-size:52px;font-weight:650;line-height:1}.billing-quote-wallet{padding:13px 15px;background:#eef3fa;border-radius:10px}.billing-quote-policy{color:#617188;font-size:13px}.billing-quote-error{color:#af3333;min-height:20px}.billing-quote-actions{display:grid;gap:10px}.billing-quote-actions button{padding:12px 16px;border-radius:10px;cursor:pointer;font:inherit}.billing-confirm{background:#2765cc;border:1px solid #2765cc;color:#fff}.billing-confirm:disabled{background:#aab8ca;border-color:#aab8ca;cursor:not-allowed}.billing-trial{background:#fff;border:1px solid #cbd7e6;color:#234772}.billing-trial[hidden]{display:none}.billing-quote-actions a{color:#2765cc;text-align:center}.billing-trial-entry{border:1px solid #c3cfe1;padding:7px 13px;border-radius:10px;background:transparent;cursor:pointer;color:inherit;font:inherit}
@media(max-width:640px){.billing-account-control{right:12px;bottom:12px}.billing-trial-shortcut{padding:9px 11px;font-size:12px}}

.billing-model-route{font-size:13px;line-height:1.75;padding:12px 14px;border-radius:10px;background:#eef2e8;color:#4b5942;}
.billing-account-control[hidden]{display:none}

/* Quote controls have their own scale; the surrounding studio keeps its keycaps. */
#billing-quote-dialog{width:min(568px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--ui-border,#c4cdb5);border-radius:20px;background:var(--ui-surface,#fffdf5);color:var(--ui-text,#273229);box-shadow:0 24px 90px #18211338;font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;overflow:auto;overscroll-behavior:contain}
#billing-quote-dialog[open]{animation:billing-quote-enter .24s cubic-bezier(.16,1,.3,1)}
#billing-quote-dialog::backdrop{background:#25312665;backdrop-filter:blur(9px);animation:billing-quote-backdrop .2s ease-out}
#billing-quote-sheet{padding:26px 28px 22px}
#billing-quote-dialog [hidden]{display:none!important}
#billing-quote-dialog .billing-quote-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:23px}
#billing-quote-dialog .billing-eyebrow{font-size:11px;line-height:18px;letter-spacing:.12em;color:var(--ui-muted,#737f68)}
#billing-quote-dialog h2{margin:5px 0 0;font-size:24px;line-height:1.35;letter-spacing:-.6px;font-weight:650;color:inherit}
body#oneshot-web #billing-quote-dialog #billing-quote-title:focus{outline:none!important;box-shadow:none!important}
#billing-quote-dialog .billing-close{position:static;flex:none;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:8px;line-height:1;border-radius:9px;background:var(--ui-raised,#f0f3e8);border:1px solid var(--ui-border,#b8c4a7);color:var(--ui-secondary,#536048);box-shadow:0 2px 0 var(--ui-border,#b8c4a7);cursor:pointer}
#billing-quote-dialog .billing-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
#billing-quote-dialog .billing-complexity{margin:0 0 18px}
#billing-quote-dialog .billing-complexity-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}
#billing-quote-dialog h3{margin:0;font-size:13px;line-height:20px;font-weight:600;color:inherit}
#billing-quote-dialog .billing-complexity-heading>span{font-size:11px;color:var(--ui-muted,#75806e)}
#billing-quote-dialog .billing-complexity-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#billing-quote-dialog .billing-complexity-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:88px;min-width:0;padding:10px 5px;border:1px solid var(--ui-border,#c6cfbb);border-radius:11px;background:var(--ui-surface,#fffdf5);color:inherit;box-shadow:0 2px 0 var(--ui-border,#bbc6ac);font:inherit;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s,translate .18s}
#billing-quote-dialog .billing-complexity-option svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#billing-quote-dialog .billing-complexity-name{font-size:13px;line-height:18px;font-weight:600}
#billing-quote-dialog .billing-complexity-option small{font-size:10px;line-height:15px;white-space:nowrap;color:var(--ui-muted,#75806c)}
#billing-quote-dialog .billing-complexity-option[aria-checked=true]{background:var(--ui-selected,#e4edd6);border-color:var(--ui-selected-border,#879c6b);box-shadow:inset 0 0 0 1px var(--ui-selected-border,#879c6b),0 2px 0 var(--ui-selected-border,#879c6b)}
#billing-quote-dialog .billing-complexity-option:disabled{color:var(--ui-disabled,#949b8c);background:var(--ui-raised,#f1f2eb);box-shadow:none;opacity:.65;cursor:not-allowed}
#billing-quote-dialog .billing-complexity-hint{margin:10px 0 0;color:var(--ui-muted,#737f68);font-size:11px;line-height:18px;min-height:18px}
#billing-quote-dialog .billing-quote-summary{padding:18px 20px 15px;border:1px solid var(--ui-divider,#dce3d2);background:var(--ui-raised,#eef3e5);border-radius:13px;transition:opacity .18s}
#billing-quote-dialog[aria-busy=true] .billing-quote-summary{opacity:.55}
#billing-quote-dialog .billing-quote-summary-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--ui-secondary,#606c56)}
#billing-quote-dialog .billing-quote-wallet{margin:0;padding:3px 8px;background:var(--ui-surface,#fffdf5);border:1px solid var(--ui-divider,#dce3d2);border-radius:20px;color:var(--ui-secondary,#606c56);font-size:11px;font-variant-numeric:tabular-nums}
#billing-quote-dialog .billing-quote-amount{display:flex;align-items:baseline;gap:8px;margin:12px 0 9px}
#billing-quote-dialog .billing-quote-amount strong{font-size:42px;line-height:1.1;font-weight:650;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;color:var(--ui-text,#273229)}
#billing-quote-dialog .billing-quote-amount>span{font-size:12px;color:var(--ui-secondary,#637057)}
#billing-quote-dialog .billing-quote-detail,#billing-quote-dialog .billing-quote-minimum{margin:3px 0;font-size:12px;line-height:19px;color:var(--ui-muted,#737f68);font-variant-numeric:tabular-nums}
#billing-quote-dialog .billing-model-route{margin:12px 0 0;padding:0;background:none;color:var(--ui-secondary,#606e55);font-size:12px;line-height:20px}
#billing-quote-dialog .billing-quote-policy{margin:7px 0 0;color:var(--ui-muted,#737f68);font-size:11px;line-height:1.7}
#billing-quote-dialog .billing-quote-feedback{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px;margin:5px 0 10px}
#billing-quote-dialog .billing-quote-error{margin:0;color:#ac493d;font-size:12px;line-height:19px;min-height:0}
#billing-quote-dialog .billing-quote-retry{flex:none;padding:4px 8px;font:inherit;font-size:11px;border:1px solid var(--ui-border,#bec9ae);border-radius:7px;background:var(--ui-surface,#fffdf5);color:inherit;cursor:pointer}
#billing-quote-dialog .billing-quote-actions{display:grid;gap:13px}
#billing-quote-dialog .billing-confirm{width:100%;height:46px;min-height:46px;padding:0 16px;border:1px solid #bb811b;border-radius:10px;background:#f2aa26;color:#263025;box-shadow:inset 0 1px 0 #ffffff70,0 3px 0 #b77c18;font:inherit;font-size:14px;line-height:20px;font-weight:600;cursor:pointer;transition:background .18s,box-shadow .18s,translate .18s}
#billing-quote-dialog .billing-confirm:disabled{background:var(--ui-raised,#e6ebdf);color:var(--ui-disabled,#97a18d);border-color:var(--ui-border,#c2cbb7);box-shadow:0 2px 0 var(--ui-border,#c2cbb7);cursor:default}
#billing-quote-dialog .billing-quote-actions>a{font-size:11px;line-height:18px;text-align:center;color:var(--ui-muted,#737f68);text-decoration:none}
#billing-quote-dialog .billing-quote-actions>a:hover{color:var(--ui-text,#273229);text-decoration:underline}
/* Three existing IDs keep legacy all-button keycap rules out of this dialog. */
body#oneshot-web #billing-quote-dialog #billing-quote-sheet button{font-family:inherit!important;min-width:0!important;max-width:none!important;transform:none!important;translate:0 0!important;outline-offset:3px}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-close{width:36px!important;height:36px!important;min-height:36px!important;padding:8px!important;border-radius:9px!important;background:var(--ui-raised,#f0f3e8)!important;color:var(--ui-secondary,#536048)!important;box-shadow:0 2px 0 var(--ui-border,#b8c4a7)!important}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-complexity-option{height:88px!important;min-height:88px!important;padding:10px 5px!important;border-radius:11px!important;background:var(--ui-surface,#fffdf5)!important;color:var(--ui-text,#273229)!important;border-color:var(--ui-border,#c6cfbb)!important;box-shadow:0 2px 0 var(--ui-border,#bbc6ac)!important}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-complexity-option[aria-checked=true]{background:var(--ui-selected,#e4edd6)!important;border-color:var(--ui-selected-border,#879c6b)!important;box-shadow:inset 0 0 0 1px var(--ui-selected-border,#879c6b),0 2px 0 var(--ui-selected-border,#879c6b)!important}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-complexity-option:disabled{background:var(--ui-raised,#f1f2eb)!important;color:var(--ui-disabled,#949b8c)!important;box-shadow:none!important;opacity:.65}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-confirm{height:46px!important;min-height:46px!important;padding:0 16px!important;border-radius:10px!important;background:#f2aa26!important;border-color:#bb811b!important;color:#263025!important;box-shadow:inset 0 1px 0 #ffffff70,0 3px 0 #b77c18!important;font-size:14px;line-height:20px;font-weight:600}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-confirm:disabled{background:var(--ui-raised,#e6ebdf)!important;color:var(--ui-disabled,#97a18d)!important;border-color:var(--ui-border,#c2cbb7)!important;box-shadow:0 2px 0 var(--ui-border,#c2cbb7)!important}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet button:active:not(:disabled){translate:0 2px!important;box-shadow:none!important}
body#oneshot-web #billing-quote-dialog #billing-quote-sheet :is(button,a):focus-visible{outline:2px solid var(--ui-selected-border,#879c6b)!important;outline-offset:3px}
@media(hover:hover){#billing-quote-dialog .billing-complexity-option:hover:not(:disabled),#billing-quote-dialog .billing-close:hover{border-color:var(--ui-selected-border,#879c6b)}body#oneshot-web #billing-quote-dialog #billing-quote-sheet .billing-confirm:hover:not(:disabled){background:#f7b53f!important}}
@media(max-width:480px){#billing-quote-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:17px}#billing-quote-sheet{padding:22px 19px 18px}#billing-quote-dialog .billing-quote-heading{margin-bottom:20px}#billing-quote-dialog h2{font-size:22px}#billing-quote-dialog .billing-complexity-options{gap:6px}#billing-quote-dialog .billing-complexity-option small{font-size:9px}#billing-quote-dialog .billing-quote-summary{padding:15px 16px}#billing-quote-dialog .billing-quote-amount strong{font-size:38px}}
@keyframes billing-quote-enter{from{opacity:0;translate:0 12px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
@keyframes billing-quote-backdrop{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#billing-quote-dialog,#billing-quote-dialog::backdrop{animation:none}#billing-quote-dialog *{transition:none!important}}
