:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --panel: #ffffff;
  --panel-alt: #eef4ee;
  --ink: #17211d;
  --muted: #66736b;
  --line: #dce4dd;
  --accent: #0c6b58;
  --accent-dark: #084a3e;
  --accent-soft: #dff0eb;
  --warning: #9a5b00;
  --warning-soft: #fff1d6;
  --danger: #b42318;
  --danger-soft: #fee4e2;
  --paid: #175cd3;
  --paid-soft: #dbeafe;
  --shadow: 0 18px 45px rgba(23, 33, 29, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  cursor: pointer;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(23, 33, 29, 0.88), rgba(12, 107, 88, 0.78)),
    #17211d;
}

.login-screen.hidden,
.app-shell.app-locked {
  display: none;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  padding: 24px;
}

.login-card h2,
.login-card p {
  margin: 0;
}

.login-card h2 {
  font-size: 1.8rem;
}

.login-brand {
  color: var(--ink);
}

.login-brand p {
  color: var(--muted);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: #17211d;
  color: #f8fbf8;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #e1b96b;
  color: #17211d;
  font-weight: 900;
}

.brand h1,
.brand p,
.topbar h2,
.topbar p,
.modal-header h3,
.modal-header p {
  margin: 0;
}

.brand h1 {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.brand p,
.panel-label,
.eyebrow {
  color: #aebbb2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  text-align: left;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-item strong {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  min-width: 30px;
  padding: 3px 8px;
  text-align: center;
}

.sidebar-panel {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.metric-row.muted {
  color: #c8d1ca;
  font-size: 0.9rem;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #e1b96b;
  transition: width 180ms ease;
}

.main-content {
  min-width: 0;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.main-content .eyebrow,
.modal-header .eyebrow {
  color: var(--muted);
}

.primary-action,
.secondary-button,
.danger-button,
.whatsapp-button,
.icon-button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  font-weight: 700;
}

.primary-action {
  background: var(--accent);
  color: #fff;
}

.primary-action:hover {
  background: var(--accent-dark);
}

.secondary-button {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.whatsapp-button {
  background: #e4f7ec;
  border-color: #b9e7cb;
  color: #0f7a3f;
}

.danger-button {
  background: var(--danger-soft);
  color: var(--danger);
}

.icon-button {
  width: 40px;
  padding: 0;
  font-size: 1.5rem;
  background: var(--panel-alt);
}

.toolbar {
  display: grid;
  grid-template-columns: 180px 220px 160px minmax(220px, 1fr);
  gap: 10px;
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 36px;
  padding: 6px 9px;
}

textarea {
  resize: vertical;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.schedule-grid {
  display: block;
}

.dashboard-scroll {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 172px);
  overflow: auto;
}

.dashboard-board {
  display: grid;
  width: max-content;
  min-width: 100%;
  position: relative;
}

.dashboard-corner,
.dashboard-header,
.dashboard-time {
  position: sticky;
  z-index: 4;
  border-right: 1px solid #7c827d;
  border-bottom: 1px solid #cfd6d1;
  background: #f4f6f4;
}

.dashboard-corner,
.dashboard-time {
  left: 0;
}

.dashboard-corner,
.dashboard-header {
  top: 0;
}

.dashboard-corner {
  z-index: 6;
}

.dashboard-header {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  min-width: 0;
  padding: 3px 5px;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.05;
}

.dashboard-header strong,
.dashboard-header span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-header span {
  color: #2f3833;
  font-size: 0.58rem;
}

.dashboard-time {
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #111;
  font-size: 0.68rem;
  font-weight: 800;
}

.dashboard-time.half-hour {
  color: #c51616;
}

.dashboard-cell {
  border-right: 1px solid #d7ddd8;
  border-bottom: 1px solid #e6ebe7;
  background: #fff;
}

.selectable-cell {
  cursor: crosshair;
}

.selectable-cell:hover,
.selected-cell {
  background: #d9f2e9;
  outline: 1px solid rgba(12, 107, 88, 0.45);
  outline-offset: -1px;
}

.locked-cell {
  background: #fff6f6;
}

.dashboard-booking {
  z-index: 3;
  margin: 1px;
  border: 1px solid rgba(23, 33, 29, 0.22);
  border-radius: 0;
  padding: 3px 4px;
  color: #101511;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
  text-align: center;
}

.dashboard-booking strong,
.dashboard-booking span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tone-court {
  background: #ffffff;
}

.tone-birthday {
  background: #e9ccd8;
}

.tone-padel {
  background: #f7f7f7;
}

.tone-cancelled,
.dashboard-booking.tone-cancelled {
  background: #fb2b20;
  color: #111;
}

.dashboard-booking.tone-court {
  background: #ffe79a;
}

.dashboard-booking.tone-birthday {
  background: #b8ddb0;
}

.dashboard-booking.tone-padel {
  background: #16f000;
}

.lane-bookings {
  position: relative;
  min-height: 70px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  align-content: start;
}

.booking-card,
.resource-card,
.admin-panel {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.booking-card {
  text-align: left;
}

.booking-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(12, 107, 88, 0.12);
}

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

.card-top strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.card-meta {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 5px;
}

.empty-lane {
  color: var(--muted);
  align-self: center;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.status.confirmed {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status.pending {
  background: var(--warning-soft);
  color: var(--warning);
}

.status.paid {
  background: var(--paid-soft);
  color: var(--paid);
}

.status.cancelled {
  background: var(--danger-soft);
  color: var(--danger);
}

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  padding: 4px;
}

.action-stack {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.crm-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.customer-grid {
  display: block;
}

.customer-list-table {
  min-width: 980px;
}

.customer-row {
  cursor: pointer;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover,
.customer-row:hover {
  background: var(--panel-alt);
}

.customer-row p,
.muted-text {
  margin: 2px 0 0;
  color: var(--muted);
}

.customer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.compact-tags {
  max-width: 320px;
}

.customer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.customer-profile-summary,
.customer-profile-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.customer-profile-summary div,
.customer-profile-insights article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-alt);
}

.customer-profile-summary span,
.customer-profile-insights span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-profile-insights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-profile-insights p {
  margin: 4px 0 0;
  color: var(--muted);
}

.customer-history-wrap {
  margin-bottom: 12px;
  box-shadow: none;
}

.customer-history-table {
  min-width: 720px;
}

.customer-history-table tbody tr {
  cursor: pointer;
}

.customer-history-table tbody tr:hover {
  background: var(--panel-alt);
}

.customer-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.customer-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-note {
  min-height: 36px;
}

.customer-bookings {
  display: grid;
  gap: 6px;
}

.customer-booking {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
  padding: 8px;
  text-align: left;
}

.customer-booking span {
  color: var(--muted);
  font-size: 0.78rem;
}

.resource-card {
  display: grid;
  gap: 10px;
}

.resource-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.resource-card h3,
.resource-card p {
  margin: 0;
}

.resource-card p {
  color: var(--muted);
}

.capacity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.inactive-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.pricing-panel {
  grid-column: 1 / -1;
}

.pricing-table-wrap {
  box-shadow: none;
}

.pricing-table {
  min-width: 760px;
}

.pricing-table th,
.pricing-table td {
  padding: 6px 8px;
  font-size: 0.82rem;
}

.accounting-dashboard {
  margin-bottom: 14px;
}

.accounting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.accounting-table {
  min-width: 1040px;
}

.payment-panel {
  position: sticky;
  top: 16px;
}

.payment-target {
  display: grid;
  gap: 4px;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
  padding: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-target strong {
  color: var(--ink);
}

.payment-target span {
  display: block;
}

.balance-due {
  color: var(--danger);
}

.balance-clear {
  color: var(--accent-dark);
}

.payment-history-wrap {
  margin-top: 14px;
}

.payment-history-table {
  min-width: 920px;
}

.report-toolbar {
  display: grid;
  grid-template-columns: 180px 180px 220px;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 10px;
}

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

.report-metrics article,
.report-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-metrics article {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.report-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.report-metrics strong {
  font-size: 1.55rem;
}

.report-metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.report-table-grid {
  margin-top: 14px;
}

.report-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.report-panel h3,
.report-panel p {
  margin: 0;
}

.report-bars {
  display: grid;
  gap: 10px;
}

.report-bar-row {
  display: grid;
  gap: 5px;
}

.report-bar-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.report-bar-label strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-bar-label span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.report-bar-track {
  height: 9px;
  border-radius: 999px;
  background: var(--panel-alt);
  overflow: hidden;
}

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

.report-table {
  min-width: 720px;
}

.event-dashboard {
  margin-bottom: 14px;
}

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

.event-metrics article,
.event-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-metrics article {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.event-metrics span,
.event-detail-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-metrics strong {
  font-size: 1.6rem;
}

.events-grid {
  display: grid;
  gap: 14px;
}

.event-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.event-card-header,
.event-actions,
.event-badges,
.meal-builder {
  display: flex;
  gap: 10px;
}

.event-card-header {
  align-items: flex-start;
  justify-content: space-between;
}

.event-card h3,
.event-card p {
  margin: 0;
}

.event-card p {
  color: var(--muted);
}

.event-actions,
.event-badges {
  flex-wrap: wrap;
}

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

.event-detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.meal-panel {
  display: grid;
  gap: 10px;
}

.meal-builder {
  align-items: end;
}

.meal-builder select,
.meal-builder input {
  min-width: 150px;
}

.mini-table {
  box-shadow: none;
}

.mini-table table {
  min-width: 920px;
}

.compact-input {
  width: 112px;
  min-height: 34px;
}

.file-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--panel-alt);
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.file-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.event-fields {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.event-fields legend {
  color: var(--ink);
  font-weight: 900;
  padding: 0 6px;
}

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

.checkbox-label input {
  width: auto;
  min-height: auto;
}

.event-empty {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.status.prepared,
.status.served {
  background: var(--paid-soft);
  color: var(--paid);
}

.admin-panel {
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.admin-panel h3,
.admin-panel p {
  margin: 0;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

dialog {
  width: min(860px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(23, 33, 29, 0.28);
}

dialog::backdrop {
  background: rgba(23, 33, 29, 0.42);
}

.booking-form {
  padding: 20px;
}

.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header {
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 1.5rem;
}

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

.full-span {
  grid-column: 1 / -1;
}

.form-error {
  min-height: 22px;
  margin: 12px 0;
  color: var(--danger);
  font-weight: 700;
}

.modal-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    padding: 16px;
    gap: 16px;
  }

  .sidebar-panel {
    margin-top: 0;
  }

  .nav-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-panel {
    position: static;
  }

  .resource-lane {
    grid-template-columns: 1fr;
  }

  .lane-title {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .login-screen {
    padding: 14px;
    place-items: start center;
  }

  .login-card {
    margin-top: 8vh;
    padding: 18px;
  }

  .sidebar {
    padding: 12px;
  }

  .sidebar > .brand {
    justify-content: center;
  }

  .sidebar-panel {
    display: none;
  }

  .nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nav-item {
    flex: 0 0 auto;
    min-width: 124px;
  }

  .main-content {
    padding: 12px;
  }

  .topbar,
  .modal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions,
  .resource-card-header,
  .event-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar h2 {
    font-size: 1.45rem;
  }

  .primary-action,
  .secondary-button,
  .danger-button,
  .whatsapp-button {
    width: 100%;
  }

  .toolbar,
  .crm-toolbar,
  .accounting-layout,
  .report-toolbar,
  .report-metrics,
  .report-grid,
  .report-table-grid,
  .customer-profile-summary,
  .customer-profile-insights,
  .form-grid,
  .nav-list,
  .admin-grid,
  .event-metrics,
  .event-detail-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .event-card-header,
  .meal-builder {
    flex-direction: column;
  }

  .dashboard-scroll {
    max-height: 64vh;
    border-radius: 0;
    margin-inline: -12px;
  }

  .dashboard-header {
    font-size: 0.62rem;
  }

  .dashboard-time {
    font-size: 0.62rem;
  }

  .dashboard-booking {
    font-size: 0.54rem;
  }

  .table-wrap {
    border-radius: 0;
    margin-inline: -12px;
  }

  table {
    min-width: 700px;
  }

  .accounting-table,
  .customer-list-table,
  .mini-table table,
  .payment-history-table {
    min-width: 780px;
  }

  .report-table,
  .customer-history-table {
    min-width: 640px;
  }

  .report-metrics strong,
  .event-metrics strong {
    font-size: 1.25rem;
  }

  .report-panel,
  .event-card {
    padding: 12px;
  }

  dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 94dvh;
    margin: 0;
  }

  .booking-form {
    max-height: 94dvh;
    overflow: auto;
    padding: 14px;
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }

  .modal-actions {
    grid-template-columns: 1fr;
    position: sticky;
    bottom: -14px;
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
}
