:root {
  --ink: #17191c;
  --muted: #646b73;
  --line: #d9dde2;
  --paper: #ffffff;
  --surface: #f3f5f7;
  --brand: #0c6b58;
  --brand-dark: #084b3e;
  --accent: #c53f2f;
  --focus: #f1b82d;
  --radius: 6px;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.55 Arial, Helvetica, sans-serif; }
a { color: var(--brand-dark); }
.site-header { position: relative; isolation: isolate; z-index: 1000; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 5vw; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 21px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand span { color: #1859c9; }
.brand strong { color: var(--ink); }
.brand img { position: relative; z-index: 1; display: block; width: auto; max-width: 220px; height: 38px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 20px; }
.site-header nav a, .link-button { color: var(--ink); font-weight: 700; text-decoration: none; }
.inline-form { display: inline; margin: 0; }
.link-button { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; }
.page-shell { min-height: calc(100vh - 64px); }
.hero { position: relative; isolation: isolate; min-height: 68vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 8vh max(6vw, 24px); color: white; background: url('/media/system/systmzro-workspace.png') center/cover, #103c34; }
.hero::before { position: absolute; z-index: 0; inset: 0; content: ''; background: rgba(8, 35, 30, .84); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 920px; margin: 8px 0; font-size: 92px; line-height: .98; letter-spacing: 0; }
.lead { max-width: 720px; margin: 12px 0 28px; font-size: 22px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow { color: #f3cf69; }
.button, .secondary-button, .danger-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 16px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.button { color: white; background: var(--brand); }
.button:hover { background: var(--brand-dark); }
.secondary-button { color: var(--ink); background: white; border-color: var(--line); }
.danger-button { color: white; background: var(--accent); }
.button:disabled, .danger-button:disabled { cursor: not-allowed; opacity: .48; }
.content-band, .page-heading, .admin-section, .auth-panel { max-width: 1120px; margin: 0 auto; padding: 40px max(5vw, 20px); }
.content-band h2, .admin-section h2 { margin-top: 0; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.status-grid div { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-right: 1px solid var(--line); }
.status-grid div:last-child { border-right: 0; }
.status-grid span { color: var(--muted); }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 22px; }
.page-heading h1, .auth-panel h1 { margin: 0; font-size: 38px; letter-spacing: 0; }
.page-heading p { margin-bottom: 0; color: var(--muted); }
.admin-section, .auth-panel { margin-bottom: 24px; background: var(--paper); border-top: 3px solid var(--brand); }
.auth-panel { max-width: 560px; margin-top: 8vh; }
.form-stack { display: grid; gap: 18px; }
.form-stack label span { display: block; margin-bottom: 6px; font-weight: 700; }
.form-stack label small { display: block; margin-top: 5px; color: var(--muted); }
.auth-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.auth-alternative { margin: 22px 0 0; color: var(--muted); }
.deployment-confirmations label { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; }
.deployment-confirmations label input { width: 20px; height: 20px; margin: 2px 0 0; }
.deployment-confirmations label span { margin: 0; }
.deployment-stage-list { display: grid; gap: 8px; }
.deployment-stage-list details { border: 1px solid var(--line); }
.deployment-stage-list summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.deployment-stage-list summary > span:first-child { color: var(--accent); font-weight: 800; }
.deployment-stage-list ul { display: grid; gap: 8px; margin: 0; padding: 4px 34px 18px 58px; color: var(--muted); }
.deployment-route-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 18px 58px; }
.deployment-route-list code { padding: 5px 8px; border: 1px solid var(--line); background: var(--canvas); font-size: 12px; }
.deployment-route-list-inline { padding: 18px 0 0; }
input[type='text'], input[type='email'], input[type='password'], input[type='datetime-local'], input[type='number'], select, textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: min(var(--radius), 4px); padding: 9px 11px; background: var(--paper); color: var(--ink); font: inherit; }
input[type='file'] { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: min(var(--radius), 4px); padding: 8px; background: var(--paper); color: var(--ink); font: inherit; }
input:focus, button:focus, a:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.alert { max-width: 1120px; margin: 0 auto 18px; padding: 14px 18px; border-left: 4px solid; background: white; }
.alert-error { border-color: var(--accent); }
.alert-success { border-color: var(--brand); }
.detail-list { margin: 0; }
.detail-list div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight: 800; }
table { width: 100%; border-collapse: collapse; }
.wide-table { min-width: 840px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface); }
.route-options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.route-options legend { margin-bottom: 10px; font-size: 18px; font-weight: 800; }
.route-option { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.route-option:has(input:checked) { border-color: var(--brand); background: #edf8f5; }
.route-option small { display: block; margin-top: 3px; color: var(--muted); }
.admin-nav { position: relative; z-index: 20; display: flex; align-items: center; gap: 8px; max-width: 1120px; margin: 0 auto; padding: 14px max(5vw, 20px); border-bottom: 1px solid var(--line); background: var(--paper); }
.admin-nav a, .admin-nav summary { color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.admin-nav-home, .admin-nav summary { display: inline-flex; min-height: 38px; align-items: center; border: 1px solid transparent; border-radius: 4px; padding: 7px 11px; cursor: pointer; list-style: none; }
.admin-nav summary::-webkit-details-marker { display: none; }
.admin-nav summary::after { margin-left: 8px; color: var(--muted); content: '\2304'; font-size: 12px; }
.admin-nav-home:hover, .admin-nav summary:hover, .admin-nav-home.is-current, .admin-nav-group.is-current > summary, .admin-nav-group[open] > summary { color: var(--brand-dark); border-color: var(--line); background: var(--surface); }
.admin-nav-group { position: relative; }
.admin-nav-menu { position: absolute; top: calc(100% + 6px); left: 0; display: grid; width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); box-shadow: 0 16px 36px rgba(15, 23, 42, .16); }
.admin-nav-menu a { display: block; border-radius: 3px; padding: 9px 10px; }
.admin-nav-menu a:hover, .admin-nav-menu a[aria-current='page'] { color: var(--brand-dark); background: var(--surface); }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; margin: 0 auto 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.metric-strip div { display: flex; min-width: 0; flex-direction: column; gap: 4px; padding: 20px; border-right: 1px solid var(--line); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.metric-strip strong { overflow-wrap: anywhere; font-size: 20px; }
.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading p { margin-top: 4px; color: var(--muted); }
.page-heading > .button, .page-heading > .secondary-button, .section-heading > a { white-space: nowrap; }
.table-wrap { width: 100%; overflow-x: auto; }
.table-note { display: block; max-width: 460px; margin-top: 3px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 800; }
.status::before { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #737a82; content: ''; }
.status-pass::before { background: var(--brand); }
.status-warning::before { background: #b46a00; }
.status-fail::before { background: var(--accent); }
.status-neutral::before { background: #737a82; }
.database-table { padding-top: 28px; }
.compact-form { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.compact-form .button, .compact-form .danger-button { min-height: 38px; padding: 7px 12px; }
.rule-list { border-top: 1px solid var(--line); }
.rule-list p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.installer-heading { padding-bottom: 18px; }
.installer-panel { max-width: 720px; }
.installer-panel-wide { max-width: 960px; }
.installer-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); max-width: 1120px; margin: 0 auto 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.installer-progress span { min-width: 0; padding: 12px 14px; color: var(--muted); font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.installer-progress .complete { color: var(--brand-dark); }
.installer-progress .current { color: white; background: var(--brand); }
.installer-choice-grid, .installer-fields { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.installer-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.installer-choice-grid legend, .installer-fields legend { grid-column: 1 / -1; margin-bottom: 4px; font-size: 18px; font-weight: 800; }
.installer-choice { display: grid; grid-template-columns: 22px 1fr; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: min(var(--radius), 6px); cursor: pointer; }
.installer-choice:has(input:checked) { border-color: var(--brand); background: #edf8f5; }
.installer-choice input { margin-top: 4px; }
.installer-choice small { display: block; margin-top: 4px; color: var(--muted); }
.installer-fields { padding-top: 20px; border-top: 1px solid var(--line); }
.installer-link-row { display: grid; grid-template-columns: minmax(140px, .45fr) minmax(220px, 1fr); gap: 14px; }
.installer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 6px; }
.installer-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; border-top: 1px solid var(--line); }
.installer-review div { min-width: 0; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.installer-review dt { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.installer-review dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 800; }
.installer-complete-form { max-width: 660px; }
.installer-page-list { display: grid; gap: 22px; }
.installer-page-editor { display: grid; gap: 14px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: min(var(--radius), 6px); }
.installer-page-editor legend { padding: 0 8px; font-size: 18px; font-weight: 800; }
.installer-page-editor legend label { display: flex; align-items: center; gap: 8px; }
.content-hero-media { display: block; width: 100%; max-height: 520px; margin: 28px 0 0; object-fit: cover; border-radius: min(var(--radius), 6px); }
.form-divider { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 18px; }
.action-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 1120px; margin: 0 auto 24px; background: var(--line); border-top: 3px solid var(--brand); }
.action-band-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.action-panel { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; padding: 28px max(3vw, 20px); background: var(--paper); }
.action-panel h2, .action-panel p { margin: 0; }
.action-panel p { margin-top: 5px; color: var(--muted); }
.action-panel label { width: 100%; }
.action-panel label span { display: block; margin-bottom: 6px; font-weight: 800; }
.dashboard-link-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; }
.dashboard-link-list a { font-weight: 800; }
.admin-attention { border-top-color: #b46a00; }
.dashboard-maintenance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dashboard-maintenance-grid > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 5px; padding: 20px; border-right: 1px solid var(--line); }
.dashboard-maintenance-grid > div:first-child { padding-left: 0; }
.dashboard-maintenance-grid > div:last-child { padding-right: 0; border-right: 0; }
.dashboard-maintenance-grid span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.dashboard-maintenance-grid strong { overflow-wrap: anywhere; font-size: 20px; }
.dashboard-maintenance-grid a { margin-top: 5px; font-weight: 800; }
.archive-actions { display: flex; align-items: flex-start; gap: 12px; }
.archive-actions .link-button { color: var(--brand-dark); text-decoration: underline; }
.package-upload-form { max-width: 620px; }
.package-upload-form .button { justify-self: start; }
.update-summary-heading { margin-top: 28px; }
.update-metrics { margin: 20px 0 24px; }
.update-transaction-panel { border-top-color: #b46a00; }
.transaction-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px; }
.rollback-form { display: grid; grid-template-columns: minmax(220px, 360px) auto; align-items: end; gap: 14px; }
.rollback-form label span, .update-apply-form label > span { display: block; margin-bottom: 6px; font-weight: 800; }
.update-apply-form { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(220px, .8fr) auto; align-items: end; gap: 18px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.update-apply-form h2, .update-apply-form p { margin: 0; }
.update-apply-form p { margin-top: 5px; color: var(--muted); }
.confirmation-control { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 10px; }
.confirmation-control input { flex: 0 0 auto; margin-top: 5px; }
.confirmation-control span { margin: 0; font-weight: 700; }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(150px, .45fr) minmax(150px, .45fr) auto; align-items: end; gap: 14px; max-width: 1120px; margin: 0 auto 24px; padding: 20px max(5vw, 20px); background: var(--paper); border-top: 3px solid var(--brand); }
.filter-bar label span { display: block; margin-bottom: 6px; font-weight: 800; }
.document-json { max-height: 70vh; margin: 0; padding: 20px; overflow: auto; color: #e8eef2; background: #101820; border-radius: 6px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.document-json code { font: inherit; white-space: inherit; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .secondary-button { color: white; background: rgba(12, 17, 24, .68); border-color: rgba(255, 255, 255, .5); }
.hero .secondary-button:hover { background: white; color: var(--ink); }
.core-home-hero { min-height: clamp(420px, 62svh, 660px); background-position: center top; }
.core-home-hero::before { background: rgba(7, 14, 24, .97); }
.core-home-hero h1 { font-size: 88px; }
.home-band, .platform-band, .home-closing-band { padding: 72px max(6vw, 24px); }
.home-band { max-width: 1240px; margin: 0 auto; background: var(--surface); }
.home-section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); gap: 10px 64px; align-items: end; max-width: 1050px; }
.home-section-heading .eyebrow { grid-column: 1 / -1; }
.home-section-heading h2, .platform-copy h2, .home-closing-band h2 { margin: 0; max-width: 760px; font-size: 40px; line-height: 1.12; letter-spacing: 0; }
.home-section-heading > p:last-child, .platform-copy > p { margin: 0; color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article { min-width: 0; padding: 30px; border-right: 1px solid var(--line); }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { padding-right: 0; border-right: 0; }
.service-grid span { color: var(--accent); font-size: 13px; font-weight: 800; }
.service-grid h3 { margin: 18px 0 10px; font-size: 23px; }
.service-grid p { margin: 0; color: var(--muted); }
.platform-band { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 64px; align-items: center; color: white; background: #101820; }
.platform-copy .eyebrow { color: #efb83d; }
.platform-copy > p { margin-top: 20px; color: #cbd2d9; }
.platform-points { margin: 34px 0 0; border-top: 1px solid #38434c; }
.platform-points div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid #38434c; }
.platform-points dt { color: #75d0ba; font-weight: 800; }
.platform-points dd { margin: 0; color: #dce1e5; }
.platform-visual { margin: 0; }
.platform-visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border: 1px solid #44515d; border-radius: 6px; background: #05080b; }
.platform-visual figcaption { margin-top: 10px; color: #9faab3; font-size: 13px; }
.home-closing-band { text-align: center; background: #e8f2ef; }
.home-closing-band h2 { margin: 0 auto 28px; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 40px max(6vw, 24px); color: #dce1e5; background: #0b1015; }
.site-footer > div { max-width: 540px; }
.site-footer p { margin: 8px 0 0; color: #9faab3; }
.site-footer .footer-copyright { font-size: 13px; }
.footer-brand, .site-footer strong { color: white; font-size: 22px; font-weight: 800; text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: white; font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

.surface-install {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #7c3aed;
  --line: #dbe3ef;
  --surface: #f3f7ff;
  --focus: #f1b82d;
  color: #111827;
  background: var(--surface);
  font-family: 'Changa', Arial, Helvetica, sans-serif;
}
.installer-brand-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(5vw, 20px);
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}
.installer-brand-header p { margin: 0; color: #596477; font-weight: 800; }
.installer-brand {
  display: inline-flex;
  color: #111827;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.installer-brand span {
  color: transparent;
  background: linear-gradient(90deg,#1d4ed8,#2563eb,#7c3aed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.installer-brand strong { color: #111827; }
.surface-install .page-shell { padding: 40px 0 70px; }
.surface-install .installer-heading { position: relative; overflow: hidden; max-width: 1120px; padding: 38px max(5vw,20px); color: #fff; border-radius: 7px; background: #17205d; }
.surface-install .installer-heading .eyebrow { color: #bfdbfe; }
.surface-install .installer-heading h1 { margin: 0; font-size: 43px; }
.surface-install .installer-heading p:last-child { color: #dbeafe; }
.surface-install .installer-progress { overflow: hidden; border: 1px solid #cbd7e8; border-radius: 7px; }
.surface-install .installer-progress .current { background: linear-gradient(90deg,#1d4ed8,#2563eb,#7c3aed); }
.surface-install .installer-progress .complete { color: #1d4ed8; }
.surface-install .admin-section { border: 1px solid #dbe3ef; border-top: 4px solid #2563eb; border-radius: 7px; box-shadow: 0 12px 28px rgba(30,64,175,.08); }
.surface-install .installer-choice { border-radius: 7px; background: #fff; }
.surface-install .installer-choice:has(input:checked) { border-color: #2563eb; background: #ebf5ff; box-shadow: 0 0 0 2px rgba(37,99,235,.12); }
.surface-install .button { background: linear-gradient(90deg,#1d4ed8,#2563eb,#7c3aed); }
.surface-install .button:hover { background: #1d4ed8; }
.installer-brand-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(5vw,20px); color: #cbd5e1; background: #0f172a; }
.installer-brand-footer strong { color: #fff; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-top: 14px; padding-bottom: 14px; }
  .site-header nav { flex-wrap: wrap; gap: 12px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .installer-progress, .installer-choice-grid, .installer-review, .installer-link-row { grid-template-columns: 1fr; }
  .installer-progress span { padding: 9px 20px; }
  .detail-list div { grid-template-columns: 1fr; gap: 4px; }
  .deployment-stage-list summary { grid-template-columns: 36px minmax(0, 1fr); }
  .deployment-stage-list summary .status { grid-column: 2; justify-self: start; }
  .deployment-stage-list ul, .deployment-route-list { padding-left: 28px; }
  .hero h1, .core-home-hero h1 { font-size: 52px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .metric-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { flex-direction: column; }
  .section-heading > .status { align-self: flex-start; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .action-band { grid-template-columns: 1fr; }
  .dashboard-maintenance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-maintenance-grid > div, .dashboard-maintenance-grid > div:first-child, .dashboard-maintenance-grid > div:last-child { padding: 18px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-maintenance-grid > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .dashboard-maintenance-grid > div:nth-child(even) { padding-right: 0; }
  .dashboard-maintenance-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .archive-actions { flex-direction: column; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar .secondary-button { justify-self: start; }
  .rollback-form, .update-apply-form { grid-template-columns: 1fr; }
  .transaction-actions { align-items: stretch; flex-direction: column; }
  .home-band, .platform-band, .home-closing-band { padding: 52px 20px; }
  .home-section-heading, .platform-band { grid-template-columns: 1fr; }
  .home-section-heading { gap: 16px; }
  .home-section-heading h2, .platform-copy h2, .home-closing-band h2 { font-size: 32px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .service-grid article, .service-grid article:first-child, .service-grid article:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid article:last-child { border-bottom: 0; }
  .platform-band { gap: 38px; }
  .platform-points div { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
  .admin-nav { align-items: stretch; flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
  .admin-nav-home, .admin-nav summary { width: 100%; justify-content: space-between; }
  .admin-nav-menu { position: static; width: 100%; margin-top: 4px; box-shadow: none; }
  .installer-brand-header { min-height: 68px; }
  .installer-brand-header p { display: none; }
  .installer-brand { font-size: 31px; }
  .surface-install .page-shell { padding-top: 20px; }
  .surface-install .installer-heading { width: calc(100% - 30px); padding: 28px 20px; }
  .surface-install .installer-heading h1 { font-size: 35px; }
  .installer-brand-footer { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .service-grid, .action-band-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid article:nth-child(2) { border-right: 0; }
}
