:root {
  color-scheme: light;
  --bg: #f2f6f5;
  --surface: #ffffff;
  --surface-2: #edf3f2;
  --surface-3: #e2ecea;
  --ink: #153438;
  --muted: #6d8382;
  --line: rgba(21,52,56,.12);
  --violet: #0f766e;
  --violet-2: #0d9488;
  --mint: #12966f;
  --danger: #d95664;
  --shadow: 0 24px 70px rgba(28,66,68,.13);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; }
.is-hidden { display: none !important; }
.ambient { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .11; }
.ambient-one { width: 520px; height: 520px; background: #29b8a7; right: -240px; top: -180px; }
.ambient-two { width: 420px; height: 420px; background: #f2b66d; left: -280px; bottom: -200px; opacity: .08; }
.eyebrow { margin: 0 0 12px; color: var(--violet-2); font-size: 11px; font-weight: 800; letter-spacing: .18em; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, #22b8a7, #0f766e); color:#fff; box-shadow: inset 0 1px rgba(255,255,255,.4), 0 8px 26px rgba(15,118,110,.22); font-size: 15px; }
.brand-large { margin-bottom: 54px; font-size: 20px; }.brand-large .brand-mark { width: 38px; height: 38px; border-radius: 12px; }

.login-shell { min-height: 100vh; width: min(1240px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(360px, 520px) 1fr; align-items: center; gap: 10vw; }
.login-card { position: relative; z-index: 2; padding: 56px 0; }
.login-card h1 { margin: 0 0 22px; font-size: clamp(43px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; font-weight: 720; }
.login-copy { max-width: 460px; margin: 0 0 34px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.login-form label { display: block; margin: 0 0 9px; color: #35585b; font-size: 13px; }
.key-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.92); transition: .2s; box-shadow:0 8px 28px rgba(28,66,68,.06); }
.key-field:focus-within { border-color: rgba(15,118,110,.72); box-shadow: 0 0 0 4px rgba(15,118,110,.1); }
.key-field input { min-width: 0; flex: 1; height: 54px; padding: 0 17px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.key-field input::placeholder { color: #91a4a3; }
.icon-button, .mini-icon { border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.icon-button { padding: 12px 16px; font-size: 12px; }
.primary-button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #19a99b, #0f766e); color: #fff; font-weight: 750; cursor: pointer; box-shadow: 0 12px 34px rgba(15,118,110,.24); transition: transform .18s, filter .18s; }
.primary-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary-button:disabled { cursor: wait; opacity: .55; transform: none; }
.login-button { width: 100%; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.form-error { min-height: 20px; margin: 9px 2px 0; color: var(--danger); font-size: 12px; }
.trust-row { margin-top: 25px; display: flex; gap: 10px; flex-wrap: wrap; color: #78908f; font-size: 11px; }
.login-art { min-height: 620px; position: relative; display: grid; place-items: center; }
.phone-orbit { position: relative; width: 390px; height: 500px; display: grid; place-items: center; }
.phone-orbit::before, .phone-orbit::after { content: ""; position: absolute; border: 1px solid rgba(21,52,56,.1); border-radius: 50%; }
.phone-orbit::before { width: 370px; height: 370px; }.phone-orbit::after { width: 500px; height: 500px; }
.phone-glow { position: absolute; width: 250px; height: 350px; background: rgba(25,169,155,.2); filter: blur(70px); }
.phone-body { position: relative; width: 218px; height: 430px; border-radius: 43px; border: 1px solid rgba(255,255,255,.15); background: linear-gradient(145deg, #262733, #12131a); box-shadow: inset 0 0 0 5px #0b0c10, var(--shadow); transform: rotate(7deg); display: grid; place-items: center; }
.phone-island { position: absolute; top: 17px; width: 76px; height: 21px; background: #090a0e; border-radius: 12px; }
.code-preview { text-align: center; }.code-preview small { display:block; margin-bottom: 14px; color: #879b9a; font-size: 9px; letter-spacing: .2em; }.code-preview strong { font-size: 31px; letter-spacing: .19em; color: #65d9ca; }
.signal-card { position: absolute; z-index: 2; min-width: 190px; padding: 15px 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.signal-card-one { left: 0; top: 100px; }.signal-card-two { right: -20px; bottom: 90px; }
.signal-card small { display:block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }.signal-card strong { font-size: 13px; }
.pulse, .country-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(18,150,111,.1); }
.pulse::after { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(18,150,111,.12); }

.topbar { position: sticky; top: 0; z-index: 20; height: 76px; padding: 0 max(24px, calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.86); backdrop-filter: blur(22px); border-bottom: 1px solid var(--line); box-shadow:0 8px 30px rgba(28,66,68,.045); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.environment-badge { padding: 6px 9px; border: 1px solid rgba(255,199,107,.2); border-radius: 8px; background: rgba(255,199,107,.08); color: #ffd694; font-size: 9px; font-weight: 750; }
.environment-badge.live { border-color: rgba(18,150,111,.2); background: rgba(18,150,111,.08); color: var(--mint); }
.active-pill { min-height:40px; padding:0 11px; display:flex; flex-direction:column; justify-content:center; border:1px solid var(--line); border-radius:11px; background:var(--surface-2); }.active-pill small { color:var(--muted); font-size:8px; }.active-pill strong { margin-top:2px; color:var(--violet-2); font-size:10px; }
.balance-pill { min-height: 44px; padding: 0 10px 0 13px; display: flex; gap: 10px; align-items:center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.wallet-item small, .wallet-item strong { display:block; }.wallet-item small { color:var(--muted); font-size:8px; }.wallet-item strong { margin-top:2px; font-size:11px; }
.wallet-divider { width:1px; height:24px; background:var(--line); }
.mini-icon { font-size: 18px; }.ghost-button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #36595c; cursor: pointer; }
.main-content { width: min(1240px, calc(100% - 48px)); margin: auto; padding: 68px 0 80px; }
.mode-banner { margin: -28px 0 38px; padding: 14px 17px; display:flex; align-items:center; gap:12px; border:1px solid rgba(255,199,107,.16); border-radius:14px; background:rgba(255,199,107,.055); }
.mode-icon { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:50%; background:rgba(255,199,107,.12); color:#ffd694; font-size:12px; font-weight:800; }
.mode-banner strong, .mode-banner p { display:block; }.mode-banner strong { font-size:11px; }.mode-banner p { margin:4px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }
.hero-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.hero-heading h1 { margin: 0; font-size: clamp(37px, 5vw, 62px); line-height: 1.04; letter-spacing: -.05em; font-weight: 700; }.hero-heading h1 span { color: #819392; }
.status-legend { margin-bottom: 7px; padding: 11px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 30px; background:rgba(255,255,255,.72); color: var(--muted); font-size: 11px; white-space: nowrap; }.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(18,150,111,.09); }.live-dot.offline { background:var(--danger); box-shadow:0 0 0 5px rgba(217,86,100,.09); }
.wallet-explainer { margin:-18px 0 26px; padding:15px 18px; display:flex; align-items:center; justify-content:center; gap:22px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.72); }
.wallet-explainer > div { display:flex; align-items:center; gap:10px; }.wallet-step { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:9px; background:rgba(15,118,110,.1); color:var(--violet-2); font-size:9px; font-weight:800; }.wallet-explainer p { margin:0; }.wallet-explainer strong, .wallet-explainer small { display:block; }.wallet-explainer strong { font-size:10px; }.wallet-explainer small { margin-top:3px; color:var(--muted); font-size:8px; }.wallet-arrow { color:#8ca09f; font-size:13px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .75fr); align-items: start; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 22px 70px rgba(28,66,68,.09); }
.selection-panel { overflow: hidden; }.step-block { padding: 27px; }.step-label { display: flex; gap: 13px; align-items: center; }.step-label > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(15,118,110,.11); color: var(--violet-2); font-size: 10px; font-weight: 800; }.step-label strong, .step-label small { display:block; }.step-label strong { font-size: 15px; }.step-label small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.service-card { margin-top: 19px; padding: 16px; display: flex; align-items:center; gap: 13px; border: 1px solid rgba(15,118,110,.24); border-radius: 16px; background: linear-gradient(90deg, rgba(15,118,110,.08), rgba(15,118,110,.025)); }.openai-mark { width: 42px; height: 42px; display:grid; place-items:center; border-radius: 13px; color: #0f766e; border: 1px solid rgba(15,118,110,.12); background:#e8f2f0; font-size: 12px; font-weight: 800; }.service-copy { min-width: 0; flex:1; }.service-copy strong, .service-copy span { display:block; }.service-copy strong { font-size:14px; }.service-copy span { margin-top: 4px; color:var(--muted); font-size:11px; }.selected-badge { padding: 5px 8px; border-radius: 7px; background:rgba(15,118,110,.12); color:var(--violet-2); font-size:10px; }
.hairline { height:1px; background:var(--line); }.step-header { display:flex; justify-content:space-between; }.filter-row { margin-top: 21px; display:flex; gap:10px; }.search-box { height:42px; min-width:0; flex:1; padding:0 13px; display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); color:var(--muted); }.search-box input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-size:12px; }.search-box input::placeholder { color:#6f707b; }.sort-control { display:flex; padding:3px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); }.sort-button { padding:0 10px; border:0; border-radius:8px; background:transparent; color:var(--muted); font-size:10px; cursor:pointer; }.sort-button.active { background:var(--surface-3); color:var(--ink); }
.catalog-state { margin:18px 0 0; padding:28px; border:1px dashed var(--line); border-radius:14px; text-align:center; color:var(--muted); font-size:12px; }.catalog-state.error { color:var(--danger); }.country-grid { margin-top:18px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:9px; }
.country-card { width:100%; min-width:0; padding:14px; display:flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.018); text-align:left; cursor:pointer; transition:.18s; }.country-card:hover { border-color:rgba(141,107,255,.34); background:rgba(141,107,255,.045); transform:translateY(-1px); }.country-card.selected { border-color:var(--violet); box-shadow:inset 0 0 0 1px var(--violet); background:rgba(141,107,255,.08); }.flag { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:50%; background:var(--surface-3); font-size:19px; }.country-name { min-width:0; flex:1; }.country-name strong, .country-name small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.country-name strong { font-size:12px; }.country-name small { margin-top:4px; color:var(--muted); font-size:9px; }.country-price { text-align:right; }.country-price strong, .country-price small { display:block; }.country-price strong { font-size:12px; }.country-price small { margin-top:4px; color:var(--muted); font-size:9px; }
.order-panel { position:sticky; top:94px; padding:25px; }.order-head { display:flex; align-items:flex-start; justify-content:space-between; }.order-head h2 { margin:0; font-size:22px; letter-spacing:-.035em; }.order-step { padding:6px 8px; border-radius:8px; background:rgba(255,255,255,.05); color:var(--muted); font-size:9px; }.empty-order { min-height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }.empty-order strong { margin-top:22px; font-size:13px; }.empty-order p { margin:8px 0 0; max-width:230px; color:var(--muted); line-height:1.6; font-size:10px; }.radar { width:88px; height:88px; position:relative; display:grid; place-items:center; }.radar span { position:absolute; border:1px solid rgba(141,107,255,.2); border-radius:50%; }.radar span:first-child { inset:0; }.radar span:nth-child(2) { inset:17px; }.radar i { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:var(--violet); font-style:normal; font-size:15px; box-shadow:0 0 25px rgba(141,107,255,.6); }
.order-ready { padding-top:31px; }.summary-country { display:flex; align-items:center; gap:13px; }.large-flag { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:var(--surface-3); font-size:25px; }.summary-country small, .summary-country strong { display:block; }.summary-country small { color:var(--muted); font-size:9px; }.summary-country strong { margin-top:5px; font-size:16px; }.price-summary { margin:22px 0; padding:5px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }.price-summary div { padding:12px 0; display:flex; justify-content:space-between; }.price-summary dt { color:var(--muted); font-size:11px; }.price-summary dd { margin:0; font-size:11px; font-weight:700; }.price-note { color:#747582; font-size:9px; line-height:1.65; }.purchase-button { width:100%; margin-top:11px; display:flex; justify-content:space-between; align-items:center; }
.activation-box { padding-top:25px; }.activation-status { padding:13px; display:flex; align-items:center; gap:10px; border-radius:13px; background:var(--surface-2); }.waiting-dot { width:9px; height:9px; border-radius:50%; background:#ffc76b; box-shadow:0 0 0 5px rgba(255,199,107,.09); }.waiting-dot.status-received, .waiting-dot.status-finished { background:var(--mint); box-shadow:0 0 0 5px rgba(129,243,196,.09); }.waiting-dot.status-cancelling, .waiting-dot.status-expired { background:#ff9f62; box-shadow:0 0 0 5px rgba(255,159,98,.09); }.waiting-dot.status-cancelled, .waiting-dot.status-replaced { background:#8cb9a6; box-shadow:0 0 0 5px rgba(140,185,166,.09); }.waiting-dot.status-failed, .waiting-dot.status-review { background:var(--danger); box-shadow:0 0 0 5px rgba(255,140,156,.09); }.activation-status div { flex:1; }.activation-status small, .activation-status strong { display:block; }.activation-status small { color:var(--muted); font-size:8px; }.activation-status strong { margin-top:3px; font-size:11px; }.timer { color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; }.timer.expiring { color:#ffd08a; }
.billing-status { margin-top:10px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.018); }.billing-status small, .billing-status strong { display:block; }.billing-status small { color:var(--muted); font-size:8px; }.billing-status strong { margin-top:3px; font-size:10px; }.billing-status > span { font-size:12px; font-weight:750; }.billing-frozen { color:#ffd08a; }.billing-settled { color:var(--mint); }.billing-refunded { color:#a7d8c4; }.billing-review { color:var(--danger); }
.number-card, .code-card { margin-top:10px; padding:16px; border:1px solid var(--line); border-radius:14px; }.number-card small, .code-card small { color:var(--muted); font-size:9px; }.number-card div { margin-top:9px; display:flex; align-items:center; justify-content:space-between; gap:8px; }.number-card strong { font-size:18px; letter-spacing:.03em; }.copy-button { padding:6px 8px; border:1px solid var(--line); border-radius:8px; background:transparent; color:var(--violet-2); font-size:9px; cursor:pointer; }.code-card { position:relative; text-align:center; background:linear-gradient(145deg, rgba(141,107,255,.09), transparent); }.code-card strong { display:block; margin:16px 0 9px; color:#d9d1ff; font-size:30px; letter-spacing:.18em; }.code-card p { margin:0; color:var(--muted); font-size:9px; }.code-card .copy-button { margin-top:13px; }.activation-notice { margin:10px 0 0; padding:10px 12px; border-radius:10px; background:rgba(255,199,107,.06); color:#c7b38e; font-size:9px; line-height:1.6; }.activation-actions { padding-top:14px; display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }.text-button { padding:7px; border:0; background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }.text-button:hover { color:var(--ink); }.text-button.danger:hover { color:var(--danger); }.secondary-button { min-height:32px; padding:0 11px; border:1px solid rgba(141,107,255,.25); border-radius:9px; background:rgba(141,107,255,.07); color:var(--violet-2); font-size:9px; cursor:pointer; }.secondary-button:disabled, .text-button:disabled { cursor:wait; opacity:.45; }
.new-number-button { width:100%; margin-top:3px; border-color:rgba(129,243,196,.18); background:rgba(129,243,196,.055); color:#a8e8cf; }
.recent-section { margin-top:56px; }.section-title { display:flex; justify-content:space-between; align-items:end; margin-bottom:16px; }.section-title h2 { margin:0; font-size:24px; letter-spacing:-.04em; }.history-head, .history-row { display:grid; grid-template-columns:1fr 1.15fr .65fr .75fr 1fr auto; gap:14px; align-items:center; }.history-head { padding:0 4px 10px; color:#62636f; font-size:8px; }.history-list { border-top:1px solid var(--line); }.history-row { padding:14px 4px; border-bottom:1px solid var(--line); font-size:10px; }.history-row > span { color:var(--muted); }.history-row strong { font-size:10px; }.history-status { justify-self:start; padding:5px 8px; border-radius:8px; background:rgba(255,255,255,.04); }.history-status.status-received, .history-status.status-finished { color:var(--mint); background:rgba(129,243,196,.07); }.history-status.status-cancelling { color:#ffd08a; background:rgba(255,208,138,.07); }.history-status.status-failed, .history-status.status-review { color:var(--danger); background:rgba(255,140,156,.07); }.history-billing.billing-settled { color:var(--mint); }.history-billing.billing-refunded { color:#a7d8c4; }.history-billing.billing-frozen { color:#ffd08a; }.history-billing.billing-review { color:var(--danger); }.history-open { border:0; background:transparent; color:var(--violet-2); cursor:pointer; font-size:10px; }.history-empty { margin:0; padding:30px 4px; color:var(--muted); font-size:11px; }
.history-row.selected { background:linear-gradient(90deg, rgba(141,107,255,.055), transparent); }
.active-summary-text { display:block; margin-top:7px; color:var(--muted); font-size:9px; font-weight:400; }
footer { min-height:70px; padding:0 max(24px, calc((100vw - 1240px)/2)); display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); color:#666773; font-size:9px; }
.toast { position:fixed; z-index:60; left:50%; bottom:28px; max-width:min(400px, calc(100% - 32px)); padding:12px 16px; border:1px solid var(--line); border-radius:12px; background:#242530; color:var(--ink); box-shadow:var(--shadow); font-size:11px; transform:translate(-50%, 30px); opacity:0; pointer-events:none; transition:.22s; }.toast.show { transform:translate(-50%,0); opacity:1; }.toast.error { color:#ffd0d6; border-color:rgba(255,140,156,.25); }
.modal-backdrop { position:fixed; inset:0; z-index:50; padding:20px; display:grid; place-items:center; background:rgba(6,7,10,.72); backdrop-filter:blur(9px); }.modal-card { position:relative; width:min(430px, 100%); padding:30px; border:1px solid var(--line); border-radius:20px; background:#1a1b23; box-shadow:var(--shadow); }.modal-card h2 { margin:0 0 13px; font-size:25px; letter-spacing:-.04em; }.modal-card > p:not(.eyebrow) { margin:0; color:var(--muted); line-height:1.7; font-size:12px; }.modal-close { position:absolute; right:15px; top:13px; border:0; background:transparent; color:var(--muted); font-size:24px; cursor:pointer; }.modal-actions { margin-top:25px; display:flex; justify-content:flex-end; gap:9px; }.modal-actions .primary-button { min-height:40px; }

.tier-picker { margin-top:18px; padding:12px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.018); }
.tier-picker-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tier-picker-head strong { font-size:11px; }
.tier-picker-head small { color:var(--muted); font-size:9px; }
.price-tier-list { max-height:238px; margin-top:9px; display:grid; gap:6px; overflow:auto; padding-right:2px; }
.price-tier { width:100%; min-height:45px; padding:8px 10px; display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.018); color:var(--ink); text-align:left; cursor:pointer; transition:.16s; }
.price-tier:hover { border-color:rgba(141,107,255,.4); background:rgba(141,107,255,.045); }
.price-tier.selected { border-color:var(--violet); box-shadow:inset 0 0 0 1px var(--violet); background:rgba(141,107,255,.1); }
.price-tier-main strong, .price-tier-main small { display:block; }
.price-tier-main strong { font-size:12px; }
.price-tier-main small { margin-top:3px; color:var(--muted); font-size:9px; }
.price-tier-stock { color:var(--muted); font-size:9px; white-space:nowrap; }

@media (max-width: 960px) {
  .login-shell { grid-template-columns:1fr; width:min(540px, calc(100% - 40px)); }.login-art { display:none; }.login-card { padding:36px 0; }.brand-large { margin-bottom:70px; }
  .hero-heading { align-items:flex-start; flex-direction:column; }.wallet-explainer { justify-content:flex-start; overflow-x:auto; }.wallet-explainer > div { min-width:190px; }.workspace-grid { grid-template-columns:1fr; }.order-panel { position:static; }.empty-order { min-height:240px; }
}
@media (max-width: 620px) {
  .topbar { height:66px; padding:0 12px; }.environment-badge, .topbar .ghost-button, .balance-pill .mini-icon { display:none; }.active-pill { min-height:38px; padding:0 8px; }.balance-pill { min-height:40px; padding:0 9px; gap:7px; }.wallet-item small { font-size:7px; }.wallet-item strong { font-size:9px; }.ghost-button { padding:0 11px; }.main-content { width:calc(100% - 24px); padding:45px 0 60px; }.mode-banner { margin-top:-20px; }.hero-heading h1 { font-size:39px; }.status-legend { white-space:normal; line-height:1.4; }.wallet-explainer { padding:12px; gap:12px; }.wallet-arrow { display:none; }.step-block { padding:20px 16px; }.filter-row { flex-direction:column; }.sort-control { height:39px; }.sort-button { flex:1; }.country-grid { grid-template-columns:1fr; }.order-panel { padding:20px 16px; }.history-head { display:none; }.history-row { grid-template-columns:1fr auto; gap:8px; }.history-row > *:nth-child(2), .history-row > *:nth-child(3) { display:none; }.history-row > *:nth-child(4), .history-row > *:nth-child(5) { grid-row:2; }.history-row > *:nth-child(6) { grid-column:2; grid-row:1; } footer { padding:20px 16px; flex-direction:column; gap:8px; align-items:flex-start; }.trust-row { font-size:10px; }.login-card h1 { font-size:45px; }
}

/* v7 dashboard layout */
.card-ref-pill { min-height:42px; padding:0 12px; display:flex; flex-direction:column; justify-content:center; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); }
.card-ref-pill small, .card-ref-pill strong { display:block; }
.card-ref-pill small { color:var(--muted); font-size:7px; }
.card-ref-pill strong { margin-top:2px; color:#d8d1ff; font-size:9px; letter-spacing:.04em; }
.dashboard-main { width:min(1480px, calc(100% - 40px)); padding-top:44px; }
.dashboard-heading { margin-bottom:24px; align-items:center; }
.dashboard-heading h1 { font-size:clamp(28px,3vw,42px); }
.dashboard-heading h1 br { display:none; }
.purchase-workspace { grid-template-columns:minmax(280px, 320px) minmax(0, 1fr); gap:16px; align-items:start; }
.compact-selector { position:sticky; top:88px; max-height:calc(100vh - 106px); overflow:auto; scrollbar-width:thin; }
.compact-step { padding:18px; }
.compact-service { margin-top:12px; padding:11px; border-radius:13px; }
.compact-service .openai-mark { width:35px; height:35px; flex-basis:35px; }
.chile-recommendation { width:100%; margin-top:14px; padding:11px 12px; display:flex; align-items:center; gap:10px; border:1px solid rgba(129,243,196,.25); border-radius:13px; background:linear-gradient(115deg,rgba(129,243,196,.09),rgba(141,107,255,.06)); color:var(--ink); text-align:left; cursor:pointer; }
.chile-recommendation > span { font-size:23px; }.chile-recommendation div { min-width:0; flex:1; }.chile-recommendation strong,.chile-recommendation small { display:block; }.chile-recommendation strong { font-size:11px; }.chile-recommendation small { margin-top:3px; color:#9dcdbb; font-size:8px; }.chile-recommendation b { padding:4px 7px; border-radius:7px; background:rgba(129,243,196,.12); color:var(--mint); font-size:8px; }
.compact-filter { margin-top:12px; flex-direction:column; }
.compact-filter .sort-control { min-height:36px; }.compact-filter .sort-button { min-height:28px; flex:1; }
.compact-country-grid { grid-template-columns:1fr; max-height:430px; overflow:auto; padding-right:2px; }
.compact-country-grid .country-card { padding:10px; border-radius:11px; }
.compact-country-grid .flag { width:30px; height:30px; flex-basis:30px; font-size:16px; }
.compact-country-grid .country-price small { max-width:126px; white-space:normal; line-height:1.35; }
.country-card.recommended { border-color:rgba(129,243,196,.3); background:rgba(129,243,196,.04); }
.country-card .recommend-tag { margin-left:5px; color:var(--mint); font-size:7px; }
.selector-checkout { position:sticky; z-index:4; bottom:0; padding:16px 18px 18px; border-top:1px solid rgba(141,107,255,.28); background:linear-gradient(180deg,rgba(20,21,29,.97),#15161e 26%); box-shadow:0 -20px 36px rgba(8,9,13,.72); }
.selector-checkout .summary-country { margin-bottom:10px; }.selector-checkout .large-flag { width:38px; height:38px; font-size:20px; }.selector-checkout .summary-country strong { font-size:13px; }
.selector-checkout .tier-picker { margin-top:10px; padding:9px; }.selector-checkout .price-tier-list { max-height:164px; }.selector-checkout .price-tier { min-height:39px; padding:7px 8px; }
.selector-checkout .price-summary { margin:12px 0; }.selector-checkout .price-summary div { padding:7px 0; }.selector-checkout .price-note { margin:0; }
.purchase-panel { position:static; min-width:0; min-height:720px; padding:24px; overflow:visible; scroll-margin-top:100px; }
.purchase-head { align-items:center; padding-bottom:18px; border-bottom:1px solid var(--line); }.purchase-head h2 { font-size:28px; }.purchase-head-actions { display:flex; align-items:center; gap:8px; }
.purchase-tools { padding:18px 0 12px; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.purchase-tabs { display:flex; gap:5px; padding:4px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.018); }.purchase-tab { min-height:32px; padding:0 13px; border:0; border-radius:8px; background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }.purchase-tab.active { background:var(--violet); color:white; box-shadow:0 8px 22px rgba(141,107,255,.25); }
.purchase-search { width:min(280px,36%); min-height:40px; padding:0 12px; display:flex; align-items:center; gap:7px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.025); color:var(--muted); }.purchase-search input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-size:10px; }
.purchase-table-shell { min-width:0; border:1px solid var(--line); border-radius:15px; overflow:hidden; background:rgba(8,9,14,.18); }
.purchase-table-shell .history-head,.purchase-table-shell .history-row { grid-template-columns:minmax(190px,1.6fr) .7fr .78fr 1fr .8fr auto; gap:12px; }
.purchase-table-shell .history-head { padding:11px 15px; background:rgba(141,107,255,.075); color:#9c9da9; }
.purchase-table-shell .history-list { border-top:0; }.purchase-table-shell .history-row { min-height:68px; padding:12px 15px; transition:.2s; }.purchase-table-shell .history-row:last-child { border-bottom:0; }.purchase-table-shell .history-row:hover { background:rgba(141,107,255,.035); }.purchase-table-shell .history-row.selected { background:linear-gradient(90deg,rgba(141,107,255,.11),rgba(141,107,255,.025)); box-shadow:inset 3px 0 var(--violet); }
.purchase-phone { min-width:0; }.purchase-phone strong,.purchase-phone small,.purchase-cost strong,.purchase-cost small,.purchase-time strong,.purchase-time small { display:block; }.purchase-phone strong { overflow-wrap:anywhere; color:#f1efff; font:650 12px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre-wrap; direction:ltr; unicode-bidi:plaintext; }.purchase-phone small,.purchase-cost small,.purchase-time small { margin-top:4px; color:var(--muted); font-size:8px; }.purchase-cost strong,.purchase-time strong { font-size:10px; }
.purchase-code { color:#d8d1ff; font:700 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; }.purchase-code.waiting { color:var(--muted); font:400 9px/1.2 inherit; letter-spacing:0; }
.purchase-actions { display:flex; align-items:center; justify-content:flex-end; gap:5px; }.row-action { min-height:28px; padding:0 8px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.025); color:#c9c4e8; font-size:8px; cursor:pointer; }.row-action.primary { border-color:rgba(141,107,255,.28); color:var(--violet-2); background:rgba(141,107,255,.08); }.row-action:disabled { opacity:.45; cursor:not-allowed; }
.purchase-empty { min-height:250px; }.purchase-empty .radar { width:70px; height:70px; }
.replacement-progress { margin:16px 0 0; padding:12px 14px; display:flex; align-items:center; gap:12px; border:1px solid rgba(141,107,255,.24); border-radius:13px; background:rgba(141,107,255,.07); }.replacement-progress.success { border-color:rgba(129,243,196,.26); background:rgba(129,243,196,.075); }.replacement-progress.error { border-color:rgba(255,140,156,.25); background:rgba(255,140,156,.06); }.replacement-progress strong,.replacement-progress p { display:block; }.replacement-progress strong { font-size:10px; }.replacement-progress p { margin:4px 0 0; color:var(--muted); font-size:9px; }.progress-spinner { width:18px; height:18px; flex:0 0 18px; border:2px solid rgba(141,107,255,.2); border-top-color:var(--violet-2); border-radius:50%; animation:spin .8s linear infinite; }.replacement-progress.success .progress-spinner { border:0; display:grid; place-items:center; color:var(--mint); animation:none; }.replacement-progress.success .progress-spinner::after { content:'✓'; font-weight:800; }
@keyframes spin { to { transform:rotate(360deg); } } @keyframes replacementPulse { 0%,100% { box-shadow:0 0 0 rgba(129,243,196,0); } 45% { box-shadow:0 0 0 8px rgba(129,243,196,.08); } }
.purchase-detail { margin-top:16px; padding:18px; border:1px solid rgba(141,107,255,.18); border-radius:16px; background:rgba(255,255,255,.014); }.purchase-detail.replacement-success { animation:replacementPulse 1.5s ease; }.detail-title { display:flex; justify-content:space-between; align-items:center; }.detail-title strong { font-size:15px; }.detail-grid { margin-top:12px; display:grid; grid-template-columns:.85fr 1.25fr .8fr; gap:10px; align-items:stretch; }.detail-grid > * { min-width:0; }.detail-grid .number-card,.detail-grid .code-card { margin-top:0; }.detail-grid .billing-status { margin-top:8px; }
.phone-display { justify-content:flex-start!important; }.phone-country-code { flex:0 0 auto; padding:5px 7px; border-radius:8px; background:rgba(141,107,255,.11); color:#d9d1ff; font:700 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre; }.phone-local-number { min-width:0; flex:1; overflow:auto; font:700 16px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace!important; white-space:pre!important; direction:ltr; unicode-bidi:plaintext; letter-spacing:0!important; }.phone-raw { white-space:pre; }
.activation-actions { justify-content:flex-end; }.activation-actions .secondary-button { min-height:34px; }
.support-notice-stack { position:sticky; z-index:3; bottom:0; margin:18px -8px -8px; padding:10px 8px 8px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; background:linear-gradient(180deg,rgba(21,22,30,0),rgba(21,22,30,.96) 18%,#15161e 42%); }
.support-notice { min-width:0; padding:10px 11px; display:grid; grid-template-columns:auto 1fr; gap:9px; align-items:start; border:1px solid var(--line); border-radius:11px; background:#191a23; }.support-notice > span { padding:4px 6px; border-radius:7px; background:rgba(255,255,255,.045); color:#d4cfff; font-size:8px; font-weight:750; white-space:nowrap; }.support-notice p { margin:0; color:#898a96; font-size:8px; line-height:1.55; }.support-notice p strong { display:block; margin-bottom:2px; color:#c9cad2; font-size:9px; }.support-notice.wait { border-color:rgba(255,199,107,.17); }.support-notice.wait > span { color:#ffd494; background:rgba(255,199,107,.08); }.support-notice.replace { border-color:rgba(141,107,255,.2); }.support-notice.recommend { border-color:rgba(129,243,196,.18); }.support-notice.recommend > span { color:var(--mint); background:rgba(129,243,196,.08); }.support-notice.policy { border-color:rgba(255,140,156,.17); }.support-notice.policy > span { color:#ffbcc6; background:rgba(255,140,156,.07); }

@media (max-width:1100px) {
  .purchase-workspace { grid-template-columns:270px minmax(0,1fr); }.purchase-table-shell .history-head,.purchase-table-shell .history-row { grid-template-columns:minmax(170px,1.4fr) .65fr .75fr .9fr auto; }.purchase-table-shell .history-head > *:nth-child(5),.purchase-table-shell .history-row > *:nth-child(5) { display:none; }.detail-grid { grid-template-columns:1fr 1fr; }.detail-grid .code-card { grid-column:1/-1; }
}
@media (max-width:820px) {
  .card-ref-pill { display:none; }.dashboard-main { width:calc(100% - 24px); padding-top:28px; }.dashboard-heading { align-items:flex-start; }.purchase-workspace { grid-template-columns:1fr; }.compact-selector { position:static; max-height:none; }.compact-country-grid { max-height:390px; }.selector-checkout { position:static; }.purchase-panel { padding:16px; }.purchase-tools { align-items:stretch; flex-direction:column; }.purchase-search { width:100%; }.purchase-table-shell .history-head { display:none; }.purchase-table-shell .history-row { grid-template-columns:1fr auto; gap:9px; }.purchase-table-shell .history-row > * { display:block!important; }.purchase-table-shell .history-row > *:nth-child(3),.purchase-table-shell .history-row > *:nth-child(5) { display:none!important; }.purchase-table-shell .history-row > *:nth-child(4) { grid-column:1; }.purchase-table-shell .history-row > *:nth-child(6) { grid-column:2; grid-row:1/3; }.detail-grid { grid-template-columns:1fr; }.detail-grid .code-card { grid-column:auto; }.support-notice-stack { position:static; grid-template-columns:1fr; margin-inline:0; padding-inline:0; }.purchase-head { align-items:flex-start; }.purchase-head-actions { align-items:flex-end; flex-direction:column; }
}

/* v11 light ocean theme */
.environment-badge { border-color:rgba(181,116,22,.2); background:rgba(226,166,56,.1); color:#8e671f; }
.mode-banner { border-color:rgba(181,116,22,.18); background:rgba(226,166,56,.075); }
.mode-icon { background:rgba(226,166,56,.13); color:#8e671f; }
.search-box, .sort-control, .tier-picker, .purchase-tabs, .purchase-search { background:#f7faf9; }
.search-box input::placeholder { color:#91a4a3; }
.sort-button.active { background:#fff; color:var(--ink); box-shadow:0 3px 10px rgba(28,66,68,.08); }
.country-card { background:#fff; }
.country-card:hover { border-color:rgba(15,118,110,.34); background:rgba(15,118,110,.04); }
.country-card.selected { border-color:var(--violet); background:rgba(15,118,110,.08); }
.order-step { background:var(--surface-2); }
.radar span { border-color:rgba(15,118,110,.2); }
.radar i { color:#fff; box-shadow:0 0 25px rgba(15,118,110,.4); }
.price-tier { background:#fff; }
.price-tier:hover { border-color:rgba(15,118,110,.4); background:rgba(15,118,110,.04); }
.price-tier.selected { background:rgba(15,118,110,.1); }
.number-card, .code-card { background:#fff; }
.code-card { background:linear-gradient(145deg,rgba(15,118,110,.08),transparent); }
.code-card strong { color:#0f766e; }
.secondary-button { border-color:rgba(15,118,110,.25); background:rgba(15,118,110,.07); }
.history-row.selected { background:linear-gradient(90deg,rgba(15,118,110,.055),transparent); }
.billing-frozen, .history-billing.billing-frozen { color:#a9680b; }
.billing-refunded, .history-billing.billing-refunded { color:#337a60; }
.history-status.status-cancelling { color:#a9680b; background:rgba(226,166,56,.1); }
.activation-notice { background:rgba(226,166,56,.08); color:#8e671f; }
.action-availability { margin:12px 0 0; padding:11px 13px; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid rgba(226,166,56,.28); border-radius:11px; background:rgba(226,166,56,.09); color:#8e671f; }.action-availability span { padding:4px 7px; border-radius:7px; background:rgba(226,166,56,.13); font-size:9px; font-weight:800; white-space:nowrap; }.action-availability strong { font-size:10px; text-align:right; }.action-availability.ready { border-color:rgba(15,118,110,.3); background:rgba(15,118,110,.09); color:#0f766e; }.action-availability.ready span { background:rgba(15,118,110,.13); }.activation-actions #cancelButton,.activation-actions #replaceButton { min-height:42px; padding:0 16px; border-radius:11px; font-size:11px; font-weight:800; transition:transform .18s,box-shadow .18s,background .18s,border-color .18s; }.activation-actions #cancelButton.action-ready { border-color:rgba(217,86,100,.48); background:rgba(217,86,100,.1); color:#b53e4d; box-shadow:0 8px 22px rgba(217,86,100,.1); }.activation-actions #replaceButton.action-ready { border-color:#0f766e; background:linear-gradient(135deg,#19a99b,#0f766e); color:#fff; box-shadow:0 10px 25px rgba(15,118,110,.24); }.activation-actions #cancelButton.action-ready:hover,.activation-actions #replaceButton.action-ready:hover { transform:translateY(-1px); }.activation-actions #cancelButton.cooldown,.activation-actions #replaceButton.cooldown,.row-action.cooldown { border-color:#cad4d2; background:#edf1f0; color:#7d8e8c; box-shadow:none; opacity:.78; cursor:not-allowed; }.row-action.primary.action-ready { min-height:32px; padding:0 10px; border-color:#0f766e; background:#0f766e; color:#fff; font-weight:800; }.secondary-button:disabled,.text-button:disabled { cursor:not-allowed; }
@media (max-width:620px) { .action-availability { align-items:flex-start; flex-direction:column; }.action-availability strong { text-align:left; }.activation-actions #cancelButton,.activation-actions #replaceButton { flex:1 1 150px; } }
.toast { background:#fff; }
.toast.error { color:#a93645; border-color:rgba(217,86,100,.25); }
.modal-backdrop { background:rgba(15,35,38,.48); }
.modal-card { background:#fff; }
.card-ref-pill { background:#f7faf9; }
.card-ref-pill strong { color:#0f766e; }
.chile-recommendation { background:linear-gradient(115deg,rgba(18,150,111,.1),rgba(15,118,110,.045)); }
.chile-recommendation small { color:#437d70; }
.chile-recommendation b { background:rgba(18,150,111,.11); }
.country-card.recommended { border-color:rgba(18,150,111,.3); background:rgba(18,150,111,.045); }
.selector-checkout { border-top-color:rgba(15,118,110,.22); background:linear-gradient(180deg,rgba(255,255,255,.97),#fff 26%); box-shadow:0 -18px 34px rgba(28,66,68,.1); }
.purchase-tab.active { background:var(--violet); color:#fff; box-shadow:0 8px 22px rgba(15,118,110,.22); }
.purchase-table-shell { background:#fff; }
.purchase-table-shell .history-head { background:rgba(15,118,110,.075); color:#69807f; }
.purchase-table-shell .history-row:hover { background:rgba(15,118,110,.035); }
.purchase-table-shell .history-row.selected { background:linear-gradient(90deg,rgba(15,118,110,.1),rgba(15,118,110,.02)); }
.purchase-phone strong { color:#173c40; }
.purchase-code { color:#0f766e; }
.row-action { background:#f7faf9; color:#42666a; }
.row-action.primary { border-color:rgba(15,118,110,.28); background:rgba(15,118,110,.08); }
.replacement-progress { border-color:rgba(15,118,110,.24); background:rgba(15,118,110,.07); }
.progress-spinner { border-color:rgba(15,118,110,.2); border-top-color:var(--violet-2); }
.purchase-detail { border-color:rgba(15,118,110,.18); background:#f9fbfb; }
.phone-country-code { background:rgba(15,118,110,.11); color:#0f766e; }
.new-number-button { border-color:rgba(18,150,111,.2); background:rgba(18,150,111,.065); color:#177b5c; }
.support-notice-stack { background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.96) 18%,#fff 42%); }
.support-notice { background:#f9fbfb; }
.support-notice > span { background:rgba(15,118,110,.07); color:#0f766e; }
.support-notice p { color:#6d8382; }
.support-notice p strong { color:#36595c; }
.support-notice.wait > span { color:#8e671f; background:rgba(226,166,56,.1); }
.support-notice.replace { border-color:rgba(15,118,110,.2); }
.support-notice.policy > span { color:#a93645; background:rgba(217,86,100,.075); }

/* v13 API access */
footer a { color:#0f766e; font-weight:750; text-decoration:none; }
footer a:hover { text-decoration:underline; }
.api-access-button { min-height:40px; padding:0 13px; display:inline-flex; align-items:center; gap:7px; border:1px solid rgba(15,118,110,.24); border-radius:11px; background:rgba(15,118,110,.075); color:#0f766e; cursor:pointer; white-space:nowrap; }
.api-access-button span { font:800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.api-access-button b { font-size:10px; }
.api-access-button:hover { border-color:rgba(15,118,110,.44); background:rgba(15,118,110,.12); }
.api-modal-card { width:min(680px,100%); max-height:min(820px,calc(100vh - 32px)); overflow:auto; padding:32px; }
.api-modal-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.api-modal-heading h2 { margin:0 0 7px; }
.api-modal-heading p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.api-credential-badge { flex:0 0 auto; margin-top:3px; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:800; }
.api-credential-badge.enabled { background:rgba(18,150,111,.11); color:#177b5c; }
.api-credential-badge.disabled { background:#edf3f2; color:#708584; }
.api-security-callout { margin-top:20px; padding:14px 15px; display:flex; align-items:flex-start; gap:11px; border:1px solid rgba(226,166,56,.23); border-radius:13px; background:rgba(226,166,56,.075); }
.api-security-callout > span { flex:0 0 auto; }
.api-security-callout p { margin:0; color:#715c35; font-size:11px; line-height:1.65; }
.api-security-callout strong { display:block; margin-bottom:2px; color:#684a16; }
.api-credential-summary { margin-top:16px; padding:14px; display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:10px; border:1px solid var(--line); border-radius:13px; background:#f7faf9; }
.api-credential-summary div { min-width:0; padding:2px 8px; }
.api-credential-summary div + div { border-left:1px solid var(--line); }
.api-credential-summary small,.api-credential-summary strong { display:block; }
.api-credential-summary small { color:var(--muted); font-size:8px; }
.api-credential-summary strong { margin-top:5px; overflow:hidden; color:#31575a; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.api-token-reveal { margin-top:16px; padding:16px; border:1px solid rgba(15,118,110,.3); border-radius:14px; background:linear-gradient(145deg,rgba(15,118,110,.095),rgba(255,255,255,.92)); }
.api-token-reveal > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.api-token-reveal > div strong { color:#0f766e; font-size:11px; }
.api-token-reveal > div span { color:var(--muted); font-size:9px; text-align:right; }
.api-token-reveal code { margin:12px 0; padding:12px 13px; display:block; max-height:105px; overflow:auto; border:1px solid rgba(15,118,110,.15); border-radius:10px; background:#fff; color:#163f42; font:700 11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; user-select:all; }
.api-token-reveal .secondary-button { min-height:36px; }
.api-credential-form { margin-top:18px; }
.api-credential-form > label { display:block; margin:12px 0 7px; color:#35585b; font-size:10px; font-weight:750; }
.api-credential-form > input { width:100%; height:44px; padding:0 13px; border:1px solid var(--line); border-radius:11px; outline:0; background:#fff; color:var(--ink); transition:.18s; }
.api-credential-form > input:focus { border-color:rgba(15,118,110,.62); box-shadow:0 0 0 4px rgba(15,118,110,.09); }
.api-credential-form.is-busy { opacity:.72; }
.api-credential-actions { margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.api-credential-actions > div { display:flex; align-items:center; gap:8px; }
.api-credential-actions .primary-button { min-height:40px; }
.api-doc-link { color:#0f766e; font-size:10px; font-weight:800; text-decoration:none; }
.api-doc-link:hover { text-decoration:underline; }
.danger-button { color:#a93645; border-color:rgba(217,86,100,.2); background:rgba(217,86,100,.055); }
.danger-button:disabled { cursor:not-allowed; opacity:.45; }
.modal-close:disabled { cursor:wait; opacity:.35; }

@media (max-width:620px) {
  .topbar .active-pill { display:none; }
  .api-access-button { min-width:42px; padding:0 9px; justify-content:center; }
  .api-access-button b { display:none; }
  .api-modal-backdrop { padding:10px; align-items:end; }
  .api-modal-card { width:100%; max-height:calc(100vh - 20px); padding:24px 18px 20px; border-radius:19px; }
  .api-modal-heading { padding-right:22px; }
  .api-credential-summary { grid-template-columns:1fr; }
  .api-credential-summary div + div { padding-top:9px; border-top:1px solid var(--line); border-left:0; }
  .api-token-reveal > div,.api-credential-actions { align-items:flex-start; flex-direction:column; }
  .api-token-reveal > div span { text-align:left; }
  .api-credential-actions > div { width:100%; }
  .api-credential-actions > div button { flex:1; }
}

@media (max-width:430px) {
  .topbar .brand > span:last-child { display:none; }
  .balance-pill { padding-inline:8px; }
  .wallet-divider { display:none; }
  .wallet-item:nth-of-type(2) { display:none; }
}
