:root {
  color-scheme: dark;
  --bg: #101214;
  --surface: #171a1d;
  --surface-2: #202428;
  --border: #343a40;
  --text: #f4f0e8;
  --muted: #aeb4ba;
  --gold: #d9a441;
  --green: #46c978;
  --red: #e05f5f;
  --blue: #d9a441;
}

body.superadmin-body {
  min-width: 1180px;
  background:
    radial-gradient(circle at 18% 8%, rgba(217, 164, 65, 0.08), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(76, 126, 255, 0.10), transparent 30%),
    linear-gradient(135deg, #071019 0%, #0b1016 48%, #080b0f 100%);
  color: #f8f4ea;
}
.superadmin-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}
.superadmin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 20px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(6, 10, 15, 0.98)),
    #070b10;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.25);
}
.superadmin-brand,
.superadmin-role-card,
.superadmin-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.superadmin-brand strong,
.superadmin-sidebar-footer strong {
  font-size: 14px;
  line-height: 1.1;
}
.superadmin-brand-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d9a441;
  border-radius: 6px;
  color: #f7b733;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 18px rgba(217, 164, 65, 0.24);
}
.superadmin-role-card {
  min-height: 48px;
  padding: 10px 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.superadmin-role-icon,
.superadmin-sidebar-nav a span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #f7b733;
  background: rgba(217, 164, 65, 0.10);
  border: 1px solid rgba(217, 164, 65, 0.26);
  font-size: 12px;
  font-weight: 800;
}
.superadmin-sidebar-nav {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding-right: 2px;
}
.superadmin-sidebar-nav section {
  display: grid;
  gap: 5px;
}
.superadmin-sidebar-nav p {
  margin: 0 0 6px;
  padding: 0 6px;
  color: #8994a3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.superadmin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #d7deea;
  font-size: 14px;
}
.superadmin-sidebar-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.superadmin-sidebar-nav a.active {
  color: #f8c45a;
  border-color: rgba(217, 164, 65, 0.25);
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.20), rgba(217, 164, 65, 0.05));
  box-shadow: inset 3px 0 0 #d9a441;
}
.superadmin-sidebar-footer {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.superadmin-sidebar-footer small {
  grid-column: 2;
  color: #a9b4c2;
  font-size: 12px;
}
.superadmin-main {
  min-width: 0;
  padding: 22px 28px 36px;
}
.superadmin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.superadmin-header h1 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}
.superadmin-header p {
  margin: 7px 0 0;
  color: #aeb8c7;
  font-size: 14px;
}
.superadmin-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.superadmin-session-card {
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 15, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.superadmin-session-card span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.superadmin-session-card small {
  color: #9aa7b6;
  font-size: 11px;
}
.superadmin-body .logout-link {
  border-color: rgba(217, 164, 65, 0.65);
  background: rgba(217, 164, 65, 0.06);
  color: #fff;
  font-weight: 700;
}
.superadmin-body .logout-link:hover {
  background: rgba(217, 164, 65, 0.16);
}
.superadmin-body .notice {
  margin-bottom: 16px;
}
.superadmin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.superadmin-metric-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(18, 24, 31, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 40px rgba(0, 0, 0, 0.16);
}
.superadmin-metric-card:nth-child(5),
.superadmin-metric-card:nth-child(6) {
  grid-column: span 2;
}
.superadmin-metric-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}
.superadmin-metric-card.tone-blue .superadmin-metric-icon { background: linear-gradient(135deg, #1065d8, #1d88ff); }
.superadmin-metric-card.tone-green .superadmin-metric-icon { background: linear-gradient(135deg, #129252, #33c977); }
.superadmin-metric-card.tone-red .superadmin-metric-icon { background: linear-gradient(135deg, #9f3434, #e05f5f); }
.superadmin-metric-card.tone-purple .superadmin-metric-icon { background: linear-gradient(135deg, #4c278f, #8d5af6); }
.superadmin-metric-card div > span {
  display: block;
  color: #c7d2e2;
  font-size: 13px;
}
.superadmin-metric-card strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.superadmin-metric-card small {
  display: block;
  margin-top: 8px;
  color: #9ba8b8;
  font-size: 12px;
}
.superadmin-body .tabs {
  gap: 0;
  padding: 0;
  margin: 8px 0 16px;
  border-color: rgba(255, 255, 255, 0.12);
}
.superadmin-body .tabs a {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 17px;
  color: #c3cedd;
  background: transparent;
  font-size: 13px;
}
.superadmin-body .tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.superadmin-body .tabs a.active {
  color: #ffc44d;
  border-bottom-color: #d9a441;
  background: transparent;
}
.superadmin-body .panel,
.superadmin-body .platform-admin-hero > div,
.superadmin-body .platform-revenue-card {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(15, 21, 28, 0.90);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 44px rgba(0, 0, 0, 0.14);
}
.superadmin-body .panel {
  padding: 18px;
}
.superadmin-body .panel-header {
  margin-bottom: 14px;
}
.superadmin-body .panel-header h2,
.superadmin-body .panel-header h3 {
  color: #fff;
}
.superadmin-body .panel-header span,
.superadmin-body label,
.superadmin-body .muted {
  color: #aeb8c7;
}
.superadmin-body input,
.superadmin-body select,
.superadmin-body textarea {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 14, 0.72);
  color: #fff;
}
.superadmin-body input:focus,
.superadmin-body select:focus,
.superadmin-body textarea:focus {
  border-color: rgba(217, 164, 65, 0.72);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.12);
}
.superadmin-body button,
.superadmin-body .button-link {
  border-color: rgba(217, 164, 65, 0.72);
  background: rgba(217, 164, 65, 0.08);
  color: #fff;
  font-weight: 700;
}
.superadmin-body button:hover,
.superadmin-body .button-link:hover {
  background: rgba(217, 164, 65, 0.18);
}
.superadmin-body .danger-button {
  border-color: rgba(224, 95, 95, 0.76);
  background: rgba(224, 95, 95, 0.08);
}
.superadmin-body .dashboard-grid,
.superadmin-body .lower-grid,
.superadmin-body .workspace {
  gap: 12px;
}
.superadmin-body .platform-admin-hero {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  margin-bottom: 12px;
}
.superadmin-body .platform-admin-hero h2 {
  color: #fff;
  font-size: 23px;
}
.superadmin-body .platform-admin-hero p {
  max-width: 760px;
  color: #aeb8c7;
}
.superadmin-body .platform-revenue-card strong {
  color: #3fd07d;
}
.superadmin-body .platform-management-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.superadmin-body .table-wrap {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(8, 12, 17, 0.52);
}
.superadmin-body th {
  background: rgba(255, 255, 255, 0.035);
  color: #bfcbd9;
}
.superadmin-body td,
.superadmin-body th {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.superadmin-body tr.selected-row {
  box-shadow: inset 3px 0 0 #d9a441;
  background: rgba(217, 164, 65, 0.07);
}
.superadmin-body .accounting-ledger div,
.superadmin-body .saas-list.as-cards div,
.superadmin-body .list-item,
.superadmin-body .readonly-lock,
.superadmin-body .subscription-summary div,
.superadmin-body .package-editor-card {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(6, 10, 14, 0.46);
}
.superadmin-body .saas-list.as-cards div {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 14px;
}
.superadmin-body .saas-list.as-cards strong,
.superadmin-body .list-item strong,
.superadmin-body .accounting-ledger strong,
.superadmin-body .subscription-summary strong {
  color: #fff;
}
.superadmin-body .saas-list.as-cards span {
  color: #aeb8c7;
}
.superadmin-body .saas-list.as-cards a {
  grid-row: span 2;
  align-self: center;
  min-width: 136px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 164, 65, 0.65);
  border-radius: 6px;
  color: #ffc44d;
  padding: 8px 12px;
}
.superadmin-body .saas-list.as-cards a:hover {
  background: rgba(217, 164, 65, 0.12);
  color: #fff;
}
.superadmin-body .subscription-summary {
  gap: 10px;
}
.superadmin-body .subscription-summary div {
  min-height: 78px;
}
.superadmin-body .form-grid {
  gap: 10px 12px;
}
.superadmin-body textarea {
  resize: vertical;
}
.superadmin-body .readonly-lock {
  color: #aeb8c7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 1080px;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }
button, .button-link {
  border: 1px solid var(--gold);
  background: #2a2418;
  color: var(--text);
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover, .button-link:hover { background: #3a3020; color: var(--text); }
button.danger-button {
  border-color: var(--red);
  background: #2b1616;
}
button.danger-button:hover {
  background: #3a1f1f;
}
.button-link.compact {
  min-height: 32px;
  padding: 6px 12px;
  white-space: nowrap;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #0d0f11;
  color: var(--text);
  border-radius: 6px;
  padding: 10px 11px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
label { display: grid; gap: 7px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
main { padding: 24px; }
.topbar {
  min-height: 96px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  background: #14171a;
}
.topbar h1, .login-panel h1 { margin: 4px 0 0; font-size: 28px; letter-spacing: 0; }
.brand-block {
  min-width: 0;
}
.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.header-search input {
  min-height: 44px;
  border-color: var(--border);
  background: #0d0f11;
}
.header-search button {
  min-height: 44px;
  min-width: 92px;
}
.session-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}
.session-user,
.session-time {
  display: grid;
  gap: 3px;
  text-align: right;
}
.session-user span,
.session-time span {
  font-size: 18px;
  line-height: 1.15;
}
.session-user small,
.session-time small {
  color: var(--muted);
  font-size: 12px;
}
.logout-link {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--text);
}
.logout-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.login-shell {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.login-panel {
  width: min(430px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.account-strip {
  display: flex;
  gap: 16px;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 13px;
}
.account-strip div {
  display: grid;
  gap: 4px;
}
.account-strip strong {
  color: var(--text);
  font-weight: 600;
}
.account-strip small {
  color: var(--muted);
}
.owner-location-switcher {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-left: auto;
}
.owner-location-switcher label {
  margin: 0;
  min-width: min(320px, 55vw);
}
.owner-location-switcher select {
  min-height: 38px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: var(--muted);
  background: transparent;
}
.tabs a:hover {
  color: var(--text);
  background: #15191c;
}
.tabs a.active {
  color: var(--gold);
  border-color: var(--border);
  background: var(--surface);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metrics article, .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.metrics article { padding: 16px; }
.metrics span { display: block; color: var(--muted); font-size: 13px; }
.metrics strong { display: block; margin-top: 8px; font-size: 28px; }
.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.dashboard-kpis article {
  min-height: 124px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.dashboard-kpis span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.dashboard-kpis strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.1;
}
.dashboard-kpis small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.dashboard-panel {
  min-height: 260px;
}
.owner-chart-card {
  background: #f7fbff;
  color: #102033;
  border-color: #dce5f0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}
.owner-chart-card .panel-header {
  margin-bottom: 18px;
}
.owner-chart-card .panel-header h2 {
  color: #102033;
}
.owner-chart-card .panel-header span {
  color: #6d7f94;
}
.owner-line-chart {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-height: 218px;
}
.owner-chart-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 0 31px;
  color: #8192a7;
  font-size: 11px;
}
.owner-line-plot {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  border-bottom: 1px solid #d7e3ef;
  background:
    linear-gradient(#e6edf5 1px, transparent 1px) 0 0 / 100% 33.333%,
    linear-gradient(90deg, rgba(215, 227, 239, .68) 1px, transparent 1px) 0 0 / 16.666% 100%;
}
.owner-line-segment {
  position: absolute;
  height: 3px;
  transform-origin: 0 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f0c66d);
  box-shadow: 0 8px 18px rgba(217, 164, 65, .22);
}
.owner-line-point {
  position: absolute;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 14px rgba(217, 164, 65, .32);
}
.owner-chart-labels {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: -24px;
  color: #7f90a5;
  font-size: 11px;
}
.owner-chart-labels span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}
.owner-chart-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.owner-chart-summary div {
  border: 1px solid #dce5f0;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.owner-chart-summary span {
  display: block;
  color: #7890aa;
  font-size: 11px;
  text-transform: uppercase;
}
.owner-chart-summary strong {
  display: block;
  margin-top: 6px;
  color: #102033;
  font-size: 17px;
}
.owner-donut-layout {
  min-height: 218px;
  display: grid;
  grid-template-columns: minmax(180px, .74fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.owner-donut-chart {
  position: relative;
  width: min(210px, 100%);
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: inset 0 0 0 38px #fff, 0 18px 34px rgba(13, 42, 74, .08);
}
.owner-donut-chart::after {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf3f8;
}
.owner-donut-chart strong,
.owner-donut-chart span {
  position: relative;
  z-index: 1;
}
.owner-donut-chart strong {
  color: #102033;
  font-size: 32px;
  line-height: 1;
}
.owner-donut-chart span {
  color: #7890aa;
  font-size: 12px;
}
.owner-donut-legend {
  display: grid;
  gap: 11px;
}
.owner-donut-legend div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: #34495f;
  font-size: 13px;
}
.owner-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.owner-donut-legend span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-donut-legend strong {
  color: #102033;
  font-size: 13px;
}

body.owner-dashboard-body {
  min-width: 1180px;
  background:
    linear-gradient(135deg, rgba(16, 96, 176, .08), transparent 32%),
    linear-gradient(180deg, #050a11 0%, #07101b 54%, #050911 100%);
  color: #f8fbff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
.owner-dashboard-body a {
  color: #f3f7ff;
}
.owner-dashboard-body a:hover {
  color: #ffbd28;
}
.owner-dashboard-header {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 510px) auto auto minmax(260px, 540px);
  align-items: center;
  gap: 20px;
  padding: 18px 32px 16px;
  border-bottom: 1px solid rgba(198, 213, 235, .14);
  background:
    linear-gradient(180deg, rgba(7, 14, 24, .98), rgba(6, 12, 20, .94)),
    #07101b;
}
.owner-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.owner-brand-mark {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff4cf;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #f8c252, #f59b17);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  box-shadow: 0 0 24px rgba(247, 176, 45, .24);
}
.owner-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 8px;
  background: #10151d;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}
.owner-brand-mark::before {
  content: "K";
  position: relative;
  z-index: 1;
}
.owner-brand strong {
  display: block;
  color: #f7f8fc;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}
.owner-brand b {
  color: #ffbd28;
}
.owner-brand small {
  display: block;
  margin-top: 7px;
  color: #a8b0bd;
  font-size: 17px;
}
.owner-global-search {
  position: relative;
  min-width: 0;
}
.owner-global-search span {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border: 2px solid #8290a4;
  border-radius: 50%;
  pointer-events: none;
}
.owner-global-search span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #8290a4;
  transform: rotate(45deg);
}
.owner-global-search input {
  min-height: 46px;
  border: 1px solid rgba(133, 151, 176, .35);
  border-radius: 10px;
  padding: 0 16px 0 44px;
  background: rgba(5, 11, 19, .78);
  color: #e9eef7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.owner-global-search input::placeholder {
  color: #9ca7b6;
}
.owner-notification {
  position: relative;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(133, 151, 176, .18);
  border-radius: 50%;
  background: rgba(9, 16, 27, .58);
}
.owner-notification span {
  position: relative;
  width: 17px;
  height: 18px;
  border: 2px solid #dbe5f4;
  border-radius: 9px 9px 5px 5px;
}
.owner-notification span::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dbe5f4;
}
.owner-notification span::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -7px;
  width: 6px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: #dbe5f4;
}
.owner-notification b {
  position: absolute;
  right: -2px;
  top: -6px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff7a2f;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.owner-header-setting {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 188, 40, .34);
  border-radius: 10px;
  background: rgba(255, 188, 40, .06);
  color: #f5f8ff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.owner-header-setting:hover,
.owner-header-setting.active {
  background: linear-gradient(180deg, rgba(255, 187, 40, .18), rgba(255, 187, 40, .06));
  color: #ffc233;
  box-shadow: inset 0 1px 0 rgba(255, 187, 40, .18);
}
.owner-profile-card {
  min-height: 66px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  padding: 8px 12px 8px 14px;
  background: rgba(20, 29, 42, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.owner-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  border: 2px solid #ffb41f;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #ffcc62 0 10px, transparent 11px), linear-gradient(180deg, #1a2130, #0b111c);
}
.owner-avatar::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 10px;
  height: 16px;
  border-radius: 16px 16px 8px 8px;
  background: #ffcc62;
}
.owner-profile-card strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-profile-card small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #c0c8d2;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-profile-menu {
  color: #d6dde8;
  font-size: 20px;
  text-align: center;
}
.owner-profile-logout {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 188, 40, .42);
  border-radius: 9px;
  background: rgba(255, 188, 40, .07);
  color: #ffc233;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.owner-profile-logout:hover {
  background: rgba(255, 188, 40, .16);
  color: #fff;
}
.owner-dashboard-main {
  padding: 0 32px 34px;
}
.owner-dashboard-body .tabs {
  min-height: 62px;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 -12px 22px;
  border: 0;
  border-bottom: 1px solid rgba(198, 213, 235, .10);
  background: rgba(6, 12, 20, .70);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.owner-dashboard-body .tabs a {
  position: relative;
  flex: 1 0 auto;
  min-width: max-content;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  padding: 0 13px;
  color: #e6ebf4;
  font-size: 14px;
  white-space: nowrap;
}
.owner-dashboard-body .tabs a + a {
  border-left: 1px solid rgba(198, 213, 235, .07);
}
.owner-dashboard-body .tabs a:hover {
  background: rgba(255, 255, 255, .035);
}
.owner-dashboard-body .tabs a.active {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(255, 187, 40, .14), rgba(255, 187, 40, .03));
  color: #ffc233;
  box-shadow: inset 0 1px 0 rgba(255, 187, 40, .18);
}
.owner-tab-icon {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 7px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}
.owner-tab-icon::before { content: "D"; }
.owner-tab-locations::before { content: "L"; }
.owner-tab-accounting::before { content: "$"; }
.owner-tab-quotes::before { content: "Q"; }
.owner-tab-appointments::before { content: "A"; }
.owner-tab-employees::before { content: "E"; }
.owner-tab-inventory::before { content: "I"; }
.owner-tab-customers::before { content: "C"; }
.owner-tab-parts-manager::before { content: "P"; }
.owner-tab-setting::before { content: "S"; }
.owner-dashboard-body .tabs a i,
.owner-header-setting i,
.owner-dashboard-body .panel-header span i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-left: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.owner-dashboard-body .panel {
  border: 1px solid rgba(150, 169, 195, .28);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    rgba(9, 17, 29, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 22px 70px rgba(0, 0, 0, .18);
}
.owner-dashboard-body .panel-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}
.owner-dashboard-body .panel-header span {
  color: #ffc233;
  font-size: 17px;
  font-weight: 800;
}
.owner-dashboard-kpis {
  gap: 20px;
  margin-bottom: 22px;
}
.owner-dashboard-kpis .owner-kpi-card {
  position: relative;
  min-height: 146px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border-radius: 10px;
  padding: 22px 28px;
  background:
    radial-gradient(circle at 18% 28%, var(--owner-card-glow), transparent 44%),
    linear-gradient(145deg, rgba(16, 27, 43, .96), rgba(7, 13, 22, .95));
}
.owner-dashboard-kpis .owner-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--owner-card-border);
  pointer-events: none;
}
.owner-kpi-card.tone-blue { --owner-card-color: #2f80ff; --owner-card-border: rgba(47, 128, 255, .42); --owner-card-glow: rgba(47, 128, 255, .18); }
.owner-kpi-card.tone-green { --owner-card-color: #3fd38a; --owner-card-border: rgba(63, 211, 138, .36); --owner-card-glow: rgba(63, 211, 138, .15); }
.owner-kpi-card.tone-purple { --owner-card-color: #7950f2; --owner-card-border: rgba(121, 80, 242, .46); --owner-card-glow: rgba(121, 80, 242, .20); }
.owner-kpi-card.tone-gold { --owner-card-color: #e4a400; --owner-card-border: rgba(228, 164, 0, .50); --owner-card-glow: rgba(228, 164, 0, .17); }
.owner-kpi-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--owner-card-color), color-mix(in srgb, var(--owner-card-color) 62%, #03121f));
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 15px 28px color-mix(in srgb, var(--owner-card-color) 32%, transparent);
}
.tone-blue .owner-kpi-icon::before { content: "C"; }
.tone-green .owner-kpi-icon::before { content: "P"; }
.tone-purple .owner-kpi-icon::before { content: "$"; }
.tone-gold .owner-kpi-icon::before { content: "R"; }
.owner-dashboard-kpis .owner-kpi-card > div > span {
  color: #f0f5ff;
  font-size: 16px;
  font-weight: 700;
}
.owner-dashboard-kpis .owner-kpi-card strong {
  margin-top: 11px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}
.owner-dashboard-kpis .owner-kpi-card small {
  margin-top: 15px;
  color: #c2cbd8;
  font-size: 16px;
}
.owner-kpi-mini {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--owner-card-border);
  border-radius: 9px;
  color: var(--owner-card-color);
}
.owner-kpi-mini::before {
  content: "";
  width: 18px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-12deg);
}
.special-request-dashboard {
  margin-bottom: 22px;
  padding: 22px 32px 13px;
}
.owner-section-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, #ffc24c, #f2a713);
  color: #101520;
  font-size: 14px;
  font-weight: 900;
}
.request-icon::before { content: "*"; }
.revenue-icon::before { content: "$"; }
.status-icon::before { content: "%"; }
.owner-empty-state {
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(150, 169, 195, .18);
  border-radius: 9px;
  padding: 16px 31px;
  background: rgba(6, 13, 23, .54);
}
.owner-empty-state span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid #37d27d;
  border-radius: 50%;
}
.owner-empty-state span::before {
  content: "";
  width: 13px;
  height: 7px;
  border-left: 2px solid #37d27d;
  border-bottom: 2px solid #37d27d;
  transform: translateY(-2px) rotate(-45deg);
}
.owner-empty-state strong {
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}
.owner-dashboard-body .dashboard-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .97fr);
  gap: 20px;
}
.owner-dashboard-body .dashboard-panel {
  min-height: 355px;
  padding: 26px 34px;
}
.owner-dashboard-body .owner-chart-card {
  border-color: rgba(150, 169, 195, .30);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    rgba(9, 17, 29, .82);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 22px 70px rgba(0, 0, 0, .18);
}
.owner-dashboard-body .owner-chart-card .panel-header {
  margin-bottom: 22px;
}
.owner-dashboard-body .owner-chart-card .panel-header h2 {
  color: #fff;
}
.owner-dashboard-body .owner-chart-card .panel-header span {
  color: #ffc233;
}
.owner-dashboard-body .owner-line-chart {
  min-height: 246px;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
}
.owner-dashboard-body .owner-chart-scale {
  padding: 2px 0 35px;
  color: #d7deea;
  font-size: 16px;
}
.owner-dashboard-body .owner-line-plot {
  min-height: 205px;
  border-bottom-color: rgba(132, 148, 171, .28);
  background:
    linear-gradient(rgba(132, 148, 171, .20) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(132, 148, 171, .18) 1px, transparent 1px) 0 0 / 16.666% 100%;
}
.owner-dashboard-body .owner-line-segment {
  height: 2px;
  background: #f8b400;
  box-shadow: 0 8px 20px rgba(248, 180, 0, .24);
}
.owner-dashboard-body .owner-line-point {
  width: 13px;
  height: 13px;
  border: 3px solid #f8b400;
  background: #0b111d;
  box-shadow: 0 0 0 2px rgba(248, 180, 0, .18);
}
.owner-dashboard-body .owner-chart-labels {
  margin-top: -18px;
  color: #d8dfeb;
  font-size: 16px;
}
.owner-dashboard-body .owner-chart-summary {
  display: none;
}
.owner-dashboard-body .owner-donut-layout {
  min-height: 250px;
  grid-template-columns: minmax(250px, .76fr) minmax(240px, 1fr);
  gap: 34px;
}
.owner-dashboard-body .owner-donut-chart {
  width: 246px;
  box-shadow: none;
}
.owner-dashboard-body .owner-donut-chart::after {
  inset: 48px;
  background: #0c1420;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.owner-dashboard-body .owner-donut-chart strong {
  color: #fff;
  font-size: 40px;
}
.owner-dashboard-body .owner-donut-chart span {
  color: #d7deea;
  font-size: 16px;
}
.owner-dashboard-body .owner-donut-legend {
  gap: 22px;
}
.owner-dashboard-body .owner-donut-legend div {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 16px;
  border-bottom: 1px solid rgba(150, 169, 195, .17);
  padding-bottom: 18px;
  color: #f2f6ff;
  font-size: 19px;
}
.owner-dashboard-body .owner-donut-legend i {
  width: 18px;
  height: 18px;
}
.owner-dashboard-body .owner-donut-legend strong {
  color: #2f80ff;
  font-size: 19px;
}
.bar-chart {
  display: grid;
  gap: 14px;
}
.chart-row {
  display: grid;
  gap: 8px;
}
.chart-row.compact {
  gap: 6px;
}
.chart-row small {
  color: var(--muted);
  font-size: 12px;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.chart-label span {
  min-width: 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-label strong {
  flex: 0 0 auto;
  font-size: 14px;
}
.chart-track {
  height: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #0d0f11;
}
.chart-track span {
  display: block;
  height: 100%;
  min-width: 6px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f0c66d);
}
.chart-track.cost span {
  background: linear-gradient(90deg, var(--red), #f0a06c);
}
.column-chart {
  min-height: 188px;
  display: grid;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  gap: 12px;
  align-items: end;
}
.column-item {
  min-width: 0;
  display: grid;
  gap: 6px;
  text-align: center;
}
.column-track {
  height: 128px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0d0f11;
}
.column-track span {
  display: block;
  width: 100%;
  min-height: 8px;
  background: linear-gradient(180deg, #f0c66d, var(--gold));
}
.column-item strong {
  font-size: 14px;
}
.column-item small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.accounting-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.accounting-toolbar h2 {
  margin: 5px 0;
  font-size: 24px;
}
.accounting-toolbar span {
  color: var(--muted);
}
.accounting-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.accounting-subtabs {
  justify-content: center;
}
.button-link.active-filter {
  background: var(--gold);
  color: #111;
}
.accounting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.accounting-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.accounting-ledger div {
  min-height: 82px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #111416;
}
.accounting-ledger span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.accounting-ledger strong {
  display: block;
  font-size: 22px;
  overflow-wrap: anywhere;
}
.accounting-columns {
  grid-template-columns: repeat(6, minmax(42px, 1fr));
}
.accounting-lower {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.expense-workspace {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.expense-category-chart {
  margin-top: 16px;
}
.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.export-actions .button-link,
.export-actions button {
  min-height: 42px;
}
.export-list .list-item {
  line-height: 1.35;
}
.compact-button {
  padding: 10px 14px;
  font-size: 14px;
}
.workspace {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}
.owner-account-workspace {
  grid-template-columns: 360px 360px 1fr;
}
.manager-workspace {
  grid-template-columns: 300px 1fr;
}
.employee-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.employee-workspace {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}
.employee-list-panel .table-wrap {
  max-height: 620px;
}
.selected-row td {
  background: #171d22;
}
.employee-profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.employee-profile-summary div {
  min-height: 82px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px;
  background: #111416;
}
.employee-profile-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.employee-profile-summary strong {
  display: block;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.employee-profile-form textarea {
  min-height: 94px;
}
.employee-pay-note {
  display: grid;
  gap: 4px;
  margin: 4px 0 16px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 12px;
  background: #20190e;
}
.employee-pay-note span {
  color: var(--muted);
  line-height: 1.35;
}
.employee-termination-note {
  display: grid;
  gap: 4px;
  margin: 4px 0 16px;
  border: 1px solid rgba(224, 95, 95, .72);
  border-radius: 6px;
  padding: 12px;
  background: #2b1616;
}
.employee-termination-note span {
  color: var(--muted);
  line-height: 1.35;
}
.assign-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 460px;
}
.assign-form select,
.assign-form button {
  min-height: 38px;
}
.signup-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.signup-action-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.signup-actions button,
.signup-actions select {
  min-height: 34px;
}
.signup-table {
  width: 100%;
  min-width: 1280px;
  table-layout: fixed;
}
.signup-table th,
.signup-table td {
  vertical-align: top;
}
.signup-table th:nth-child(1) { width: 12%; }
.signup-table th:nth-child(2) { width: 24%; }
.signup-table th:nth-child(3) { width: 10%; }
.signup-table th:nth-child(4) { width: 11%; }
.signup-table th:nth-child(5) { width: 11%; }
.signup-table th:nth-child(6) { width: 12%; }
.signup-table th:nth-child(7) { width: 20%; }
.signup-business-cell,
.signup-email-cell {
  overflow-wrap: anywhere;
}
.signup-table .signup-token-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  line-height: 1.15;
}
.signup-table .compact-button {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 14px;
  white-space: nowrap;
}
.signup-secondary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.settings-form {
  display: grid;
  gap: 18px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.settings-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.settings-actions .panel-header {
  margin-bottom: 0;
}
.toggle-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.check-row,
.toggle-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  background: #111416;
  color: var(--text);
}
.check-row input,
.toggle-row input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}
.toggle-row span {
  line-height: 1.35;
}
.hours-table {
  display: grid;
  gap: 8px;
}
.hours-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 120px 120px;
  gap: 8px;
  align-items: center;
}
.hours-row .check-row {
  min-height: 40px;
}
.hours-row input[type="time"] {
  min-height: 40px;
}
.panel { padding: 16px; }
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-header h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.panel-header span { color: var(--muted); font-size: 13px; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); }
td small { color: var(--muted); }
.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--gold);
  background: #201b12;
  font-size: 12px;
  text-transform: capitalize;
}
.danger-badge {
  border-color: rgba(224, 95, 95, .72);
  background: #2b1616;
  color: #ffb3b3;
}
.notice {
  border: 1px solid var(--gold);
  background: #211a0e;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.repeat-check-row {
  border-color: rgba(224, 172, 63, .55);
  background: #1b1710;
}
.duplicate-check-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid rgba(224, 172, 63, .55);
  border-radius: 8px;
  padding: 12px;
  background: #1b1710;
}
.duplicate-check-panel strong {
  display: block;
  margin-bottom: 3px;
}
.duplicate-check-panel span:not(.field-hint) {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.duplicate-check-panel .field-hint {
  grid-column: 1 / -1;
}
.transfer-vehicle-row {
  border-color: rgba(224, 172, 63, .78);
  background: #211a0e;
}
.repeat-vehicle-picker,
.repeat-repair-picker {
  border: 1px solid rgba(224, 172, 63, .35);
  border-radius: 8px;
  padding: 12px;
  background: #111416;
}
.repeat-vehicle-picker[hidden],
.repeat-repair-picker[hidden],
.repeat-check-row[hidden],
.transfer-vehicle-row[hidden] {
  display: none;
}
textarea { min-height: 110px; resize: vertical; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.profile-password-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.compact-header {
  margin-bottom: 12px;
}
.list { display: grid; gap: 10px; }
.list-item { border: 1px solid var(--border); border-radius: 6px; padding: 10px; background: #111416; }
.muted { color: var(--muted); }
.readonly-lock {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #111416;
  color: var(--muted);
}
.readonly-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: #111416;
  color: var(--muted);
  font-size: 12px;
}
.quote-decision-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.quote-decision-actions form {
  margin: 0;
}
.quote-decision-actions .compact-button {
  min-height: 34px;
  padding: 6px 10px;
  white-space: nowrap;
}
.quote-decision-actions .compact-input {
  width: 82px;
  min-height: 34px;
  padding: 6px 8px;
  font-size: 14px;
}
.quote-decision-actions select {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 14px;
}
.work-status-window {
  display: grid;
  gap: 16px;
}
.work-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.work-summary > div {
  display: grid;
  gap: 5px;
  min-height: 92px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #111416;
}
.work-summary span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.work-summary strong {
  font-size: 17px;
}
.work-summary small {
  color: var(--muted);
  line-height: 1.4;
}
.work-status-form {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.work-status-form textarea {
  min-height: 88px;
}
.work-notes-history {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.work-note {
  display: grid;
  gap: 10px;
}
.work-note p {
  margin: 0;
  color: var(--text);
}
.work-note-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.work-note-head strong {
  color: var(--text);
}
.work-note dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.work-note dl div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  background: #0d0f11;
}
.work-note dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.work-note dd {
  margin: 0;
  color: var(--text);
}
.customer-workspace {
  grid-template-columns: 420px 1fr;
}
.refund-workspace {
  grid-template-columns: minmax(420px, 560px) 1fr;
  margin-bottom: 18px;
}
.refund-button {
  min-width: 88px;
}
.customer-list-panel .table-wrap {
  max-height: 520px;
}
.customer-profile {
  display: grid;
  gap: 18px;
}
.profile-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.profile-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.section-title h3 {
  margin: 0;
  font-size: 17px;
}
.section-title span {
  color: var(--muted);
  font-size: 13px;
}
.customer-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.customer-detail-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.customer-detail-grid > div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  background: #111416;
}
.customer-detail-grid span,
.vehicle-problem span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.customer-detail-grid strong {
  display: block;
  overflow-wrap: anywhere;
}
.vehicle-card-grid {
  display: grid;
  gap: 12px;
}
.vehicle-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #111416;
}
.vehicle-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.vehicle-problem {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.vehicle-problem p {
  margin: 0;
  color: var(--text);
}
.special-request-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 14px;
  background: #211a0e;
}
.special-request-bar div {
  display: grid;
  gap: 4px;
}
.special-request-bar span {
  color: var(--muted);
  font-size: 13px;
}
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
}
.request-dialog {
  width: min(620px, calc(100vw - 48px));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.request-context {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  background: #111416;
}
.request-context span {
  color: var(--muted);
}
.special-request-dashboard {
  margin-bottom: 18px;
}
.special-request-profile {
  display: grid;
  gap: 18px;
}
.request-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.request-summary-grid div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #111416;
}
.request-summary-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.request-summary-grid strong {
  display: block;
  font-size: 17px;
}
.special-request-decision {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.special-request-decision form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.customer-quote-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--gold);
  background: #201b12;
  font-weight: 700;
}
.customer-quote-link:hover {
  background: #2a2418;
  color: var(--text);
}
.input-tool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.input-tool input {
  flex: 1 1 280px;
  min-width: 0;
  text-transform: uppercase;
}
.tool-button {
  flex: 0 0 auto;
  min-width: 156px;
  white-space: nowrap;
}
.field-hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: -4px;
}
.scanner-panel {
  position: relative;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  background: #0d0f11;
}
.scanner-panel[hidden] {
  display: none;
}
.scanner-panel video {
  display: block;
  width: 100%;
  height: min(58vh, 420px);
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #050607;
}
.scanner-panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  height: 76px;
  transform: translateY(-58%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .22);
}
.scanner-panel.is-portrait video {
  height: min(68vh, 640px);
  aspect-ratio: 9 / 16;
}
.scanner-panel.is-landscape video {
  height: min(56vh, 420px);
  aspect-ratio: 16 / 9;
}
.scanner-panel.is-portrait::after {
  left: 16px;
  right: 16px;
  top: 48%;
  height: 86px;
}
.scanner-panel.is-landscape::after {
  left: 36px;
  right: 36px;
  top: 50%;
  height: 76px;
}
.scanner-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.printout-panel .actions {
  margin-bottom: 16px;
}
.print-sheet {
  background: #fff;
  color: #111;
  border-radius: 6px;
  padding: 24px;
}
.print-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #111;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.print-title > div {
  min-width: 0;
}
.print-title h2 {
  margin: 0;
  font-size: 26px;
}
.print-section {
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 14px;
}
.print-section h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.print-grid span {
  display: block;
  color: #555;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.print-grid strong {
  display: block;
  color: #111;
}
.print-sheet table {
  color: #111;
}
.print-sheet th {
  background: #f0f0f0;
  color: #333;
}
.invoice-creator {
  display: grid;
  gap: 18px;
}
.invoice-editor {
  padding: 0;
  overflow: hidden;
}
.invoice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.invoice-toolbar h2 {
  margin: 0 0 4px;
}
.invoice-toolbar span {
  color: var(--muted);
}
.invoice-paper {
  background: #ffffff;
  color: #111111;
  padding: 28px;
}
.invoice-paper input,
.invoice-paper textarea {
  background: #ffffff;
  color: #111111;
  border-color: #c9ced3;
}
.invoice-paper label {
  color: #333333;
}
.invoice-head {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 2px solid #111111;
}
.invoice-head h2 {
  margin: 4px 0;
  font-size: 38px;
  color: #111111;
}
.shop-print-profile {
  margin: 8px 0 0;
  color: #3e464d;
  line-height: 1.45;
}
.shop-print-profile strong {
  display: inline-block;
  margin-bottom: 2px;
  color: #111111;
  font-size: 15px;
}
.invoice-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.readonly-meta div,
.readonly-totals div {
  border: 1px solid #d7dce0;
  border-radius: 6px;
  padding: 10px;
  background: #ffffff;
}
.readonly-meta span,
.readonly-totals span {
  display: block;
  margin-bottom: 6px;
  color: #555555;
  font-size: 12px;
  text-transform: uppercase;
}
.readonly-meta strong,
.readonly-totals strong {
  display: block;
  color: #111111;
}
.invoice-parties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.invoice-parties section {
  border: 1px solid #d7dce0;
  border-radius: 8px;
  padding: 14px;
}
.invoice-parties h3,
.invoice-lines h3 {
  margin: 0 0 8px;
  color: #111111;
}
.invoice-lines {
  border: 1px solid #d7dce0;
  border-radius: 8px;
  overflow: hidden;
}
.invoice-lines table {
  color: #111111;
}
.invoice-lines th {
  background: #edf0f2;
  color: #333333;
}
.invoice-lines td {
  border-color: #e1e5e8;
}
.invoice-lines input {
  min-height: 36px;
}
.invoice-bottom {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-top: 20px;
}
.invoice-totals {
  display: grid;
  gap: 10px;
}
.invoice-payment {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d7dce0;
}
.pay-button {
  min-width: 220px;
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.payment-methods {
  width: min(100%, 520px);
  border: 1px solid #d7dce0;
  border-radius: 8px;
  padding: 16px;
  background: #f6f7f8;
}
.payment-methods[hidden] {
  display: none;
}
.payment-method-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
}
.payment-method-heading h3 {
  margin: 0;
  color: #111111;
}
.payment-method-heading span {
  color: #555555;
  font-size: 13px;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.payment-option {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid #c9ced3;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
}
.payment-option input {
  width: 18px;
  min-height: 18px;
}
.cash-receipt-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  border: 1px solid #111111;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}
.cash-receipt-prompt[hidden] {
  display: none;
}
.cash-receipt-prompt h4 {
  margin: 0 0 4px;
  color: #111111;
}
.cash-receipt-prompt p {
  margin: 0;
  color: #555555;
}
.cash-receipt-prompt button {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  white-space: nowrap;
}
.cash-payment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sticker-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
}
.sticker-dialog {
  width: min(760px, calc(100vw - 48px));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.manager-sticker-dialog {
  width: min(900px, calc(100vw - 48px));
}
.sticker-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sticker-preview {
  display: grid;
  align-content: center;
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  color: #111;
}
.sticker-preview span {
  color: #555;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.sticker-preview strong {
  display: block;
  margin-top: 16px;
  font-size: 32px;
  line-height: 1.1;
}
.sticker-preview p {
  margin: 14px 0 0;
  font-size: 22px;
}
.sticker-print-area {
  display: none;
}
.post-sticker-assignment {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.post-sticker-assignment[hidden] {
  display: none;
}
.post-print-assign-form {
  min-width: 0;
}
.sticker-label {
  page: sticker;
  width: 7in;
  height: 5in;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .28in;
  padding: .38in;
  background: #fff;
  color: #000;
  page-break-after: always;
  break-after: page;
}
.sticker-label span {
  justify-self: end;
  align-self: start;
  font-size: 18pt;
  font-weight: 700;
  letter-spacing: 0;
}
.sticker-label strong {
  max-width: 6.2in;
  text-align: center;
  font-size: 46pt;
  font-weight: 800;
  line-height: 1;
}
.sticker-label p {
  margin: 0;
  max-width: 6.2in;
  text-align: center;
  font-size: 30pt;
  line-height: 1.1;
}

@media print {
  body {
    min-width: 0;
    background: #fff;
    color: #111;
  }
  .topbar,
  .account-strip,
  .metrics,
  .tabs,
  .no-print {
    display: none !important;
  }
  main {
    padding: 0;
  }
  .panel,
  .printout-panel,
  .print-sheet,
  .invoice-editor,
  .invoice-paper {
    border: 0;
    box-shadow: none;
    padding: 0;
    background: #fff;
  }
  .invoice-paper input,
  .invoice-paper textarea {
    border: 0;
    padding: 0;
    resize: none;
  }
  .invoice-head {
    grid-template-columns: 1fr 320px;
  }
  .print-section {
    break-inside: avoid;
  }
  body.printing-stickers {
    width: 7in;
    min-width: 0;
    margin: 0;
  }
  body.printing-stickers main > :not(.sticker-print-area) {
    display: none !important;
  }
  body.printing-stickers .sticker-print-area {
    display: block;
  }
  body.printing-stickers .sticker-label:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}

@page sticker {
  size: 7in 5in;
  margin: 0;
}

body.saas-body {
  min-width: 0;
  overflow-x: hidden;
}
.saas-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.saas-top {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.saas-top h1 {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.15;
}
.saas-top .eyebrow {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}
.saas-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.saas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}
.saas-hero > div,
.saas-price-card,
.saas-visual,
.saas-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.saas-hero > div {
  padding: 26px;
}
.saas-hero h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: 42px;
  line-height: 1.05;
}
.saas-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.saas-price-card {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
}
.saas-price-card span,
.saas-price-card small {
  color: var(--muted);
}
.saas-visual {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 20px;
}
.shop-slideshow {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .12), transparent 36%),
    linear-gradient(180deg, #191d20, #111416);
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 22px;
  opacity: 0;
  transform: translateX(24px);
  animation: shopSlideShow 15s infinite;
}
.slide-two {
  animation-delay: 5s;
}
.slide-three {
  animation-delay: 10s;
}
.slide-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.slide-head span,
.slide-grid span,
.parts-wall span,
.invoice-stack span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.slide-head strong {
  color: var(--gold);
  font-size: 24px;
}
.repair-bay-art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255,255,255,.05) 22% 23%, transparent 23% 49%, rgba(255,255,255,.05) 49% 50%, transparent 50% 76%, rgba(255,255,255,.05) 76% 77%, transparent 77%),
    #0d0f11;
}
.bay-lift {
  position: absolute;
  left: 74px;
  right: 74px;
  top: 96px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}
.bay-lift::before,
.bay-lift::after {
  content: "";
  position: absolute;
  top: -72px;
  width: 8px;
  height: 112px;
  border-radius: 99px;
  background: #2b3035;
}
.bay-lift::before {
  left: 26px;
}
.bay-lift::after {
  right: 26px;
}
.bay-car {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 220px;
  height: 70px;
  transform: translateX(-50%);
  border: 2px solid #d7dde2;
  border-radius: 60px 70px 28px 28px;
  background: linear-gradient(180deg, #30373d, #181c20);
}
.bay-car span {
  position: absolute;
  left: 50px;
  top: -20px;
  width: 100px;
  height: 36px;
  border: 2px solid #d7dde2;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #20262b;
}
.bay-car i,
.bay-car b {
  position: absolute;
  bottom: -16px;
  width: 34px;
  height: 34px;
  border: 7px solid #070809;
  border-radius: 50%;
  background: #3a4248;
}
.bay-car i {
  left: 36px;
}
.bay-car b {
  right: 36px;
}
.bay-floor {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  height: 2px;
  background: var(--border);
}
.slide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.slide-grid div,
.parts-wall div,
.invoice-stack div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: rgba(13, 15, 17, .82);
}
.slide-grid strong,
.parts-wall strong,
.invoice-stack strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.1;
}
.parts-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.slide-track {
  height: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #0d0f11;
}
.slide-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f0c66d);
}
.slide small {
  color: var(--muted);
  line-height: 1.4;
}
.invoice-stack {
  display: grid;
  gap: 10px;
}
.invoice-stack div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.invoice-stack strong {
  margin-top: 0;
  color: var(--gold);
}
.slide-dots {
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}
.slide-dots span {
  width: 32px;
  height: 4px;
  border-radius: 99px;
  background: var(--border);
  animation: shopDotShow 15s infinite;
}
.slide-dots span:nth-child(2) {
  animation-delay: 5s;
}
.slide-dots span:nth-child(3) {
  animation-delay: 10s;
}
.sales-number-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sales-number-strip div {
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #111416;
}
.sales-number-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.sales-number-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1.05;
}
@keyframes shopSlideShow {
  0%, 6% {
    opacity: 0;
    transform: translateX(24px);
  }
  10%, 30% {
    opacity: 1;
    transform: translateX(0);
  }
  36%, 100% {
    opacity: 0;
    transform: translateX(-24px);
  }
}
@keyframes shopDotShow {
  0%, 8% {
    background: var(--border);
  }
  10%, 30% {
    background: var(--gold);
  }
  36%, 100% {
    background: var(--border);
  }
}
.visual-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.visual-toolbar span,
.visual-flow span,
.visual-metrics span {
  color: var(--muted);
}
.visual-toolbar strong {
  color: var(--gold);
}
.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.visual-metrics div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #111416;
}
.visual-metrics span,
.visual-metrics strong {
  display: block;
}
.visual-metrics strong {
  margin-top: 7px;
  font-size: 28px;
}
.visual-bars {
  display: grid;
  gap: 10px;
}
.visual-bars div {
  height: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #0d0f11;
}
.visual-bars span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f0c66d);
}
.visual-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.visual-flow span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111416;
  font-weight: 700;
}
.saas-price-card strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--gold);
  font-size: 54px;
  line-height: 1;
}
.saas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.saas-card {
  padding: 18px;
}
.saas-card.wide {
  grid-column: 1 / -1;
}
.saas-card h2,
.saas-card h3 {
  margin: 0 0 14px;
}
.onboard-graphic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.onboard-graphic div {
  min-height: 124px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #111416;
}
.onboard-graphic span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: #201b12;
  font-weight: 800;
}
.onboard-graphic strong {
  font-size: 18px;
}
.onboard-graphic small {
  color: var(--muted);
  line-height: 1.4;
}
.saas-form section {
  margin-bottom: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.saas-form section:first-child {
  border-top: 0;
  padding-top: 0;
}
.saas-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.saas-list.as-cards {
  padding-left: 0;
  list-style: none;
}
.saas-list.as-cards div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #111416;
}
.saas-list.as-cards strong {
  color: #fff;
}
.saas-list.as-cards span {
  color: var(--muted);
  line-height: 1.4;
}
.saas-list.as-cards a {
  color: var(--gold);
  font-weight: 700;
}
.public-nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
  border-bottom-color: rgba(255,255,255,.08);
}
.kitembu-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.kitembu-brand:hover {
  color: #fff;
}
.brand-logo-image {
  display: block;
  width: 136px;
  height: auto;
  object-fit: contain;
}
.brand-k {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 950;
  font-size: 28px;
  line-height: 1;
}
.kitembu-brand strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: .02em;
}
.kitembu-brand em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 2px 7px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.public-nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.public-nav-links a,
.public-signin {
  color: #d9e6f7;
  font-size: 13px;
}
.public-nav-links a:hover,
.public-signin:hover {
  color: #fff;
}
.public-start {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
  box-shadow: 0 10px 28px rgba(217, 164, 65, .24);
}
.public-start:hover {
  background: #f0bd55;
  color: #111;
}
.tek-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  min-height: 700px;
  align-items: center;
  margin: 0;
  padding: 44px clamp(24px, 4vw, 48px) 52px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(217, 164, 65, .18), transparent 42%),
    linear-gradient(180deg, #07111f, #07101a 72%, #f7fbff 72%);
}
.tek-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 28%;
  background:
    linear-gradient(115deg, rgba(255,255,255,.05), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.tek-hero-copy {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 0;
  background: transparent;
}
.founding-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  border: 1px solid rgba(217, 164, 65, .46);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(3, 18, 38, .9);
  color: #dceeff;
}
.founding-pill span {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.founding-pill strong {
  font-size: 13px;
}
.tek-hero-copy h2 {
  max-width: 650px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 54px;
  line-height: 1.04;
}
.tek-hero-copy h2 span {
  display: block;
  color: var(--gold);
}
.tek-hero-copy p {
  max-width: 640px;
  margin: 0;
  color: #c6d6e7;
  font-size: 17px;
  line-height: 1.55;
}
.hero-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  max-width: 660px;
  margin-top: 22px;
}
.hero-check-grid span {
  position: relative;
  padding-left: 26px;
  color: #e6f1ff;
  font-size: 14px;
}
.hero-check-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}
.hero-check-grid span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}
.dark-demo {
  border-color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.18);
  color: #fff;
}
.dark-demo:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.hero-footnotes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.hero-footnotes span {
  color: #b6c7da;
  font-size: 12px;
}
.tek-product-stage {
  position: relative;
  z-index: 1;
  min-height: 640px;
  min-width: 0;
}
.hero-product-images {
  position: relative;
  min-height: 650px;
  overflow: visible;
}
.hero-dashboard-image {
  position: absolute;
  top: 12px;
  right: 0;
  width: min(930px, 100%);
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: #07111f;
  box-shadow: 0 34px 88px rgba(0,0,0,.38);
}
.hero-mobile-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(330px, 38%);
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 28px 72px rgba(0,0,0,.42);
}
.product-window {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  width: min(760px, 100%);
  min-height: 500px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: #f7fbff;
  box-shadow: 0 34px 88px rgba(0,0,0,.38);
}
.product-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 12px;
  background: #07111f;
  color: #a9c0db;
}
.product-sidebar span {
  min-height: 24px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 11px;
}
.product-sidebar span:first-of-type {
  background: var(--gold);
  color: #fff;
}
.mini-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 950;
  font-size: 22px;
}
.product-dashboard {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  color: #0c1724;
}
.product-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.product-toolbar strong {
  font-size: 18px;
}
.product-toolbar span {
  min-height: 28px;
  display: flex;
  align-items: center;
  border: 1px solid #dce5f0;
  border-radius: 7px;
  padding: 0 12px;
  color: #8091a5;
  font-size: 12px;
}
.product-toolbar small {
  color: #26384d;
  font-weight: 700;
}
.product-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.product-kpis div,
.revenue-card,
.service-card,
.order-table {
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 42, 74, .06);
}
.product-kpis div {
  min-height: 86px;
  padding: 12px;
}
.product-kpis span,
.product-kpis small,
.service-card p,
.order-table span {
  color: #7890aa;
  font-size: 11px;
}
.product-kpis strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 22px;
  color: #12243a;
}
.product-kpis small {
  color: #0ea25a;
}
.product-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr);
  gap: 12px;
}
.revenue-card,
.service-card {
  min-height: 170px;
  padding: 14px;
}
.revenue-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.line-chart {
  height: 104px;
  display: flex;
  align-items: end;
  gap: 10px;
  border-bottom: 1px solid #dce5f0;
}
.line-chart i {
  flex: 1;
  display: block;
  min-height: 22px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--gold), #f0c66d);
}
.line-chart i:nth-child(1) { height: 34%; }
.line-chart i:nth-child(2) { height: 48%; }
.line-chart i:nth-child(3) { height: 31%; }
.line-chart i:nth-child(4) { height: 64%; }
.line-chart i:nth-child(5) { height: 52%; }
.line-chart i:nth-child(6) { height: 76%; }
.line-chart i:nth-child(7) { height: 92%; }
.service-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.donut-chart {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 36%, #19c37d 36% 61%, #f5b84b 61% 78%, #dce5f0 78% 100%);
  box-shadow: inset 0 0 0 18px #fff;
}
.order-table {
  display: grid;
  overflow: hidden;
}
.order-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px 70px;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid #eef3f8;
  font-size: 12px;
}
.order-table div:first-child {
  border-top: 0;
  background: #f3f7fb;
}
.phone-preview {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 174px;
  min-height: 315px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 8px solid #0b1118;
  border-radius: 30px;
  padding: 24px 14px 14px;
  background: #fff;
  color: #102033;
  box-shadow: 0 20px 60px rgba(0,0,0,.34);
}
.phone-speaker {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 46px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1d2733;
}
.phone-preview strong {
  font-size: 15px;
}
.phone-preview span,
.phone-preview small {
  color: #8291a4;
  font-size: 11px;
}
.phone-preview div {
  border-radius: 10px;
  padding: 12px;
  background: #f1f6fc;
  color: var(--gold);
  font-weight: 850;
  font-size: 20px;
}
.phone-preview p {
  margin: 0;
  color: #53677e;
  font-size: 11px;
  line-height: 1.7;
}
.shop-needs-section {
  margin: 0 0 36px;
  padding: 26px clamp(24px, 4vw, 48px) 42px;
  background: #f7fbff;
  color: #102033;
}
.shop-needs-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}
.shop-needs-head h2 {
  margin: 0;
  font-size: 24px;
}
.shop-needs-head span {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}
.shop-needs-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.shop-needs-grid article {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  padding: 22px 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(13, 42, 74, .06);
}
.shop-needs-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 4px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217,164,65,.16), transparent);
  box-shadow: 0 12px 26px rgba(217, 164, 65, .13);
}
.shop-needs-icon::before {
  content: "";
  width: 27px;
  height: 27px;
  display: block;
  background: #d9a441;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-customers { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-3.46-6A5 5 0 0 1 13 7a5 5 0 0 1-2 4h5Zm-8 0a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm8 2c-1.53 0-2.92.53-4 1.4A7.94 7.94 0 0 1 16 21h6v-2a6 6 0 0 0-6-6ZM8 13a6 6 0 0 0-6 6v2h12v-2a6 6 0 0 0-6-6Z'/%3E%3C/svg%3E"); }
.icon-vehicle { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 11 6.5 6.5A3 3 0 0 1 9.35 4h5.3a3 3 0 0 1 2.85 2.5L19 11h1a2 2 0 0 1 2 2v5h-2a3 3 0 0 1-6 0H10a3 3 0 0 1-6 0H2v-5a2 2 0 0 1 2-2h1Zm3.4-4.1L7.05 11h9.9L15.6 6.9a1 1 0 0 0-.95-.7h-5.3a1 1 0 0 0-.95.7ZM7 19.5A1.5 1.5 0 1 0 7 16.5a1.5 1.5 0 0 0 0 3Zm10 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z'/%3E%3C/svg%3E"); }
.icon-clipboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6a2 2 0 0 1 2 2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2a2 2 0 0 1 2-2Zm0 3v1h6V5H9Zm-2 7h10v-2H7v2Zm0 4h10v-2H7v2Zm0 4h6v-2H7v2Z'/%3E%3C/svg%3E"); }
.icon-payment { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 4h18V7H3v2Zm3 6h6v-2H6v2Zm11.5 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E"); }
.icon-parts { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7 12 2l9 5v10l-9 5-9-5V7Zm9 2.2L17.7 6 12 2.8 6.3 6 12 9.2Zm-7 7 6 3.4v-8.7L5 7.5v8.7Zm8 3.4 6-3.4V7.5l-6 3.4v8.7Z'/%3E%3C/svg%3E"); }
.icon-chart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 19h17v2H2V3h2v16Zm3-2V9h3v8H7Zm5 0V5h3v12h-3Zm5 0v-6h3v6h-3Z'/%3E%3C/svg%3E"); }
.icon-ai { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 14 8l6 2-6 2-2 6-2-6-6-2 6-2 2-6Zm7 11 1.2 3.3L23 17.5l-2.8 1.2L19 22l-1.2-3.3-2.8-1.2 2.8-1.2L19 13ZM5 13l1 2.5L8.5 17 6 18.5 5 21l-1-2.5L1.5 17 4 15.5 5 13Z'/%3E%3C/svg%3E"); }
.shop-needs-grid strong {
  font-size: 13px;
}
.shop-needs-grid p {
  margin: 0;
  color: #5d7188;
  font-size: 12px;
  line-height: 1.45;
}
.commercial-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  gap: 28px;
}
.commercial-hero-copy {
  min-height: 560px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .12), transparent 48%),
    linear-gradient(180deg, #191d20, #14171a);
}
.commercial-hero h2 {
  max-width: 840px;
  font-size: 58px;
  line-height: .96;
}
.commercial-hero p {
  max-width: 780px;
}
.commercial-hero-actions {
  margin-top: 24px;
}
.commercial-hero-actions .button-link {
  min-height: 52px;
  padding: 12px 18px;
}
.commercial-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.commercial-trust-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
  background: #101315;
  color: var(--muted);
  font-size: 12px;
}
.commercial-product-showcase {
  min-height: 560px;
  background:
    linear-gradient(145deg, rgba(116, 184, 255, .08), transparent 42%),
    linear-gradient(315deg, rgba(70, 201, 120, .07), transparent 46%),
    #15191c;
}
.commercial-dashboard-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.commercial-dashboard-preview div {
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: rgba(13, 15, 17, .88);
}
.commercial-dashboard-preview span,
.commercial-dashboard-preview small,
.commercial-mini-flow span,
.commercial-stats span,
.commercial-stats small,
.commercial-feature-grid span,
.commercial-panel p,
.commercial-ledger-preview span,
.commercial-appointment-preview span,
.commercial-appointment-preview small,
.commercial-flow-line small,
.commercial-package-row span,
.commercial-price small {
  color: var(--muted);
}
.commercial-dashboard-preview span,
.commercial-feature-grid span,
.commercial-stats span,
.commercial-ledger-preview span,
.commercial-package-row span {
  font-size: 12px;
  text-transform: uppercase;
}
.commercial-dashboard-preview strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}
.commercial-dashboard-preview small {
  line-height: 1.3;
}
.commercial-mini-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.commercial-mini-flow span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 15, 17, .88);
  font-size: 12px;
  text-align: center;
}
.commercial-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.commercial-stats div {
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}
.commercial-stats strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}
.commercial-section {
  margin-bottom: 28px;
}
.commercial-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.commercial-section-head h2 {
  max-width: 920px;
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}
.commercial-section-head p:not(.eyebrow) {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.commercial-feature-band {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .09), transparent 36%),
    var(--surface);
}
.commercial-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.commercial-feature-grid article {
  min-height: 246px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: #111416;
}
.commercial-feature-grid article:nth-child(2) {
  border-color: rgba(116, 184, 255, .38);
}
.commercial-feature-grid article:nth-child(3) {
  border-color: rgba(70, 201, 120, .34);
}
.commercial-feature-grid article:nth-child(4) {
  border-color: rgba(224, 95, 95, .28);
}
.commercial-feature-grid h3 {
  margin: 0;
  font-size: 22px;
}
.commercial-feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.commercial-integration-section,
.commercial-resources-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, .13), transparent 32%),
    var(--surface);
}
.commercial-integration-grid,
.commercial-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.commercial-integration-grid article,
.commercial-resource-grid article {
  min-height: 212px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: #111416;
}
.integration-icon,
.resource-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, .8);
  border-radius: 14px;
  color: var(--gold);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 214, 128, .34), transparent 38%),
    linear-gradient(145deg, rgba(217, 164, 65, .24), rgba(17, 20, 22, .92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 14px 28px rgba(0,0,0,.2);
}
.integration-icon svg,
.resource-icon svg {
  position: relative;
  z-index: 1;
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.commercial-integration-grid .integration-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.commercial-integration-grid h3,
.commercial-resource-grid strong {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.15;
}
.commercial-integration-grid p,
.commercial-resource-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.commercial-split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.commercial-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}
.commercial-panel h2 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.06;
}
.commercial-panel p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}
.commercial-ledger-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.commercial-ledger-preview div,
.commercial-appointment-preview div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px;
  background: #111416;
}
.commercial-ledger-preview strong {
  display: block;
  margin-top: 7px;
  color: var(--gold);
  font-size: 22px;
}
.commercial-appointment-preview {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.commercial-appointment-preview div {
  display: grid;
  gap: 6px;
}
.commercial-appointment-preview strong {
  font-size: 19px;
}
.commercial-workflow {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(116, 184, 255, .08), transparent 38%),
    var(--surface);
}
.commercial-flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.commercial-flow-line div {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #111416;
}
.commercial-flow-line span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}
.commercial-flow-line strong {
  font-size: 19px;
}
.commercial-signup-zone {
  align-items: start;
}
.commercial-pricing-panel {
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(217, 164, 65, .1), transparent 46%),
    var(--surface);
}
.commercial-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 18px;
}
.commercial-price span {
  color: var(--gold);
  font-size: 30px;
}
.commercial-price strong {
  color: var(--gold);
  font-size: 72px;
  line-height: .92;
}
.commercial-package-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.commercial-package-row div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #111416;
}
.commercial-package-row strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}
.commercial-package-row small {
  display: block;
  margin-top: 8px;
  color: #f2c363;
  font-size: 12px;
  line-height: 1.35;
}
.contributor-package-card {
  border-color: rgba(217, 164, 65, .55) !important;
  background:
    linear-gradient(145deg, rgba(217, 164, 65, .16), rgba(17, 20, 24, .92)),
    #111416 !important;
  box-shadow: 0 16px 34px rgba(217, 164, 65, .10);
}
.contributor-note {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(217, 164, 65, .42);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(217, 164, 65, .16), rgba(17, 20, 24, .92)),
    #111416;
}
.contributor-note strong {
  color: #fff;
  font-size: 17px;
}
.contributor-note span {
  color: #d9e4f0;
  line-height: 1.45;
}
.commercial-form-panel {
  scroll-margin-top: 18px;
}
.signup-link {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 12px;
  background: #211a0e;
}
.signup-link span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.signup-link a {
  overflow-wrap: anywhere;
  color: var(--gold);
}
.subscription-summary,
.billing-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.subscription-summary div,
.billing-box div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #111416;
}
.subscription-summary span,
.billing-box span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.subscription-summary strong,
.billing-box strong {
  display: block;
  overflow-wrap: anywhere;
}
.billing-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}
.portal-hub-grid {
  align-items: start;
}
.portal-command-card {
  padding: 22px;
}
.portal-command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: stretch;
}
.portal-command-copy h2 {
  margin: 6px 0 10px;
  font-size: 34px;
  line-height: 1.08;
}
.portal-command-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.portal-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.portal-status-line span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: #0d0f11;
  color: var(--muted);
  font-size: 12px;
}
.portal-status-line span:first-child {
  border-color: rgba(217, 164, 65, .7);
  background: #211a0e;
  color: var(--gold);
}
.portal-bill-card {
  display: grid;
  align-content: center;
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.portal-bill-card span,
.portal-bill-card small,
.portal-metric-grid span,
.portal-metric-grid small,
.portal-location-summary span,
.portal-location-summary small {
  color: var(--muted);
}
.portal-bill-card span,
.portal-metric-grid span,
.portal-location-summary span {
  font-size: 12px;
  text-transform: uppercase;
}
.portal-bill-card strong {
  display: block;
  margin: 8px 0;
  color: var(--gold);
  font-size: 38px;
  line-height: 1;
}
.portal-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.portal-metric-grid div {
  min-height: 92px;
  border-left: 1px solid var(--border);
  padding: 4px 12px;
}
.portal-metric-grid div:first-child {
  border-left: 0;
}
.portal-metric-grid strong {
  display: block;
  margin: 8px 0 6px;
  overflow-wrap: anywhere;
  font-size: 18px;
}
.portal-metric-grid small {
  display: block;
  line-height: 1.35;
}
.portal-health-card {
  min-height: 100%;
}
.portal-checklist {
  display: grid;
  gap: 0;
}
.portal-checklist div,
.portal-access-list div {
  border-top: 1px solid var(--border);
  padding: 13px 0;
}
.portal-checklist div:first-child,
.portal-access-list div:first-child {
  border-top: 0;
}
.portal-checklist strong,
.portal-access-list strong {
  display: block;
  margin-bottom: 5px;
}
.portal-checklist span,
.portal-access-list span,
.portal-card-note {
  color: var(--muted);
  line-height: 1.4;
}
.portal-card-note {
  margin: -2px 0 16px;
}
.portal-access-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}
.portal-access-list a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.portal-company-card {
  align-self: start;
}
.company-profile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.company-profile-preview {
  display: grid;
  gap: 5px;
  margin: 6px 0 14px;
  border: 1px solid rgba(217, 164, 65, .65);
  border-radius: 8px;
  padding: 14px;
  background: #211a0e;
}
.company-profile-preview span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.company-profile-preview strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}
.company-profile-preview small {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.portal-location-card {
  align-self: start;
}
.portal-location-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  margin-bottom: 14px;
}
.portal-location-summary div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #111416;
}
.portal-location-summary strong {
  display: block;
  margin: 7px 0 5px;
  overflow-wrap: anywhere;
  font-size: 18px;
}
.portal-location-summary small {
  display: block;
  line-height: 1.35;
}
.location-form {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 14px 0;
  padding: 14px 0;
}
.same-zip-toggle {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 8px 10px 0;
  vertical-align: middle;
  accent-color: var(--gold);
}
.same-zip-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 10px;
  cursor: pointer;
}
.same-zip-count {
  display: none;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.same-zip-toggle:checked ~ .same-zip-count {
  display: grid;
}
.portal-location-table {
  margin-top: 12px;
}
.portal-location-table td {
  vertical-align: top;
}
.portal-location-table form {
  margin: 0;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.location-control-panel {
  margin-top: 18px;
}
.location-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0f1214;
}
.location-command h3 {
  margin: 4px 0 8px;
  font-size: 28px;
}
.location-command p {
  margin: 0;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, .16), transparent 36%),
    linear-gradient(145deg, #171b1f, #101315);
}
.about-hero h1 {
  max-width: 940px;
  margin: 8px 0 14px;
  color: #fff;
  font-size: 52px;
  line-height: 1.02;
}
.about-hero p {
  max-width: 870px;
  margin: 0;
  color: #c6d6e7;
  font-size: 18px;
  line-height: 1.55;
}
.about-hero-card {
  display: grid;
  align-content: end;
  gap: 12px;
  border: 1px solid rgba(217, 164, 65, .34);
  border-radius: 10px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(217, 164, 65, .13), rgba(8, 11, 14, .82));
}
.about-hero-card strong {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.about-hero-card p {
  color: #f3f7fb;
  font-size: 19px;
  line-height: 1.45;
}
.about-story-grid,
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.about-story-grid article,
.about-values-grid article,
.about-fit-section,
.about-cta-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.about-story-grid article {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}
.about-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, .8);
  border-radius: 14px;
  color: var(--gold);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 214, 128, .34), transparent 38%),
    linear-gradient(145deg, rgba(217, 164, 65, .24), rgba(17, 20, 22, .92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 14px 28px rgba(0,0,0,.2);
}
.about-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-story-grid h2,
.about-values-section h2,
.about-fit-section h2,
.about-cta-section h2 {
  margin: 0;
  color: #fff;
  line-height: 1.08;
}
.about-story-grid h2 {
  font-size: 28px;
}
.about-story-grid p,
.about-values-grid p,
.about-fit-section p,
.about-fit-list span,
.about-cta-section p {
  margin: 0;
  color: #b8c7d8;
  line-height: 1.55;
}
.about-values-section {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  background:
    radial-gradient(circle at bottom left, rgba(217, 164, 65, .12), transparent 34%),
    var(--surface);
}
.about-values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.about-values-grid article {
  min-height: 176px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  background: #111416;
}
.about-values-grid strong,
.about-fit-list strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.about-fit-section,
.about-cta-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
}
.about-fit-section h2,
.about-cta-section h2 {
  margin: 8px 0 12px;
  font-size: 38px;
}
.about-fit-list {
  display: grid;
  gap: 12px;
}
.about-fit-list div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  background: #111416;
}
.about-cta-section {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, .16), transparent 32%),
    linear-gradient(145deg, #171b1f, #101315);
}
.about-cta-section .button-link {
  justify-self: end;
  min-width: 220px;
}
.about-page-footer {
  margin-top: 34px;
}
.saas-footer {
  display: grid;
  grid-template-columns: minmax(320px, 1.5fr) minmax(150px, .6fr) minmax(150px, .6fr) minmax(220px, .8fr);
  gap: 34px;
  align-items: start;
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 34px 0 0;
}
.saas-footer h2 {
  max-width: 620px;
  margin: 20px 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
}
.saas-footer p {
  max-width: 640px;
  margin: 0;
  color: #b8c7d8;
  font-size: 15px;
  line-height: 1.6;
}
.footer-logo {
  width: fit-content;
}
.footer-logo .brand-k {
  width: 36px;
  height: 36px;
  font-size: 32px;
}
.footer-logo strong {
  font-size: 22px;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}
.footer-links strong,
.footer-cta strong {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links a {
  color: #b8c7d8;
  font-size: 15px;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-cta {
  display: grid;
  gap: 13px;
  border: 1px solid rgba(217, 164, 65, .34);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(217, 164, 65, .14), rgba(17, 20, 24, .86));
}
.footer-cta span {
  color: #dceeff;
  font-size: 15px;
  line-height: 1.35;
}
.footer-cta .button-link {
  width: 100%;
}
.saas-copyright {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0 22px;
  color: #91a3b8;
  font-size: 13px;
}
.footer-price {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}
.footer-price span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-price strong {
  display: block;
  color: var(--gold);
  font-size: 22px;
}
.subscription-actions {
  align-items: center;
}
.subscription-actions form {
  margin: 0;
}
.subscription-actions button {
  min-height: 46px;
}
.portal-login-grid .saas-card p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.platform-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-bottom: 18px;
}
.platform-admin-hero > div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}
.platform-admin-hero h2 {
  margin: 6px 0 8px;
  font-size: 28px;
}
.platform-admin-hero p {
  margin: 0;
  color: var(--muted);
}
.platform-revenue-card {
  display: grid;
  align-content: center;
}
.platform-revenue-card span,
.platform-revenue-card small {
  color: var(--muted);
}
.platform-revenue-card strong {
  display: block;
  margin: 8px 0;
  color: var(--gold);
  font-size: 34px;
}
.platform-dashboard {
  margin-bottom: 18px;
}
.platform-management-workspace {
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
}
.platform-management-workspace .panel {
  align-self: start;
}
.signup-token-link {
  color: var(--gold);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.selected-row {
  background: rgba(217, 164, 65, .08);
}
.selected-row td:first-child {
  border-left: 2px solid var(--gold);
}
.platform-management-workspace textarea {
  min-height: 130px;
}
.package-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.package-editor-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: rgba(5, 8, 10, 0.36);
}
.package-editor-card h3 {
  margin: 0;
  font-size: 22px;
}
.appointment-workspace,
.appointment-owner-grid {
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
}
.appointment-action-form {
  min-width: 520px;
}
.appointment-action-form input {
  min-width: 190px;
}
.appointment-checkin-form {
  margin-top: 8px;
}
.appointment-checkin-form button {
  width: 100%;
}
.appointment-done-card {
  display: grid;
  gap: 4px;
  min-width: 220px;
  border: 1px solid rgba(130, 190, 130, 0.42);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(20, 90, 40, 0.18);
}
.appointment-done-card strong {
  color: #c8f3d1;
  font-size: 20px;
}
.appointment-done-card span {
  color: var(--muted);
}
.appointment-owner-hero {
  margin-bottom: 18px;
}
.appointment-public-body {
  margin: 0;
  min-height: 100vh;
  background: #0b0f12;
  color: var(--text);
}
.appointment-public-shell {
  width: min(100% - 28px, 860px);
  margin: 0 auto;
  padding: 28px 0;
}
.appointment-public-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}
.appointment-public-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
}
.appointment-shop-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.appointment-shop-strip span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
}
.appointment-public-form {
  margin-top: 18px;
}
.mobile-install-body {
  min-width: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .14), transparent 36%),
    #101214;
}
.mobile-install-shell {
  width: min(100% - 28px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 0 max(22px, env(safe-area-inset-bottom));
  display: grid;
  align-content: center;
  gap: 18px;
}
.mobile-install-hero,
.mobile-install-steps {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(23, 26, 29, .96);
  padding: 22px;
}
.mobile-install-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}
.mobile-install-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.mobile-app-only {
  display: none;
}
html.mobile-webapp .mobile-install-setup,
html.mobile-webapp .mobile-install-title {
  display: none !important;
}
html.mobile-webapp .mobile-app-only {
  display: block;
}
html.mobile-webapp .mobile-install-shell {
  min-height: 100svh;
  display: grid;
  align-content: center;
}
.mobile-app-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 22px;
  background: #171a1d;
  color: var(--gold);
  font-weight: 800;
}
.mobile-install-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.mobile-install-actions .button-link {
  min-height: 52px;
}
.mobile-install-actions .mobile-install-primary {
  grid-column: 1 / -1;
  background: var(--gold);
  color: #101214;
  font-weight: 800;
}
.mobile-install-steps h2 {
  margin: 0 0 12px;
}
.mobile-install-steps ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.6;
}
.mobile-install-steps li {
  margin: 4px 0;
}
.mobile-install-help {
  border: 1px solid rgba(217, 164, 65, .65);
  border-radius: 8px;
  background: rgba(42, 36, 24, .58);
  margin: 20px 0;
  padding: 16px;
}
.mobile-install-help h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.mobile-install-help p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.45;
}
.mobile-install-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.mobile-install-copy-row code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #090b0c;
  padding: 14px;
  color: var(--text);
  font-size: 16px;
}
.mobile-install-copy-row button {
  min-height: 50px;
  white-space: nowrap;
}
.mobile-install-alert {
  min-height: 24px;
  margin-top: 12px !important;
  color: var(--gold) !important;
}

@media (max-width: 900px) {
  html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  main {
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }
  input,
  select,
  textarea,
  button {
    font-size: 16px;
    max-width: 100%;
    min-width: 0;
  }
  label {
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
  }
  .topbar {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .owner-location-switcher,
  .location-command {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .owner-location-switcher {
    width: 100%;
    margin-left: 0;
  }
  .owner-location-switcher label {
    min-width: 0;
  }
  .topbar h1,
  .login-panel h1 {
    font-size: 26px;
  }
  .header-search {
    grid-template-columns: 1fr;
  }
  .header-search button {
    width: 100%;
  }
  .session-panel {
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .session-user,
  .session-time {
    text-align: left;
  }
  .logout-link {
    margin-left: auto;
  }
  .account-strip {
    margin-bottom: 12px;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: thin;
  }
  .tabs a {
    white-space: nowrap;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metrics article {
    min-height: 104px;
    padding: 14px;
  }
  .owner-line-chart,
  .owner-donut-layout,
  .owner-chart-summary {
    grid-template-columns: 1fr;
  }
  .owner-chart-scale {
    display: none;
  }
  .owner-chart-labels {
    grid-column: auto;
    margin-top: 8px;
    font-size: 10px;
  }
  .owner-donut-chart {
    width: min(210px, 82vw);
  }
  .workspace,
  .manager-workspace,
  .customer-workspace,
  .owner-account-workspace,
  .invoice-creator,
  .queue-workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 14px;
  }
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .form-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .form-grid > *,
  .form-grid .full,
  .panel > * {
    min-width: 0;
    max-width: 100%;
  }
  .duplicate-check-panel {
    grid-template-columns: 1fr;
  }
  .duplicate-check-panel .compact-button {
    width: 100%;
  }
  .input-tool {
    display: grid;
    grid-template-columns: 1fr;
  }
  .input-tool input,
  .input-tool button {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }
  .vin-scan-row,
  .vin-scan-controls {
    grid-template-columns: 1fr;
  }
  .scanner-modal,
  .vin-scanner-modal {
    align-items: stretch;
    padding: 12px;
  }
  .scanner-panel,
  .vin-scanner-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
  }
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  table {
    min-width: 720px;
  }
  .quote-decision-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .quote-decision-actions a,
  .quote-decision-actions form,
  .quote-decision-actions button {
    width: 100%;
  }
  .invoice-editor {
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }
  .invoice-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
  }
  .invoice-toolbar .actions,
  .invoice-toolbar button,
  .invoice-toolbar .button-link {
    width: 100%;
  }
  .invoice-paper {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    overflow: hidden;
    font-size: 14px;
  }
  .invoice-paper h2 {
    font-size: 24px;
  }
  .invoice-head,
  .invoice-meta,
  .invoice-parties,
  .invoice-bottom,
  .payment-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .invoice-parties section,
  .readonly-meta div,
  .readonly-totals div,
  .invoice-payment,
  .payment-methods,
  .cash-receipt-prompt {
    min-width: 0;
    max-width: 100%;
  }
  .invoice-lines {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  .invoice-lines table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 13px;
  }
  .invoice-lines th,
  .invoice-lines td {
    padding: 8px 6px;
    overflow-wrap: anywhere;
  }
  .invoice-lines input {
    width: 100%;
    min-width: 0;
    padding: 8px 6px;
  }
  .invoice-totals,
  .invoice-payment,
  .payment-methods,
  .pay-button {
    width: 100%;
  }
  .invoice-payment {
    align-items: stretch;
  }
  .cash-receipt-prompt {
    align-items: stretch;
    flex-direction: column;
  }
  .accounting-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .accounting-toolbar nav,
  .accounting-grid,
  .accounting-ledger,
  .accounting-lower,
  .accounting-columns,
  .expense-workspace,
  .employee-create-grid,
  .employee-workspace,
  .employee-profile-summary,
  .platform-management-workspace {
    grid-template-columns: 1fr;
  }
  .appointment-workspace,
  .appointment-owner-grid {
    grid-template-columns: 1fr;
  }
  .appointment-action-form {
    min-width: 0;
  }
  .accounting-toolbar nav {
    justify-content: flex-start;
  }
  .saas-shell {
    width: min(100% - 24px, 680px);
    padding-top: 18px;
  }
  .saas-top,
  .saas-hero,
  .commercial-hero,
  .commercial-stats,
  .commercial-feature-grid,
  .commercial-integration-grid,
  .commercial-resource-grid,
  .commercial-split-section,
  .commercial-flow-line,
  .commercial-ledger-preview,
  .commercial-dashboard-preview,
  .commercial-mini-flow,
  .commercial-package-row,
  .about-hero,
  .about-story-grid,
  .about-values-grid,
  .about-fit-section,
  .about-cta-section,
  .saas-grid,
  .subscription-summary,
  .billing-box,
  .onboard-graphic,
  .portal-command-layout,
  .portal-metric-grid,
  .portal-access-list,
  .platform-admin-hero,
  .package-editor-grid,
  .sales-number-strip,
  .saas-footer {
    grid-template-columns: 1fr;
  }
  .saas-top {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }
  .saas-hero h2 {
    font-size: 32px;
  }
  .commercial-hero-copy {
    min-height: auto;
    padding: 22px;
  }
  .commercial-hero h2,
  .commercial-section-head h2 {
    font-size: 34px;
    line-height: 1.02;
  }
  .commercial-hero p,
  .commercial-section-head p:not(.eyebrow),
  .commercial-panel p {
    font-size: 16px;
  }
  .commercial-product-showcase {
    min-height: 510px;
  }
  .commercial-stats div,
  .commercial-feature-grid article,
  .commercial-integration-grid article,
  .commercial-resource-grid article,
  .commercial-flow-line div {
    min-height: auto;
  }
  .commercial-feature-band,
  .commercial-integration-section,
  .commercial-resources-section,
  .commercial-workflow,
  .commercial-panel,
  .about-hero,
  .about-values-section,
  .about-fit-section,
  .about-cta-section {
    padding: 18px;
  }
  .about-hero h1 {
    font-size: 36px;
  }
  .about-hero-card {
    align-content: start;
    padding: 18px;
  }
  .about-story-grid article,
  .about-values-grid article {
    min-height: auto;
  }
  .about-fit-section h2,
  .about-cta-section h2 {
    font-size: 30px;
  }
  .about-cta-section .button-link {
    justify-self: stretch;
    width: 100%;
  }
  .commercial-panel h2 {
    font-size: 29px;
  }
  .commercial-price strong {
    font-size: 56px;
  }
  .commercial-mini-flow {
    gap: 7px;
  }
  .commercial-mini-flow span {
    min-height: 38px;
  }
  .portal-command-card {
    padding: 18px;
  }
  .portal-command-copy h2 {
    font-size: 29px;
  }
  .portal-bill-card {
    border-top: 1px solid var(--border);
    border-left: 0;
    padding-top: 16px;
    padding-left: 0;
  }
  .portal-metric-grid div,
  .portal-metric-grid div:first-child {
    border-top: 1px solid var(--border);
    border-left: 0;
    padding: 12px 0;
  }
  .portal-metric-grid div:first-child {
    border-top: 0;
  }
  .shop-slideshow {
    min-height: 470px;
  }
  .slide-grid,
  .parts-wall {
    grid-template-columns: 1fr;
  }
  .invoice-stack div {
    align-items: flex-start;
    flex-direction: column;
  }
  .saas-card.wide {
    grid-column: auto;
  }
  .invoice-head,
  .invoice-parties,
  .invoice-bottom,
  .payment-options {
    grid-template-columns: 1fr;
  }
  .cash-receipt-prompt {
    align-items: stretch;
    flex-direction: column;
  }
  .invoice-meta {
    grid-template-columns: 1fr;
  }
  .invoice-payment {
    align-items: stretch;
  }
  .pay-button {
    width: 100%;
  }
  .mobile-install-shell {
    width: min(100% - 20px, 520px);
  }
  .mobile-install-actions {
    grid-template-columns: 1fr;
  }
  .mobile-install-copy-row {
    grid-template-columns: 1fr;
  }
  .public-nav {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .saas-footer {
    gap: 24px;
  }
  .saas-footer h2 {
    font-size: 24px;
  }
  .footer-cta {
    padding: 16px;
  }
  .saas-copyright {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .kitembu-brand {
    justify-content: flex-start;
  }
  .public-nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .public-nav-links a,
  .public-signin {
    white-space: nowrap;
  }
  .saas-top-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .tek-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 28px 14px 30px;
  }
  .tek-hero-copy h2 {
    font-size: 38px;
    line-height: 1.05;
  }
  .tek-hero-copy p {
    font-size: 16px;
  }
  .founding-pill {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 10px;
  }
  .hero-check-grid {
    grid-template-columns: 1fr;
  }
  .commercial-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .commercial-hero-actions .button-link {
    width: 100%;
  }
  .tek-product-stage {
    min-height: 0;
  }
  .hero-product-images {
    min-height: 0;
    display: grid;
    gap: 16px;
  }
  .hero-dashboard-image,
  .hero-mobile-image {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .hero-mobile-image {
    width: min(320px, 82vw);
    margin: 0 auto;
  }
  .product-window {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    margin: 0;
    border-radius: 12px;
  }
  .product-sidebar {
    display: none;
  }
  .product-dashboard {
    gap: 12px;
    padding: 12px;
  }
  .product-toolbar,
  .product-kpis,
  .product-main-grid,
  .order-table div {
    grid-template-columns: 1fr;
  }
  .product-toolbar small,
  .order-table span {
    display: none;
  }
  .product-kpis div {
    min-height: 72px;
  }
  .revenue-card,
  .service-card {
    min-height: 140px;
  }
  .phone-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 100%);
    min-height: 0;
    margin: 16px auto 0;
  }
  .shop-needs-section {
    padding: 24px 14px 30px;
  }
  .shop-needs-grid {
    grid-template-columns: 1fr;
  }
}
