:root {
  --navy: #0d203b;
  --navy-2: #142f52;
  --ink: #101d31;
  --muted: #65758d;
  --line: #dce3eb;
  --surface: #ffffff;
  --canvas: #f4f6f8;
  --mint: #0f8b70;
  --mint-soft: #e7f5f1;
  --blue: #2667e8;
  --blue-soft: #eaf1ff;
  --orange: #ff6745;
  --orange-soft: #fff0ea;
  --amber: #b7791f;
  --amber-soft: #fff7df;
  --red: #c33e4d;
  --shadow: 0 24px 70px rgba(15, 32, 57, .14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: var(--sans); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.eyebrow { margin: 0 0 8px; color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button { min-height: 44px; border: 1px solid transparent; border-radius: 10px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 750; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(13, 32, 59, .12); }
.button--accent { background: var(--orange); color: #fff; box-shadow: 0 9px 24px rgba(255, 103, 69, .22); }
.button--ghost { border-color: var(--line); background: #fff; }
.button--wide { width: 100%; }
.form-error { min-height: 18px; margin: 8px 0 0; color: var(--red); font-size: 12px; font-weight: 650; }

.login-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 75% 20%, #1c426d 0, transparent 34%), var(--navy); }
.login-screen::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px); background-size: 54px 54px; }
.login-card { position: relative; width: min(430px, 100%); padding: 44px; border-radius: 22px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 44px; font-family: var(--serif); font-size: 24px; }
.login-brand span { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 900; }
.login-card h1 { margin: 0; font-family: var(--serif); font-size: 42px; letter-spacing: -.035em; }
.login-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.login-card label { display: grid; gap: 8px; margin: 28px 0 18px; font-size: 13px; font-weight: 750; }
.login-card input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; outline: none; }
.login-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38,103,232,.1); }

.app { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 244px; display: flex; flex-direction: column; padding: 24px 16px 18px; background: var(--navy); color: #fff; transition: transform .22s ease; }
.sidebar__brand { display: flex; align-items: center; gap: 11px; margin: 0 7px 34px; color: #fff; text-decoration: none; }
.sidebar__mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #89c8ff; color: var(--navy); font-weight: 900; }
.sidebar__brand strong { display: block; font-family: var(--serif); font-size: 20px; }
.sidebar__brand small { display: block; margin-top: 1px; color: #91a5bf; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.sidebar__nav { display: grid; gap: 4px; }
.sidebar__nav a, .sidebar__bottom > a, .sidebar__bottom > button { min-height: 44px; border: 0; border-radius: 8px; padding: 0 12px; display: flex; align-items: center; gap: 11px; background: transparent; color: #b7c5d8; text-decoration: none; font-size: 13px; font-weight: 650; cursor: pointer; }
.sidebar__nav a:hover, .sidebar__bottom > a:hover, .sidebar__bottom > button:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar__nav a.is-active { background: rgba(121, 183, 255, .14); color: #fff; }
.nav-icon { width: 20px; height: 20px; display: grid; place-items: center; color: #8fa4c0; font-size: 17px; }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 10px; }
.nav-count--muted { background: rgba(255,255,255,.12); color: #afbdd0; }
.sidebar__nav small { margin-left: auto; color: #68d6b9; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.sidebar__bottom { margin-top: auto; display: grid; gap: 4px; }
.sidebar__bottom > button { width: 100%; }
.owner-chip { margin-top: 15px; padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 10px; }
.owner-chip > span:first-child { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #cfefe7; color: #0c765f; font-weight: 850; }
.owner-chip strong, .owner-chip small { display: block; }
.owner-chip strong { font-size: 12px; }
.owner-chip small { margin-top: 2px; color: #8498b2; font-size: 10px; }

.main { grid-column: 2; min-width: 0; }
.topbar { height: 68px; padding: 0 32px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.environment { display: flex; align-items: center; gap: 8px; color: #526176; font-size: 11px; font-weight: 750; }
.environment span { width: 8px; height: 8px; border-radius: 50%; background: #18ad84; box-shadow: 0 0 0 4px #e1f5ef; }
.topbar__actions { display: flex; align-items: center; gap: 9px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.time-chip { margin-left: 3px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mobile-menu { display: none; }
.page { max-width: 1480px; margin: 0 auto; padding: 38px 38px 70px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.page-heading h1 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.045em; }
.page-heading > div > p:last-child { max-width: 690px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { min-height: 116px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; display: flex; align-items: center; gap: 16px; background: #fff; }
.stat-card > div { min-width: 0; }
.stat-card small, .stat-card span { display: block; }
.stat-card small { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.stat-card strong { display: block; margin: 5px 0 2px; font-family: var(--serif); font-size: 32px; }
.stat-card > div > span { color: #8996a7; font-size: 10px; }
.stat-icon { flex: 0 0 auto; width: 39px; height: 39px; border-radius: 10px; display: grid !important; place-items: center; font-size: 17px; font-weight: 850; }
.stat-icon--green { background: var(--mint-soft); color: var(--mint); }
.stat-icon--blue { background: var(--blue-soft); color: var(--blue); }
.stat-icon--amber { background: var(--amber-soft); color: var(--amber); }
.stat-card--indexing { justify-content: space-between; background: #fffdfa; }
.stat-card--indexing strong { color: var(--orange); font-family: var(--sans); font-size: 22px; }
.stat-card--indexing strong.is-on { color: var(--mint); }
.switch { flex: 0 0 auto; width: 42px; height: 24px; padding: 3px; border: 0; border-radius: 20px; background: #ccd3dc; cursor: pointer; transition: background .18s ease; }
.switch i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.switch--on { background: var(--mint); }
.switch--on i { transform: translateX(18px); }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.panel__header { min-height: 78px; padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel__header h2 { margin: 0; font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; }
.panel__header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel__tools { display: flex; gap: 8px; }
.search-field { height: 36px; width: 190px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 7px; color: var(--muted); }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; font-size: 11px; }
.panel__tools select { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 30px 0 10px; background: #fff; color: #526176; font-size: 11px; }
.review-table__head, .review-row { display: grid; grid-template-columns: minmax(190px, 1.45fr) 1fr .9fr .55fr .85fr 34px; gap: 12px; align-items: center; }
.review-table__head { padding: 11px 20px; border-bottom: 1px solid var(--line); background: #f9fafb; color: #7c8999; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.review-row { min-height: 82px; padding: 14px 20px; border-bottom: 1px solid #e8edf2; }
.review-row:last-child { border-bottom: 0; }
.brand-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-cell__mark { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: #9dd2ff; font-family: var(--serif); font-size: 20px; font-weight: 800; }
.brand-cell strong, .brand-cell small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-cell strong { font-family: var(--serif); font-size: 16px; }
.brand-cell small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.market-cell strong, .market-cell small { display: block; }
.market-cell strong { font-size: 11px; }
.market-cell small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.status { width: max-content; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.status--preview_ready { background: var(--mint-soft); color: #08715c; }
.status--on { background: var(--blue-soft); color: #1859c6; }
.status--off { background: #eef1f4; color: #68778a; }
.status--failed { background: #fdecef; color: var(--red); }
.status--generating { background: var(--amber-soft); color: var(--amber); }
.rating-cell { font-family: var(--serif); font-size: 19px; font-weight: 800; }
.rating-cell small { color: var(--muted); font-family: var(--sans); font-size: 9px; font-weight: 500; }
.updated-cell { color: var(--muted); font-size: 10px; line-height: 1.4; }
.row-menu { width: 30px; height: 30px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-weight: 900; }
.row-menu:hover { background: #f0f3f6; }
.row-actions { grid-column: 1 / -1; margin: -4px 0 3px 49px; display: none; flex-wrap: wrap; gap: 7px; }
.review-row.is-open .row-actions { display: flex; }
.row-actions a, .row-actions button { min-height: 28px; border: 1px solid var(--line); border-radius: 6px; padding: 0 9px; display: inline-flex; align-items: center; background: #fff; color: #38475b; text-decoration: none; font-size: 9px; font-weight: 750; cursor: pointer; }
.row-actions .action-note { min-height: 28px; padding: 0 9px; display: inline-flex; align-items: center; color: var(--muted); font-size: 9px; }
.row-actions button[data-action="on"] { border-color: #bfe5d9; color: #08715c; }
.row-actions button[data-action="off"] { color: var(--red); }
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); font-size: 12px; }

.activity-panel { min-height: 410px; }
.activity-list { margin: 0; padding: 6px 20px 18px; list-style: none; }
.activity-list li { position: relative; padding: 14px 0 14px 23px; border-bottom: 1px solid #edf0f3; }
.activity-list li:last-child { border-bottom: 0; }
.activity-list li::before { content: ""; position: absolute; left: 1px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.activity-list strong, .activity-list small { display: block; }
.activity-list strong { font-size: 11px; line-height: 1.45; }
.activity-list small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.launch-guide { margin-top: 18px; padding: 30px; border-radius: 14px; display: grid; grid-template-columns: .9fr 1.7fr; gap: 42px; align-items: center; background: var(--navy); color: #fff; }
.launch-guide h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.launch-guide > div > p:last-child { margin: 10px 0 0; color: #b7c6d9; font-size: 11px; line-height: 1.6; }
.launch-guide ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.launch-guide li { position: relative; padding: 0 15px; border-left: 1px solid rgba(255,255,255,.13); }
.launch-guide li > span { color: #75b7ff; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.launch-guide li strong, .launch-guide li small { display: block; }
.launch-guide li strong { margin-top: 7px; font-size: 11px; }
.launch-guide li small { margin-top: 4px; color: #8fa4bf; font-size: 9px; line-height: 1.45; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 17, 32, .72); backdrop-filter: blur(5px); }
.wizard { position: relative; width: min(940px, 100%); max-height: min(850px, calc(100vh - 48px)); border-radius: 18px; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.wizard__header { flex: 0 0 auto; padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.wizard__header h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.close-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 22px; cursor: pointer; }
.wizard__progress { flex: 0 0 auto; padding: 18px 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; background: #fafbfc; }
.wizard__progress button { border: 0; padding: 0; display: flex; align-items: center; gap: 7px; background: transparent; color: #94a0ae; font-size: 10px; font-weight: 750; cursor: pointer; }
.wizard__progress button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #cdd5de; background: #fff; }
.wizard__progress button.is-active { color: var(--ink); }
.wizard__progress button.is-active span { border-color: var(--navy); background: var(--navy); color: #fff; }
.wizard__progress button.is-complete span { border-color: var(--mint); background: var(--mint-soft); color: var(--mint); }
.wizard__progress i { flex: 1; height: 1px; margin: 0 14px; background: #dbe1e7; }
.wizard form { min-height: 0; display: flex; flex-direction: column; }
.wizard__body { min-height: 0; padding: 28px 36px 32px; overflow-y: auto; }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.step-intro { margin-bottom: 24px; display: flex; gap: 14px; align-items: flex-start; }
.step-intro > span { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 10px; font-weight: 850; }
.step-intro h3 { margin: 0; font-family: var(--serif); font-size: 23px; }
.step-intro p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 7px; color: #344255; font-size: 11px; font-weight: 750; }
.field > span { color: #8a96a5; font-size: 8px; font-weight: 600; text-transform: uppercase; }
.field input, .field select, .field textarea { grid-column: 1 / -1; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; outline: none; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; }
.field input, .field select { height: 44px; }
.field textarea { padding-top: 11px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38,103,232,.08); }
.field--wide { grid-column: 1 / -1; }
.info-box { margin-top: 20px; padding: 14px; border-radius: 9px; display: flex; gap: 11px; background: #f1f6fb; }
.info-box > span { flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: var(--blue); font-size: 11px; font-weight: 850; }
.info-box p { margin: 0; color: #526176; font-size: 10px; line-height: 1.55; }
.info-box strong { color: var(--ink); }
.confirmation { margin-top: 20px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.confirmation input { margin-top: 2px; accent-color: var(--mint); }
.confirmation strong, .confirmation small { display: block; }
.confirmation strong { font-size: 11px; }
.confirmation small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.summary-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: #fbfcfd; }
.summary-card div { min-width: 0; }
.summary-card small, .summary-card strong { display: block; }
.summary-card small { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.summary-card strong { margin-top: 5px; overflow-wrap: anywhere; font-size: 12px; }
.cost-panel { margin-top: 22px; }
.cost-grid { padding: 18px 20px 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cost-grid > div { min-height: 82px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.cost-grid small { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.cost-grid strong { margin-top: 7px; color: var(--navy); font-family: var(--serif); font-size: 23px; }
.cost-grid__wide { grid-column: span 2; }
.cost-grid__wide strong { font-family: var(--sans); font-size: 13px; overflow-wrap: anywhere; }
.cost-events { width: 100%; margin-top: 3px; color: var(--muted); font-size: 9px; }
.cost-events summary { width: fit-content; cursor: pointer; font-weight: 800; color: var(--navy); }
.cost-events > div { margin-top: 8px; display: grid; gap: 5px; }
.cost-event { display: grid; grid-template-columns: minmax(110px, 1.2fr) minmax(150px, 1.8fr) 80px 76px 62px; gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfd; }
.cost-event strong { color: var(--navy); text-transform: capitalize; }
.cost-event em { font-style: normal; text-transform: capitalize; }
.cost-event--failed em { color: var(--red); }
.cost-event--succeeded em { color: var(--green); }
.google-panel { margin-top: 22px; scroll-margin-top: 84px; }
.site-indexing-panel { margin-top: 22px; scroll-margin-top: 84px; }
.connection-badge { min-width: 104px; padding: 8px 11px; border-radius: 999px; background: #eef1f5; color: #687588; font-size: 9px; font-weight: 800; text-align: center; text-transform: uppercase; }
.connection-badge.is-pending { background: #fff1d8; color: #9a6500; }
.connection-badge.is-connected { background: var(--mint-soft); color: #08745e; }
.google-status-grid { padding: 18px 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.google-status-grid > div { min-height: 100px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.google-status-grid small { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.google-status-grid strong { margin: 7px 0 4px; color: var(--navy); font-family: var(--serif); font-size: 18px; overflow-wrap: anywhere; }
.google-status-grid span { color: var(--muted); font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.site-indexing-status-grid { padding: 18px 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.site-indexing-status-grid > div { min-height: 100px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.site-indexing-status-grid small { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.site-indexing-status-grid strong { margin: 7px 0 4px; color: var(--navy); font-family: var(--serif); font-size: 18px; overflow-wrap: anywhere; }
.site-indexing-status-grid span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.site-indexing-control { padding: 20px; }
.site-indexing-warning { padding: 14px 15px; border: 1px solid #f0d5aa; border-radius: 9px; background: #fff8eb; }
.site-indexing-warning.is-on { border-color: #bfe1d6; background: var(--mint-soft); }
.site-indexing-warning.has-warning { border-color: #f2c7a0; background: #fff5ea; }
.site-indexing-warning strong, .site-indexing-warning span { display: block; }
.site-indexing-warning strong { color: var(--navy); font-size: 10px; }
.site-indexing-warning span { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.button--danger { border-color: #d13f4f; background: #d13f4f; color: #fff; }
.google-form { padding: 20px; }
.google-form .field textarea { min-height: 150px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.security-note { margin-top: 16px; padding: 14px 15px; border: 1px solid #cce3dc; border-radius: 9px; display: flex; align-items: flex-start; gap: 11px; background: var(--mint-soft); }
.security-note > span { flex: 0 0 auto; font-size: 15px; }
.security-note p { margin: 0; }
.security-note strong, .security-note small { display: block; }
.security-note strong { color: #0a5f50; font-size: 10px; }
.security-note small { margin-top: 3px; color: #53796f; font-size: 9px; line-height: 1.55; }
.google-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.google-actions .button[disabled] { opacity: .45; cursor: not-allowed; }
.checks-list { margin-top: 18px; display: grid; gap: 8px; }
.checks-list > div { padding: 11px 13px; border-radius: 8px; display: flex; align-items: center; gap: 11px; background: var(--mint-soft); }
.checks-list > div > span { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--mint); font-size: 10px; font-weight: 900; }
.checks-list p { margin: 0; }
.checks-list strong, .checks-list small { display: block; }
.checks-list strong { font-size: 10px; }
.checks-list small { margin-top: 2px; color: #598076; font-size: 8px; }
.wizard__footer { flex: 0 0 auto; min-height: 70px; padding: 12px 26px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; background: #fafbfc; }
.wizard__footer .form-error { margin: 0 auto 0 0; }

.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; max-width: 390px; padding: 14px 17px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: 11px; font-weight: 650; }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cost-grid { grid-template-columns: repeat(3, 1fr); }
  .workspace-grid { grid-template-columns: 1fr; }
  .activity-panel { min-height: 0; }
  .activity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .google-status-grid { grid-template-columns: 1fr; }
  .site-indexing-status-grid { grid-template-columns: 1fr 1fr; }
  .launch-guide { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  .app { display: block; }
  .sidebar { transform: translateX(-100%); }
  .app.nav-open .sidebar { transform: translateX(0); box-shadow: 20px 0 60px rgba(5, 15, 29, .34); }
  .app.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 19; background: rgba(6, 17, 32, .48); }
  .main { grid-column: auto; }
  .topbar { padding: 0 18px; }
  .mobile-menu { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: block; background: #fff; }
  .page { padding: 28px 18px 50px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading .button { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .panel__header { align-items: flex-start; flex-direction: column; }
  .panel__tools { width: 100%; }
  .search-field { flex: 1; width: auto; }
  .review-table__head { display: none; }
  .review-row { grid-template-columns: 1fr auto; gap: 10px; }
  .review-row > .market-cell, .review-row > .status, .review-row > .rating-cell, .review-row > .updated-cell { grid-column: 1; }
  .review-row > .row-menu { grid-column: 2; grid-row: 1; }
  .row-actions { margin-left: 0; }
  .cost-event { grid-template-columns: 1fr 1fr; }
  .launch-guide ol { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .wizard { max-height: calc(100vh - 20px); border-radius: 14px; }
  .wizard__progress { padding: 14px 20px; }
  .wizard__progress button { font-size: 0; }
  .wizard__progress button span { font-size: 10px; }
  .wizard__body { padding: 24px 22px; }
}

@media (max-width: 560px) {
  .login-card { padding: 32px 24px; }
  .login-card h1 { font-size: 36px; }
  .topbar__actions .icon-button { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .site-indexing-status-grid { grid-template-columns: 1fr; }
  .panel__tools { flex-direction: column; }
  .panel__tools select, .search-field { width: 100%; }
  .activity-list { grid-template-columns: 1fr; }
  .launch-guide { padding: 24px 20px; }
  .launch-guide ol { grid-template-columns: 1fr; }
  .launch-guide li { padding: 0 0 0 14px; }
  .modal { padding: 0; }
  .wizard { width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; }
  .wizard__header { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .summary-card { grid-template-columns: 1fr 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-grid__wide { grid-column: auto; }
  .cost-event { grid-template-columns: 1fr; }
  .google-actions { display: grid; }
  .google-actions .button { width: 100%; }
  .wizard__footer { padding: 12px 16px; }
  .wizard__footer .button { padding: 0 13px; }
}
