:root {
  color-scheme: light dark;
  --canvas: #f5f5f7;
  --surface: #fff;
  --surface-subtle: #fafafa;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --quiet: #86868b;
  --line: rgba(0, 0, 0, .1);
  --line-strong: rgba(0, 0, 0, .16);
  --accent: #06c;
  --green: #55ad68;
  --red: #d94242;
  --amber: #b66a00;
  --radius: 14px;
  --radius-small: 10px;
  --page-gutter: clamp(20px, 3.5vw, 64px);
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 12px 30px rgba(0, 0, 0, .035);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000;
    --surface: #1c1c1e;
    --surface-subtle: #111113;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --quiet: #8e8e93;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .2);
    --accent: #2997ff;
    --green: #92ffa8;
    --red: #ff6961;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
.site-header, .page-shell, .site-footer { width: calc(100% - (var(--page-gutter) * 2)); margin-inline: auto; }
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: .94rem; font-weight: 680; letter-spacing: -.018em; }
.mobile-menu-toggle { display: none; }
.top-navigation { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: .84rem; }
.top-navigation button, .sign-out { padding: 0; border: 0; background: none; color: var(--muted); font-size: inherit; }
.top-navigation button:hover, .top-navigation button.active, .top-navigation a:hover, .sign-out:hover { color: var(--ink); }
.top-navigation button.active { font-weight: 650; }
.sign-out { margin-left: 20px; font-size: .84rem; }
.site-menu { position: relative; }
.site-menu summary { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; color: var(--muted); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: margin 120ms ease, transform 120ms ease; }
.site-menu[open] summary { color: var(--ink); }
.site-menu[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.site-menu-items { position: absolute; z-index: 20; top: calc(100% + 14px); left: 50%; width: 250px; overflow: visible; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 48px rgba(0, 0, 0, .14); transform: translateX(-50%); }
.site-menu-items::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); transform: translateX(-50%) rotate(45deg); }
.site-menu-items > * { position: relative; z-index: 1; }
.site-menu-items a, .site-menu-items button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; }
.site-menu-items a:hover, .site-menu-items button:hover { background: var(--surface-subtle); }
.site-menu-items small { color: var(--quiet); font-size: .68rem; }
.site-menu-empty { margin: 0; padding: 11px; color: var(--quiet); font-size: .76rem; text-align: center; }
.page-shell { min-height: calc(100vh - 126px); }
.site-footer { display: flex; justify-content: space-between; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .7rem; }
.footer-control { display: inline-flex; align-items: center; gap: 10px; }
.footer-control code { color: inherit; font-size: inherit; }
#dashboard-update { padding: 5px 8px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 7px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); font-size: .68rem; font-weight: 650; }
#dashboard-update:hover { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
#dashboard-update:disabled { cursor: wait; opacity: .65; }
section { padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
.lead { margin: 0; color: var(--muted); font-size: 1rem; }
.section-label, .eyebrow { margin: 0 0 7px; color: var(--green); font-size: .68rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.2vw, 2.05rem); line-height: 1.05; letter-spacing: -.04em; }
.dashboard-section { padding-top: 34px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.dashboard-heading h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 700; line-height: .98; letter-spacing: -.052em; }
.dashboard-state { display: grid; justify-items: end; gap: 4px; color: var(--quiet); font-size: .73rem; }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .73rem; }
.status b { font-weight: 600; }
.status i, .uptime-line i, .status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.status:not(:has(i))::before { content: ""; }
.status.online i, .status.healthy::before, .status.live::before, .status.succeeded::before, .uptime-line i { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 14%, transparent); }
.status.running::before, .status.building::before { background: var(--amber); }
.status.ready::before { background: var(--accent); }
.status.undeployed::before { background: var(--quiet); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-card { display: grid; grid-template-rows: auto auto auto auto; gap: 8px; min-height: 126px; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.metric-card > span { color: var(--muted); font-size: .73rem; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }
.metric-card > strong { overflow: hidden; font-size: clamp(1.12rem, 1.6vw, 1.45rem); letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.metric-card small { color: var(--quiet); font-size: .72rem; }
.metric-card progress { width: 100%; height: 4px; overflow: hidden; border: 0; border-radius: 4px; background: var(--line); color: var(--accent); }
.metric-card progress::-webkit-progress-bar { background: var(--line); }
.metric-card progress::-webkit-progress-value { background: var(--accent); }
.metric-card progress::-moz-progress-bar { background: var(--accent); }
.uptime-line { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.overview-columns { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(620px, 1.4fr); gap: 40px; }
.compact-section { min-width: 0; }
.card-grid { display: grid; gap: 12px; }
.site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.website-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; min-height: 148px; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-align: left; box-shadow: var(--shadow); transition: transform 140ms ease, border-color 140ms ease; }
a.card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.card > strong { margin: 11px 0 4px; font-size: 1.08rem; letter-spacing: -.025em; }
.card > span:not(.feature-icon):not(.card-top):not(.management-statuses) { color: var(--muted); font-size: .84rem; }
.card small { display: block; margin-top: auto; padding-top: 13px; color: var(--muted); font-size: .76rem; }
.card small b { float: right; color: var(--ink); }
.feature-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--surface-subtle); color: var(--accent); font-size: 1.2rem; }
.quiet-card { border-style: dashed; background: transparent; box-shadow: none; }
.quiet-card .feature-icon { color: var(--quiet); }
.service-card { min-height: 148px; }
.overview-site-shell { position: relative; display: flex; min-width: 0; }
.overview-site-card { width: 100%; padding-bottom: 52px; }
.overview-site-card.unavailable { opacity: .52; box-shadow: none; }
.site-card-controls { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.site-card-control { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: .68rem; font-weight: 650; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.site-card-control:hover { border-color: var(--line-strong); }
.site-card-control.disabled { cursor: default; opacity: .42; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.card-top strong { font-size: 1rem; }
.website-card { min-height: 148px; }
.website-card .card-top { margin-bottom: 9px; }
.management-statuses { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--line); }
.management-statuses > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 8px 10px; background: var(--surface-subtle); }
.management-statuses b { color: var(--ink); font-size: .72rem; font-weight: 600; }
.management-statuses em { flex: 0 0 auto; font-style: normal; }
.access-tag { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 999px; background: color-mix(in srgb, var(--green) 12%, var(--surface)); color: color-mix(in srgb, var(--green) 75%, var(--ink)); font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.access-tag.private { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); color: var(--accent); }
.management-note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 34px 0 22px; }
.view-heading h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: .98; letter-spacing: -.052em; }
.primary-button, button.primary { display: inline-block; min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--radius-small); background: var(--ink); color: var(--canvas); font-weight: 680; }
.primary-button:hover, button.primary:hover { opacity: .88; }
button.secondary, button.danger, .actions button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--surface-subtle); color: var(--accent); font-size: .76rem; font-weight: 650; }
button.danger { color: var(--red); }
button:disabled { cursor: not-allowed; opacity: .45; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--quiet); font-size: .68rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 6px; }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.history-heading > div > h2 { margin-bottom: 0; }
.danger-zone { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; }
.danger-zone h2 { margin-bottom: 6px; }
.danger-zone p { max-width: 720px; margin-bottom: 0; }
.danger-zone > small { grid-column: 2; color: var(--quiet); font-size: .7rem; text-align: right; }
.mono { font: .76rem/1.45 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.muted, .loading { color: var(--muted); }
.empty { min-height: 150px; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.back-button { margin: 30px 0 0; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .82rem; }
.back-button:hover { color: var(--ink); }
.site-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.settings-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.settings-panel h2 { margin-bottom: 6px; font-size: 1.3rem; letter-spacing: -.035em; }
.settings-panel .actions { flex-wrap: wrap; margin-top: 18px; }
.route-settings { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 2fr) auto; align-items: end; gap: 18px; margin-top: 12px; }
.route-settings h2 { margin-bottom: 5px; }
.route-settings p { margin: 0; font-size: .75rem; line-height: 1.45; }
.route-settings-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.route-settings-fields label { margin: 0; }
.route-settings-fields input { min-height: 41px; }
.route-save { min-height: 41px; white-space: nowrap; }
.environment-panel { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.environment-panel > div:first-child { flex: 1; }
.panel-action { display: flex; align-items: center; justify-content: space-between; width: calc(100% + 36px); min-height: 43px; margin: 18px -18px 0; padding: 10px 18px; border: 0; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); color: var(--accent); font-size: .76rem; font-weight: 680; text-align: left; }
.panel-action:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.panel-action b { font-size: 1rem; font-weight: 500; }
.website-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.launch-button { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: .72rem; font-weight: 650; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.launch-button:hover:not(.disabled) { border-color: var(--line-strong); }
.launch-button b { color: var(--accent); }
.launch-button.disabled { cursor: default; opacity: .4; }
.environment-switches { display: grid; gap: 1px; margin-top: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--line); }
.setting-switch { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin: 0; padding: 9px 10px; background: var(--surface-subtle); color: var(--ink); font-size: .74rem; cursor: pointer; }
.setting-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.setting-switch i { position: relative; width: 31px; height: 18px; border-radius: 999px; background: var(--line-strong); transition: background 140ms ease; }
.setting-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform 140ms ease; }
.setting-switch input:checked + i { background: var(--green); }
.setting-switch input:checked + i::after { transform: translateX(13px); }
.setting-switch input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 2px; }
.settings-list { display: grid; gap: 9px; margin: 14px 0 0; }
.settings-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.settings-list dt { color: var(--quiet); font-size: .72rem; }
.settings-list dd { min-width: 0; margin: 0; overflow: hidden; color: var(--ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
#notice { margin-top: 20px; padding: 11px 13px; border-radius: var(--radius-small); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); }
dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
dialog::backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(5px); }
dialog:focus { outline: none; }
dialog form { padding: 28px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; }
.dialog-head h2 { margin-bottom: 0; font-size: 28px; }
.icon { padding: 0 3px; border: 0; background: transparent; color: var(--quiet); font-size: 28px; }
.steps { display: flex; gap: 9px; margin: 12px 0 25px; color: var(--quiet); font-size: .75rem; }
.steps span { padding: 6px 10px; border-radius: 999px; background: var(--canvas); }
.steps .selected { color: var(--accent); }
.steps .complete { color: var(--green); }
.wizard-page { min-height: 172px; }
.source-switch { display: block; margin: 0 0 20px; padding: 0; border: 0; }
.source-switch > .source-title { display: block; margin: 0 0 8px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.source-options { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
.source-switch label { display: block; margin: 0; cursor: pointer; }
.source-switch input { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; pointer-events: none; }
.source-switch span { display: block; padding: 7px 12px; border-radius: 7px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.source-switch input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.source-switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-title { position: relative; display: inline-block; width: max-content; max-width: 100%; white-space: nowrap; }
.field-title::before { content: attr(data-tooltip) / ""; position: absolute; z-index: 60; bottom: calc(100% + 6px); left: 0; width: max-content; max-width: min(240px, calc(100vw - 64px)); padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--ink); color: var(--canvas); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); font-size: .67rem; font-weight: 500; line-height: 1.3; opacity: 0; pointer-events: none; transform: translateY(2px); transition: opacity 100ms ease, transform 100ms ease; white-space: normal; }
.field-title:hover::before { opacity: 1; transform: translateY(0); transition-delay: 500ms; }
.field-title:focus-visible::before { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.repository-auth { margin-top: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface-subtle); }
.repository-auth .check { margin-bottom: 10px; color: var(--ink); }
.repository-auth .grid label { margin-bottom: 0; }
.auth-note { margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
.auth-note a { color: var(--accent); font-weight: 650; }
.credential-note { display: block; margin-top: 9px; color: var(--quiet); font-size: .7rem; }
.form-section { min-width: 0; margin: 0 0 18px; padding: 15px 15px 2px; border: 1px solid var(--line); border-radius: var(--radius-small); }
.form-section:last-child { margin-bottom: 0; }
.form-section > legend { padding: 0 7px; color: var(--quiet); font-size: .67rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.form-section .toggles { margin-bottom: 12px; }
.route-mode { margin-bottom: 5px; color: var(--ink); }
.route-mode-note { display: block; margin: 0 0 14px 25px; color: var(--quiet); font-size: .7rem; }
label { display: grid; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: .78rem; font-weight: 650; }
input, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); outline: 0; background: var(--surface); color: var(--ink); font-size: .9rem; }
input:focus, select:focus { border-color: var(--accent); }
input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .7rem; font-weight: 500; }
.grid { display: grid; gap: 13px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.check, .checkbox-row { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input, .checkbox-row input { width: 17px; height: 17px; }
.toggles { display: flex; gap: 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 12px; }
.inspection { padding: 14px; border-radius: var(--radius-small); background: var(--surface-subtle); color: var(--muted); }
.scan-status { margin-top: 14px; font-size: .78rem; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--line); }
.review-item { min-width: 0; padding: 14px; background: var(--surface); }
.review-item span { display: block; margin-bottom: 4px; color: var(--quiet); font-size: .68rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.review-item strong { display: block; overflow: hidden; font-size: .82rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.site-review { display: grid; gap: 12px; }
.review-overview, .review-next { padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface-subtle); }
.review-overview h3 { margin: 0 0 2px; font-size: 1.12rem; letter-spacing: -.025em; }
.review-repository { margin: 0 0 12px; overflow: hidden; color: var(--quiet); font: .68rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.deployment-addresses { border-block: 1px solid var(--line); }
.deployment-addresses > div { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
.deployment-addresses > div + div { border-top: 1px solid var(--line); }
.deployment-addresses span { color: var(--muted); font-size: .73rem; }
.deployment-addresses code { overflow-wrap: anywhere; color: var(--ink); font: .74rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.review-overview .review-grid { margin-top: 12px; }
.review-next ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: next-step; }
.review-next li { display: grid; gap: 2px; padding: 9px; border-radius: 8px; background: var(--surface); counter-increment: next-step; }
.review-next li strong::before { content: counter(next-step) ". "; color: var(--accent); }
.review-next li strong { font-size: .75rem; }
.review-next li span { color: var(--muted); font-size: .69rem; line-height: 1.35; }
.review-checks { display: grid; gap: 1px; overflow: hidden; border-radius: 8px; background: var(--line); }
.review-checks p { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; margin: 0; padding: 7px 9px; background: var(--surface); font-size: .69rem; }
.review-checks p strong { color: var(--ink); }
.review-checks p span { color: var(--muted); }
.dialog-notice { margin: 14px 0 0; padding: 11px 13px; border-radius: var(--radius-small); background: color-mix(in srgb, var(--red) 8%, var(--surface)); color: var(--red); font-size: .82rem; }
.login-panel { width: min(480px, 100%); margin: 0 auto; padding: clamp(64px, 12vh, 110px) 0; border: 0; }
.login-panel h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: .95; letter-spacing: -.055em; }
.login-form { display: grid; gap: 10px; margin-top: 30px; }
.login-form > label:not(.checkbox-row) { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 650; }
.login-form input[type="password"] { height: 48px; padding: 0 14px; }
.checkbox-row { margin: 4px 0 8px; color: var(--muted); font-size: .84rem; }
.form-error { color: var(--red); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1120px) {
  .overview-columns { grid-template-columns: 1fr; gap: 0; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-settings { grid-template-columns: 1fr; align-items: start; }
  .route-save { justify-self: start; }
}
@media (max-width: 820px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: 1fr; }
  .dashboard-heading, .view-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .dashboard-state { justify-items: start; }
  .site-control-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --page-gutter: 16px; }
  .site-header { align-items: center; flex-direction: row; justify-content: flex-start; gap: 11px; min-height: 60px; padding: 0; }
  .mobile-menu-toggle { display: grid; place-content: center; gap: 3px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 7px; background: transparent; }
  .mobile-menu-toggle:hover { background: var(--surface-subtle); }
  .mobile-menu-toggle span { display: block; width: 15px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 140ms ease, opacity 140ms ease; }
  .navigation-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .navigation-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .navigation-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .wordmark { margin-right: auto; }
  .top-navigation { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: none; width: min(260px, calc(100vw - 32px)); gap: 2px; overflow: visible; padding: 7px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 48px rgba(0, 0, 0, .14); }
  .navigation-open .top-navigation { display: grid; }
  .top-navigation > button, .top-navigation > .site-menu > summary { width: 100%; padding: 10px 11px; border-radius: 8px; text-align: left; }
  .top-navigation > button:hover, .top-navigation > .site-menu > summary:hover { background: var(--surface-subtle); }
  .site-menu summary { justify-content: space-between; }
  .sign-out { margin-left: 0; }
  .site-menu-items { position: static; width: 100%; margin-top: 2px; border: 0; border-radius: 8px; box-shadow: none; transform: none; }
  .site-menu-items::before { display: none; }
  .metric-grid, .site-grid, .grid.two, .review-grid { grid-template-columns: 1fr; }
  .route-settings-fields { grid-template-columns: 1fr; }
  .deployment-addresses > div { grid-template-columns: 1fr; gap: 3px; }
  .review-next ol { grid-template-columns: 1fr; }
  .toggles { display: block; }
  .history-heading { align-items: flex-start; flex-direction: column; }
  .danger-zone { grid-template-columns: 1fr; }
  .danger-zone > small { grid-column: 1; text-align: left; }
  .website-heading-actions { justify-content: flex-start; }
  dialog form { padding: 21px; }
  .site-footer { align-items: flex-start; gap: 10px; }
  .footer-control { align-items: flex-end; flex-direction: column-reverse; }
}
