:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #10151d; color: #f4f6f8; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: radial-gradient(ellipse at 25% -15%, #213047 0, #10151d 52rem); }
button, input, select { font: inherit; }
.shell { width: min(100% - 32px, 900px); margin: 0 auto; padding: 20px 0 48px; }
.topbar, .page-heading, .section-heading, .form-row, .token-row, .token-value-row, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar { height: 52px; margin-bottom: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 750; letter-spacing: .12em; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #8de0c5; color: #10231f; font-weight: 900; }
.panel { border: 1px solid #2b3544; border-radius: 18px; background: rgba(24, 31, 42, .86); padding: 28px; box-shadow: 0 20px 80px #0002; }
.welcome { max-width: 620px; padding: 52px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: 1.3rem; }
.welcome > p:not(.eyebrow) { max-width: 460px; margin: 0 0 28px; color: #aeb8c7; line-height: 1.6; }
.eyebrow { margin-bottom: 10px; color: #8de0c5; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.muted { color: #aeb8c7; }
.page-heading { margin-bottom: 24px; }
.page-heading .muted { margin-bottom: 0; }
.status { border: 1px solid #377d69; border-radius: 999px; padding: 7px 12px; color: #9ae4cd; font-size: .84rem; text-transform: capitalize; }
.status-inactive { border-color: #9d5d58; color: #ffb4aa; }
.balance { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.balance .muted { margin-bottom: 0; }
.credit-count { margin: 0 0 4px; font-size: 3.2rem; font-weight: 750; letter-spacing: -.06em; }
.billing-note { max-width: 265px; border-left: 2px solid #435164; padding-left: 16px; color: #d8deea; font-size: .88rem; line-height: 1.5; }
.billing-note span { display: block; margin-top: 5px; color: #aeb8c7; }
.billing-panel { margin-top: 20px; }
.billing-panel > .muted { margin-bottom: 0; }
.buy-credits-form { margin-top: 20px; }
.buy-credits-form .form-row { align-items: stretch; }
.token-panel { margin-top: 20px; }
.section-heading { margin-bottom: 16px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.token-panel > .muted { line-height: 1.55; }
code { border-radius: 5px; background: #0e131a; padding: 2px 5px; color: #a7e6d2; font-size: .9em; }
.create-token-form { margin: 26px 0 22px; }
label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 650; }
input { width: 100%; min-width: 0; border: 1px solid #465365; border-radius: 9px; background: #111720; padding: 11px 13px; color: #f4f6f8; outline: none; }
select { width: 100%; min-width: 0; border: 1px solid #465365; border-radius: 9px; background: #111720; padding: 11px 13px; color: #f4f6f8; outline: none; }
input:focus, select:focus { border-color: #8de0c5; box-shadow: 0 0 0 3px #8de0c522; }
.button { border: 1px solid transparent; border-radius: 9px; padding: 10px 15px; cursor: pointer; font-weight: 700; white-space: nowrap; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { background: #8de0c5; color: #10231f; }
.button-secondary { border-color: #435164; background: #283343; color: #f4f6f8; }
.button-quiet { border-color: #435164; background: transparent; color: #d9e1ed; }
.button-danger { background: #b95951; color: #fff; }
.token-list { border-top: 1px solid #2b3544; }
.token-row { min-height: 68px; border-bottom: 1px solid #2b3544; padding: 14px 0; }
.token-row p { margin: 5px 0 0; font-size: .82rem; }
.empty-state { padding: 18px 0 2px; color: #aeb8c7; }
.new-token { margin: 18px 0; border: 1px solid #4d9a80; border-radius: 12px; background: #17372e; padding: 16px; }
.new-token p { margin: 5px 0 0; color: #bdd8cf; font-size: .86rem; }
.token-value-row { margin-top: 12px; }
.token-value-row code { flex: 1; overflow-wrap: anywhere; padding: 10px; user-select: all; }
.error { margin: 16px 0; border-left: 3px solid #d87970; padding: 9px 12px; color: #ffc4bd; }
.loading { color: #b5c0cf; }
footer { margin-top: 20px; color: #738092; font-size: .78rem; overflow-wrap: anywhere; }
.confirm-dialog { max-width: min(420px, calc(100% - 32px)); border: 1px solid #435164; border-radius: 14px; background: #1a222e; color: #f4f6f8; padding: 22px; }
.confirm-dialog::backdrop { background: #05080dcc; }
.confirm-dialog p { line-height: 1.55; }
.dialog-actions { justify-content: flex-end; }
.hidden { display: none !important; }
@media (max-width: 600px) { .topbar { margin-bottom: 32px; } .panel { padding: 21px; } .welcome { padding: 32px 24px; } .balance { align-items: flex-start; flex-direction: column; } .billing-note { max-width: none; } .form-row { align-items: stretch; flex-direction: column; } .form-row .button { width: 100%; } }
