:root {
  --ink: #10253f;
  --ink-2: #29415c;
  --muted: #6f8195;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --line: #dce4ec;
  --navy: #0d2846;
  --navy-2: #0a1f36;
  --cyan: #00a9a5;
  --cyan-soft: #e2f7f5;
  --coral: #ff6b5e;
  --coral-soft: #fff0ed;
  --lime: #cfe953;
  --success: #16825d;
  --warning: #9a6113;
  --danger: #c23d3d;
  --shadow: 0 20px 60px rgba(16, 37, 63, .1);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Aptos, system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .stat-card strong, .price-card > strong { font-family: Inter, Aptos, system-ui, sans-serif; }
h1 { letter-spacing: -.045em; line-height: 1.05; }
h2 { letter-spacing: -.03em; line-height: 1.15; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--navy); background: var(--lime); font-weight: 800; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 24px 28px; }
.site-header nav { display: flex; align-items: center; gap: 28px; color: var(--ink-2); font-weight: 600; }
.site-header nav > a:not(.button):hover { color: var(--cyan); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid var(--navy); border-radius: 10px; color: white; background: var(--navy); font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(13, 40, 70, .18); background: var(--navy-2); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.button--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button--full { width: 100%; }
.button--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button--ghost:hover { background: white; }
.button--light { color: var(--navy); background: white; border-color: white; }
.button--danger { background: var(--danger); border-color: var(--danger); }
.button--disabled { pointer-events: none; opacity: .55; }
.text-link { color: var(--cyan); font-weight: 700; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; max-width: 1240px; min-height: 690px; margin: 0 auto; padding: 64px 28px 90px; }
.hero h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(48px, 6.4vw, 86px); }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 660px; margin-bottom: 30px; color: var(--ink-2); font-size: 20px; }
.availability-form { display: grid; gap: 8px; max-width: 720px; margin-bottom: 14px; }
.availability-form > label { font-size: 12px; font-weight: 800; }
.availability-form > div { display: grid; grid-template-columns: minmax(150px, 1fr) auto auto; align-items: center; overflow: hidden; border: 1px solid #b8c8d7; border-radius: 12px; background: white; box-shadow: 0 12px 28px rgba(16,37,63,.08); }
.availability-form input { min-height: 50px; border: 0; border-radius: 0; background: transparent; }
.availability-form span { color: var(--muted); font-weight: 800; }
.availability-form .button { min-height: 50px; margin-left: 12px; border-radius: 0; }
.availability-result { display: flex; align-items: center; gap: 11px; max-width: 720px; margin: 0 0 21px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.availability-result > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; font-weight: 900; }
.availability-result > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.availability-result a { color: inherit; text-decoration: underline; font-weight: 800; }
.availability-result small { color: inherit; }
.availability-result--available { color: #126b4e; background: #e2f6ee; }
.availability-result--available > span { background: var(--success); }
.availability-result--unavailable { color: #8e3030; background: #ffebeb; }
.availability-result--unavailable > span { background: var(--danger); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.domain-card { position: relative; overflow: hidden; padding: 24px; border: 1px solid rgba(16, 37, 63, .1); border-radius: 24px; background: white; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.domain-card::before { content: ''; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: var(--cyan-soft); }
.browser-bar { position: relative; display: flex; align-items: center; gap: 7px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8e0e8; }
.browser-bar i:first-child { background: var(--coral); }
.browser-bar span { margin-left: auto; color: var(--muted); font-size: 12px; }
.domain-example { position: relative; display: flex; align-items: baseline; justify-content: center; padding: 58px 0 42px; font-family: Inter, Aptos, system-ui, sans-serif; font-size: clamp(24px, 3.5vw, 42px); }
.domain-example strong { color: var(--coral); }
.domain-example span { color: var(--ink); }
.route-line { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; margin: 0 16px 34px; }
.route-node { display: grid; place-items: center; height: 52px; border-radius: 14px; background: var(--cyan-soft); color: var(--cyan); font-size: 12px; font-weight: 800; }
.route-node--target { color: var(--navy); background: var(--lime); }
.route-track { position: relative; height: 3px; background: var(--line); }
.route-track i { position: absolute; top: 50%; left: 42%; width: 13px; height: 13px; border-radius: 50%; background: var(--coral); transform: translate(-50%, -50%); box-shadow: 0 0 0 7px var(--coral-soft); }
.domain-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.domain-meta span { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.domain-meta small { color: var(--muted); }
.success { color: var(--success); }

.section { max-width: 1240px; margin: 0 auto; padding: 96px 28px; }
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading h2, .pricing-section h2 { font-size: clamp(34px, 4vw, 54px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-grid article { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.step-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 56px; border-radius: 50%; color: var(--navy); background: var(--lime); font-family: Inter, Aptos, system-ui, sans-serif; font-size: 12px; font-weight: 800; }
.steps-grid h3 { margin-bottom: 12px; font-size: 22px; }
.steps-grid p { margin: 0; color: var(--muted); }
.pricing-section { display: grid; grid-template-columns: 1fr 390px; gap: 80px; align-items: center; max-width: 1184px; margin: 40px auto 110px; padding: 70px; border-radius: 28px; color: white; background: var(--navy); }
.pricing-section p { max-width: 600px; color: #bfd0df; font-size: 18px; }
.price-card { display: flex; flex-direction: column; padding: 34px; border-radius: 18px; color: white; background: var(--cyan); box-shadow: 0 18px 44px rgba(0, 0, 0, .15); }
.price-card > span { font-size: 14px; font-weight: 700; }
.price-card > strong { margin-top: 12px; font-size: 52px; letter-spacing: -.06em; }
.price-card > small { opacity: .8; }
.price-card ul { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; }
.price-card li::before { content: '✓'; margin-right: 9px; color: var(--lime); font-weight: 800; }
.price-card--large { min-height: 420px; justify-content: center; background: var(--navy); }

.site-footer { display: flex; justify-content: space-between; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 56px 28px; border-top: 1px solid var(--line); }
.site-footer p { margin: 10px 0 0; color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.brand--footer .brand-mark { width: 28px; height: 28px; border-radius: 8px; }

.auth-shell { display: grid; grid-template-columns: 1fr minmax(360px, 520px); gap: 90px; align-items: center; max-width: 1120px; min-height: calc(100vh - 100px); margin: 0 auto; padding: 60px 28px 100px; }
.auth-intro .brand { margin-bottom: 90px; }
.auth-intro h1 { max-width: 620px; font-size: clamp(44px, 5.2vw, 68px); }
.auth-intro p { max-width: 520px; color: var(--muted); font-size: 18px; }
.auth-card { padding: 42px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.auth-card h2 { margin-bottom: 28px; font-size: 28px; }
.auth-switch { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.auth-switch a, .check-row a { color: var(--cyan); font-weight: 700; }

.stack-form { display: grid; gap: 20px; }
label { display: grid; gap: 8px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
label small { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cdd8e3; border-radius: 9px; color: var(--ink); background: white; outline: none; transition: border .15s, box-shadow .15s; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 169, 165, .12); }
input:disabled { color: var(--muted); background: #f2f5f8; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-row input, .check-card input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--cyan); }
.check-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.check-card span { display: grid; gap: 4px; }
.form-errors { margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--danger); border-radius: 8px; color: #7d2929; background: #fff0f0; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }

.app-frame { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 26px 18px; color: white; background: var(--navy); }
.brand--sidebar { padding: 0 10px 28px; }
.side-nav { display: grid; gap: 5px; }
.side-nav a, .nav-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 13px; border: 0; border-radius: 9px; color: #c5d4e1; background: transparent; font-weight: 600; text-align: left; cursor: pointer; }
.side-nav a:hover, .side-nav a.active, .nav-button:hover { color: white; background: rgba(255, 255, 255, .09); }
.side-nav a.active { box-shadow: inset 3px 0 var(--lime); }
.nav-label { margin: 26px 13px 7px; color: #7891a8; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-logout { margin-top: auto; }
.app-main { min-width: 0; }
.app-topbar { display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); }
.app-topbar > div { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-label { color: var(--muted); font-size: 11px; }
.status-dot { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.status-dot i { width: 8px; height: 8px; border-radius: 50%; background: #2db47d; box-shadow: 0 0 0 4px #e0f5ec; }
.status-dot--maintenance { color: #8a5812; }
.status-dot--maintenance i { background: #e89b26; box-shadow: 0 0 0 4px #fff0d6; }
.menu-button { display: none; }
.app-content { max-width: 1460px; margin: 0 auto; padding: 44px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.page-head h1 { margin-bottom: 10px; font-size: clamp(34px, 4vw, 50px); }
.page-head p { margin: 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { display: flex; flex-direction: column; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.stat-card > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.stat-card strong { margin: 10px 0 6px; font-size: 36px; letter-spacing: -.05em; }
.stat-card small { margin-top: auto; color: var(--muted); }
.stat-card--accent { color: white; background: var(--cyan); border-color: var(--cyan); }
.stat-card--accent > span, .stat-card--accent small { color: rgba(255,255,255,.78); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 24px rgba(16, 37, 63, .04); }
.panel-head { display: flex; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin-bottom: 4px; font-size: 21px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 17px 20px; border-bottom: 1px solid #e9eef3; text-align: left; vertical-align: middle; }
th { color: var(--muted); background: #fbfcfd; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td small { display: block; margin-top: 4px; color: var(--muted); }
.domain-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.domain-link span { color: var(--muted); font-weight: 500; }
.domain-link .icon { width: 14px; height: 14px; color: var(--cyan); }
.truncate { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge--success { color: var(--success); background: #e5f6ef; }
.badge--muted { color: #617386; background: #edf1f5; }
.badge--warning { color: var(--warning); background: #fff4dd; }
.badge--premium { color: #586a00; background: #eff7c5; }
.actions, .inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-2); background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.icon-button:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-button--accent { color: #596a00; border-color: #d7e875; background: #f4facd; }
.empty-state { display: grid; justify-items: center; padding: 70px 30px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 16px; color: var(--cyan); background: var(--cyan-soft); }
.empty-icon .icon { width: 28px; height: 28px; }
.empty-state h3 { margin-bottom: 7px; }
.empty-state p { color: var(--muted); }
.flash { max-width: 1280px; margin: 0 auto 18px; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.flash--success { color: #126b4e; background: #e2f6ee; }
.flash--error { color: #8e3030; background: #ffebeb; }
.flash--warning { color: #805013; background: #fff3d7; }
.flash--info { color: #176f78; background: #e3f7f7; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.form-panel { padding: 28px; }
.domain-input { display: flex; align-items: center; border: 1px solid #cdd8e3; border-radius: 9px; overflow: hidden; background: #f6f8fa; }
.domain-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 169, 165, .12); }
.domain-input input { border: 0; border-radius: 0; box-shadow: none; }
.domain-input span { padding: 0 14px; color: var(--muted); white-space: nowrap; }
.form-actions { display: flex; gap: 10px; margin-top: 6px; }
.info-card { padding: 28px; border-radius: var(--radius); color: white; background: var(--navy); }
.info-card p { color: #bed0df; }
.preview-domain { overflow: hidden; margin: 12px 0 24px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; background: rgba(255,255,255,.07); }
.preview-domain strong { color: var(--lime); }
.mini-rule { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px 28px; border: 1px solid #f0caca; border-radius: var(--radius); background: #fffafa; }
.danger-zone h2 { margin-bottom: 4px; font-size: 18px; }
.danger-zone p { margin: 0; color: var(--muted); }
.upgrade-grid, .two-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.payment-instructions { margin: 18px 0 24px; padding: 18px; border-radius: 10px; color: var(--ink-2); background: var(--paper); }
.pending-box { padding: 20px; border: 1px solid #e2d792; border-radius: 10px; background: #fff9dc; }
.pending-box p { margin: 5px 0 0; }

.admin-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; margin-bottom: 26px; }
.admin-shortcuts > a { display: flex; align-items: center; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-shortcuts > a:hover { border-color: var(--cyan); transform: translateY(-1px); }
.admin-shortcuts > a > .icon { color: var(--cyan); }
.admin-shortcuts span { display: flex; flex-direction: column; margin-right: auto; }
.admin-shortcuts small { color: var(--muted); }
.search-form { display: flex; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-form input { max-width: 440px; }
.search-form--filters { align-items: end; flex-wrap: wrap; }
.search-form--filters label { min-width: 150px; }
.search-form--filters .field-grow { flex: 1 1 260px; }
.search-form--filters .field-grow input { max-width: none; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.settings-wide, .settings-actions { grid-column: 1 / -1; }
.legal-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.settings-actions { position: sticky; bottom: 14px; display: flex; justify-content: flex-end; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.settings-callout { padding: 18px; border: 1px solid #bce3df; border-radius: 11px; background: var(--cyan-soft); }
.settings-callout p { margin: 5px 0 8px; color: var(--ink-2); font-weight: 400; }
.operations-panel { display: grid; gap: 20px; }
.operations-panel .panel-head { margin: -28px -28px 0; }
.switch-row { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; }
.switch-row input { width: 20px; min-height: 20px; margin-top: 1px; accent-color: var(--warning); }
.switch-row span { display: grid; gap: 4px; }
.switch-row small { color: var(--muted); font-weight: 500; }
.switch-row--warning:has(input:checked) { border-color: #e8c57d; background: #fff8e8; }

.admin-tabs { display: flex; gap: 4px; overflow-x: auto; margin: -14px 0 38px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: white; scrollbar-width: thin; }
.admin-tabs a { position: relative; flex: 0 0 auto; padding: 9px 13px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-tabs a:hover { color: var(--ink); background: var(--paper); }
.admin-tabs a.active { color: white; background: var(--navy); }
.nav-update-dot { position: absolute; top: 6px; right: 5px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: var(--coral); }
.nav-disabled { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 9px; color: #7990a6; opacity: .72; font-weight: 700; }

.campaign-list { display: grid; }
.campaign-row { display: grid; grid-template-columns: 46px minmax(230px, 1.5fr) repeat(3, minmax(105px, .6fr)) auto; gap: 18px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.campaign-row:last-child { border-bottom: 0; }
.campaign-swatch { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: white; background: var(--campaign-color, var(--cyan)); font-weight: 800; }
.campaign-main { min-width: 0; }
.campaign-main > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.campaign-main > small { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.campaign-metric { display: grid; gap: 3px; }
.campaign-metric span { color: var(--muted); font-size: 11px; font-weight: 700; }
.campaign-metric strong { font-size: 14px; }
.campaign-actions { justify-content: flex-end; }

.ad-editor { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.ad-editor__fields { display: grid; gap: 24px; }
.ad-editor__preview { position: sticky; top: 96px; display: grid; gap: 14px; }
.preview-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.sticky-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.delete-campaign { display: flex; justify-content: center; padding-top: 5px; }
.icon-button--danger { color: var(--danger); border-color: #efc3c3; }
.html-preview-note { display: none; padding: 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-2); background: var(--paper); }
.html-preview-note p { margin: 5px 0 0; color: var(--muted); }
.ad-editor.is-html [data-simple-fields], .ad-editor.is-html [data-ad-preview] { display: none; }
.ad-editor.is-html [data-html-fields], .ad-editor.is-html [data-html-preview] { display: block; }
.ad-editor:not(.is-html) [data-html-fields] { display: none; }

.managed-ad { display: grid; overflow: hidden; max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-top: 5px solid var(--ad-accent, var(--cyan)); border-radius: 14px; text-align: left; background: white; box-shadow: 0 15px 35px rgba(16,37,63,.08); }
.managed-ad__image { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.managed-ad__image.is-hidden { display: none; }
.managed-ad__copy { display: grid; justify-items: start; gap: 10px; padding: 28px; }
.managed-ad__kicker { color: var(--ad-accent, var(--cyan)); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.managed-ad__copy > strong { font-size: clamp(22px, 4vw, 34px); line-height: 1.12; letter-spacing: -.035em; }
.managed-ad__copy p { margin: 0; color: var(--muted); }
.managed-ad__button { display: inline-flex; align-items: center; min-height: 42px; margin-top: 6px; padding: 0 17px; border-radius: 8px; color: white; background: var(--ad-accent, var(--cyan)); font-size: 14px; font-weight: 800; }
.managed-ad--preview { box-shadow: none; }
.managed-ad--preview .managed-ad__copy { padding: 22px; }
.managed-ad--preview .managed-ad__copy > strong { font-size: 24px; }
.upload-field { display: grid; gap: 12px; padding: 17px; border: 1px dashed #bccbd8; border-radius: 11px; background: var(--paper); }

.ad-performance { margin-bottom: 26px; }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12px; font-weight: 700; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 2px; }
.legend-impressions { background: var(--cyan); }
.legend-clicks { background: var(--lime); }
.ad-chart { display: grid; grid-template-columns: repeat(14, minmax(24px, 1fr)); gap: 8px; height: 250px; padding: 24px 24px 18px; overflow-x: auto; }
.ad-chart__day { display: grid; grid-template-rows: 1fr auto; gap: 9px; min-width: 34px; text-align: center; }
.ad-chart__day > span { color: var(--muted); font-size: 10px; }
.ad-chart__bars { display: flex; align-items: end; justify-content: center; gap: 3px; min-height: 170px; border-bottom: 1px solid var(--line); }
.ad-chart__bar { display: block; width: min(13px, 38%); border-radius: 4px 4px 0 0; }
.ad-chart__bar--impressions { background: var(--cyan); }
.ad-chart__bar--clicks { background: var(--lime); }

.update-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 24px; align-items: stretch; margin-bottom: 24px; }
.update-card { display: grid; grid-template-columns: 78px 1fr; gap: 24px; align-items: start; padding: 34px; }
.update-card h2 { font-size: clamp(30px, 4vw, 48px); }
.update-card h2 span { color: var(--cyan); }
.update-card p { max-width: 650px; color: var(--muted); }
.update-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; color: var(--navy); background: var(--lime); font-size: 34px; font-weight: 800; }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.check-list li::before { content: '✓'; margin-right: 9px; color: var(--success); font-weight: 800; }
.muted-copy { color: var(--muted); font-size: 14px; }
.changelog-panel ul { display: grid; gap: 9px; margin: 0; padding: 24px 48px 28px; }
.page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.page-actions form { margin: 0; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: -12px 0 20px; }
.filter-tabs a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: white; font-size: 12px; font-weight: 800; }
.filter-tabs a:hover { color: var(--ink); border-color: #b9c8d6; }
.filter-tabs a.active { color: white; border-color: var(--navy); background: var(--navy); }
.table-title-link { display: block; }
.table-title-link:hover strong { color: var(--cyan); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.history-panel { margin-top: 24px; }
.empty-state.compact { padding: 28px; }
.empty-state.compact p { margin: 0; }
.customer-meta dl { display: grid; gap: 0; margin: 0; }
.customer-meta dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.customer-meta dl div:last-child { border-bottom: 0; }
.customer-meta dt { color: var(--muted); font-size: 13px; }
.customer-meta dd { margin: 0; text-align: right; font-weight: 700; }
.subdomain-side { display: grid; gap: 16px; }
.subdomain-facts { display: grid; gap: 9px; margin-bottom: 5px; }
.subdomain-facts span { display: flex; justify-content: space-between; gap: 18px; padding: 12px; border-radius: 9px; background: var(--paper); }
.subdomain-facts small { color: var(--muted); }
.subdomain-facts strong { text-align: right; }
.dashboard-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.check-rows { display: grid; }
.check-row-admin { display: flex; align-items: flex-start; gap: 13px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.check-row-admin:last-child { border-bottom: 0; }
.check-row-admin > div { display: grid; }
.check-row-admin small { color: var(--muted); }
.check-state { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 900; }
.check-state.ok { color: var(--success); background: #e5f6ef; }
.check-state.warn { color: var(--warning); background: #fff4dd; }
.activity-list { display: grid; }
.activity-list article { display: flex; align-items: flex-start; gap: 13px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.activity-list article:last-child { border-bottom: 0; }
.activity-list article > div { display: grid; }
.activity-list small { color: var(--muted); }
.activity-dot { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px var(--cyan-soft); }
.migration-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.migration-list span { padding: 6px 9px; border-radius: 7px; color: var(--ink-2); background: var(--paper); font-size: 12px; font-weight: 700; }
.update-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 24px; }
.history-list { display: grid; }
.history-list article { display: grid; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.history-list article:last-child { border-bottom: 0; }
.history-list small { color: var(--muted); }

.user-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.user-editor-side { display: grid; gap: 20px; }
.danger-zone--stack { display: grid; align-items: stretch; margin-top: 0; }
.danger-zone--stack form { width: 100%; }
.user-management .select-cell { width: 42px; padding-right: 0; text-align: center; }
.select-cell input { width: 17px; min-height: 17px; accent-color: var(--cyan); }
.bulk-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); background: #fbfcfd; }
.bulk-bar select { width: auto; min-width: 220px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.pagination a { display: grid; place-items: center; min-width: 38px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: white; font-weight: 800; }
.pagination a:hover, .pagination a.active { color: white; border-color: var(--navy); background: var(--navy); }
.admin-note { margin: 12px 0 0; padding: 14px; border-radius: 9px; background: #fff8df; white-space: pre-wrap; }
.password-required { margin-bottom: 20px; padding: 15px 18px; border-left: 4px solid var(--warning); border-radius: 9px; color: #70470f; background: #fff4dd; }
.form-help-row { display: flex; justify-content: flex-end; margin-top: -5px; }
.form-help-row a, .text-button { color: var(--cyan); font-size: 13px; font-weight: 800; }
.text-button { min-height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.verification-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; padding: 25px 28px; border: 1px solid #d8c36d; border-radius: var(--radius); background: #fff9dc; }
.verification-banner h2 { margin-bottom: 7px; font-size: 22px; }
.verification-banner p { margin: 0; color: #6f5a22; }
.verification-banner form { flex: 0 0 auto; }
.security-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 9px; background: var(--paper); }
.resend-form { margin-top: 8px; }
.session-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: end; gap: 34px; margin-top: 24px; padding: 26px; }
.session-panel h2 { margin-bottom: 7px; }
.session-panel p { margin: 0; color: var(--muted); }
.session-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: end; gap: 12px; }
.session-form label { margin: 0; }
.recovery-result { padding: 18px; border: 1px solid #b9dfd2; border-radius: 10px; color: #126b4e; background: #e9f8f2; }
.recovery-result p { margin: 7px 0 0; }
.verification-result-card { text-align: center; }
.verification-result-card p { color: var(--muted); }
.verification-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; font-size: 30px; font-weight: 900; }
.verification-symbol--success { color: var(--success); background: #e2f6ee; }
.verification-symbol--warning { color: var(--warning); background: #fff4dd; }
.user-email-state { display: inline-flex; margin-top: 7px; }
.otp-input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: .12em; }
.auth-cancel-form { margin-top: 18px; text-align: center; }
.two-factor-panel { margin-top: 24px; padding: 28px; }
.two-factor-panel .panel-head { align-items: flex-start; }
.backup-code-reveal { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(280px, 1fr) auto; align-items: center; gap: 22px; margin: 22px 0; padding: 22px; border: 1px solid #b9dfd2; border-radius: 12px; background: #e9f8f2; }
.backup-code-reveal p { margin: 6px 0 0; color: #376f5d; }
.backup-code-grid { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 7px; }
.backup-code-grid code { padding: 8px 10px; border: 1px solid #b9dfd2; border-radius: 7px; color: #174f3c; background: white; text-align: center; font-size: 13px; font-weight: 800; }
.two-factor-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 28px; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.setup-steps { display: grid; gap: 12px; }
.setup-steps article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px; border-radius: 10px; background: var(--paper); }
.setup-steps article > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy); background: var(--lime); font-weight: 900; }
.setup-steps article div { display: grid; justify-items: start; gap: 5px; }
.setup-steps p { margin: 0; color: var(--muted); }
.totp-secret { display: block; max-width: 100%; padding: 10px 12px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.two-factor-confirm { align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.cancel-setup-form { grid-column: 2; text-align: center; }
.two-factor-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); align-items: end; gap: 28px; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.two-factor-start p, .two-factor-actions p { color: var(--muted); }
.two-factor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.two-factor-actions > section { padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.two-factor-actions h3 { margin-bottom: 6px; font-size: 18px; }
.two-factor-disable { border-color: #efc3c3 !important; background: #fff7f7 !important; }

.activity-summary { padding-top: 18px; padding-bottom: 18px; }
.activity-table { min-width: 880px; }
.activity-table td:first-child { white-space: nowrap; }
.activity-table td:nth-child(2) { min-width: 210px; }
.activity-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.context-code { display: block; max-width: 440px; overflow: hidden; color: var(--ink-2); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted); }

.report-shell { max-width: 900px; }
.report-intro { max-width: 760px; margin-bottom: 28px; }
.report-intro h1 { margin: 8px 0 14px; font-size: clamp(38px, 6vw, 62px); }
.report-intro p, .report-help { color: var(--muted); }
.report-form { display: grid; gap: 20px; }
.report-status { padding: 34px; }
.report-status h2 { margin: 14px 0 8px; overflow-wrap: anywhere; }
.decision-box { margin-top: 22px; padding: 20px; border-left: 4px solid var(--cyan); border-radius: 9px; background: var(--paper); }
.decision-box p { margin-bottom: 0; white-space: pre-wrap; }
.report-help { margin-top: 20px; font-size: 13px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report-review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.report-review-main, .report-review-side { display: grid; gap: 24px; }
.report-explanation { margin-top: 20px; padding: 20px; border-radius: 10px; background: var(--paper); white-space: pre-wrap; }
.report-facts { display: grid; margin: 0; }
.report-facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.report-facts div:last-child { border-bottom: 0; }
.report-facts dt { color: var(--muted); }
.report-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.report-url { display: block; max-width: 360px; }

.legal-page { max-width: 850px; min-height: 60vh; margin: 0 auto; padding: 90px 28px; }
.legal-page h1 { font-size: 54px; }
.prose { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }

.interstitial-body { min-height: 100vh; background: #edf2f6; }
.interstitial-shell { display: grid; gap: 20px; max-width: 980px; min-height: 100vh; margin: 0 auto; padding: 28px; }
.interstitial-shell > header, .interstitial-shell > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.interstitial-shell > footer { align-self: end; color: var(--muted); font-size: 13px; }
.interstitial-shell > footer a { color: var(--cyan); font-weight: 700; }
.interstitial-shell > footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.ad-stage { position: relative; display: grid; place-items: center; min-height: 280px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.ad-label { position: absolute; top: 12px; right: 14px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ad-content { width: 100%; text-align: center; }
.default-ad { display: grid; gap: 8px; place-items: center; min-height: 170px; padding: 30px; border: 2px dashed #ccd8e3; border-radius: 14px; color: var(--ink); background: linear-gradient(135deg, #f8fbfd, #edf7f6); }
.default-ad strong { font: 800 25px/1.2 Inter, Aptos, system-ui, sans-serif; }
.default-ad span { color: var(--muted); }
.countdown-card { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 18px; color: white; background: var(--navy); }
.countdown-card h1 { margin-bottom: 8px; font-size: 31px; }
.countdown-card p { margin-bottom: 18px; color: #bdd0df; }
.countdown-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.countdown-actions .button--ghost { color: white; border-color: rgba(255,255,255,.35); background: transparent; }
.countdown-actions .button--ghost:hover { border-color: var(--lime); }
.countdown-ring { position: relative; display: grid; place-items: center; width: 110px; height: 110px; }
.countdown-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.countdown-ring circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 6; }
.countdown-ring .progress { stroke: var(--lime); transition: stroke-dashoffset .35s linear; }
.countdown-ring strong { color: var(--lime); font: 800 31px/1 Inter, Aptos, system-ui, sans-serif; }
.public-error { display: grid; justify-items: start; align-content: center; max-width: 620px; min-height: 100vh; margin: 0 auto; padding: 40px 28px; }
.public-error .brand-mark { margin-bottom: 46px; }
.public-error h1 { font-size: clamp(40px, 7vw, 64px); }
.public-error p { color: var(--muted); font-size: 18px; }

.installer-body { min-height: 100vh; background: #edf2f6; }
.installer-shell { max-width: 980px; margin: 0 auto; padding: 28px 28px 90px; }
.installer-shell > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.installer-heading { max-width: 660px; margin-bottom: 32px; }
.installer-heading h1 { margin-bottom: 12px; font-size: 54px; }
.installer-heading p { color: var(--muted); font-size: 18px; }
.requirements { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.requirements h2 { width: 100%; margin-bottom: 6px; font-size: 17px; }
.requirement { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 8px; background: var(--paper); font-size: 12px; font-weight: 700; }
.requirement i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: white; font-style: normal; }
.requirement.ok i { background: var(--success); }
.requirement.fail i { background: var(--danger); }
.installer-form { display: grid; gap: 18px; }
.installer-card { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(16, 37, 63, .04); }
.installer-card .step-number { margin: 0; }
.installer-card h2 { margin: 4px 0 22px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.field-wide { grid-column: 1 / -1; }
.installer-success { display: block; max-width: 680px; margin: 120px auto; text-align: center; }
.installer-success h1 { font-size: 48px; }
.installer-success p { color: var(--muted); font-size: 18px; }
.success-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; color: white; background: var(--success); font-size: 34px; }
.manual-config { margin-top: 24px; padding: 24px; border: 1px solid #e6cc81; border-radius: var(--radius); background: #fff9dd; }
.manual-config textarea { font-family: ui-monospace, monospace; font-size: 12px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .domain-card { max-width: 620px; transform: none; }
  .stats-grid, .admin-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .info-card { order: -1; }
}

@media (max-width: 820px) {
  .site-header nav > a:not(.button) { display: none; }
  .hero { min-height: auto; padding-top: 60px; }
  .steps-grid, .pricing-section, .auth-shell, .upgrade-grid, .two-panels, .settings-grid, .legal-fields { grid-template-columns: 1fr; }
  .pricing-section { margin: 20px 18px 80px; padding: 40px 28px; gap: 35px; }
  .auth-shell { gap: 30px; }
  .auth-intro .brand { margin-bottom: 55px; }
  .sidebar { position: fixed; z-index: 60; left: 0; width: 260px; transform: translateX(-105%); transition: transform .22s ease; }
  .sidebar.is-open { transform: translateX(0); box-shadow: 10px 0 40px rgba(0,0,0,.2); }
  .app-frame { grid-template-columns: 1fr; }
  .menu-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: white; }
  .app-content { padding: 28px 22px; }
  .settings-wide, .settings-actions { grid-column: auto; }
  .site-footer { flex-direction: column; }
  .session-panel, .session-form { grid-template-columns: 1fr; }
  .verification-banner { align-items: stretch; flex-direction: column; }
  .verification-banner .button { width: 100%; }
  .two-factor-setup, .two-factor-start, .two-factor-actions, .backup-code-reveal { grid-template-columns: 1fr; }
  .cancel-setup-form { grid-column: auto; }
}

@media (max-width: 580px) {
  .site-header { padding: 18px; }
  .site-header nav { gap: 10px; }
  .site-header .brand > span:last-child { display: none; }
  .hero, .section { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 47px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .availability-form > div { grid-template-columns: minmax(0, 1fr) auto; }
  .availability-form .button { grid-column: 1 / -1; width: 100%; margin: 0; }
  .trust-row { display: grid; gap: 7px; }
  .domain-card { padding: 17px; }
  .steps-grid, .stats-grid, .admin-shortcuts { grid-template-columns: 1fr; }
  .site-footer nav { flex-direction: column; gap: 10px; }
  .auth-card { padding: 26px 20px; }
  .app-topbar { padding: 0 18px; }
  .status-dot { display: none; }
  .page-head { align-items: stretch; flex-direction: column; }
  .page-head .button { width: 100%; }
  .form-panel { padding: 20px; }
  .form-actions, .danger-zone { align-items: stretch; flex-direction: column; }
  .domain-input { align-items: stretch; flex-direction: column; }
  .domain-input span { padding: 10px 14px; border-top: 1px solid var(--line); }
  .countdown-card { grid-template-columns: 1fr; text-align: center; }
  .countdown-ring { margin: 0 auto; }
  .countdown-actions { align-items: stretch; flex-direction: column; }
  .interstitial-shell > header, .interstitial-shell > footer { align-items: flex-start; flex-direction: column; }
  .installer-shell { padding: 20px 16px 60px; }
  .installer-shell > header { margin-bottom: 45px; }
  .installer-heading h1 { font-size: 42px; }
  .installer-card, .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .installer-card .step-number { margin-bottom: 0; }
}

@media (max-width: 1120px) {
  .campaign-row { grid-template-columns: 46px minmax(220px, 1fr) repeat(2, minmax(110px, .6fr)); }
  .campaign-row .campaign-metric:nth-child(5) { display: none; }
  .campaign-actions { grid-column: 2 / -1; justify-content: flex-start; }
  .ad-editor { grid-template-columns: minmax(0, 1fr) 330px; }
}

@media (max-width: 860px) {
  .ad-editor, .update-layout, .detail-grid, .dashboard-lower, .update-bottom, .user-editor-grid, .report-review-grid { grid-template-columns: 1fr; }
  .ad-editor__preview { position: static; }
  .campaign-row { grid-template-columns: 44px minmax(0, 1fr); }
  .campaign-metric { display: none; }
  .campaign-actions { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .admin-tabs { margin-top: -22px; }
  .campaign-row { padding: 18px; }
  .sticky-actions { grid-template-columns: 1fr; }
  .update-card { grid-template-columns: 1fr; padding: 25px; }
  .page-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .page-actions .button { width: 100%; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .bulk-bar { align-items: stretch; flex-direction: column; }
  .bulk-bar select { width: 100%; }
  .ad-chart { grid-template-columns: repeat(14, 34px); }
}
