:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #dce3ee;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --brand: #2563eb;
  --brand-dark: #1e40af;
  --brand-soft: #eaf1ff;
  --warm: #f0b35b;
  --danger: #b63e3e;
  --shadow: 0 20px 60px rgba(23, 32, 51, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 11px 15px; color: white; background: var(--brand-dark); border-radius: 8px; font-weight: 750; text-decoration: none; transform: translateY(calc(-100% - 20px)); transition: transform .15s ease; }
.skip-link:focus { outline: 3px solid white; outline-offset: 2px; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }
.eyebrow { margin: 0 0 7px; color: var(--brand); font-size: 11px; font-weight: 750; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand-large { font-size: 20px; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--brand); border-radius: 10px; }

.auth-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr); }
.auth-intro { display: flex; padding: clamp(42px, 7vw, 100px); flex-direction: column; justify-content: center; background: radial-gradient(circle at 15% 20%, #eef4ff 0, transparent 38%), #e8eef8; }
.auth-intro h1 { max-width: 760px; margin: 24px 0 20px; font-size: clamp(42px, 5.3vw, 76px); font-weight: 750; letter-spacing: -.045em; line-height: .98; }
.lede { max-width: 620px; margin: 0; color: #536078; font-size: 18px; line-height: 1.65; }
.feature-list { display: grid; max-width: 700px; padding: 0; margin: 56px 0 0; gap: 0; list-style: none; }
.feature-list li { display: flex; padding: 18px 0; align-items: center; gap: 18px; border-top: 1px solid rgba(37, 99, 235, .18); font-weight: 650; }
.feature-list span { color: var(--brand); font-family: ui-monospace, monospace; font-size: 12px; }
.auth-panel { display: grid; padding: 38px; place-items: center; background: var(--surface); }
.auth-card { width: min(100%, 430px); }
.auth-tabs { display: grid; padding: 4px; margin-bottom: 44px; grid-template-columns: 1fr 1fr; background: var(--canvas); border-radius: 12px; }
.auth-tabs.single-tab { grid-template-columns: 1fr; }
.auth-tab { padding: 11px; color: var(--muted); background: transparent; border: 0; border-radius: 9px; font-weight: 700; }
.auth-tab.active { color: var(--ink); background: white; box-shadow: 0 2px 10px rgba(23, 32, 51, .08); }
.auth-recovery-link { justify-self: center; }
.auth-form-copy { margin: -4px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.recovery-key-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
#recovery-key-dialog .button { justify-content: center; }
.stack { display: grid; gap: 20px; }
.stack h2 { margin: 0; font-size: 27px; letter-spacing: -.025em; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
input, select { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #cbd5e1; border-radius: 9px; outline: none; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.hint { float: right; color: var(--muted); font-size: 11px; font-weight: 500; }
.button { display: inline-flex; min-height: 42px; padding: 10px 16px; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; }
.button:disabled, .icon-button:disabled { cursor: not-allowed; opacity: .55; }
.button-primary { color: white; background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-danger { color: var(--danger); background: #fff5f5; border-color: #f1cece; }
.form-error { min-height: 18px; margin: -4px 0 0; color: var(--danger); font-size: 13px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(37, 99, 235, .32); outline-offset: 3px; }
.form-error:focus { outline: none; }

.dashboard { display: grid; min-height: 100vh; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; padding: 24px 18px 18px; flex-direction: column; background: #edf2f9; border-right: 1px solid #d7e0ed; }
.primary-nav { display: grid; margin: 38px 0 30px; gap: 6px; }
.nav-item { display: flex; padding: 10px 11px; align-items: center; gap: 10px; color: #526078; background: transparent; border: 0; border-radius: 8px; text-align: left; }
.nav-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.active { color: var(--brand-dark); background: rgba(255, 255, 255, .7); font-weight: 750; }
.nav-item small { padding: 2px 5px; margin-left: auto; color: var(--muted); background: white; border-radius: 4px; font-size: 9px; }
.sidebar-heading { display: flex; padding: 0 8px 10px; align-items: center; justify-content: space-between; color: #7a8599; font-size: 10px; font-weight: 750; }
.icon-button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: 18px; }
.icon-button:hover { color: var(--ink); background: rgba(255, 255, 255, .8); }
.site-navigation { display: grid; gap: 4px; overflow: auto; }
.site-nav-item { display: flex; padding: 9px; align-items: center; gap: 9px; color: #526078; background: transparent; border: 0; border-radius: 8px; text-align: left; }
.site-nav-item.active { color: var(--ink); background: white; box-shadow: 0 4px 16px rgba(23, 32, 51, .06); }
.site-dot { width: 8px; height: 8px; background: #8b9690; border-radius: 50%; }
.site-dot-ready { background: #2d9c68; }
.site-dot-provisioning, .site-dot-deploying { background: #4d7fa8; }
.site-dot-failed { background: #c14a4a; }
.sidebar-footer { display: grid; padding-top: 16px; margin-top: auto; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 9px; border-top: 1px solid #d5dfec; }
.account-button { display: grid; min-width: 0; min-height: 44px; padding: 5px; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; color: inherit; background: transparent; border: 0; border-radius: 9px; text-align: left; }
.account-button:hover, .account-button.active { background: rgba(255, 255, 255, .8); }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: #334a73; border-radius: 50%; font-weight: 800; }
.user-summary { display: grid; min-width: 0; font-size: 12px; }
.user-summary span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.workspace { min-width: 0; }
.workspace-header { display: flex; min-height: 88px; padding: 18px 38px; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .75); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.workspace-header select { min-width: 220px; padding: 6px 28px 6px 0; background-color: transparent; border: 0; font-size: 17px; font-weight: 800; }
.header-actions { display: flex; gap: 10px; }
.workspace-content { padding: 38px; }
.empty-state { display: grid; min-height: calc(100vh - 180px); place-items: center; text-align: center; }
.empty-state > div { max-width: 500px; }
.empty-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 25px; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 22px; font-size: 32px; }
.empty-state h1 { margin: 0 0 10px; font-size: 32px; }
.empty-state p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.site-heading { display: flex; margin-bottom: 30px; align-items: flex-start; justify-content: space-between; gap: 20px; }
.site-heading h1 { margin: 0 0 8px; font-size: 34px; letter-spacing: -.035em; }
.site-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--muted); font-size: 13px; }
.site-meta a { color: var(--brand); }
.summary-grid { display: grid; margin-bottom: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.summary-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.summary-card span { color: var(--muted); font-size: 11px; font-weight: 750; }
.summary-card strong { display: block; margin-top: 8px; font-size: 20px; }
.section-heading { display: flex; margin: 0 0 13px; align-items: center; justify-content: space-between; }
.section-heading h2 { margin: 0; font-size: 18px; }
.deploy-form { display: flex; gap: 8px; }
.deploy-form input { min-width: 330px; }
.deploy-form select { width: 130px; }
.table-wrap { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 12px 16px; color: var(--muted); background: #f8fafc; font-size: 10px; text-align: left; }
td { padding: 14px 16px; border-top: 1px solid #e9eef5; }
.status { display: inline-flex; padding: 5px 8px; color: #536078; background: #eef2f7; border-radius: 999px; font-size: 10px; font-weight: 750; }
.status-live, .status-ready, .status-artifact_ready, .status-preview_ready { color: #12603f; background: #def2e7; }
.status-failed, .status-cancelled { color: #9e3434; background: #fae4e4; }
.status-building, .status-testing, .status-validating, .status-deploying { color: #805716; background: #fff0d8; }
.row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.environment-maintenance-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 14px; }
.row-button { display: inline-flex; min-height: 36px; padding: 7px 9px; align-items: center; justify-content: center; color: var(--brand); background: transparent; border: 0; border-radius: 6px; font-size: 11px; font-weight: 750; }
.row-button:hover { background: var(--brand-soft); }
.commit { font-family: ui-monospace, monospace; }
.sandbox-pill { padding: 9px 12px; color: #6f470c; background: #fff0d8; border: 1px solid #f0d19e; border-radius: 999px; font-size: 12px; font-weight: 800; }
.plan-inline { color: var(--brand-dark) !important; font-size: 12px; font-weight: 800; }
.environment-grid { display: grid; margin-bottom: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.environment-card { position: relative; min-width: 0; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.environment-card:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -21px; width: 27px; color: var(--brand); content: "→"; font-weight: 900; text-align: center; }
.environment-order { margin-bottom: 16px; color: var(--brand); font: 11px ui-monospace, monospace; }
.environment-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.environment-title h3 { margin: 0 0 3px; font-size: 18px; text-transform: capitalize; }
.environment-title span:not(.status) { display: block; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.environment-release { display: grid; padding: 16px 0; margin: 16px 0; gap: 5px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.environment-release span { color: var(--muted); font-size: 10px; font-weight: 750; }
.environment-release strong { font-family: ui-monospace, monospace; font-size: 13px; }
.environment-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.environment-actions a { text-decoration: none; }
.panel { padding: 22px; margin-bottom: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.panel .section-heading h2 { margin-top: 2px; }
.environment-release-status { display: grid; gap: 10px; }
.environment-release-status-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.environment-release-status h3 { margin: 2px 0 0; font-size: 18px; }
.environment-release-status p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.environment-release-status .text-link { justify-self: start; }
.release-progress { display: grid; gap: 14px; border-color: #cddded; background: linear-gradient(140deg, #fff 0%, #f6faff 100%); }
.release-progress .section-heading { margin-bottom: 0; }
.release-progress h3 { margin: 2px 0 0; font-size: 18px; }
.release-progress-copy { max-width: 760px; margin: -4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.release-progress-track { display: block; width: 100%; height: 8px; overflow: hidden; appearance: none; color: var(--brand); background: #dce7f2; border: 0; border-radius: 999px; }
.release-progress-track::-webkit-progress-bar { background: #dce7f2; border-radius: 999px; }
.release-progress-track::-webkit-progress-value { background: linear-gradient(90deg, #2563eb, #4b8cf5); border-radius: 999px; }
.release-progress-track::-moz-progress-bar { background: #2563eb; border-radius: 999px; }
.release-progress-phases { display: grid; padding: 0; margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; }
.release-progress-phase { display: grid; min-width: 0; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.release-progress-phase > span { display: grid; width: 22px; height: 22px; place-items: center; color: #6d7e92; background: #e5ecf4; border-radius: 50%; font-size: 10px; font-weight: 800; }
.release-progress-phase > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-progress-phase.complete, .release-progress-phase.current { color: var(--ink); }
.release-progress-phase.complete > span { color: #fff; background: #2563eb; }
.release-progress-phase.current > span { color: #174a9a; background: #cfe0fb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.release-progress-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.release-progress-foot .text-link { flex: 0 0 auto; }
.table-release-note { display: grid; gap: 3px; }
.table-release-note small { color: var(--muted); font-size: 10px; }
.finding-list { display: grid; gap: 8px; }
.finding { display: grid; padding: 11px 13px; grid-template-columns: 80px 1fr; gap: 10px; background: var(--canvas); border-radius: 8px; font-size: 12px; }
.finding strong { font-size: 10px; }
.finding-warning { color: #6f470c; background: #fff6e8; }
.finding-blocker { color: #8e3030; background: #fff0f0; }
.domain-row { display: grid; padding: 12px 0; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.domain-row div { display: grid; gap: 4px; }
.domain-row small { color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; }
.inline-form { display: flex; padding-top: 14px; gap: 8px; border-top: 1px solid var(--line); }
.modal { width: min(620px, calc(100vw - 30px)); padding: 28px; background: white; border: 0; border-radius: 16px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(21, 29, 25, .45); backdrop-filter: blur(3px); }
.modal-wide { width: min(900px, calc(100vw - 30px)); }
.modal-heading { display: flex; margin-bottom: 22px; align-items: flex-start; justify-content: space-between; }
.modal-heading h2 { margin: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-label { display: flex; padding-top: 27px; align-items: center; gap: 8px; font-weight: 550; }
.check-label input { width: auto; }
.check-label > span { display: grid; gap: 3px; }
.check-label small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }
.release-maintenance-options { display: grid; padding: 14px 16px; margin: 0; gap: 2px; border: 1px solid var(--line); border-radius: 10px; }
.release-maintenance-options legend { padding: 0 5px; color: var(--muted); font-size: 11px; font-weight: 750; }
.release-maintenance-options .check-label { padding-top: 5px; align-items: flex-start; }
.hint-block a { color: var(--brand); font-weight: 750; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.deployment-log { min-height: 380px; max-height: 65vh; padding: 18px; overflow: auto; color: #dbe7fb; background: #111c33; border-radius: 10px; font: 12px/1.6 ui-monospace, monospace; white-space: pre-wrap; }
.team-members { display: grid; margin-bottom: 22px; }
.team-member { display: grid; padding: 12px 0; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.team-member .avatar { width: 32px; height: 32px; font-size: 12px; }
.team-member-info { display: grid; font-size: 13px; }
.team-member-info span { color: var(--muted); font-size: 11px; }
.team-form { padding-top: 6px; }
.hint-block { margin: 0; color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 360px; padding: 12px 16px; color: white; background: #17233d; border-radius: 9px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.ops-body { min-height: 100vh; }
.ops-header { display: flex; min-height: 76px; padding: 18px 32px; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--line); }
.ops-layout { width: min(1180px, calc(100% - 36px)); margin: 36px auto; }
.ops-auth { width: min(620px, 100%); margin: 12vh auto; }
.ops-auth h1 { margin: 3px 0 10px; font-size: 34px; }
.ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ops-card { margin: 0; }
.ops-facts { display: flex; flex-wrap: wrap; margin: 14px 0; gap: 7px; }
.ops-facts span { padding: 5px 8px; color: var(--muted); background: var(--canvas); border-radius: 6px; font-size: 10px; font-weight: 700; }
.ops-sites { display: grid; min-height: 48px; margin-bottom: 14px; gap: 5px; }
.ops-sites a { color: var(--brand); font-size: 12px; font-weight: 700; text-decoration: none; }

@media (max-width: 850px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-intro { min-height: auto; padding: 24px 28px; }
  .auth-intro > .eyebrow { margin: 13px 0 0; }
  .auth-intro h1, .auth-intro .lede { display: none; }
  .feature-list { display: none; }
  .auth-panel { padding: 32px 24px; place-items: start center; }
  .dashboard { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; padding: 16px; }
  .primary-nav, .sidebar-heading, .site-navigation { display: none; }
  .sidebar-footer { position: absolute; top: 13px; right: 16px; width: 160px; padding: 0; border: 0; }
  .workspace-header { padding: 18px; align-items: flex-end; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .workspace-content { padding: 24px 18px; }
  .summary-grid { grid-template-columns: 1fr; }
  .environment-grid { grid-template-columns: 1fr; }
  .environment-card:not(:last-child)::after { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .deploy-form { width: 100%; flex-wrap: wrap; }
  .deploy-form input { min-width: 100%; }
  .table-wrap { overflow-x: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
}

/* Site management and environment workspace */
.site-shell { display: grid; gap: 22px; }
.site-shell-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 20px; background: white; border: 1px solid var(--line); border-radius: 15px 15px 0 0; }
.site-identity { display: grid; padding: 20px 22px 0; gap: 13px; }
.site-identity .back-link { justify-self: start; }
.site-identity > div { display: flex; align-items: center; gap: 12px; }
.site-identity > div > span:last-child { display: grid; gap: 2px; }
.site-identity h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.site-identity small { color: var(--muted); font-size: 10px; }
.site-cms-mark { display: grid; width: 38px; height: 38px; place-items: center; color: white; background: #347bb8; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 800; }
.site-shell-actions { display: flex; padding: 0 22px 13px 0; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.site-shell-actions .button { text-decoration: none; white-space: nowrap; }
.site-section-tabs { display: flex; padding: 0 22px; grid-column: 1/-1; gap: 24px; overflow-x: auto; border-top: 1px solid var(--line); }
.site-section-tabs button { position: relative; min-height: 48px; padding: 0; color: var(--muted); background: transparent; border: 0; white-space: nowrap; font-size: 12px; font-weight: 750; }
.site-section-tabs button.active { color: var(--brand-dark); }
.site-section-tabs button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; content: ""; }
.environment-workspace { display: grid; min-width: 0; gap: 18px; }
.site-environment-shell { display: grid; min-height: 650px; grid-template-columns: 205px minmax(0,1fr); align-items: start; gap: 18px; }
.environment-sidebar { position: sticky; top: 110px; display: grid; padding: 14px; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.environment-sidebar hr { width: 100%; margin: 11px 0; border: 0; border-top: 1px solid var(--line); }
.rail-label { padding: 5px 9px; color: #7a8599; font-size: 9px; font-weight: 750; }
.environment-select, .environment-tool { display: flex; min-width: 0; padding: 10px 9px; align-items: center; gap: 9px; color: #526078; background: transparent; border: 0; border-radius: 8px; text-align: left; }
.environment-select > span:last-child { display: grid; min-width: 0; gap: 2px; }
.environment-select strong { font-size: 12px; }.environment-select small { color: var(--muted); font-size: 9px; text-transform: capitalize; }
.environment-select.active, .environment-tool.active { color: var(--brand-dark); background: var(--brand-soft); }
.environment-tool { padding-left: 24px; font-size: 11px; font-weight: 700; }
.environment-main, .environment-page { display: grid; min-width: 0; gap: 18px; }
.connection-drawer { background: #17233d; border-radius: 12px; color: white; }
.connection-drawer summary { display: flex; padding: 15px 18px; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.connection-drawer summary::-webkit-details-marker { display: none; }
.connection-drawer summary > span:first-child { display: grid; gap: 3px; }.connection-drawer summary small { color: #b3c1d9; font-size: 10px; }.connection-drawer summary > span:last-child { color: #c8d8f6; font-size: 10px; font-weight: 750; }
.connection-grid { display: grid; padding: 0 18px 18px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.connection-grid > div { display: grid; min-width: 0; padding: 12px; gap: 5px; background: rgba(255,255,255,.07); border-radius: 8px; }
.connection-grid span { color: #b3c1d9; font-size: 9px; font-weight: 750; }
.connection-grid strong, .connection-grid a, .connection-grid code { overflow: hidden; color: white; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.connection-command { grid-column: 1/-1; grid-template-columns: minmax(0,1fr) auto !important; }.connection-command span { grid-column: 1/-1; }.connection-command .row-button { color: #d6e4ff; }
.connection-message { grid-column: 1/-1; }.connection-message small { color: #c5d0e4; font-size: 10px; line-height: 1.5; }.connection-message-error { background: rgba(178,62,62,.24) !important; }
.connection-message .row-button { margin-top: 5px; justify-self: start; color: #ffe0e0; }
.git-credential-panel { display: flex; padding: 14px 16px; margin: 0 18px 18px; align-items: center; justify-content: space-between; gap: 18px; color: #eef4ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); border-radius: 9px; }.git-credential-panel > div:first-child { min-width: 0; }.git-credential-panel strong { font-size: 12px; }.git-credential-panel p { margin: 4px 0 0; color: #c2cee2; font-size: 10px; line-height: 1.5; }.git-credential-ready { border-color: rgba(112,158,255,.4); background: rgba(37,99,235,.22); }
.git-credential-reveal { display: grid; align-items: stretch; background: #203050; }.git-credential-values { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }.git-credential-values > div { display: grid; min-width: 0; padding: 11px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; background: rgba(0,0,0,.18); border-radius: 7px; }.git-credential-values span { grid-column: 1/-1; color: #b3c1d9; font-size: 9px; font-weight: 750; }.git-credential-values code { overflow-wrap: anywhere; color: white; font-size: 10px; }.git-credential-values .row-button { color: #d6e4ff; }.git-credential-warning { padding: 9px 11px; color: #ffe7b6 !important; background: rgba(131,87,21,.28); border-radius: 7px; }.git-credential-reveal > .button { justify-self: start; }.git-credential-help { align-items: flex-start; background: rgba(255,255,255,.05); }.git-credential-help code { display: block; margin-top: 9px; overflow-wrap: anywhere; color: #eef4ff; font-size: 10px; line-height: 1.45; }.connection-help-link { display: block; margin: -4px 18px 18px; color: #c8d8f6; background: transparent; border: 0; font-size: 10px; font-weight: 750; text-align: left; }
.tool-intro { display: flex; min-height: 58px; align-items: flex-start; justify-content: space-between; gap: 20px; }
.tool-intro h3 { margin: 0 0 6px; font-size: 23px; letter-spacing: -.025em; }.tool-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }.tool-intro > span { color: var(--muted); font-size: 11px; }
.big-status { display: grid; margin-top: 25px; gap: 12px; }.big-status strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.environment-open-link { color: var(--brand); font-size: 12px; font-weight: 800; text-decoration: none; }
.large-value { display: block; margin-top: 25px; font-size: 22px; }
.revision-list { display: grid; }
.revision-card { display: grid; padding: 15px 0; grid-template-columns: 90px minmax(0,1fr) auto auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.revision-card:first-child { border-top: 0; }.revision-main { display: grid; min-width: 0; gap: 7px; }.revision-main > div:first-child { display: grid; gap: 3px; }.revision-main strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.revision-main span, .revision-main small { color: var(--muted); font-size: 11px; }.revision-main small { line-height: 1.5; }
.revision-meta { display: flex; gap: 10px; }.revision-meta code { color: var(--brand-dark); font-size: 10px; }.revision-meta span { padding: 2px 5px; background: var(--canvas); border-radius: 4px; }
.compact-code-empty { padding: 24px 16px; background: #fbfcfb; border: 1px dashed var(--line); border-radius: 9px; }
.history-count { color: var(--muted); font-size: 11px; }
.deployment-state { display: grid; justify-items: start; gap: 5px; }.deployment-state small { max-width: 190px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.rollback-panel { display: flex; margin: 0; align-items: center; justify-content: space-between; gap: 24px; }
.rollback-panel h3 { margin: 3px 0 5px; }.rollback-panel .empty-copy { margin: 0; }
.rollback-control { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.empty-tool, .backup-empty { display: grid; padding: 42px 20px; place-items: center; text-align: center; }.empty-tool p, .backup-empty p { max-width: 560px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }.backup-empty .button { margin-top: 18px; }
.backup-action-panel, .backup-schedule { display: flex; align-items: center; justify-content: space-between; gap: 24px; }.backup-action-panel > div, .backup-schedule > div { min-width: 0; }.backup-action-panel h3, .backup-schedule h3 { margin: 4px 0 6px; }.backup-action-panel .button { flex: 0 0 auto; }
.backup-list { padding: 8px 22px; }.backup-list > .section-heading { padding: 9px 0 5px; }.backup-row { display: grid; padding: 16px 0; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; border-top: 1px solid var(--line); }.backup-row-main { display: grid; min-width: 0; gap: 5px; }.backup-row-main > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.backup-row-main small { color: var(--muted); font-size: 10px; }.backup-badges { display: flex; flex: 0 0 auto; gap: 6px; }
.backup-action-control { display: grid; flex: 0 0 min(250px, 40%); justify-items: stretch; gap: 7px; }
.control-help { max-width: 280px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.operation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.operation-card { display: flex; min-height: 260px; margin: 0; flex-direction: column; align-items: flex-start; }.operation-card h3 { margin: 17px 0 7px; }.operation-card p { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }.operation-card .button { width: 100%; margin-top: auto; }
.operation-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 18px; }
.content-action-card { min-height: 330px; }.content-card-heading { display: flex; width: 100%; margin-top: 15px; align-items: flex-start; justify-content: space-between; gap: 10px; }.content-card-heading h3 { margin: 0; }.content-action-form { width: 100%; flex: 1; align-content: start; }.content-action-form label { font-size: 10px; }.content-action-form input, .content-action-form select { width: 100%; }.content-action-form .button { align-self: end; }.content-copy-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.compact-check { padding-top: 0; align-items: flex-start; }.compact-check input { width: auto; margin-top: 2px; }.compact-check small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.35; }.confirmation-field { padding-top: 10px; border-top: 1px solid var(--line); }.content-form-status { min-height: 15px; margin: 0 !important; color: var(--brand-dark) !important; font-size: 10px !important; }.content-action-form .form-error { margin: 0; }.content-action-form[aria-busy="true"] { opacity: .72; }
.content-transfer-history { padding: 10px 22px; }.content-transfer-history > .section-heading { padding: 10px 0 5px; }.content-transfer-list { display: grid; }.content-transfer-row { display: grid; padding: 15px 0; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 14px; border-top: 1px solid var(--line); }.content-transfer-row:first-child { border-top: 0; }.content-transfer-row.has-error { color: var(--danger); }.content-transfer-main { display: grid; min-width: 0; gap: 4px; }.content-transfer-main strong { font-size: 12px; }.content-transfer-main small { color: var(--muted); font-size: 10px; }.content-operation-error { margin: 3px 0 0; color: var(--danger); font-size: 10px; line-height: 1.45; }.content-download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.notice-card.neutral { color: var(--ink); background: #eef2ef; }.notice-card.neutral p { color: var(--muted); }
.empty-icon.small { width: 48px; height: 48px; margin: 0 0 12px; border-radius: 13px; font-size: 20px; }.empty-icon.success { color: #187149; background: #dff3e9; }
.incident-list { padding: 10px 22px; }.incident-row { display: grid; padding: 14px 0; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.incident-row:first-child { border-top: 0; }.incident-row > div { display: grid; gap: 3px; }.incident-row small { color: var(--muted); font-size: 10px; }.activity-icon.error { color: #9e3434; background: #fae4e4; }
.site-page-narrow { display: grid; width: min(100%, 980px); gap: 18px; }
.site-loading { display: flex; width: min(100%, 720px); min-height: 140px; align-items: center; gap: 16px; }
.loading-mark { width: 24px; height: 24px; flex: 0 0 auto; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: loading-spin .8s linear infinite; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-mark { animation: none; border-top-color: var(--brand-soft); background: var(--brand); } }
.configuration-list { padding: 4px 22px; }.configuration-row { display: grid; padding: 15px 0; grid-template-columns: 180px minmax(0,1fr) auto; align-items: center; gap: 15px; border-top: 1px solid var(--line); }.configuration-row:first-child { border-top: 0; }.configuration-row > span { color: var(--muted); font-size: 11px; }.configuration-row > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.migration-assessment { display: grid; gap: 18px; }
.migration-assessment > .section-heading { margin-bottom: 0; }
.migration-assessment .finding-list { display: grid; padding: 0; margin: 0; gap: 10px; list-style: none; }
.migration-assessment .finding-list li { display: grid; padding: 12px 14px; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 10px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; }
.migration-assessment .finding-list li > span { display: grid; width: 22px; height: 22px; place-items: center; color: #12603f; background: #def2e7; border-radius: 50%; font-weight: 850; }
.migration-assessment .finding-list li > p { margin: 2px 0 0; line-height: 1.45; }
.migration-assessment .finding-list .finding-warning > span { color: #805716; background: #fff0d8; }
.migration-assessment .finding-list .finding-blocker > span { color: #9e3434; background: #fae4e4; }
.status-compatible { color: #12603f; background: #def2e7; }
.status-unsupported { color: #9e3434; background: #fae4e4; }
.native-preview-toolbar { display: flex; margin-bottom: 0; align-items: flex-end; justify-content: space-between; gap: 20px; }
.native-preview-selection { display: grid; min-width: min(100%, 300px); gap: 7px; }.native-preview-selection label { font-size: 11px; font-weight: 750; }.native-preview-selection small { color: var(--muted); font-size: 11px; }
.native-preview-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.native-preview-stage { display: grid; min-height: 760px; padding: 32px; place-items: center; background: radial-gradient(circle at 50% 15%, #f3f7ff 0, #e4edfc 40%, #d2dff4 100%); border: 1px solid var(--line); border-radius: 18px; }
.native-phone-frame { display: grid; width: min(100%, 390px); height: 720px; padding: 28px 10px 10px; position: relative; background: #17243a; border: 1px solid #314867; border-radius: 34px; box-shadow: 0 24px 60px rgba(19,46,88,.3); }
.native-phone-speaker { width: 72px; height: 5px; position: absolute; top: 11px; left: 50%; background: #7185a3; border-radius: 999px; transform: translateX(-50%); }
.native-phone-frame iframe { width: 100%; height: 100%; background: white; border: 0; border-radius: 24px; transition: opacity .15s ease; }
.native-phone-frame iframe.is-loading { opacity: .25; }
.native-preview-loading { display: grid; z-index: 2; position: absolute; inset: 28px 10px 10px; place-content: center; justify-items: center; gap: 12px; color: #dce8ff; background: #1b2c47; border-radius: 24px; font-size: 12px; }
.native-preview-limitations { margin-top: 0; }
.native-integration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.native-integration-card { display: grid; min-height: 180px; margin: 0; align-content: start; gap: 12px; }
.native-integration-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.native-integration-card-heading > span:first-child { color: var(--muted); font-size: 9px; font-weight: 750; }
.native-integration-card > strong { font-size: 20px; }.native-integration-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.native-integration-environments { margin: 0; }
.native-integration-environment-list { display: grid; gap: 0; }
.native-integration-environment { display: grid; padding: 14px 0; grid-template-columns: minmax(140px,.7fr) minmax(220px,1.3fr) auto auto; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.native-integration-environment.active { margin: 0 -10px; padding-right: 10px; padding-left: 10px; background: #f5faf7; border-radius: 8px; }
.native-integration-environment > div { display: grid; gap: 3px; }.native-integration-environment small, .native-integration-environment > p { color: var(--muted); font-size: 11px; }.native-integration-environment > p { margin: 0; line-height: 1.5; }
.site-refresh-status { margin: 16px 20px 0; }
.danger-zone, .deletion-state { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: start; gap: 28px; padding: 22px; }
.danger-zone { border-color: #edcccc; background: #fffafa; }
.danger-zone.has-error { border-color: #e3b8b8; box-shadow: inset 3px 0 0 var(--danger); }
.danger-zone h3, .deletion-state h3 { margin: 2px 0 8px; }
.danger-zone-copy > p:last-child, .deletion-state p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.deletion-form { display: grid; gap: 10px; }
.deletion-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 650; }
.deletion-form input { width: 100%; }
.deletion-form small { color: var(--muted); }
.deletion-form .form-error { margin: 0; }
.deletion-state { align-items: center; border-color: #cbddeb; background: #f7fbff; }
.deletion-state > .status { justify-self: end; }
.addon-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.addon-card { display: grid; min-height: 270px; margin: 0; align-content: start; gap: 12px; }
.addon-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.addon-card h3 { margin: 2px 0 0; }
.addon-card > p { min-height: 40px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.addon-impact { display: grid; padding: 11px 12px; gap: 4px; background: var(--canvas); border-radius: 8px; }
.addon-impact strong { font-size: 10px; }.addon-impact span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.addon-card > small { display: block; max-width: none; font-size: 11px; line-height: 1.5; }
.addon-unavailable { padding: 9px 10px; color: #805716; background: #fff0d8; border-radius: 7px; font-size: 11px; }
.addon-card > .hint-block { min-height: 0; margin: 0; }
.addon-card .button { width: 100%; margin-top: auto; }
.history-panel { padding: 10px 22px; }
.status-pending, .status-review_required, .status-attention { color: #805716; background: #fff0d8; }.status-deployed, .status-healthy, .status-included, .status-automatic, .status-clear { color: #12603f; background: #def2e7; }.status-queued { color: #345f83; background: #e1edf7; }.status-not_connected, .status-not_available { color: #5f6763; background: #ecefed; }

@media (max-width: 1100px) {
  .site-environment-shell { grid-template-columns: 180px minmax(0,1fr); }.connection-grid { grid-template-columns: 1fr 1fr; }.operation-grid { grid-template-columns: 1fr; }.operation-card { min-height: 210px; }
  .revision-card { grid-template-columns: 80px minmax(0,1fr) auto; }.revision-card > .button { grid-column: 2/-1; justify-self: start; }
  .native-integration-environment { grid-template-columns: minmax(130px,.7fr) minmax(180px,1.3fr) auto; }.native-integration-environment > .row-button { grid-column: 2/-1; justify-self: start; }
}

@media (max-width: 850px) {
  .site-shell-header { grid-template-columns: 1fr; }.site-shell-actions { padding: 0 20px 14px; justify-content: flex-start; }.site-section-tabs { margin-top: 4px; }
  .site-environment-shell { grid-template-columns: 1fr; }.environment-sidebar { position: static; display: flex; overflow-x: auto; }.environment-sidebar hr, .environment-sidebar .rail-label { display: none; }.environment-select, .environment-tool { min-width: max-content; }.environment-tool { padding: 10px; }.environment-main { min-width: 0; }
  .connection-grid, .addon-grid { grid-template-columns: 1fr; }.connection-command { grid-column: auto; }.environment-summary-grid { grid-template-columns: 1fr; }
  .revision-card { grid-template-columns: 1fr; }.revision-card > .button { grid-column: auto; }.configuration-row { grid-template-columns: 1fr; gap: 5px; }
  .rollback-panel, .release-recovery { align-items: flex-start; flex-direction: column; }
  .native-integration-grid { grid-template-columns: 1fr; }
  .rollback-control { width: 100%; justify-content: space-between; }
  .native-integration-environment { grid-template-columns: minmax(0,1fr) auto; }.native-integration-environment > p { grid-column: 1/-1; }.native-integration-environment > .row-button { grid-column: 1/-1; justify-self: start; }
  .danger-zone, .deletion-state { grid-template-columns: 1fr; }
  .deletion-state > .status { justify-self: start; }
}

/* Workspace-first dashboard */
.workspace-switcher { display: grid; margin: 28px 0 8px; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }
.workspace-switcher-heading { display: flex; min-height: 18px; align-items: center; justify-content: space-between; gap: 8px; }
.workspace-help-button { display: grid; width: 18px; height: 18px; padding: 0; place-items: center; color: #536078; background: rgba(255,255,255,.8); border: 1px solid rgba(37,99,235,.18); border-radius: 50%; font-size: 11px; font-weight: 850; line-height: 1; }
.workspace-help-button:hover { color: var(--brand-dark); background: white; border-color: rgba(37,99,235,.42); }
.workspace-switcher select { padding: 9px 26px 9px 10px; background: rgba(255,255,255,.72); border-color: rgba(37,99,235,.14); font-size: 12px; font-weight: 750; }
.workspace-create-button { width: fit-content; min-height: 30px; padding: 3px 0; color: var(--brand); background: transparent; border: 0; font-size: 11px; font-weight: 800; text-align: left; }
.workspace-create-button:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.workspace-help-copy { display: grid; gap: 13px; }
.workspace-help-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.workspace-help-copy p:first-child { color: var(--ink); font-size: 14px; font-weight: 650; }
#workspace-limit-notice { margin-top: 0; line-height: 1.55; }
.primary-nav { margin: 14px 0 24px; }
.sidebar-link { padding: 10px 9px; color: var(--brand); background: transparent; border: 0; text-align: left; font-size: 11px; font-weight: 750; }
.sidebar-plan { display: grid; padding: 13px; margin-top: auto; gap: 9px; background: rgba(255,255,255,.72); border: 1px solid rgba(20,107,75,.1); border-radius: 11px; }
.sidebar-plan > div:first-child { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.sidebar-plan span { color: var(--muted); }
.sidebar-plan button { padding: 0; color: var(--brand); background: transparent; border: 0; text-align: left; font-size: 11px; font-weight: 800; }
.sidebar-footer { margin-top: 12px; }
.workspace-header { position: sticky; z-index: 5; top: 0; }
.workspace-header h1 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.page-stack { display: grid; gap: 26px; }
.welcome-row, .page-intro, .site-toolbar, .plan-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.welcome-row { padding: 30px; color: white; background: linear-gradient(125deg, #1e3a8a, #2563eb); border-radius: 18px; overflow: hidden; }
.welcome-row .eyebrow { color: #aee2ca; }
.welcome-row h2, .page-intro h2, .plan-hero h2 { margin: 0 0 7px; font-size: 28px; letter-spacing: -.035em; }
.welcome-row p:not(.eyebrow), .page-intro p, .plan-hero p { margin: 0; color: inherit; opacity: .78; }
.welcome-actions { display: flex; gap: 9px; }
.welcome-row .button-secondary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: white; }
.welcome-row .button-primary { color: var(--brand-dark); background: white; }
.limit-inline { display: flex; min-height: 42px; padding: 8px 12px; align-items: center; gap: 10px; color: #68420c; background: #fff4df; border: 1px solid #efd3a5; border-radius: 9px; font-size: 11px; font-weight: 750; }
.limit-inline .text-link { min-height: 24px; }
.welcome-row .limit-inline { color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.welcome-row .limit-inline .text-link { color: white; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.metric-card { min-width: 0; padding: 19px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.metric-card > span { display: block; color: var(--muted); font-size: 10px; font-weight: 750; }
.metric-card > strong { display: block; margin: 7px 0 3px; font-size: 22px; }
.metric-card > small { display: block; color: var(--muted); }
.metric-card .text-link { margin-top: 9px; }
.text-link, .card-link, .back-link { display: inline-flex; min-height: 32px; padding: 4px 0; align-items: center; color: var(--brand); background: transparent; border: 0; font-size: 12px; font-weight: 800; }
.attention-panel { display: flex; padding: 16px 18px; align-items: center; gap: 18px; color: #68420c; background: #fff4df; border: 1px solid #efd3a5; border-radius: 12px; }
.attention-panel > div { display: flex; min-width: 0; flex: 1; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.attention-panel > div span::before { content: "• "; }
.section-heading h3 { margin: 0; font-size: 18px; }
.site-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.site-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 15px; transition: transform .15s, box-shadow .15s; }
.site-card:hover { box-shadow: 0 12px 35px rgba(25,47,37,.1); transform: translateY(-2px); }
.site-thumbnail { position: relative; display: grid; height: 150px; padding: 18px; align-content: space-between; color: white; background: linear-gradient(135deg,#285f50,#8bc3a7); }
.thumb-1 { background: linear-gradient(135deg,#394b72,#9bb2e2); }.thumb-2 { background: linear-gradient(135deg,#755237,#deb484); }.thumb-3 { background: linear-gradient(135deg,#67446c,#d39ec9); }
.site-thumbnail-mark { display: grid; width: 43px; height: 43px; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 11px; font-size: 20px; font-weight: 850; }
.site-thumbnail-domain { overflow: hidden; font-size: 10px; opacity: .78; text-overflow: ellipsis; white-space: nowrap; }
.site-card-body { padding: 17px; }
.site-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.site-card-title h3 { margin: 0 0 4px; font-size: 17px; }.site-card-title p { margin: 0; color: var(--muted); font-size: 10px; }
.assessment-card-note { display: grid; padding: 14px 0; margin: 14px 0; gap: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assessment-card-note strong { font-size: 11px; }
.assessment-card-note span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.health-dot { display: inline-block; width: 7px; height: 7px; background: #8b9690; border-radius: 50%; }.health-good { background: #2d9c68; }.health-warn { background: #da8e2d; }.health-bad { background: #c14a4a; }.health-neutral { background: #6f8190; }
.activity-list { display: grid; }
.activity-item { display: grid; padding: 13px 0; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.activity-item:first-child { border-top: 0; }
.activity-icon { display: grid; width: 26px; height: 26px; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 10px; font-weight: 900; }
.activity-item > div { display: grid; gap: 3px; font-size: 12px; }.activity-item small, .activity-item time { color: var(--muted); font-size: 10px; }
.empty-copy { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-page { width: min(100%, 900px); }
.account-tabs { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; padding: 4px; gap: 3px; background: var(--canvas); border: 1px solid var(--line); border-radius: 11px; }
.account-tabs button { min-height: 34px; padding: 0 12px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font: inherit; font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.account-tabs button:hover { color: var(--ink); background: #f4f7fb; }.account-tabs button.active { color: white; background: var(--brand); box-shadow: 0 1px 2px rgb(17 66 128 / 20%); }
.account-section-panel { display: grid; align-items: start; }.account-section-panel > .panel, .account-section-panel > form { width: min(100%, 650px); margin: 0; }
.account-form { margin: 0; }
.account-form h3 { margin: 0; font-size: 20px; }
.account-form .button { justify-self: start; }
.account-form input[readonly] { color: var(--muted); background: var(--canvas); cursor: not-allowed; }
.account-feedback { padding: 12px 15px; margin: 0; color: #12603f; background: #e2f3e9; border: 1px solid #c2e4d1; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.account-feedback-error { color: #8a3232; background: #fae8e8; border-color: #efcaca; }
.account-git-passwords { display: grid; margin: 0; grid-column: 1 / -1; gap: 16px; }
.account-git-passwords > .section-heading { margin: 0; align-items: flex-start; }
.account-git-passwords h3 { margin: 0; font-size: 20px; }
.account-git-password-list { display: grid; border-top: 1px solid var(--line); }
.account-git-password-row { display: grid; padding: 15px 0; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.account-git-password-row > div { display: grid; min-width: 0; gap: 4px; }
.account-git-password-row small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.account-git-reveal { display: grid; padding: 16px; gap: 13px; color: white; background: #203050; border-radius: 11px; }
.account-git-reveal p { margin: 5px 0 0; color: #c7d2e5; font-size: 11px; line-height: 1.5; }
.account-git-reveal > .button { justify-self: start; }
.account-git-loading { display: flex; min-height: 90px; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; }
.account-git-load-error { margin: 0; }
.account-git-load-error .button { margin-top: 10px; }
.account-git-empty { padding: 24px 16px; border-top: 1px solid var(--line); }
.account-git-help { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.empty-state.compact { min-height: 370px; background: white; border: 1px dashed #cbd5ce; border-radius: 15px; }
.member-list { padding: 0 22px; }
.member-row { display: grid; padding: 17px 0; grid-template-columns: 38px minmax(0,1fr) minmax(230px,auto) 130px; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.member-row:first-child { border-top: 0; }.member-main { display: grid; gap: 2px; font-size: 13px; }.member-main span, .member-main small, .member-row time { color: var(--muted); font-size: 10px; }
.member-controls { display: flex; align-items: end; justify-content: flex-end; gap: 8px; }
.member-role-field { width: min(180px, 100%); gap: 3px; }
.member-role-field > span { color: var(--muted); font-size: 9px; }
.member-role-field select { min-height: 34px; padding: 6px 28px 6px 9px; font-size: 11px; }
.member-action-error { display: none; grid-column: 2 / -1; margin: 0; color: var(--danger); font-size: 11px; }
.member-action-error:not(:empty) { display: block; }
.member-row[aria-busy="true"] { opacity: .68; }
.seat-summary { display: grid; padding: 18px 20px; grid-template-columns: minmax(170px,.5fr) minmax(200px,1fr) auto; align-items: center; gap: 20px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.seat-summary > div:first-child { display: grid; gap: 3px; font-size: 13px; }.seat-summary > div:first-child span { color: var(--muted); font-size: 10px; }
.usage-progress { display: block; width: 100%; height: 6px; overflow: hidden; appearance: none; color: var(--brand); background: #dce4f0; border: 0; border-radius: 99px; }
.usage-progress::-webkit-progress-bar { background: #dce4f0; border-radius: 99px; }
.usage-progress::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
.usage-progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.role-guide { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.role-guide p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }.role-guide > span { color: var(--brand); font-size: 11px; font-weight: 750; }
.site-role-guide { display: grid; gap: 14px; }.site-role-guide > .section-heading, .site-role-guide > .empty-copy, .site-role-guide > .fact-list { width: 100%; margin: 0; }.site-role-guide .fact-list div { min-width: 0; align-items: flex-start; }.site-role-guide .fact-list strong { max-width: 62%; overflow-wrap: anywhere; white-space: normal; }
.release-history-panel { display: grid; gap: 14px; }.release-history-panel > .empty-copy { margin: 0; }.release-recovery { display: flex; padding: 15px 0 0; margin-top: 4px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }.release-recovery h4 { margin: 0; font-size: 13px; }.release-recovery p { max-width: 640px; margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.plan-hero { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 16px; }.plan-hero h2 { font-size: 34px; }
.usage-list { display: grid; gap: 20px; }.usage-line { display: grid; gap: 9px; }.usage-line > div:first-child { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }.usage-line span { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.feature-grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.plan-options { display: grid; gap: 14px; }
.plan-options > .section-heading { margin-bottom: 0; }
.plan-comparison { overflow-x: auto; }
.plan-comparison table { min-width: 760px; }
.plan-comparison th, .plan-comparison td { min-width: 125px; text-align: center; }
.plan-comparison th:first-child { position: sticky; left: 0; z-index: 1; min-width: 175px; text-align: left; background: #f8fafc; }
.plan-comparison tbody th { border-top: 1px solid #e9eef5; font-size: 11px; }
.plan-comparison .current-plan-column { background: #f1f6ff; }
.current-plan-label { display: block; width: max-content; padding: 3px 7px; margin: 5px auto 0; color: var(--brand-dark); background: #dbe8ff; border-radius: 99px; font-size: 9px; }
.plan-change-note { display: grid; gap: 3px; }
.plan-change-note .text-link { justify-self: start; margin-top: 5px; }
.help-page { width: min(100%, 1100px); }
.help-hero { padding: 32px; color: white; background: linear-gradient(125deg, #1e3a8a, #2563eb); border-radius: 18px; }
.help-hero .eyebrow { color: #cfe0ff; }
.help-hero h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.03em; }
.help-hero p:last-child { max-width: 720px; margin: 0; color: #e3ecff; font-size: 13px; line-height: 1.6; }
.help-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.help-section { display: grid; min-height: 190px; margin: 0; align-content: start; gap: 7px; }
.help-section h3 { margin: 4px 0 0; font-size: 18px; }
.help-section p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.help-section .text-link { align-self: end; justify-self: start; margin-top: auto; }
.help-number { color: var(--brand); font: 700 10px ui-monospace, monospace; }
.faq-panel { padding: 0 22px; margin: 0; }
.faq-panel > .section-heading { padding: 22px 0 14px; margin: 0; }
.faq-panel h2 { margin: 2px 0 0; font-size: 20px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 17px 40px 17px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 15px; right: 4px; color: var(--brand); content: "+"; font-size: 18px; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { max-width: 820px; padding: 0 40px 17px 0; }
.faq-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.site-toolbar { padding-bottom: 2px; }.site-toolbar > div { flex: 1; }.site-toolbar h2 { margin: 0 0 3px; font-size: 28px; }.site-toolbar span { color: var(--muted); font-size: 11px; }
.environment-tabs { display: flex; padding: 5px; gap: 4px; background: #e6ebe7; border-radius: 11px; }
.environment-tabs button { display: flex; min-height: 42px; padding: 9px 19px; flex: 1; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-weight: 750; }
.environment-tabs button.active { color: var(--ink); background: white; box-shadow: 0 2px 10px rgba(30,45,38,.08); }
.environment-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.environment-summary-grid .panel { margin: 0; }
.compact-panel { min-height: 210px; }.connection-panel { min-width: 0; }
.connection-value { display: grid; margin-top: 14px; gap: 4px; }.connection-value span, .fact-list span { color: var(--muted); font-size: 10px; font-weight: 750; }.connection-value strong, .connection-value a { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fact-list { display: grid; margin-top: 12px; }.fact-list div { display: flex; padding: 10px 0; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }.fact-list strong { font-size: 11px; text-align: right; }
.notice-card { padding: 11px 12px; margin-top: 15px; background: var(--brand-soft); border-radius: 8px; }.notice-card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.health-banner, .error-banner { display: flex; padding: 13px 17px; align-items: center; gap: 16px; color: #23583e; background: #e6f4ec; border-radius: 10px; font-size: 12px; }.health-banner span, .error-banner span { opacity: .75; }.error-banner { color: #8a3232; background: #fae8e8; }
.lifecycle-banner { display: flex; padding: 13px 17px; align-items: center; gap: 16px; color: #74521c; background: #fff3df; border-radius: 10px; font-size: 12px; }.lifecycle-banner span { opacity: .78; }
.lifecycle-panel { min-height: auto; }.lifecycle-actions { display: flex; margin-top: 16px; gap: 8px; flex-wrap: wrap; }.lifecycle-error { margin: 12px 0 0; color: #9d3636; font-size: 11px; }
.button-small { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.table-actor { display: grid; gap: 2px; }.table-actor strong { font-size: 11px; }.table-actor small { color: var(--muted); font-size: 9px; }
.mobile-table-label { display: none; }
.status-private, .status-scheduled, .status-available { color: #12603f; background: #def2e7; }.status-sandbox, .status-manual, .status-upgrade_required { color: #805716; background: #fff0d8; }
.status-sleeping, .status-archived, .status-suspended, .status-expired { color: #805716; background: #fff0d8; }.status-waking, .status-archiving, .status-restoring, .status-restoring_backup, .status-backing_up, .status-creating, .status-deleting, .status-deploying, .status-provisioning { color: #345f83; background: #e1edf7; }.status-error, .status-failed { color: #8a3232; background: #fae8e8; }
.access-list { display: grid; }.access-row { display: grid; padding: 12px 0; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.access-row:first-child { border-top: 0; }.access-row > span { display: grid; gap: 3px; }.access-row small { color: var(--muted); font-size: 10px; font-weight: 500; }.access-row input { width: 18px; height: 18px; }
.release-confirmation { display: grid; min-width: 0; padding: 15px; gap: 5px; background: var(--canvas); border-radius: 10px; }.release-confirmation span, .release-confirmation small { color: var(--muted); font-size: 10px; }.release-confirmation strong { min-width: 0; font-size: 12px; overflow-wrap: anywhere; }
.seat-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seat-dialog-summary { margin: 0; color: var(--muted); font-size: 11px; }
.team-dialog-manage { margin-left: auto; }
.seat-dialog-limit { padding: 10px 12px; margin: 12px 0 0; color: #68420c; background: #fff4df; border-radius: 8px; font-size: 11px; line-height: 1.45; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .environment-summary-grid { grid-template-columns: 1fr 1fr; }.connection-panel { grid-column: 1/-1; }
}

@media (max-width: 850px) {
  .workspace-switcher { margin: 0 190px 0 48px; }.sidebar-plan, .sidebar-link { display: none; }
  .primary-nav { display: flex; padding-top: 10px; margin: 8px 0 0; overflow-x: auto; }.nav-item { min-width: max-content; }.sidebar-heading, .site-navigation { display: none; }
  .workspace-header { position: static; }.workspace-header h1 { font-size: 18px; }
  .welcome-row, .page-intro, .site-toolbar, .plan-hero, .attention-panel, .role-guide, .backup-action-panel, .backup-schedule { align-items: flex-start; flex-direction: column; }
  .metric-grid, .site-card-grid, .feature-grid, .environment-summary-grid, .account-grid, .help-grid { grid-template-columns: 1fr; }.connection-panel { grid-column: auto; }
  .content-transfer-row { grid-template-columns: minmax(0,1fr) auto; }.content-download-actions { grid-column: 1/-1; justify-content: flex-start; }
  .member-row { grid-template-columns: 38px minmax(0,1fr) auto; }.member-row time { display: none; }
  .seat-summary { grid-template-columns: 1fr; }.environment-tabs { overflow-x: auto; }.environment-tabs button { min-width: 130px; }
  .activity-item { grid-template-columns: 30px minmax(0,1fr); }.activity-item time { display: none; }
}

/* Compact dashboard layout */
@media (max-width: 850px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .dashboard { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
  .sidebar { position: static; display: grid; width: 100%; max-width: 100%; height: auto; padding: 14px 16px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; }
  .sidebar > .brand { width: max-content; max-width: 100%; align-self: center; }
  .workspace-switcher { width: 100%; min-width: 0; margin: 2px 0 0; grid-column: 1 / -1; grid-row: 2; }
  .workspace-switcher select { min-width: 0; }
  .primary-nav { display: flex; width: 100%; max-width: 100%; padding: 4px 0 2px; margin: 0; grid-column: 1 / -1; grid-row: 3; gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .nav-item { min-width: max-content; min-height: 44px; }
  .sidebar-heading, .site-navigation, .sidebar-plan, .sidebar-link { display: none; }
  .sidebar-footer { position: static; width: auto; padding: 0; margin: 0; grid-column: 2; grid-row: 1; grid-template-columns: 44px 40px; border: 0; }
  .sidebar-footer .account-button { width: 44px; padding: 5px; grid-template-columns: 34px; }
  .sidebar-footer .user-summary { display: none; }
  .workspace, .workspace-header, .workspace-content, .site-shell, #site-section-panel, .site-environment-shell, .environment-main, .environment-page { width: 100%; max-width: 100%; min-width: 0; }
  .workspace-header { display: grid; min-height: auto; padding: 16px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
  .workspace-header > div:first-child { min-width: 0; }
  .workspace-header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
  .header-actions .button { white-space: nowrap; }
  .workspace-content { padding: 22px 16px; overflow-x: hidden; }
  .welcome-row, .page-intro, .site-toolbar, .plan-hero, .attention-panel, .role-guide { width: 100%; min-width: 0; }
  .welcome-actions { width: 100%; flex-wrap: wrap; }
  .welcome-actions .button { flex: 1 1 150px; }
  .welcome-actions .limit-inline { flex: 1 1 190px; justify-content: space-between; }
  .metric-grid, .site-card-grid, .feature-grid, .feature-grid-two, .environment-summary-grid, .help-grid { grid-template-columns: minmax(0, 1fr); }
  .site-card, .panel { min-width: 0; }
  .site-shell-header { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .site-identity { min-width: 0; }
  .site-identity > div { min-width: 0; }
  .site-identity > div > span:last-child { min-width: 0; }
  .site-identity h2, .site-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-shell-actions { padding: 0 20px 14px; justify-content: flex-start; }
  .site-section-tabs { width: 100%; max-width: 100%; margin-top: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
  .site-environment-shell { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .environment-sidebar { position: static; display: flex; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .environment-select, .environment-tool { min-width: max-content; min-height: 44px; padding: 10px 12px; }
  .connection-drawer { width: 100%; min-width: 0; }
  .connection-drawer summary { min-height: 52px; }
  .connection-grid { grid-template-columns: minmax(0, 1fr); }
  .connection-command { grid-column: auto; }
  .git-credential-panel { margin: 0 12px 14px; align-items: stretch; flex-direction: column; }.git-credential-values { grid-template-columns: minmax(0, 1fr); }
  .tool-intro { min-width: 0; }
  .table-wrap { max-width: 100%; overflow-x: auto; }
  .table-wrap table { min-width: 700px; }
  .deployment-table { overflow: visible; background: transparent; border: 0; border-radius: 0; }
  .deployment-table table, .deployment-table tbody { display: block; min-width: 0; }
  .deployment-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .deployment-table tbody { display: grid; gap: 12px; }
  .deployment-table tbody tr { display: grid; padding: 8px 14px; background: white; border: 1px solid var(--line); border-radius: 12px; }
  .deployment-table td { display: grid; padding: 9px 0; grid-template-columns: minmax(76px,.28fr) minmax(0,1fr); align-items: center; gap: 10px; border-top: 1px solid #edf0ed; overflow-wrap: anywhere; }
  .deployment-table td:first-child { border-top: 0; }
  .deployment-table .mobile-table-label { display: block; color: var(--muted); font-size: 9px; font-weight: 750; }
  .deployment-table .row-actions { justify-content: flex-start; flex-wrap: wrap; }
  .deployment-table .row-actions > * { min-height: 44px; flex: 1 1 130px; }
  .deployment-table .deployment-empty { display: block; }
  .deployment-table .deployment-empty td { display: block; padding: 15px 0; border: 0; }
  .content-copy-fields { grid-template-columns: minmax(0, 1fr); }.content-transfer-row { grid-template-columns: minmax(0,1fr); }.content-transfer-row > .status { justify-self: start; }.content-download-actions { grid-column: auto; }.content-download-actions .row-button { min-height: 44px; }
  .member-row { grid-template-columns: 38px minmax(0,1fr); align-items: start; }
  .member-controls, .member-row > .status, .member-row > time, .member-action-error { grid-column: 2; }
  .member-controls { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .member-role-field { flex: 1 1 160px; }
  .member-role-field select, .member-controls .button { min-height: 44px; }
  .member-row > time { display: block; }
  .text-link, .card-link, .back-link, .row-button { min-height: 44px; }
  .configuration-row { grid-template-columns: minmax(0, 1fr); }
  .configuration-row > strong { white-space: normal; overflow-wrap: anywhere; }
  .modal { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .environment-sidebar { flex-wrap: wrap; overflow: visible; }
  .environment-sidebar .rail-label { display: block; flex: 0 0 100%; }
  .environment-sidebar hr { display: block; flex: 0 0 100%; }
  .environment-select, .environment-tool { flex: 1 1 auto; justify-content: center; }
  .native-preview-toolbar { align-items: stretch; flex-direction: column; }.native-preview-selection { width: 100%; }.native-preview-actions .button { flex: 1 1 160px; }
}

@media (max-width: 560px) {
  .auth-intro { padding: 20px 22px; }
  .auth-panel { padding: 26px 20px; }
  .auth-tabs { margin-bottom: 30px; }
  .workspace-header { grid-template-columns: minmax(0, 1fr); }
  .header-actions { width: 100%; justify-content: stretch; }
  .header-actions .button { flex: 1 1 145px; }
  .workspace-content { padding: 18px 14px; }
  .native-preview-stage { min-height: 0; padding: 12px; border-radius: 14px; }.native-phone-frame { height: 70dvh; min-height: 580px; padding: 24px 7px 7px; border-radius: 27px; }.native-phone-frame iframe { border-radius: 20px; }
  .welcome-row, .plan-hero { padding: 22px; }
  .welcome-row h2, .page-intro h2, .plan-hero h2 { font-size: 25px; }
  .site-identity { padding: 18px 18px 0; }
  .site-section-tabs { padding: 0 12px; gap: 14px; }
  .site-section-tabs button { min-height: 44px; font-size: 11px; }
  .connection-drawer summary { align-items: flex-start; }
  .connection-drawer summary > span:last-child { white-space: nowrap; }
  .release-progress-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .rollback-control { align-items: stretch; flex-direction: column; }.rollback-control .status { align-self: flex-start; }.rollback-control .button { width: 100%; }
  .native-integration-environment { grid-template-columns: 1fr; }.native-integration-environment > p, .native-integration-environment > .row-button { grid-column: auto; }.native-integration-environment > .status { justify-self: start; }.native-integration-environment > .row-button { width: 100%; }
  .domain-row { grid-template-columns: minmax(0, 1fr); }
  .inline-form { align-items: stretch; flex-direction: column; }
  .modal { width: calc(100vw - 20px); padding: 20px; }
  .backup-row { grid-template-columns: minmax(0, 1fr); }.backup-row-main > div { align-items: flex-start; flex-direction: column; }.backup-row > .button { width: 100%; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions .button { flex: 1 1 130px; }
  .member-row { grid-template-columns: 38px minmax(0, 1fr); }
  .member-row > .status { justify-self: start; grid-column: 2; }
  .member-controls .button { width: 100%; }
  .deployment-table td { grid-template-columns: 1fr; gap: 5px; }
  .deployment-table .row-actions > * { width: 100%; flex-basis: 100%; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}
