:root {
  --ink: #071a2c;
  --muted: #5f6f7d;
  --line: #d9e5eb;
  --panel: #ffffff;
  --page: #f5fbfd;
  --accent: #c8ff2e;
  --accent-dark: #007fa6;
  --lime: #c8ff2e;
  --lime-dark: #a9dd1a;
  --cyan: #02b8e8;
  --navy: #071a2c;
  --navy-soft: #0e2a43;
  --gold: #e5a72d;
  --danger: #b83a3a;
  --blue: #02b8e8;
  --shadow: 0 14px 40px rgba(7, 26, 44, 0.09);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

@keyframes dynkFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dynkToastIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dynkToastOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.icon {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 118px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a,
.link-button {
  border-radius: 8px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.link-button:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav a,
.link-button,
.inline-action,
.field-label,
.section-title,
dt,
.slot-time,
.slot-meta,
.address-block span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  color: inherit;
}

.section-title .icon,
.field-label .icon,
dt .icon {
  color: var(--cyan);
}

.public-hero .section-title .icon {
  color: currentColor;
}

.inline-form {
  display: inline;
}

.link-button {
  padding: 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.page > * {
  animation: dynkFadeUp 220ms ease both;
}

.toast-stack {
  position: fixed;
  top: 86px;
  right: clamp(16px, 4vw, 42px);
  z-index: 50;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f2ffd9;
  border: 1px solid #d4f885;
  box-shadow: 0 16px 38px rgba(7, 26, 44, 0.18);
  animation: dynkToastIn 180ms ease both;
  pointer-events: auto;
}

.toast.error {
  color: #7b2424;
  background: #fff0f0;
  border-color: #ffcaca;
}

.toast.success {
  background: #f2ffd9;
}

.toast-exit {
  animation: dynkToastOut 180ms ease both;
}

.toast-close {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(7, 26, 44, 0.08);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background-color 160ms ease, transform 160ms ease;
}

.toast-close:hover {
  background: rgba(7, 26, 44, 0.14);
}

.toast-close:active {
  transform: scale(0.92);
}

.auth-layout,
.split,
.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.auth-copy {
  padding: 34px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: 0;
}

.auth-copy p,
.page-heading p,
.public-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-panel,
.form-grid {
  display: grid;
  gap: 16px;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="file"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(2, 184, 232, 0.18);
}

.checkbox,
input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.check-row {
  align-content: start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--lime);
  border-radius: 8px;
  color: var(--navy);
  background: var(--lime);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(7, 26, 44, 0.08);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.button:hover {
  background: var(--lime-dark);
  box-shadow: 0 12px 24px rgba(7, 26, 44, 0.14);
  text-decoration: none;
}

.button:active,
.button.is-pressed,
.link-button:active,
.link-button.is-pressed,
.nav a:active {
  transform: translateY(1px) scale(0.99);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  color: var(--navy);
  border-color: #b8e9f5;
  background: #eefbff;
}

.button-secondary:hover {
  color: #fff;
  background: var(--cyan);
}

.button-small {
  min-height: 34px;
  padding: 7px 12px;
}

.form-actions,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.settings-form {
  display: grid;
  gap: 18px;
}

.settings-section {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.settings-section-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.settings-section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.settings-section-header h2 .icon {
  color: var(--cyan);
}

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

.field-block {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.field-block-full {
  grid-column: 1 / -1;
}

.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.field-block-media {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.settings-preview-logo,
.settings-preview-cover,
.settings-preview-qr {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.settings-preview-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.settings-preview-cover {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.settings-preview-qr {
  width: min(220px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.toggle-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.toggle-card span {
  display: grid;
  gap: 4px;
}

.toggle-card strong {
  font-size: 17px;
}

.toggle-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.settings-actions {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.form-error,
.errorlist {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #7b2424;
  background: #fff0f0;
  list-style: none;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.page-heading,
.public-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.page-heading h1,
.public-hero h1 {
  font-size: clamp(30px, 5vw, 54px);
}

.metric-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  padding: 20px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.metric span {
  display: block;
  color: #b7eaf7;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
}

.panel-header,
.list-row,
.qr-row,
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease, background-color 160ms ease;
}

.list-row:hover {
  border-color: #b8e9f5;
  background: #f8fdff;
  box-shadow: 0 10px 24px rgba(7, 26, 44, 0.08);
  text-decoration: none;
}

.list-row:active,
.list-row.is-pressed {
  transform: translateY(1px) scale(0.995);
}

.list-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #714f09;
  background: #fff3cf;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status.confirmed {
  color: var(--navy);
  background: #dfff7b;
}

.status.pending_payment {
  color: #624406;
  background: #fff0bf;
}

.status.pending_review {
  color: #064a62;
  background: #d8f7ff;
}

.status.paid {
  color: var(--navy);
  background: #dfff7b;
}

.status.rejected,
.status.cancelled {
  color: #893232;
  background: #ffe3e3;
}

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

.location-card {
  display: grid;
  gap: 18px;
}

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

.detail-grid div {
  padding: 12px;
  border-radius: 8px;
  background: #f6f8f5;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
}

.qr-row {
  justify-content: start;
  align-items: center;
}

.qr-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qr-row a {
  overflow-wrap: anywhere;
}

.qr-row img,
.qr-panel img {
  width: 142px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-panel {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.gcash-qr-panel {
  justify-items: stretch;
}

.gcash-qr-panel h2,
.gcash-qr-panel .muted {
  justify-self: start;
}

.gcash-qr-panel img.gcash-qr {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-download-button {
  width: 100%;
}

.payment-help {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #b8e9f5;
  border-radius: 8px;
  color: var(--navy);
  background: #eefbff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.payment-help .icon {
  margin-top: 2px;
  color: var(--cyan);
}

.payment-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f5;
}

.payment-summary h3 {
  margin: 0;
  font-size: 18px;
}

.payment-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.payment-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.payment-summary dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.payment-summary dd {
  text-align: right;
  font-weight: 700;
}

.schedule-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.6fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-head,
.schedule-cell {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.schedule-head {
  color: var(--muted);
  background: #f6f8f5;
  font-weight: 800;
}

.strong {
  font-weight: 800;
}

.filter-bar {
  justify-content: start;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table-panel {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.notice {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #fff8e5;
}

.public-hero {
  align-items: stretch;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), var(--navy-soft) 58%, #006d92);
  background-size: 82px 82px, 82px 82px, auto;
  background-position: center;
}

.public-hero-cover {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 26, 44, 0.88), rgba(7, 26, 44, 0.58)),
    var(--cover-photo);
  background-position: center;
  background-size: cover;
}

.public-hero .eyebrow,
.public-hero p {
  color: #d8f7ff;
}

.public-logo {
  flex: 0 0 112px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.public-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.booking-shell {
  grid-template-columns: 0.78fr 1.22fr;
}

.booking-form .form-grid.compact {
  column-gap: 20px;
  row-gap: 18px;
}

.booking-form > .button[type="submit"] {
  justify-self: start;
  margin-top: 14px;
}

.finder-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.finder-hero h1 {
  max-width: 760px;
}

.finder-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.finder-search {
  display: grid;
  gap: 12px;
}

.finder-search-input {
  min-height: 52px;
}

.finder-results {
  display: grid;
  gap: 18px;
}

.finder-results-header h2 {
  margin-bottom: 0;
}

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

.court-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.court-card:hover {
  border-color: #b8e9f5;
  box-shadow: 0 18px 42px rgba(7, 26, 44, 0.14);
  transform: translateY(-2px);
}

.court-card:active,
.court-card.is-pressed {
  transform: translateY(0) scale(0.995);
}

.court-card-photo,
.location-card-cover {
  display: block;
  width: 100%;
  min-height: 0;
  background: #e8efe9;
}

.court-card-photo {
  height: 190px;
}

.court-card-photo:hover {
  text-decoration: none;
}

.court-card-photo img,
.location-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.court-card:hover .court-card-photo img {
  transform: scale(1.025);
}

.court-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 150px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), var(--navy-soft) 58%, #006d92);
  background-size: 48px 48px, 48px 48px, auto;
}

.court-card-placeholder span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.dynk-mark {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.court-card-placeholder.with-logo {
  padding: 28px;
}

.court-card-placeholder.with-logo img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.court-card-body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.court-card-body h2 {
  margin-bottom: 0;
}

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

.court-card-facts div {
  padding: 10px;
  border-radius: 8px;
  background: #f6f8f5;
}

.location-card-cover {
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
}

.booking-filters {
  display: grid;
  gap: 14px;
}

.location-summary {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-label,
.address-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.address-block {
  display: grid;
  gap: 4px;
}

.address-block p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.location-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.location-facts div {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f8f5;
}

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

.slot {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease, background-color 160ms ease;
}

.slot:hover {
  border-color: #b8e9f5;
  background: #f8fdff;
  box-shadow: 0 10px 24px rgba(7, 26, 44, 0.08);
}

.slot:active,
.slot.is-pressed {
  transform: translateY(1px) scale(0.995);
}

.slot input {
  position: absolute;
  top: 12px;
  right: 12px;
}

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

.slot-time .icon,
.slot-meta .icon {
  color: var(--cyan);
}

.slot:has(input:checked) {
  border-color: var(--accent);
  outline: 3px solid #ddff78;
}

.slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.confirmation {
  display: grid;
  place-items: center;
  min-height: 55vh;
}

.confirmation .panel {
  width: min(720px, 100%);
}

.offline-shell {
  display: grid;
  justify-items: start;
  gap: 14px;
  width: min(680px, 100%);
  margin: 12vh auto 0;
}

.offline-shell h1 {
  font-size: clamp(32px, 8vw, 58px);
}

.offline-shell p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.offline-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.offline-mark .icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .auth-layout,
  .split,
  .booking-shell,
  .finder-hero,
  .metric-grid,
  .location-grid,
  .court-card-grid,
  .settings-grid,
  .form-grid.compact {
    grid-template-columns: 1fr;
  }

  .page-heading,
  .public-hero,
  .panel-header,
  .list-row,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .form-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

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

  .field-block-full {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .table-panel {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .table-panel thead {
    display: none;
  }

  .table-panel tbody {
    display: grid;
    gap: 14px;
  }

  .table-panel tr {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .table-panel td {
    display: grid;
    grid-template-columns: minmax(88px, 0.7fr) minmax(0, 1.3fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .table-panel td:last-child {
    border-bottom: 0;
  }

  .table-panel td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .schedule-table {
    grid-template-columns: 1fr;
  }

  .schedule-head {
    display: none;
  }

  h1,
  .page-heading h1,
  .public-hero h1 {
    font-size: 34px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .booking-form > .button[type="submit"] {
    width: 100%;
  }
}
