:root {
  --primary: #8f4f76;
  --secondary: #f4d7e8;
  --accent: #1f8a70;
  --ink: #241f23;
  --muted: #6d6269;
  --line: #e5d4a2;
  --surface: #fff;
  --soft: #fff;
  --gold-line: #d4aa27;
  --shadow: 0 16px 42px rgba(20, 16, 8, 0.08);
}

body.theme-dark {
  --ink: #f8f4e8;
  --muted: #d7cdb6;
  --line: rgba(212, 170, 39, 0.5);
  --surface: #111;
  --soft: #000;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

body.theme-dark {
  background: #000;
}

.color-mode-toggle {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-width: 54px;
  min-height: 54px;
  padding: 12px;
  border: 1.5px solid var(--gold-line);
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  color: var(--ink);
  background: var(--accent);
  outline: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--primary);
}

[hidden] {
  display: none !important;
}

.customer-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
}

body.theme-dark .customer-shell {
  background: #000;
}

body.theme-dark .service-pill,
body.theme-dark .flow-screen,
body.theme-dark .form-screen,
body.theme-dark .thank-you-screen,
body.theme-dark .panel,
body.theme-dark .display-panel,
body.theme-dark .stat-card,
body.theme-dark .admin-nav a,
body.theme-dark .option-card,
body.theme-dark .settings-card,
body.theme-dark .announcement,
body.theme-dark .display-item,
body.theme-dark .file-button,
body.theme-dark .quality-card,
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

body.theme-dark .admin-shell,
body.theme-dark .display-shell {
  background: #000;
}

body.theme-dark .admin-nav a,
body.theme-dark .admin-nav button,
body.theme-dark .dashboard-tab,
body.theme-dark .client-card-footer button,
body.theme-dark .back-button,
body.theme-dark .zip-tile,
body.theme-dark .quality-card,
body.theme-dark .color-mode-toggle {
  color: var(--ink);
  background: #111;
  border-color: var(--gold-line);
}

body.theme-dark .panel,
body.theme-dark .display-panel,
body.theme-dark .stat-card,
body.theme-dark .client-card,
body.theme-dark .flow-screen,
body.theme-dark .form-screen,
body.theme-dark .thank-you-screen,
body.theme-dark .option-card,
body.theme-dark .settings-card,
body.theme-dark .display-item,
body.theme-dark .announcement {
  color: var(--ink);
  background: #111;
  border-color: var(--gold-line);
}

body.theme-dark .client-card {
  background: linear-gradient(135deg, #111 0%, rgba(212, 170, 39, 0.12) 100%);
}

body.theme-dark .client-card-service,
body.theme-dark .selected-summary,
body.theme-dark .bar-track {
  background: rgba(255, 255, 255, 0.08);
}

body.theme-dark .dashboard-tab.active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

body.theme-dark .secondary-button {
  color: #000 !important;
  background: var(--accent) !important;
}

body.theme-dark .brand-detail-strip span,
body.theme-dark .admin-table th,
body.theme-dark .admin-table td,
body.theme-dark .table-count,
body.theme-dark .settings-note {
  color: var(--ink);
}

.resting-screen,
.flow-screen,
.form-screen,
.thank-you-screen {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resting-screen {
  gap: 24px;
}

.customer-logo {
  width: min(52vw, 220px);
  aspect-ratio: 1;
  object-fit: contain;
}

.welcome-copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.45;
  text-align: center;
}

.service-button-stack {
  width: min(100%, 580px);
  display: grid;
  gap: 14px;
}

.service-pill {
  width: 100%;
  min-height: 76px;
  padding: 18px 24px;
  border: 2px solid color-mix(in srgb, var(--primary) 18%, white);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(64, 38, 54, 0.08);
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-pill:hover,
.service-pill:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--secondary) 42%, white);
  outline: none;
}

.service-pill span {
  display: block;
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.service-pill small {
  display: block;
  max-width: 440px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
}

.flow-screen,
.form-screen,
.thank-you-screen {
  position: relative;
  gap: 18px;
  padding: 28px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.back-button {
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
}

.small-flow-logo,
.form-logo,
.thank-logo {
  width: 110px;
  aspect-ratio: 1;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flow-screen h1,
.form-screen h1,
.thank-you-screen h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
}

.flow-description {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.option-grid {
  width: 100%;
  display: grid;
  gap: 12px;
}

.option-card {
  width: 100%;
  min-height: 94px;
  padding: 18px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.option-card[aria-pressed="true"] {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--secondary) 38%, white);
}

.option-card span {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
}

.option-card small,
.option-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.primary-action,
.inline-form button,
.button-row button {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.primary-action {
  width: min(100%, 360px);
  margin-top: 4px;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.secondary-button {
  color: var(--ink) !important;
  background: var(--secondary) !important;
}

.file-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
}

.selected-summary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--secondary) 36%, white);
  text-align: center;
}

.selected-summary span,
.selected-summary strong {
  display: block;
}

.selected-summary span {
  color: var(--muted);
}

.selected-summary strong {
  margin-top: 4px;
  font-size: 1.2rem;
}

.checkin-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkin-form label,
.filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkin-form input,
.checkin-form select,
.checkin-form textarea,
.filters input,
.filters select,
.inline-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.checkin-form textarea {
  min-height: 92px;
  resize: vertical;
}

.segmented-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-column: span 2;
}

.segmented-field legend {
  color: var(--muted);
  font-weight: 700;
}

.segmented-field label,
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.full-row,
.checkbox-line,
.primary-action,
.form-message {
  grid-column: span 2;
}

.checkbox-line input,
.segmented-field input {
  width: auto;
  min-height: auto;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.powered-by {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.thank-you-screen {
  min-height: min(72vh, 620px);
  justify-content: center;
  text-align: center;
}

.thank-you-screen p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.45;
}

#returnTimer {
  color: var(--primary);
  font-weight: 800;
}

.admin-shell,
.display-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.admin-header,
.display-header,
.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-header,
.display-header {
  margin-bottom: 22px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-logo,
.display-logo {
  width: 180px;
  height: 150px;
  object-fit: contain;
}

.admin-header h1,
.display-header h1,
.panel h2,
.display-panel h2 {
  margin: 0;
}

.admin-nav,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-nav a,
.admin-nav button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.admin-nav button {
  border-color: var(--gold-line);
}

.panel,
.display-panel,
.stat-card {
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel,
.display-panel {
  padding: 18px;
  margin-bottom: 18px;
}

.narrow-panel {
  width: min(100%, 460px);
  margin: 60px auto;
}

.inline-form {
  display: flex;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.revenue-stat-card {
  grid-column: span 2;
}

.revenue-stat-card strong {
  font-size: clamp(1.65rem, 2.35vw, 2.15rem);
}

.brand-detail-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 6px 14px;
  margin: -16px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.brand-detail-strip span {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
}

.brand-detail-strip span + span::before {
  content: "|";
  margin-right: 14px;
  color: var(--accent);
}

.analytics-shell {
  max-width: 1440px;
}

.analytics-stats {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.analytics-filters {
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(150px, 1fr));
}

.import-panel .settings-note {
  margin-bottom: 0;
}

.analytics-grid {
  display: grid;
  gap: 18px;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.dashboard-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1.5px solid var(--gold-line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.dashboard-tab.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.dashboard-tab-panel[hidden] {
  display: none;
}

.dashboard-footer {
  margin-top: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.dashboard-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.client-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.client-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, rgba(243, 227, 173, 0.2) 100%);
  box-shadow: var(--shadow);
}

.client-card-top,
.client-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.client-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.client-card-top > strong {
  min-width: 52px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 1.35rem;
}

.client-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.client-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.client-card dd {
  margin: 3px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.client-card-service {
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.35;
}

.client-card-footer {
  align-items: center;
}

.client-card-footer span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.client-card-footer button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1.5px solid var(--gold-line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.two-column-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.bar-chart {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.compact-chart {
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.bar-row {
  display: grid;
  grid-template-columns: 82px minmax(120px, 1fr) 132px;
  gap: 10px;
  align-items: center;
}

.bar-row span,
.bar-row strong {
  font-size: 0.86rem;
}

.bar-row span {
  color: var(--muted);
  font-weight: 800;
}

.bar-row strong {
  text-align: right;
}

.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 42%, white);
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.zip-heat-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.zip-tile {
  min-height: 78px;
  padding: 12px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.zip-tile strong,
.zip-tile span {
  display: block;
}

.zip-tile strong {
  font-size: 1.1rem;
}

.zip-tile span {
  margin-top: 6px;
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  font-size: 0.82rem;
  font-weight: 800;
}

.ranked-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ranked-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
}

.ranked-item > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.ranked-item strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.ranked-item i {
  display: block;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.ranked-item em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.analytics-table {
  min-width: 1480px;
}

.analytics-table td:nth-child(9) {
  max-width: 320px;
  white-space: pre-line;
}

.table-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.quality-card {
  padding: 14px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: #fff;
}

.quality-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.quality-card strong {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 1.55rem;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.admin-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.status-select {
  min-width: 130px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-cell {
  color: var(--muted);
  text-align: center !important;
}

.settings-note {
  margin: 10px 0 16px;
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-card {
  padding: 14px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
}

.settings-card-title,
.settings-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.settings-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.settings-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.settings-card li em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.active-pill,
.inactive-pill {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.active-pill {
  color: #0b5f4a;
  background: #dff5ee;
}

.inactive-pill {
  color: #7a2b2b;
  background: #ffe3e3;
}

.display-shell {
  max-width: 1320px;
}

.display-header {
  min-height: 96px;
}

#displayClock {
  color: var(--primary);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
}

.display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.display-list,
.waiting-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.display-item {
  display: grid;
  grid-template-columns: minmax(110px, 1.2fr) minmax(120px, 1fr) minmax(140px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
  background: #fff;
}

.display-grid .display-item {
  grid-template-columns: 1fr;
}

.highlight-item {
  border-color: color-mix(in srgb, var(--primary) 32%, white);
  background: color-mix(in srgb, var(--secondary) 34%, white);
}

.display-item strong {
  font-size: 1.2rem;
}

.display-item small,
.display-item span {
  color: var(--muted);
}

.display-item em {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.empty-display,
.announcement {
  color: var(--muted);
}

.announcement {
  margin: 22px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-size: 1.15rem;
}

@media (max-width: 760px) {
  .customer-shell {
    padding: 18px;
    align-items: start;
  }

  .resting-screen {
    padding-top: 18px;
  }

  .flow-screen,
  .form-screen,
  .thank-you-screen {
    padding: 20px;
  }

  .checkin-form,
  .filters,
    .stats-grid,
    .analytics-stats,
    .analytics-filters,
    .two-column-grid,
    .quality-grid,
    .settings-grid,
    .display-grid {
    grid-template-columns: 1fr;
  }

  .segmented-field,
  .full-row,
  .checkbox-line,
  .primary-action,
  .form-message {
    grid-column: span 1;
  }

  .segmented-field {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header,
  .display-header,
  .panel-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-form {
    flex-direction: column;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-table td {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    border: 0;
  }

  .analytics-table td:nth-child(9) {
    max-width: none;
  }

  .bar-row {
    grid-template-columns: 64px minmax(90px, 1fr) 96px;
  }

  .admin-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
  }

  .display-item {
    grid-template-columns: 1fr;
  }
}
