:root {
  --account-ink: #0d1725;
  --account-ink-2: #152238;
  --account-ink-3: #20304a;
  --account-line: rgba(15, 28, 48, .11);
  --account-muted: #708096;
  --account-paper: #f5f7fa;
  --account-white: #ffffff;
  --account-lime: #e8fd09;
  --account-gold: #e0b939;
  --account-blue: #5489ff;
  --account-cyan: #3bd6c6;
  --account-red: #df6c73;
  --account-shadow: 0 22px 55px rgba(16, 34, 61, .11);
  --account-radius: 18px;
  --account-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--account-font); color: var(--account-ink); background: var(--account-paper); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

/* Shared controls */
.account-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border-radius: 11px; font-weight: 750; font-size: 13px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.account-btn:hover { transform: translateY(-1px); }
.account-btn--lime { color: #121b13; background: var(--account-lime); box-shadow: 0 10px 22px rgba(181, 203, 0, .2); }
.account-btn--lime:hover { box-shadow: 0 14px 28px rgba(181, 203, 0, .28); }
.account-btn--dark { color: #fff; background: var(--account-ink); }
.account-btn--dark:hover { background: var(--account-ink-2); }
.account-btn--outline { color: var(--account-ink); background: transparent; border: 1px solid var(--account-line); }
.account-btn--outline:hover { border-color: rgba(15, 28, 48, .28); background: #fff; }
.account-btn--small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.account-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.account-kicker { margin: 0 0 7px; color: var(--account-muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.account-muted { color: var(--account-muted); }

/* Login */
.auth-page { min-height: 100vh; background: #edf1f6; }
.auth-shell { display: grid; grid-template-columns: minmax(420px, .92fr) minmax(480px, 1.08fr); min-height: 100vh; }
.auth-visual {
  position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(28px, 5vw, 72px);
  color: #fff; background:
    radial-gradient(circle at 25% 25%, rgba(232, 253, 9, .13), transparent 26%),
    radial-gradient(circle at 100% 70%, rgba(59, 214, 198, .13), transparent 30%),
    linear-gradient(145deg, #09111f, #101d32 58%, #0b1629);
}
.auth-visual::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.auth-visual > * { position: relative; z-index: 1; }
.auth-brand { display: inline-flex; align-items: center; width: fit-content; }
.auth-brand img { width: 226px; height: auto; }
.auth-visual-copy { max-width: 560px; margin-top: auto; padding-top: 80px; }
.auth-visual-copy h1 { max-width: 560px; margin: 0 0 20px; font-size: clamp(36px, 4.5vw, 66px); line-height: .98; letter-spacing: -.065em; }
.auth-visual-copy h1 span { color: var(--account-lime); }
.auth-visual-copy p { max-width: 470px; margin: 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.65; }
.auth-network { width: min(100%, 570px); margin: 50px 0 36px; opacity: .9; }
.auth-network svg { display: block; width: 100%; height: auto; }
.auth-visual-foot { display: flex; gap: 34px; margin-top: auto; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.13); }
.auth-proof strong { display: block; font-size: 21px; letter-spacing: -.03em; }
.auth-proof span { display: block; margin-top: 3px; color: rgba(255,255,255,.55); font-size: 12px; }
.auth-panel { display: flex; flex-direction: column; min-height: 100vh; padding: 28px clamp(24px, 6vw, 92px); background: #f7f9fb; }
.auth-panel-top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--account-muted); font-size: 13px; }
.auth-panel-top a { color: var(--account-ink); font-weight: 800; }
.auth-form-wrap { width: min(100%, 460px); margin: auto; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #5d6c80; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.auth-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--account-lime); box-shadow: 0 0 0 5px rgba(232,253,9,.22); }
.auth-form-wrap h2 { margin: 18px 0 9px; font-size: clamp(30px, 4vw, 42px); line-height: 1; letter-spacing: -.055em; }
.auth-form-wrap > p { margin: 0 0 32px; color: var(--account-muted); font-size: 14px; line-height: 1.6; }
.auth-form { padding: 28px; border: 1px solid var(--account-line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--account-shadow); }
.auth-label { display: block; margin: 0 0 8px; color: var(--account-ink); font-size: 12px; font-weight: 800; }
.auth-field { position: relative; margin-bottom: 18px; }
.auth-field input { width: 100%; height: 48px; padding: 0 14px; color: var(--account-ink); border: 1px solid rgba(15,28,48,.16); border-radius: 10px; outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.auth-field input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 4px rgba(84,137,255,.12); }
.auth-field input[type=password] { padding-right: 62px; }
.auth-field button { position: absolute; right: 8px; bottom: 7px; height: 34px; padding: 0 8px; color: var(--account-muted); background: transparent; font-size: 11px; font-weight: 800; }
.auth-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 2px 0 22px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: var(--account-muted); font-size: 12px; }
.auth-check input { accent-color: var(--account-ink); }
.auth-terms { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 22px; color: var(--account-muted); font-size: 12px; line-height: 1.45; }
.auth-terms input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--account-ink); }
.auth-terms a { color: var(--account-ink); font-weight: 800; }
.auth-forgot { color: var(--account-ink); font-size: 12px; font-weight: 800; }
.auth-submit { width: 100%; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #9aa6b5; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--account-line); }
.auth-sso { width: 100%; color: var(--account-ink); background: #fff; border: 1px solid var(--account-line); }
.auth-sso-mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--account-ink); font-size: 11px; font-weight: 900; }
.auth-note { margin: 18px 0 0; color: #91a0b0; font-size: 11px; line-height: 1.5; text-align: center; }
.auth-status { display: none; margin-top: 14px; padding: 12px 14px; color: #30425d; border: 1px solid rgba(84,137,255,.24); border-radius: 10px; background: rgba(84,137,255,.08); font-size: 12px; line-height: 1.5; }
.auth-status.is-visible { display: block; }
.auth-status.is-error { color: #8d3840; border-color: rgba(223,108,115,.28); background: rgba(223,108,115,.08); }
.auth-state-wrap { width: min(100%, 480px); margin: auto; text-align: center; }
.auth-state-wrap h2 { margin: 20px 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.06em; }
.auth-state-wrap > p { max-width: 420px; margin: 0 auto; color: var(--account-muted); font-size: 14px; line-height: 1.7; }
.auth-state-card { margin-top: 30px; padding: 32px 28px; border: 1px solid var(--account-line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--account-shadow); }
.auth-state-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; color: #182238; border-radius: 20px; background: rgba(232,253,9,.62); box-shadow: 0 0 0 9px rgba(232,253,9,.14); }
.auth-state-icon svg { width: 32px; height: 32px; }
.auth-state-icon.is-success { color: #fff; background: #2da66d; box-shadow: 0 0 0 9px rgba(45,166,109,.13); }
.auth-state-icon.is-error { color: #fff; background: var(--account-red); box-shadow: 0 0 0 9px rgba(223,108,115,.13); }
.auth-email { display: inline-block; max-width: 100%; margin-top: 8px; color: var(--account-ink); font-weight: 800; overflow-wrap: anywhere; }
.auth-state-actions { display: grid; gap: 11px; margin-top: 26px; }
.auth-state-actions .account-btn { width: 100%; }
.auth-state-link { display: inline-block; margin-top: 20px; color: var(--account-ink); font-size: 12px; font-weight: 800; }
[hidden] { display: none !important; }

/* App shell */
.app-page { min-height: 100vh; background: var(--account-paper); }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 24px 14px 18px; color: #fff; background: var(--account-ink); }
.app-brand { display: flex; align-items: center; min-height: 38px; padding: 0 12px; }
.app-brand img { width: 173px; height: auto; }
.app-sidebar-label { margin: 40px 13px 12px; color: #71829b; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.app-nav { display: grid; gap: 4px; }
.app-nav-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 13px; color: #9eacc0; border-radius: 11px; background: transparent; text-align: left; font-size: 13px; font-weight: 750; transition: color .2s, background .2s; }
.app-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.app-nav-link.is-active { color: #101b2b; background: var(--account-lime); box-shadow: 0 10px 22px rgba(232,253,9,.13); }
.app-nav-link svg { width: 17px; height: 17px; opacity: .9; }
.app-sidebar-bottom { margin-top: auto; }
.app-health { display: flex; align-items: center; gap: 9px; padding: 13px; color: #99e6bf; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; font-weight: 750; }
.app-health i { width: 7px; height: 7px; border-radius: 50%; background: #52e38e; box-shadow: 0 0 0 5px rgba(82,227,142,.12); }
.app-user { display: flex; align-items: center; gap: 10px; padding: 14px 10px 4px; }
.app-avatar { display: grid; place-items: center; width: 32px; height: 32px; color: #132037; border-radius: 10px; background: var(--account-lime); font-size: 12px; font-weight: 900; }
.app-user-copy { min-width: 0; }
.app-user-copy strong, .app-user-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-user-copy strong { color: #fff; font-size: 12px; }
.app-user-copy span { margin-top: 2px; color: #7789a2; font-size: 10px; }
.app-signout { display: block; margin: 12px 10px 0; color: #7587a0; font-size: 11px; font-weight: 750; }
.app-signout:hover { color: #fff; }
.app-main { min-width: 0; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid var(--account-line); background: rgba(255,255,255,.76); }
.app-topbar-title { color: var(--account-muted); font-size: 12px; font-weight: 750; }
.app-topbar-actions { display: flex; align-items: center; gap: 12px; }
.app-icon-btn { display: grid; place-items: center; width: 38px; height: 38px; color: var(--account-muted); border: 1px solid var(--account-line); border-radius: 10px; background: #fff; }
.app-icon-btn:hover { color: var(--account-ink); border-color: rgba(15,28,48,.25); }
.app-topbar-avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #142138; border-radius: 50%; background: #d7e2ef; font-size: 11px; font-weight: 900; }
.app-mobile-menu { display: none; }
.app-content { width: min(100% - 48px, 1450px); margin: 0 auto; padding: 42px 0 70px; }
.app-view { display: none; }
.app-view.is-active { display: block; animation: view-in .3s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.app-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.app-heading h1 { margin: 0; color: var(--account-ink); font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.06em; }
.app-heading p { margin: 10px 0 0; color: var(--account-muted); font-size: 13px; }
.app-heading-actions { display: flex; gap: 10px; }

/* Dashboard cards */
.app-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.app-card { border: 1px solid var(--account-line); border-radius: var(--account-radius); background: var(--account-white); box-shadow: 0 8px 26px rgba(16,34,61,.035); }
.app-stat { min-height: 136px; padding: 19px 20px; }
.app-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--account-muted); font-size: 11px; font-weight: 800; }
.app-stat-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--account-blue); border-radius: 9px; background: #edf3ff; }
.app-stat-value { margin-top: 18px; color: var(--account-ink); font-size: 27px; font-weight: 850; letter-spacing: -.055em; }
.app-stat-meta { margin-top: 5px; color: var(--account-muted); font-size: 11px; }
.app-stat-meta b { color: #259c68; }
.app-empty { display: grid; place-items: center; min-height: 340px; padding: 40px 24px; text-align: center; }
.app-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; color: var(--account-ink); border-radius: 19px; background: rgba(232,253,9,.58); box-shadow: 0 0 0 9px rgba(232,253,9,.12); }
.app-empty-icon svg { width: 29px; height: 29px; }
.app-empty h2 { margin: 0 0 9px; color: var(--account-ink); font-size: 24px; letter-spacing: -.045em; }
.app-empty p { max-width: 440px; margin: 0; color: var(--account-muted); font-size: 13px; line-height: 1.65; }
.app-empty .account-btn { margin-top: 22px; }
.app-grid-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: 18px; }
.app-grid-2--wide { grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); }
.app-panel { min-width: 0; padding: 22px; }
.app-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.app-panel-head h2 { margin: 0; color: var(--account-ink); font-size: 17px; letter-spacing: -.035em; }
.app-panel-head p { margin: 5px 0 0; color: var(--account-muted); font-size: 11px; }
.app-filter { height: 36px; padding: 0 11px; color: var(--account-ink); border: 1px solid var(--account-line); border-radius: 9px; background: #fff; font-size: 11px; font-weight: 750; outline: 0; }
.usage-chart { min-height: 260px; padding-top: 6px; }
.usage-chart svg { width: 100%; height: 220px; overflow: visible; }
.chart-grid { stroke: #dce4ee; stroke-width: 1; stroke-dasharray: 4 5; }
.chart-axis { fill: #8290a3; font-size: 10px; }
.chart-fill { fill: url(#chartFill); opacity: .75; }
.chart-line { fill: none; stroke: var(--account-blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-dot { fill: #fff; stroke: var(--account-blue); stroke-width: 3; }
.chart-legend { display: flex; gap: 18px; margin-top: -3px; color: var(--account-muted); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--account-blue); }
.chart-legend i.is-requests { background: var(--account-cyan); }
.health-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 325px; background: linear-gradient(160deg, #102039, #1b3150); color: #fff; border-color: transparent; overflow: hidden; }
.health-panel::after { content: ""; position: absolute; width: 170px; height: 170px; right: -70px; bottom: -80px; border: 1px solid rgba(232,253,9,.33); border-radius: 50%; box-shadow: 0 0 0 24px rgba(232,253,9,.06), 0 0 0 48px rgba(232,253,9,.035); }
.health-panel .app-panel-head h2, .health-panel .app-panel-head p { color: #fff; }
.health-panel .app-panel-head p { opacity: .6; }
.health-status { display: flex; align-items: center; gap: 14px; margin: 17px 0 32px; }
.health-status-mark { display: grid; place-items: center; width: 48px; height: 48px; color: #122033; border-radius: 14px; background: var(--account-lime); box-shadow: 0 0 0 8px rgba(232,253,9,.12); }
.health-status strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.health-status span { display: block; margin-top: 3px; color: rgba(255,255,255,.58); font-size: 11px; }
.health-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.health-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.68); font-size: 11px; }
.health-list b { color: #9ce6bf; font-size: 11px; }
.app-buy { position: relative; overflow: hidden; padding: 22px; background: linear-gradient(135deg, #fff, #fbfcfe); }
.app-buy::before { content: ""; position: absolute; width: 190px; height: 190px; top: -110px; right: -65px; border-radius: 50%; background: rgba(232,253,9,.24); }
.product-switcher { position: relative; display: flex; gap: 6px; margin: 0 0 19px; padding: 4px; border-radius: 11px; background: #edf1f6; }
.product-switcher button { flex: 1; min-height: 35px; color: var(--account-muted); border-radius: 8px; background: transparent; font-size: 11px; font-weight: 800; }
.product-switcher button.is-active { color: var(--account-ink); background: #fff; box-shadow: 0 3px 9px rgba(15,28,48,.08); }
.buy-form { position: relative; display: grid; gap: 12px; }
.buy-form label { display: grid; gap: 7px; color: var(--account-muted); font-size: 10px; font-weight: 800; }
.buy-form select, .buy-form input { width: 100%; height: 42px; padding: 0 11px; color: var(--account-ink); border: 1px solid var(--account-line); border-radius: 9px; background: #fff; outline: 0; font-size: 12px; }
.buy-form select:focus, .buy-form input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 3px rgba(84,137,255,.1); }
.buy-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 2px 0 3px; padding: 15px 0; border-top: 1px solid var(--account-line); border-bottom: 1px solid var(--account-line); }
.buy-price span { color: var(--account-muted); font-size: 11px; }
.buy-price strong { color: var(--account-ink); font-size: 24px; letter-spacing: -.05em; }
.buy-form .account-btn { width: 100%; }
.app-section-spacer { margin-top: 18px; }
.app-table-wrap { overflow: auto; }
.app-table { width: 100%; min-width: 690px; border-collapse: collapse; }
.app-table th { padding: 0 13px 12px; color: var(--account-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.app-table td { padding: 15px 13px; border-top: 1px solid #edf0f4; color: var(--account-ink); font-size: 12px; white-space: nowrap; }
.app-table tbody tr:hover { background: #fbfcfe; }
.product-cell { display: flex; align-items: center; gap: 10px; }
.product-cell .product-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; overflow: hidden; margin: 0; padding: 5px; color: #132039; border-radius: 9px; background: #111d31; font-size: 12px; font-weight: 900; }
.product-cell .product-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-mark.is-mobile { background: #e9f8ee; }
.product-mark.is-isp { background: #fff2d9; }
.product-cell strong, .product-cell span:not(.product-mark) { display: block; }
.product-cell span:not(.product-mark) { margin-top: 2px; color: var(--account-muted); font-size: 10px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: #20865b; border-radius: 999px; background: #e9f8ef; font-size: 10px; font-weight: 850; }
.status-chip i { width: 5px; height: 5px; border-radius: 50%; background: #37bb78; }
.table-action { color: var(--account-blue); font-size: 11px; font-weight: 850; }
.table-action:hover { text-decoration: underline; }
.activity-list { display: grid; gap: 1px; }
.activity-item { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf0f4; }
.activity-item:last-child { border-bottom: 0; }
.activity-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--account-blue); box-shadow: 0 0 0 4px #edf3ff; }
.activity-item strong, .activity-item span { display: block; }
.activity-item strong { color: var(--account-ink); font-size: 12px; }
.activity-item span { margin-top: 3px; color: var(--account-muted); font-size: 10px; }

/* Buy view */
.buy-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.buy-product { position: relative; min-height: 190px; padding: 21px; overflow: hidden; }
.buy-product.is-featured { color: #fff; border-color: transparent; background: linear-gradient(140deg, #12243e, #233e60); }
.buy-product.is-featured .account-kicker, .buy-product.is-featured p { color: rgba(255,255,255,.62); }
.buy-product.is-featured h2 { color: #fff; }
.buy-product::after { content: ""; position: absolute; width: 130px; height: 130px; right: -45px; bottom: -55px; border: 1px solid rgba(84,137,255,.26); border-radius: 50%; }
.buy-product h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.045em; }
.buy-product p { max-width: 29ch; margin: 0; color: var(--account-muted); font-size: 12px; line-height: 1.55; }
.buy-product .account-btn { margin-top: 18px; }
.buy-product.is-featured .account-btn { color: #132039; background: var(--account-lime); }
.plan-builder { padding: 24px; }
.plan-builder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-builder .buy-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.plan-builder .buy-form label:last-of-type { grid-column: span 2; }
.plan-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 18px; border-radius: 13px; background: #f5f8fc; }
.plan-summary strong { display: block; margin-top: 4px; font-size: 25px; letter-spacing: -.05em; }
.plan-summary span { color: var(--account-muted); font-size: 11px; }

/* Free Proxy view (inside workspace shell) */
.free-stat-grid { margin-bottom: 18px; }
.free-layout { align-items: start; }
.free-side { display: grid; gap: 16px; }
.free-points {
  margin: 0; padding-left: 18px; color: var(--account-muted); font-size: 12px; line-height: 1.75;
}
.free-points strong { color: var(--account-ink); }
.free-upgrade-copy {
  margin: 0 0 16px; color: var(--account-muted); font-size: 13px; line-height: 1.6;
}
.free-proxy-list { display: grid; gap: 10px; }
.free-proxy-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--account-line); border-radius: 14px; background: #fbfcfe;
}
.free-proxy-row strong, .free-proxy-row span { display: block; }
.free-proxy-row strong { font-size: 13px; letter-spacing: -.02em; }
.free-proxy-row span {
  margin-top: 4px; color: var(--account-muted); font-size: 11px; line-height: 1.45;
  word-break: break-all;
}
.free-proxy-actions { display: grid; gap: 6px; }
.free-delete-btn { color: #8f2c34 !important; border-color: rgba(223,108,115,.45) !important; }
.free-delete-btn:hover { background: rgba(223,108,115,.1) !important; }
.free-empty { min-height: 280px; border: 1px dashed #dbe2ea; border-radius: 14px; background: #fafbfc; }
@media (max-width: 1120px) {
  .free-layout { grid-template-columns: 1fr; }
}

/* Workspace live catalog / packages */
.workspace-banner {
  margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: 12px; line-height: 1.55; font-weight: 650;
}
.workspace-banner.is-demo {
  color: #6a4b00; border: 1px solid rgba(224,185,57,.35); background: rgba(224,185,57,.12);
}
.workspace-banner.is-live {
  color: #1d6b48; border: 1px solid rgba(45,166,109,.28); background: rgba(45,166,109,.1);
}
.catalog-toolbar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 16px;
}
.catalog-toolbar strong { display: block; font-size: 18px; letter-spacing: -.04em; }
.catalog-toolbar p { margin: 4px 0 0; color: var(--account-muted); font-size: 12px; max-width: 52ch; }
.catalog-count {
  flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #edf1f6; color: var(--account-muted);
  font-size: 11px; font-weight: 800;
}
.product-switcher { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 4px; border-radius: 12px; background: #edf1f6; }
.product-switcher button {
  flex: 1 1 auto; min-height: 38px; padding: 0 12px; color: var(--account-muted); border-radius: 9px;
  background: transparent; font-size: 11px; font-weight: 800; white-space: nowrap;
}
.product-switcher button em { margin-left: 6px; font-style: normal; opacity: .65; }
.product-switcher button.is-active { color: var(--account-ink); background: #fff; box-shadow: 0 3px 9px rgba(15,28,48,.08); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* Storefront card — sale price + strike-through list + % OFF (Image #4 style) */
.plan-card-v2 {
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 22px 20px 18px;
  border: 1px solid var(--account-line); border-radius: 20px; background: #fff;
  box-shadow: 0 10px 28px rgba(16, 34, 61, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card-v2:hover {
  transform: translateY(-2px); border-color: rgba(15, 28, 48, .16);
  box-shadow: 0 16px 36px rgba(16, 34, 61, .1);
}
.plan-card-v2-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px;
}
.plan-pill {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(232, 154, 58, .45); color: #c4781a; background: rgba(255, 244, 230, .7);
  font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase;
}
.plan-off {
  display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px;
  color: #fff; background: #2fbf71; font-size: 10px; font-weight: 900; letter-spacing: .04em;
  box-shadow: 0 6px 14px rgba(47, 191, 113, .25);
}
.plan-card-v2 h3 {
  margin: 0 0 12px; color: var(--account-ink); font-size: 18px; font-weight: 850; letter-spacing: -.04em;
  line-height: 1.15; text-transform: uppercase;
}
.plan-price-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 8px;
}
.plan-price-row strong {
  color: var(--account-ink); font-size: 30px; font-weight: 900; letter-spacing: -.06em; line-height: 1;
}
.plan-period { color: var(--account-muted); font-size: 13px; font-weight: 700; }
.plan-list-price {
  color: #9aa6b5; font-size: 15px; font-weight: 700; text-decoration: line-through;
}
.plan-detail {
  margin: 0 0 14px; color: var(--account-muted); font-size: 12px; line-height: 1.5;
}
.plan-features {
  list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 9px; color: #4a5b72; font-size: 12px; line-height: 1.4; font-weight: 650;
}
.plan-check {
  display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 50%; color: #c4781a; background: rgba(255, 186, 92, .18); font-size: 10px; font-weight: 900;
}
.plan-cta { width: 100%; margin-top: auto; border-radius: 999px !important; min-height: 44px; }
.plan-card { padding: 18px; display: flex; flex-direction: column; min-height: 210px; }
.plan-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.plan-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.04em; }
.plan-price { margin: 14px 0 4px; font-size: 24px; font-weight: 850; letter-spacing: -.05em; }
.plan-card .account-btn { width: 100%; }
.overview-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #edf0f4;
}
.overview-row:last-child { border-bottom: 0; }
/* Product families — polished storefront list */
.families-panel { overflow: hidden; }
.family-grid { display: grid; gap: 10px; }
.family-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px; border: 1px solid var(--account-line); border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfcfe); text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.family-card:hover:not(:disabled) {
  transform: translateY(-1px); border-color: rgba(15, 28, 48, .2);
  box-shadow: 0 10px 24px rgba(16, 34, 61, .08);
}
.family-card:disabled { opacity: .72; cursor: default; }
.family-card-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font-size: 13px; font-weight: 900; letter-spacing: -.03em; color: #132039;
}
.family-card--blue .family-card-mark { background: #e8f1ff; color: #3b6fd4; }
.family-card--indigo .family-card-mark { background: #ecebff; color: #5b52d6; }
.family-card--green .family-card-mark { background: #e7f8ee; color: #1f9a57; }
.family-card--teal .family-card-mark { background: #e6f8f6; color: #1a9b8e; }
.family-card--amber .family-card-mark { background: #fff5df; color: #c48812; }
.family-card--orange .family-card-mark { background: #ffefe4; color: #d2651f; }
.family-card--slate .family-card-mark { background: #eef1f5; color: #5b6b80; }
.family-card-copy { min-width: 0; }
.family-card-copy strong {
  display: block; color: var(--account-ink); font-size: 14px; font-weight: 850; letter-spacing: -.03em;
}
.family-card-copy span {
  display: block; margin-top: 3px; color: var(--account-muted); font-size: 11px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.family-card-meta { display: flex; align-items: center; gap: 8px; }
.family-card-meta em {
  font-style: normal; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px;
}
.family-card-meta em.is-live { color: #1d6b48; background: rgba(45, 166, 109, .12); }
.family-card-meta em.is-soon { color: #7a8798; background: #eef1f5; }
.family-card-go {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  color: var(--account-ink); background: #edf1f6; font-size: 14px; font-weight: 800;
}
.product-family-list { display: grid; gap: 8px; }
.product-family {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1px solid var(--account-line);
  border-radius: 12px; background: #fff; text-align: left; transition: border-color .2s, transform .2s;
}
.product-family:hover { border-color: rgba(15,28,48,.28); transform: translateY(-1px); }
.product-family strong, .product-family span { display: block; }
.product-family span span { margin-top: 2px; color: var(--account-muted); font-size: 11px; }
.inline-empty { padding: 28px 8px; color: var(--account-muted); font-size: 13px; line-height: 1.6; text-align: center; }

/* Billing */
.billing-hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 16px; margin-bottom: 4px;
}
.billing-wallet { padding: 24px; background: linear-gradient(145deg, #0f1b2e, #1a2f4d); color: #fff; border: 0; }
.billing-wallet .account-kicker { color: rgba(255,255,255,.55); }
.billing-wallet strong {
  display: block; margin: 10px 0 8px; font-size: clamp(36px, 4vw, 48px); letter-spacing: -.06em; line-height: 1;
}
.billing-wallet p { margin: 0 0 18px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.5; }
.topup-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 0 0 16px; }
.topup-method { min-height: 58px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.05); text-align: left; }
.topup-method span, .topup-method small { display: block; }
.topup-method span { font-size: 11px; font-weight: 850; line-height: 1.2; }
.topup-method small { margin-top: 5px; color: rgba(255,255,255,.45); font-size: 9px; line-height: 1.2; }
.topup-method.is-active, .topup-method:hover { color: #122033; background: var(--account-lime); border-color: transparent; }
.topup-method.is-active small, .topup-method:hover small { color: rgba(18,32,51,.66); }
.topup-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.topup-chip {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  color: #fff; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800;
}
.topup-chip.is-active, .topup-chip:hover {
  color: #122033; background: var(--account-lime); border-color: transparent;
}
.topup-custom-label {
  display: block; margin: 0 0 8px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 750;
}
.topup-custom-row {
  display: flex; align-items: center; gap: 0; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.06); overflow: hidden;
}
.topup-prefix {
  display: grid; place-items: center; width: 40px; color: rgba(255,255,255,.7); font-weight: 800; font-size: 14px;
}
.topup-custom-row input {
  flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent;
  color: #fff; font-size: 14px; font-weight: 700; padding: 0 12px 0 0;
}
.topup-custom-row input::placeholder { color: rgba(255,255,255,.35); }
.topup-custom-row input:focus { background: rgba(255,255,255,.04); }

/* Auto-renew control */
.autorenew-card { padding: 22px 24px; }
.autorenew-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr); gap: 24px; align-items: center;
}
.autorenew-copy h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.04em; }
.autorenew-copy p { margin: 0 0 12px; color: var(--account-muted); font-size: 13px; line-height: 1.65; max-width: 56ch; }
.autorenew-points {
  margin: 0; padding-left: 18px; color: #4a5b72; font-size: 12px; line-height: 1.7;
}
.autorenew-control {
  padding: 18px; border: 1px solid var(--account-line); border-radius: 16px; background: #f7f9fc;
}
.toggle {
  display: flex; align-items: center; gap: 14px; cursor: pointer; user-select: none;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track {
  position: relative; width: 52px; height: 30px; border-radius: 999px; background: #c9d3e0;
  transition: background .2s ease; flex: 0 0 auto;
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(15,28,48,.18); transition: transform .2s ease;
}
.toggle input:checked + .toggle-track { background: #2fbf71; }
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(22px); }
.toggle-text strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.toggle-text small { display: block; margin-top: 3px; color: var(--account-muted); font-size: 11px; line-height: 1.4; }
.autorenew-status {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.45;
  color: #1d6b48; border: 1px solid rgba(45,166,109,.25); background: rgba(45,166,109,.08);
}
.autorenew-status.is-error {
  color: #8d3840; border-color: rgba(223,108,115,.28); background: rgba(223,108,115,.08);
}
.ledger-list { display: grid; gap: 8px; }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 12px; border: 1px solid #edf0f4; border-radius: 12px; background: #fbfcfe;
}
.ledger-row strong, .ledger-row span { display: block; }
.ledger-row span { margin-top: 3px; color: var(--account-muted); font-size: 11px; }
.ledger-amt { font-size: 13px; font-weight: 850; letter-spacing: -.02em; white-space: nowrap; }
.ledger-amt.is-credit { color: #1d6b48; }
.ledger-amt.is-debit { color: #8d3840; }
@media (max-width: 1120px) {
  .autorenew-row { grid-template-columns: 1fr; }
}
.billing-snapshot { padding: 22px; }
.snapshot-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.snapshot-grid span { display: block; color: var(--account-muted); font-size: 11px; font-weight: 750; }
.snapshot-grid strong {
  display: block; margin-top: 6px; color: var(--account-ink); font-size: 22px; letter-spacing: -.04em;
}
.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px; border: 1px solid var(--account-line); border-radius: 12px; background: #fbfcfe;
}
.pay-method-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #edf1f6; font-size: 16px;
}
.pay-method strong, .pay-method span { display: block; }
.pay-method span { margin-top: 2px; color: var(--account-muted); font-size: 11px; }
.pay-badge {
  padding: 5px 8px; border-radius: 999px; background: #edf1f6; color: var(--account-muted);
  font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em;
}
.invoice-empty {
  padding: 28px 12px; text-align: center; border: 1px dashed #dbe2ea; border-radius: 14px; background: #fafbfc;
}
.invoice-empty h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -.03em; }
.invoice-empty p { margin: 0 auto; max-width: 36ch; color: var(--account-muted); font-size: 12px; line-height: 1.6; }

/* Settings */
.settings-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.settings-card { padding: 22px; }
.settings-card--wide { grid-column: 1 / -1; }
.settings-card-head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.settings-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: #132039; background: rgba(232, 253, 9, .55); font-weight: 900; font-size: 15px;
}
.settings-card-head h2 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.03em; }
.settings-card-head p { margin: 0; color: var(--account-muted); font-size: 12px; line-height: 1.5; }
.settings-form .account-btn { width: 100%; margin-top: 4px; }
.settings-form .auth-field { margin-bottom: 14px; }
.settings-form input[readonly] { background: #f3f6f9; color: #5d6c80; }
.settings-status {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.45;
  color: #1d6b48; border: 1px solid rgba(45,166,109,.25); background: rgba(45,166,109,.08);
}
.settings-status.is-error {
  color: #8d3840; border-color: rgba(223,108,115,.28); background: rgba(223,108,115,.08);
}
.pref-list { display: grid; gap: 10px; }
.pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px; border: 1px solid var(--account-line); border-radius: 12px; background: #fbfcfe;
}
.pref-row strong, .pref-row small { display: block; }
.pref-row small { margin-top: 3px; color: var(--account-muted); font-size: 11px; }
.pref-row input { width: 18px; height: 18px; accent-color: var(--account-ink); }
.proxy-list { display: grid; gap: 14px; }
.proxy-card { padding: 16px; border: 1px solid #edf0f4; border-radius: 14px; background: #fbfcfe; }
.proxy-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.proxy-card-head strong { display: block; font-size: 14px; }
.proxy-card-head span { display: block; margin-top: 3px; color: var(--account-muted); font-size: 11px; }
.proxy-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; color: var(--account-muted); font-size: 11px; }
.proxy-meta b { color: var(--account-ink); font-weight: 750; }
.proxy-line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px;
  padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--account-line);
}
.proxy-line code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; color: #20304a;
}
.billing-steps { margin: 0; padding-left: 18px; color: var(--account-muted); font-size: 12px; line-height: 1.7; }
.billing-steps code { color: var(--account-ink); font-weight: 700; }
@media (max-width: 1120px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-hero, .settings-grid { grid-template-columns: 1fr; }
  .settings-card--wide { grid-column: auto; }
}
@media (max-width: 820px) {
  .billing-hero, .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .plan-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
}

/* Empty and billing views */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature-card { padding: 23px; }
.feature-card svg { width: 25px; height: 25px; color: var(--account-blue); }
.feature-card h2 { margin: 17px 0 7px; font-size: 17px; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--account-muted); font-size: 12px; line-height: 1.6; }
.billing-total { padding: 24px; }
.billing-total strong { display: block; margin-top: 8px; color: var(--account-ink); font-size: 34px; letter-spacing: -.06em; }
.billing-total span { display: block; margin-top: 7px; color: #259c68; font-size: 11px; font-weight: 750; }

@media (max-width: 1120px) {
  .app-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app-grid-2, .app-grid-2--wide { grid-template-columns: 1fr; }
  .health-panel { min-height: 255px; }
}
@media (max-width: 820px) {
  .auth-shell { display: block; }
  .auth-visual { min-height: 470px; padding: 28px 24px; }
  .auth-visual-copy { margin-top: 60px; padding-top: 0; }
  .auth-visual-copy h1 { font-size: 42px; }
  .auth-network { margin: 30px 0; }
  .auth-visual-foot { padding-top: 20px; }
  .auth-panel { min-height: auto; padding: 22px 20px 38px; }
  .auth-panel-top { justify-content: space-between; }
  .auth-form-wrap { margin: 60px auto 0; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; left: 0; top: 0; z-index: 20; width: min(280px, 84vw); transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 45px rgba(4,10,20,.23); }
  .app-sidebar.is-open { transform: none; }
  .app-mobile-menu { display: grid; place-items: center; width: 38px; height: 38px; color: var(--account-ink); border: 1px solid var(--account-line); border-radius: 10px; background: #fff; }
  .app-topbar { min-height: 64px; padding: 0 20px; }
  .app-topbar-title { display: none; }
  .app-content { width: min(100% - 32px, 700px); padding-top: 30px; }
  .app-heading { align-items: flex-start; flex-direction: column; }
  .app-heading-actions { width: 100%; }
  .app-heading-actions .account-btn { flex: 1; }
  .buy-products, .feature-grid { grid-template-columns: 1fr; }
  .plan-builder-grid { grid-template-columns: 1fr; }
  .plan-builder .buy-form { grid-template-columns: 1fr; }
  .plan-builder .buy-form label:last-of-type { grid-column: auto; }
}
@media (max-width: 480px) {
  .app-stat-grid { grid-template-columns: 1fr; }
  .app-panel { padding: 17px; }
  .app-heading h1 { font-size: 31px; }
  .auth-form { padding: 20px; }
  .auth-visual-foot { gap: 20px; }
  .auth-proof strong { font-size: 17px; }
}

/* Speed test */
.speed-layout { align-items: start; }
.speed-select, .speed-input {
  width: 100%; height: 46px; margin: 0 0 14px; padding: 0 14px;
  border: 1px solid rgba(15,28,48,.16); border-radius: 10px; background: #fff; color: var(--account-ink);
}
.speed-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.speed-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.speed-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
.speed-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.speed-metric {
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--account-line); background: #f8fafc;
}
.speed-metric span { display: block; color: var(--account-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.speed-metric strong { display: block; margin-top: 8px; font-size: 18px; letter-spacing: -.03em; word-break: break-all; }
.speed-grade {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; background: #eef2f7; color: var(--account-ink);
}
.speed-grade.is-excellent { background: rgba(59,214,198,.18); color: #0b6b5f; }
.speed-grade.is-good { background: rgba(232,253,9,.35); color: #3a4200; }
.speed-grade.is-fair { background: rgba(224,185,57,.22); color: #6b5200; }
.speed-grade.is-slow, .speed-grade.is-failed { background: rgba(223,108,115,.16); color: #8f2c34; }
.speed-grade.is-pending { background: #eef2f7; color: var(--account-muted); }
.speed-loc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px;
}
.speed-loc-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 84px; padding: 14px; border-radius: 14px; border: 1px solid var(--account-line);
  background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.speed-loc-chip:hover { border-color: rgba(15,28,48,.28); box-shadow: var(--account-shadow); transform: translateY(-1px); }
.speed-loc-chip span { font-size: 18px; line-height: 1; }
.speed-loc-chip strong { font-size: 15px; letter-spacing: -.02em; }
.speed-loc-chip em { font-style: normal; color: var(--account-muted); font-size: 11px; }
.proxy-line-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.speed-error { margin: 12px 0 0; color: var(--account-red) !important; }
.speed-warn {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 12px;
  background: rgba(223,108,115,.1); border: 1px solid rgba(223,108,115,.28);
  color: #8f2c34 !important; font-size: 13px; line-height: 1.5;
}
@media (max-width: 900px) {
  .speed-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .speed-metrics { grid-template-columns: 1fr; }
}

/* Modern modal (replace browser confirm) */
.gp-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
}
.gp-modal[hidden] { display: none !important; }
.gp-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 14, 24, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gp-modal-dialog {
  position: relative; z-index: 1;
  width: min(100%, 420px);
  padding: 28px 26px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15,28,48,.1);
  box-shadow: 0 28px 70px rgba(8, 16, 32, .28);
  animation: gpModalIn .22s ease;
}
@keyframes gpModalIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.gp-modal-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 0 14px;
  border-radius: 14px;
  background: rgba(223,108,115,.14);
  color: #b03a42;
  font-weight: 900; font-size: 20px;
}
.gp-modal-icon.is-danger { background: rgba(223,108,115,.14); color: #b03a42; }
.gp-modal-icon.is-warn { background: rgba(224,185,57,.18); color: #8a6800; }
.gp-modal-icon.is-ok { background: rgba(59,214,198,.16); color: #0b6b5f; }
.gp-modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--account-ink);
}
.gp-modal-body {
  margin: 0 0 22px;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.55;
}
.gp-modal-actions {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
}
.gp-modal-actions .account-btn--danger {
  color: #fff; background: #c4454d;
  box-shadow: 0 10px 22px rgba(196, 69, 77, .25);
}
.gp-modal-actions .account-btn--danger:hover { background: #a8363d; }

/* Payment method chooser */
.payment-modal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 20px; }
.payment-modal[hidden] { display: none !important; }
.payment-backdrop { position: absolute; inset: 0; background: rgba(7,14,25,.68); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.payment-dialog { position: relative; z-index: 1; width: min(100%, 520px); padding: 30px; border: 1px solid rgba(15,28,48,.12); border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgba(2,9,20,.34); animation: paymentModalIn .24s ease both; }
@keyframes paymentModalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.payment-close { position: absolute; top: 16px; right: 17px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--account-muted); background: #f2f5f8; font-size: 23px; line-height: 1; }
.payment-close:hover { color: var(--account-ink); background: #e8edf2; }
.payment-dialog h2 { margin: 9px 42px 8px 0; color: var(--account-ink); font-size: 28px; letter-spacing: -.055em; line-height: 1.05; }
.payment-dialog-copy { margin: 0 0 22px; color: var(--account-muted); font-size: 13px; line-height: 1.55; }
.payment-dialog-copy strong { color: var(--account-ink); }
.payment-options { display: grid; gap: 9px; }
.payment-option { display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; gap: 12px; width: 100%; padding: 14px 13px; border: 1px solid #e2e8ef; border-radius: 13px; background: #fff; color: var(--account-ink); text-align: left; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.payment-option:hover, .payment-option:focus-visible { border-color: rgba(181,203,0,.75); background: #fbfde9; box-shadow: 0 10px 24px rgba(15,28,48,.08); outline: 0; transform: translateY(-1px); }
.payment-option-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #132039; background: #e8fd09; font-size: 18px; font-weight: 900; }
.payment-option-copy { min-width: 0; }
.payment-option-copy strong, .payment-option-copy small { display: block; }
.payment-option-copy strong { font-size: 12px; line-height: 1.3; }
.payment-option-copy small { margin-top: 4px; color: var(--account-muted); font-size: 10px; line-height: 1.35; }
.payment-option-arrow { color: var(--account-muted); font-size: 18px; }
.payment-dialog-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid #e8edf2; color: var(--account-muted); font-size: 10px; line-height: 1.5; }

/* Inventory and provider-backed route builder */
.inventory-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.45fr); gap: 12px; margin: 0 0 18px; }
.inventory-stat, .inventory-status { min-height: 104px; padding: 17px 18px; border: 1px solid var(--account-line); border-radius: 16px; background: #fff; }
.inventory-stat span, .inventory-stat small { display: block; color: var(--account-muted); font-size: 10px; font-weight: 750; }
.inventory-stat strong { display: block; margin: 10px 0 4px; color: var(--account-ink); font-size: 26px; letter-spacing: -.055em; }
.inventory-stat--accent { background: linear-gradient(145deg, #0f1b2e, #1a2f4d); border-color: transparent; }
.inventory-stat--accent span, .inventory-stat--accent small { color: rgba(255,255,255,.58); }.inventory-stat--accent strong { color: var(--account-lime); }
.inventory-status { display: flex; align-items: center; gap: 12px; background: #f9fbfd; }.inventory-status > i, .generator-live-dot i, .generator-preview-state i { display: block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #34bf78; box-shadow: 0 0 0 5px rgba(52,191,120,.13); }
.inventory-status strong, .inventory-status span { display: block; }.inventory-status strong { color: var(--account-ink); font-size: 12px; }.inventory-status span { margin-top: 4px; color: var(--account-muted); font-size: 10px; line-height: 1.4; }
.package-panel { padding: 24px; }.package-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 20px; }.package-panel-head h2 { margin: 0; color: var(--account-ink); font-size: 21px; letter-spacing: -.045em; }.package-panel-head p { margin: 5px 0 0; color: var(--account-muted); font-size: 12px; }.package-collection { display: grid; gap: 11px; }
.package-row { display: grid; grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(95px, .7fr)) minmax(210px, 1fr); gap: 15px; align-items: center; padding: 16px 17px; border: 1px solid #e7edf4; border-radius: 15px; background: linear-gradient(110deg, #fff, #fbfcfe); transition: border-color .2s, box-shadow .2s, transform .2s; }
.package-row:hover { border-color: rgba(84,137,255,.26); box-shadow: 0 12px 26px rgba(16,34,61,.07); transform: translateY(-1px); }.package-primary { display: flex; align-items: center; gap: 12px; min-width: 0; }.package-primary strong, .package-primary span:not(.package-mark) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.package-primary strong { color: var(--account-ink); font-size: 14px; letter-spacing: -.025em; }.package-primary span:not(.package-mark) { margin-top: 3px; color: var(--account-muted); font-size: 10px; }.package-primary .package-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; overflow: hidden; margin: 0; padding: 7px; color: #132039; border-radius: 12px; background: #111d31; font-size: 12px; font-weight: 900; }.package-primary .package-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }.package-primary .package-mark.is-premium { background: #eeecff; }.package-data span, .package-data strong { display: block; }.package-data span { color: var(--account-muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.package-data strong { margin-top: 5px; color: var(--account-ink); font-size: 12px; }.package-data small { display: block; margin-top: 4px; color: var(--account-muted); font-size: 10px; }.package-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }.package-actions .account-btn { min-height: 35px; padding: 0 11px; font-size: 11px; }.package-fixed-note { color: var(--account-muted); font-size: 10px; line-height: 1.35; text-align: right; }
.purchase-location-banner { display: flex; align-items: center; gap: 12px; margin: 14px 0 16px; padding: 12px 14px; border: 1px solid rgba(84,137,255,.2); border-radius: 14px; background: linear-gradient(120deg, #eef5ff, #fbfdff); }.purchase-location-banner[hidden] { display: none; }.purchase-location-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; border-radius: 10px; background: var(--account-blue); font-size: 18px; }.purchase-location-banner strong, .purchase-location-banner span { display: block; }.purchase-location-banner strong { color: var(--account-ink); font-size: 12px; }.purchase-location-banner span { margin-top: 3px; color: var(--account-muted); font-size: 11px; }.purchase-location-banner .account-btn { margin-left: auto; }
.generator-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px; }.generator-modal[hidden] { display: none !important; }.generator-backdrop { position: absolute; inset: 0; background: rgba(7,14,25,.68); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }.generator-dialog { position: relative; z-index: 1; width: min(100%, 1080px); max-height: calc(100vh - 48px); overflow: auto; padding: 29px; border: 1px solid rgba(15,28,48,.12); border-radius: 24px; background: #f7f9fb; box-shadow: 0 30px 100px rgba(2,9,20,.34); animation: generatorIn .25s ease both; }@keyframes generatorIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
.purchase-dialog { width: min(100%, 620px); }
.purchase-summary { display:flex; align-items:center; gap:12px; margin:0 0 22px; padding:14px 16px; border:1px solid #dfe6ee; border-radius:12px; background:#fff; }
.purchase-summary > div { display:grid; gap:4px; }
.purchase-summary strong { color:var(--account-ink); font-size:14px; }
.purchase-summary span:not(.generator-package-mark) { color:#728097; font-size:11px; }
.purchase-form .generator-form-section { margin-bottom:0; }
.purchase-form .generator-field-grid p { grid-column:1 / -1; margin:0; }
.purchase-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.purchase-actions .account-btn { min-width:130px; }
.generator-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--account-line); }.generator-header h2 { margin: 2px 0 8px; color: var(--account-ink); font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -.06em; }.generator-header p { max-width: 600px; margin: 0; color: var(--account-muted); font-size: 12px; line-height: 1.55; }.generator-close { display: grid; place-items: center; width: 38px; height: 38px; color: var(--account-muted); border: 1px solid var(--account-line); border-radius: 12px; background: #fff; font-size: 25px; line-height: 1; }.generator-close:hover { color: var(--account-ink); border-color: rgba(15,28,48,.28); }.generator-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 19px; margin-top: 21px; }.generator-form, .generator-preview { min-width: 0; padding: 20px; border: 1px solid var(--account-line); border-radius: 17px; background: #fff; }.generator-form { display: grid; gap: 20px; }.generator-form-section { display: grid; gap: 9px; }.generator-section-label { color: var(--account-muted); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.generator-package-card { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e6ebf2; border-radius: 13px; background: #fbfcfe; }.generator-package-mark { display: grid; place-items: center; width: 36px; height: 36px; color: #453bb6; border-radius: 10px; background: #eeecff; font-size: 11px; font-weight: 900; }.generator-package-card strong, .generator-package-card span { display: block; }.generator-package-card strong { color: var(--account-ink); font-size: 12px; }.generator-package-card div span { margin-top: 3px; color: var(--account-muted); font-size: 10px; }.generator-live-dot { display: inline-flex !important; align-items: center; gap: 7px; margin-left: auto; color: #23855b; font-size: 10px; font-weight: 800; }
.generator-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }.generator-field-grid label { display: grid; gap: 7px; color: #52647b; font-size: 10px; font-weight: 800; }.generator-field-wide { grid-column: 1 / -1; }.generator-field-grid select, .generator-field-grid input { width: 100%; height: 43px; padding: 0 11px; color: var(--account-ink); border: 1px solid #dfe6ee; border-radius: 10px; outline: 0; background: #fff; font-size: 12px; font-weight: 650; }.generator-field-grid select:focus, .generator-field-grid input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 3px rgba(84,137,255,.11); }.generator-field-grid select:disabled { color: #a0abba; background: #f4f7fa; cursor: not-allowed; }.generator-form-status { margin: -7px 0 0; padding: 10px 12px; color: #8d3840; border: 1px solid rgba(223,108,115,.25); border-radius: 10px; background: rgba(223,108,115,.08); font-size: 11px; line-height: 1.45; }.generator-submit { width: 100%; min-height: 47px; }
.generator-preview { display: flex; flex-direction: column; min-height: 440px; color: #fff; border-color: transparent; background: linear-gradient(155deg, #0d1829, #1b3556); overflow: hidden; }.generator-preview-top { display: flex; justify-content: space-between; align-items: center; }.generator-preview .generator-section-label { color: rgba(255,255,255,.55); }.generator-preview-state { display: inline-flex; align-items: center; gap: 8px; color: #a5ecc5; font-size: 10px; font-weight: 800; }.generator-preview-art { position: relative; min-height: 180px; margin: 22px -4px 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 15px; background: radial-gradient(circle at 50% 45%, rgba(232,253,9,.18), transparent 33%), rgba(255,255,255,.035); overflow: hidden; }.generator-preview-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }.generator-preview-art path { fill: none; stroke: rgba(232,253,9,.58); stroke-width: 1.2; stroke-dasharray: 5 8; }.preview-node { position: absolute; z-index: 1; width: 12px; height: 12px; border: 3px solid #0d1829; border-radius: 50%; background: var(--account-lime); box-shadow: 0 0 0 5px rgba(232,253,9,.16), 0 0 22px rgba(232,253,9,.55); }.preview-node--one { left: 12%; top: 63%; }.preview-node--two { left: 34%; top: 38%; }.preview-node--three { right: 12%; top: 18%; }.generator-preview-copy { margin: 8px 0 18px; }.generator-preview-copy strong, .generator-preview-copy span { display: block; }.generator-preview-copy strong { font-size: 22px; letter-spacing: -.045em; }.generator-preview-copy span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 11px; }.generator-preview-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }.generator-preview-list div { padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.045); }.generator-preview-list span, .generator-preview-list strong { display: block; }.generator-preview-list span { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.generator-preview-list strong { margin-top: 5px; overflow: hidden; color: #fff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.generator-preview > p { margin: 16px 0 0; color: rgba(255,255,255,.46); font-size: 10px; line-height: 1.5; }
.generator-unavailable { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 17px; border: 1px solid rgba(84,137,255,.2); border-radius: 14px; background: linear-gradient(120deg, #eef5ff, #f8fbff); }.generator-unavailable > div:nth-child(2) { flex: 1; }.generator-unavailable strong { color: var(--account-ink); font-size: 13px; }.generator-unavailable p { margin: 5px 0 0; color: var(--account-muted); font-size: 11px; line-height: 1.5; }.generator-message-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; border-radius: 10px; background: #4f80db; font-size: 14px; font-weight: 900; }.generator-unavailable[hidden] + .generator-layout { display: grid; }
.generator-result { margin-top: 22px; padding: 25px; border: 1px solid rgba(45,166,109,.22); border-radius: 17px; background: #fff; text-align: center; }.generator-result-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 15px; color: #fff; border-radius: 14px; background: #2fbf71; font-size: 22px; font-weight: 900; }.generator-result h3 { margin: 7px 0; color: var(--account-ink); font-size: 25px; letter-spacing: -.05em; }.generator-result p { margin: 0 auto 18px; color: var(--account-muted); font-size: 12px; }.generator-output { display: grid; gap: 7px; max-height: 190px; overflow: auto; padding: 12px; border: 1px solid #e5ebf2; border-radius: 12px; background: #f7f9fb; text-align: left; }.generator-output-row { display: flex; align-items: center; gap: 8px; }.generator-output code { flex: 1; min-width: 0; display: block; padding: 8px 9px; color: #263c5a; border-radius: 7px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; overflow-wrap: anywhere; cursor: copy; }.generator-output code:hover { background: #f0f5fa; }.generator-output-row .account-btn { flex: 0 0 auto; }.generator-result-actions { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
@media (max-width: 1280px) { .package-row { grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(95px, .8fr)); }.package-actions { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 1120px) { .inventory-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.package-row { grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(80px, .7fr)); }.package-actions { grid-column: 1 / -1; justify-content: flex-start; }.package-fixed-note { text-align: left; } }
@media (max-width: 780px) { .generator-dialog { padding: 20px; }.generator-layout { grid-template-columns: 1fr; }.generator-preview { min-height: 360px; }.package-row { grid-template-columns: 1fr 1fr; }.package-primary { grid-column: 1 / -1; }.package-data:nth-child(3) { grid-column: 1; }.package-data:nth-child(4) { grid-column: 2; }.inventory-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inventory-strip, .generator-field-grid { grid-template-columns: 1fr; }.generator-field-wide { grid-column: auto; }.package-row { grid-template-columns: 1fr; }.package-data:nth-child(3), .package-data:nth-child(4) { grid-column: auto; }.package-actions { grid-column: auto; }.package-panel-head { flex-direction: column; }.generator-header { gap: 10px; }.generator-header h2 { font-size: 30px; }.generator-unavailable { align-items: flex-start; flex-wrap: wrap; }.generator-unavailable .account-btn { width: 100%; }.purchase-location-banner { align-items: flex-start; flex-wrap: wrap; }.purchase-location-banner .account-btn { width: 100%; margin-left: 44px; }.generator-result-actions { flex-direction: column; }.generator-result-actions .account-btn { width: 100%; }.topup-methods { grid-template-columns: 1fr; } }

/* Generator refresh: sharper hierarchy, calmer surfaces, and deliberate motion. */
.generator-dialog { width: min(100%, 1160px); padding: 34px; border-radius: 18px; background: #f8fafc; box-shadow: 0 34px 120px rgba(2,9,20,.38); }
.generator-header { padding-bottom: 26px; border-bottom-color: #e5ebf2; }
.generator-header h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.065em; }
.generator-header p { max-width: 660px; font-size: 13px; line-height: 1.65; }
.generator-layout { grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); gap: 24px; margin-top: 24px; }
.generator-form, .generator-preview { border-radius: 14px; }
.generator-form { gap: 17px; padding: 22px; border-color: #e5ebf2; }
.generator-form-section { gap: 10px; padding-bottom: 17px; border-bottom: 1px solid #edf1f5; }
.generator-form-section:last-of-type { padding-bottom: 0; border-bottom: 0; }
.generator-section-label { color: #738197; font-size: 10px; letter-spacing: .15em; }
.generator-package-card { padding: 15px; border-color: #dfe7f0; border-radius: 12px; background: linear-gradient(135deg, #fff, #f5f8fb); }
.generator-package-mark { width: 42px; height: 42px; border-radius: 11px; background: #111d31; color: #e8fd09; }
.generator-live-dot { color: #13774e; }
.generator-field-grid { gap: 13px; }
.generator-preset-field { display: grid; gap: 7px; color: #43536a; font-size: 11px; font-weight: 800; }
.generator-preset-field select { width: 100%; height: 47px; padding: 0 13px; color: var(--account-ink); border: 1px solid #d8e1eb; border-radius: 10px; outline: 0; background: #fff; font-size: 12px; font-weight: 650; }
.generator-preset-field select:focus { border-color: #7c8dff; box-shadow: 0 0 0 4px rgba(124,141,255,.12); }
.generator-custom-location[hidden] { display: none !important; }
.generator-field-grid label { color: #43536a; font-size: 11px; letter-spacing: .01em; }
.generator-field-grid select, .generator-field-grid input { height: 47px; padding: 0 13px; border-radius: 10px; border-color: #d8e1eb; background: #fff; font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.generator-field-grid select:hover, .generator-field-grid input:hover { border-color: #aebdce; }
.generator-field-grid select:focus, .generator-field-grid input:focus { transform: translateY(-1px); border-color: #7c8dff; box-shadow: 0 0 0 4px rgba(124,141,255,.12); }
.generator-provider-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #dbe6f0; border-radius: 12px; background: #f2f7fb; }
.generator-provider-note-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: #17243a; color: #e8fd09; font-size: 12px; font-weight: 900; }
.generator-provider-note strong { display: block; color: #17243a; font-size: 12px; }
.generator-provider-note p { margin: 4px 0 0; color: #697a90; font-size: 11px; line-height: 1.55; }
.generator-submit { min-height: 51px; border-radius: 11px; font-size: 12px; box-shadow: 0 10px 22px rgba(174,194,0,.16); transition: transform .2s ease, box-shadow .2s ease; }
.generator-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(174,194,0,.24); }
.generator-preview { min-height: 500px; padding: 22px; border-radius: 14px; background: radial-gradient(circle at 82% 8%, rgba(232,253,9,.18), transparent 29%), linear-gradient(150deg, #0a1424 0%, #10253e 52%, #142e4b 100%); }
.generator-preview-art { min-height: 205px; margin: 28px -3px 12px; border-radius: 12px; background: radial-gradient(circle at 45% 45%, rgba(232,253,9,.19), transparent 31%), rgba(255,255,255,.035); }
.generator-preview-art path { animation: generatorDash 8s linear infinite; }
@keyframes generatorDash { to { stroke-dashoffset: -52; } }
.preview-node { animation: generatorPulse 2.8s ease-in-out infinite; }
.preview-node--two { animation-delay: .55s; }
.preview-node--three { animation-delay: 1.1s; }
@keyframes generatorPulse { 0%, 100% { transform: scale(.86); opacity: .72; } 50% { transform: scale(1.18); opacity: 1; } }
.generator-preview-copy strong { font-size: 25px; }
.generator-preview-list { gap: 9px; }
.generator-preview-list div { padding: 11px; border-radius: 9px; background: rgba(255,255,255,.055); }
.generator-result { border-radius: 14px; }
.generator-result-icon { border-radius: 12px; }
@media (max-width: 780px) { .generator-dialog { padding: 22px; }.generator-layout { gap: 16px; }.generator-preview { min-height: 390px; } }
