@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #202125;
  --sidebar: #18191c;
  --surface: #2a2c31;
  --surface-raised: #32343a;
  --surface-subtle: #24262a;
  --border: #41444c;
  --border-subtle: #363840;
  --text: #f0f1f3;
  --muted: #b3b7bf;
  --lime: #d7eb8d;
  --on-lime: #20332e;
  --lime-dim: #373e2f;
  --amber: #f1c382;
  --amber-dim: #44372a;
  --danger: #ffb6ae;
  --radius: 14px;
  --gutter: clamp(20px, 3.1vw, 48px);
  font: 400 15px/1.5 "DM Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 0; margin: 0; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--on-lime); }
svg { flex: none; vertical-align: middle; }

.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--on-lime);
  transform: translateY(calc(-100% - 15px));
}
.skip-link:focus { transform: none; }

.app-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 16px 18px;
  border-right: 1px solid #303137;
  background: var(--sidebar);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 6px 40px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--on-lime);
  background: var(--lime);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-size: .99rem; font-weight: 800; letter-spacing: .065em; white-space: nowrap; }
.brand-name small, .brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: 0;
}
.brand-slash { padding-inline: 2px; color: var(--lime); font-weight: 500; }
.sidebar-nav { display: grid; gap: 6px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: .89rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}
.nav-item svg { width: 19px; height: 19px; }
.nav-label-short { display: none; }
.nav-item:hover { color: var(--text); background: var(--surface); }
.nav-item:is(.is-active, [aria-current="page"]) {
  border-color: #4d5840;
  color: var(--lime);
  background: #30372b;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 15px 6px 2px;
  border-top: 1px solid var(--border-subtle);
  color: var(--muted);
  font-size: .78rem;
}
.sidebar-footer .dot, .local-status .dot, .status-dot, .demo-dot {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.app-main { min-width: 0; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 65px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  color: var(--muted);
  font-size: .85rem;
}
.breadcrumb, .topbar-actions, .local-status { display: flex; align-items: center; gap: 9px; }
.breadcrumb strong { color: var(--text); font-weight: 650; }
.breadcrumb svg, .local-status svg { width: 16px; height: 16px; }
.topbar-actions { margin-left: auto; }
.local-status { gap: 7px; font-size: .79rem; }
.local-status .dot { width: 6px; height: 6px; flex-basis: 6px; }

.content {
  width: min(100%, 1440px);
  min-width: 0;
  margin-inline: auto;
  padding: clamp(24px, 3.1vw, 44px) var(--gutter) 42px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 26px;
}
.page-heading > div:first-child { min-width: 0; }
.page-title { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 730; line-height: 1.06; letter-spacing: -.05em; }
.page-intro { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.page-actions, .data-actions, .service-footer, .modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.btn, .icon-btn, .modal-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-subtle);
  color: var(--text);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover:not(:disabled), .icon-btn:hover:not(:disabled), .modal-close:hover { background: var(--surface-raised); border-color: #555961; }
.btn-primary { color: var(--on-lime); border-color: var(--lime); background: var(--lime); }
.btn-primary:hover:not(:disabled) { color: var(--on-lime); border-color: #e6f4b1; background: #e6f4b1; }
.btn-quiet, .icon-btn, .modal-close { background: transparent; }
.btn-quiet { color: var(--muted); }
.btn-quiet:hover:not(:disabled) { color: var(--text); }
.btn-danger, .btn.is-danger { color: var(--danger); }
.icon-btn, .modal-close { width: 40px; min-height: 40px; padding: 0; }
.icon-btn svg, .modal-close svg { width: 18px; height: 18px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-icon {
  display: grid;
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid #484b55;
  border-radius: 10px;
  color: #d7dbe6;
  background: #393c45;
}
.stat-icon svg { width: 19px; height: 19px; }
.stat-card:nth-child(2) .stat-icon { border-color: #505942; color: var(--lime); background: var(--lime-dim); }
.stat-card .stat-icon.is-vacant { border-color: #695033; color: var(--amber); background: var(--amber-dim); }
.stat-label { display: block; color: var(--muted); font-size: .81rem; font-weight: 550; }
.stat-value { display: block; margin-top: 2px; color: var(--text); font-size: 1.57rem; font-weight: 740; line-height: 1.1; letter-spacing: -.045em; }
.stat-total { color: var(--muted); font-size: .67em; font-weight: 550; letter-spacing: -.025em; }

.agenda-grid { display: grid; grid-template-columns: minmax(290px, .76fr) minmax(0, 1.45fr); align-items: start; gap: 17px; }
.panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 8px #11121419;
}
.panel-header, .data-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.panel-title, .data-panel-heading h2 { font-size: 1.09rem; font-weight: 720; line-height: 1.24; letter-spacing: -.02em; }
.panel-subtitle, .data-panel-heading p { margin-top: 4px; color: var(--muted); font-size: .79rem; }
.week-link { display: inline-flex; align-items: center; gap: 5px; margin-left: -5px; padding: 4px 5px; border: 0; border-radius: 5px; background: none; text-align: left; }
.week-link:hover { color: var(--lime); background: var(--surface-subtle); }
.week-controls { display: flex; align-items: center; gap: 5px; }
.week-controls .icon-btn { width: 34px; min-height: 34px; border-radius: 8px; }
.week-controls .icon-btn svg { width: 16px; height: 16px; }
.service-list { display: grid; gap: 8px; padding: 0; margin-top: 17px; list-style: none; }
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 65px;
  padding: 8px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-subtle);
  text-align: left;
}
.service-item:hover { border-color: #62665b; background: var(--surface-raised); }
.service-item[aria-pressed="true"] { border-color: #82945b; background: #343a2f; }
.service-date {
  display: grid;
  flex: 0 0 41px;
  align-content: center;
  justify-items: center;
  min-height: 45px;
  padding: 3px 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: #2c2e33;
  line-height: 1.1;
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .065em;
}
.service-date strong { margin-top: 3px; color: var(--text); font-size: 1.1rem; letter-spacing: -.04em; }
.service-item[aria-pressed="true"] .service-date { border-color: #555e45; color: var(--lime); background: #434d36; }
.service-item[aria-pressed="true"] .service-date strong { color: var(--lime); }
.service-info { display: grid; flex: 1 1 auto; gap: 1px; min-width: 0; }
.service-info strong { font-size: .88rem; font-weight: 700; overflow-wrap: anywhere; }
.service-info small, .service-count { color: var(--muted); font-size: .76rem; }
.service-count { display: flex; flex: 0 0 auto; gap: 3px; align-items: center; white-space: nowrap; }
.service-count > span { color: var(--text); }
.service-item > svg { width: 15px; height: 15px; margin-left: auto; color: var(--muted); }
.service-item[aria-pressed="true"] > svg { color: var(--lime); }
.agenda-footer { margin-top: 13px; }
.agenda-footer .btn { width: 100%; border-style: dashed; color: var(--muted); }
.agenda-footer .btn:hover { color: var(--lime); }

.service-panel { padding: 0; }
.service-hero {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.service-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 9px 16px; min-width: 0; overflow-wrap: anywhere; }
.service-day { margin-bottom: 4px; color: var(--muted); font-size: .77rem; font-weight: 550; }
.service-day::first-letter { text-transform: uppercase; }
.service-heading:is(h2, h3), .service-heading :is(h2, h3), .service-hero > div > h2 {
  font-size: 1.49rem;
  font-weight: 730;
  line-height: 1.19;
  letter-spacing: -.035em;
}
.service-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; margin-top: 8px; color: var(--muted); font-size: .8rem; }
.service-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.service-meta svg { width: 15px; height: 15px; }
.status-pill, .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #4d5942;
  border-radius: 99px;
  color: var(--lime);
  background: var(--lime-dim);
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.35;
}
.status-pill { flex: 0 0 auto; white-space: nowrap; }
.status-pill svg, .tag svg { width: 13px; height: 13px; }
.status-pill.is-open { border-color: #6b5135; color: var(--amber); background: var(--amber-dim); }
.status-pill.is-neutral { border-color: var(--border); color: var(--muted); background: var(--surface-raised); }
.team-section { padding: 15px 20px 11px; }
.team-section + .team-section { border-top: 1px solid var(--border-subtle); }
.team-heading { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; }
.team-heading :is(h2, h3, h4) { font-size: .93rem; font-weight: 750; }
.team-heading svg { width: 17px; height: 17px; color: var(--lime); }
.team-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: var(--lime-dim); }
.team-heading small, .team-heading .team-count { margin-left: auto; color: var(--muted); font-size: .76rem; }
.slot-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(145px, 1.08fr);
  gap: 10px;
  align-items: center;
  padding-block: 5px;
}
.slot-row + .slot-row { border-top: 1px solid var(--border-subtle); }
.slot-title { min-width: 0; color: #dfe1e7; font-size: .85rem; font-weight: 600; overflow-wrap: anywhere; }
.slot-select { position: relative; display: block; min-width: 0; }
.slot-select select { min-height: 35px; padding-block: 5px; padding-right: 30px; appearance: none; font-size: .83rem; text-overflow: ellipsis; }
.slot-select select:disabled { cursor: default; }
.slot-select > svg { position: absolute; top: 50%; right: 9px; color: var(--muted); pointer-events: none; transform: translateY(-50%); }
.slot-select.is-open > svg { color: var(--amber); }
.slot-select.is-open select { border-color: #735738; color: var(--amber); background-color: #3b3228; }
.slot-select.is-open select option { color: var(--text); background-color: var(--surface-subtle); }
.service-footer { justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--border-subtle); }
.draft-status { margin-right: auto; color: var(--muted); font-size: .77rem; }
.empty-state { padding: 23px 13px; color: var(--muted); text-align: center; }
.empty-state strong, .empty-state :is(h2, h3) { display: block; margin-bottom: 5px; color: var(--text); font-size: 1rem; }
.empty-state > .btn, .empty-state > p + p { margin-top: 10px; }
.service-panel.empty-state, .service-panel > .empty-state { padding: 42px 20px; }
.service-panel.empty-state > svg { margin-bottom: 8px; color: var(--lime); }

.stack { display: grid; gap: 13px; min-width: 0; }
.stack > .page-heading { margin-bottom: 8px; }
.data-panel { padding: 18px 20px; }
.data-panel-heading { align-items: center; flex-wrap: wrap; }
.data-panel-heading > h2 { overflow-wrap: anywhere; }
.data-list { display: grid; gap: 0; padding: 0; margin-top: 10px; list-style: none; }
.data-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 16px; padding: 12px 0; }
.data-row + .data-row { border-top: 1px solid var(--border-subtle); }
.data-row:last-child { padding-bottom: 2px; }
.data-info { display: grid; flex: 1 1 180px; align-content: center; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.data-info > strong, .data-info > h3 { font-size: .99rem; font-weight: 680; }
.data-info small, .muted { color: var(--muted); }
.data-info small { font-size: .83rem; }
.data-actions { flex: 0 0 auto; margin-left: auto; }
.data-actions .btn { min-height: 38px; padding-inline: 11px; font-size: .8rem; }
.data-actions .btn-icon { width: 38px; padding: 0; }
.data-actions .btn-icon[data-cad-delete]:hover { border-color: #77504e; color: var(--danger); background: #422d31; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tag { border-color: var(--border); color: #dbe0e9; background: var(--surface-raised); }

.modal {
  position: fixed;
  width: min(calc(100% - 28px), 600px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #535660;
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 18px 80px #090a0bd9;
}
.modal::backdrop { background: #121317c9; }
.modal-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
}
.modal-header h2 { font-size: 1.28rem; line-height: 1.25; letter-spacing: -.025em; }
.modal-header p { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.modal-body { display: grid; gap: 13px; padding: 18px 20px 20px; }
.modal-actions { justify-content: flex-end; padding-top: 12px; }
.modal > .modal-actions, .modal > form > .modal-actions { padding: 12px 20px; border-top: 1px solid var(--border-subtle); }
.form-error { padding: 9px 11px; border: 1px solid #77504e; border-radius: 8px; color: var(--danger); background: #422d31; font-size: .86rem; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; color: var(--text); font-size: .87rem; font-weight: 640; }
.field small, .field-hint { color: var(--muted); font-size: .77rem; font-weight: 450; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full-width, .form-grid .span-all { grid-column: 1 / -1; }
.form-section { min-width: 0; margin: 0; padding: 10px 11px 11px; border: 1px solid var(--border); border-radius: 9px; }
.form-section legend { padding-inline: 4px; color: var(--text); font-size: .85rem; font-weight: 680; }
.form-section .form-section { margin-top: 8px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.check-option { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding-block: 5px; font-size: .86rem; overflow-wrap: anywhere; }
.check-option input { flex: 0 0 auto; margin: 2px 0 0; }
.slot-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.slot-field { display: grid; grid-template-columns: minmax(0, 1fr) 60px; align-items: center; gap: 4px; min-width: 0; font-size: .83rem; }
.slot-field input { min-height: 35px; padding-inline: 6px; }
.slot-field > span { overflow-wrap: anywhere; }

input:not([type="checkbox"], [type="radio"]), select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid #535660;
  border-radius: 8px;
  color: var(--text);
  background: var(--surface-subtle);
}
input::placeholder, textarea::placeholder { color: #a8acb5; }
select { cursor: pointer; }
textarea { min-height: 110px; resize: vertical; }
input:is([type="checkbox"], [type="radio"]) { width: 16px; height: 16px; accent-color: var(--lime); }
input[type="date"], input[type="time"] { display: block; }

.toast {
  position: fixed;
  z-index: 5;
  right: max(16px, var(--gutter));
  bottom: 20px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 15px;
  border: 1px solid #617049;
  border-radius: 10px;
  color: var(--text);
  background: #30382b;
  box-shadow: 0 5px 20px #111217a6;
  font-size: .87rem;
  overflow-wrap: anywhere;
}
.toast:empty { display: none; }

@media (max-width: 1130px) {
  .app-shell { grid-template-columns: 204px minmax(0, 1fr); }
  .agenda-grid { grid-template-columns: minmax(245px, .78fr) minmax(0, 1.22fr); gap: 13px; }
  .agenda-panel { padding: 15px; }
  .service-hero, .team-section, .service-footer { padding-inline: 15px; }
  .service-item { gap: 7px; padding-inline: 7px; }
}

@media (min-width: 761px) and (max-width: 940px) {
  .agenda-grid { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(14px, 4.2vw, 28px); }
  .app-shell { display: block; }
  .sidebar {
    position: relative;
    min-height: 0;
    padding: 11px var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .brand { align-self: flex-start; margin: 0; }
  .brand-mark { flex-basis: 35px; width: 35px; height: 35px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .sidebar-nav {
    position: fixed;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 5px 5px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--sidebar);
  }
  .nav-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 52px;
    padding: 4px 2px;
    font-size: clamp(.64rem, 2.55vw, .75rem);
    line-height: 1.13;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-label:has(+ .nav-label-short) { display: none; }
  .nav-label-short { display: inline; }
  .sidebar-footer, .topbar { display: none; }
  .content { padding-top: 23px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .page-heading { gap: 14px; margin-bottom: 17px; }
  .page-title { font-size: clamp(1.9rem, 6vw, 2.4rem); }
  .page-intro { margin-top: 6px; font-size: .89rem; }
  .page-actions { width: 100%; }
  .stats-grid { gap: 8px; margin-bottom: 16px; }
  .stat-card { gap: 9px; padding: 11px 10px; border-radius: 11px; }
  .stat-icon { flex-basis: 33px; width: 33px; height: 33px; border-radius: 8px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-value { font-size: 1.32rem; }
  .stat-label { font-size: .76rem; line-height: 1.25; }
  .agenda-grid { grid-template-columns: minmax(0, 1fr); }
  .service-list { margin-top: 12px; }
  .toast { bottom: calc(69px + env(safe-area-inset-bottom)); }
}

@media (min-width: 510px) and (max-width: 760px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 450px) {
  .stat-card { flex-direction: column; align-items: flex-start; gap: 7px; }
  .stat-card > div { display: flex; flex: 1 1 auto; flex-direction: column; }
  .stat-icon { flex: none; }
  .stat-label { font-size: .7rem; }
  .stat-value { margin-top: auto; padding-top: 3px; font-size: 1.24rem; }
  .btn, .icon-btn, .modal-close, .week-controls .icon-btn, .data-actions .btn { min-height: 44px; }
  .week-controls .icon-btn { width: 38px; }
  .week-link { min-height: 36px; }
  .page-actions .btn { flex: 1 1 auto; }
  .service-heading:is(h2, h3), .service-heading :is(h2, h3), .service-hero > div > h2 { font-size: 1.32rem; }
  .service-hero, .team-section, .service-footer { padding-inline: 13px; }
  .slot-select select { min-height: 42px; }
  .slot-row { grid-template-columns: minmax(82px, .75fr) minmax(0, 1fr); }
  .form-grid, .slot-fields { grid-template-columns: minmax(0, 1fr); }
  .modal-header, .modal-body { padding-inline: 14px; }
  .modal > .modal-actions, .modal > form > .modal-actions { padding-inline: 14px; }
  input:not([type="checkbox"], [type="radio"]), select, textarea, .slot-select select { font-size: 16px; }
  .check-option { min-height: 40px; align-items: center; }
  .data-actions .btn-icon { width: 44px; }
}

@media (forced-colors: active) {
  .nav-item:is(.is-active, [aria-current="page"]), .service-item[aria-pressed="true"] { border-color: Highlight; }
  .btn-primary { border-color: Highlight; }
}
