:root {
  --ink: #0a0a0a;
  --panel: #111;
  --panel-soft: #181818;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f6f4ef;
  --paper-strong: #fff;
  --muted: #8d8b86;
  --muted-dark: #605d56;
  --brass: #c69a49;
  --brass-soft: #f0d08a;
  --green: #55b86a;
  --danger: #ce5f4d;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(210px, 16vw) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--ink);
}

.choice-page,
.single-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 0%, rgba(198, 154, 73, 0.16), transparent 32%),
    linear-gradient(180deg, #090909 0, #101010 48%, #070707 100%);
}

.choice-page {
  display: grid;
  grid-template-columns: minmax(260px, 24vw) minmax(0, 1fr);
}

.photo-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: white;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=900&q=80")
      center / cover;
  border-right: 1px solid var(--line);
}

.choice-rail {
  min-width: 260px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-lockup strong {
  display: block;
  font-size: 24px;
  line-height: 0.9;
}

.brand-lockup small,
.rail-copy span,
.section-label {
  display: block;
  color: var(--brass-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(240, 208, 138, 0.56);
  color: var(--brass-soft);
  font-size: 24px;
}

.rail-copy {
  padding-top: 240px;
}

.rail-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 8px;
}

.rail-copy strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.workspace {
  min-width: 0;
  padding: 20px 28px 36px;
  background:
    radial-gradient(circle at 74% 0%, rgba(198, 154, 73, 0.16), transparent 32%),
    linear-gradient(180deg, #090909 0, #101010 48%, #070707 100%);
}

.topbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: white;
}

.page-topbar {
  max-width: 1480px;
  margin: 0 auto 18px;
  padding: 18px 24px 0;
}

.brand-link {
  color: white !important;
  text-decoration: none;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-main,
.choice-main {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.choice-main {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 46px;
}

.choice-hero {
  max-width: 920px;
  padding: 42px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.choice-hero h1 {
  max-width: 840px;
}

.choice-hero p:not(.section-label) {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.55;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin-top: 20px;
}

.choice-card {
  min-height: 230px;
  padding: 28px;
  color: white;
  text-decoration: none;
  background: #121212;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 208, 138, 0.6);
}

.choice-card span {
  display: block;
  color: var(--brass-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-card strong {
  display: block;
  margin: 16px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.choice-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.primary-choice {
  color: var(--ink);
  background: var(--paper);
}

.primary-choice p {
  color: var(--muted-dark);
}

.topbar nav {
  display: flex;
  gap: 22px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar a[aria-current="page"] {
  color: white;
  border-bottom: 2px solid var(--brass);
}

.ghost-button {
  border: 1px solid rgba(240, 208, 138, 0.5);
  padding: 10px 14px;
  color: white !important;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: end;
  min-height: 210px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.compact-hero {
  grid-template-columns: minmax(0, 1fr) 260px;
  margin-bottom: 22px;
}

.solo-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.admin-page .single-main {
  max-width: 1380px;
}

.admin-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.admin-intro h1 {
  max-width: 760px;
}

.admin-intro p:not(.section-label) {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.55;
}

.primary-link {
  flex: 0 0 auto;
  padding: 15px 18px;
  color: white;
  background: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-panel-full {
  max-width: none;
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  max-width: 780px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero-card p:not(.section-label) {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 0;
}

.barber-signature {
  display: grid;
  justify-items: end;
  align-content: end;
  min-height: 150px;
  padding: 24px;
  color: white;
  background:
    linear-gradient(140deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.82)),
    url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=600&q=80")
      center / cover;
}

.barber-signature span {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--brass-soft);
  font-size: 50px;
  line-height: 0.9;
}

.barber-signature small {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  margin-top: 22px;
}

.walkthrough-panel {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  padding: 22px 24px;
  color: white;
  background: #121212;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.walkthrough-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.walkthrough-panel ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tryflow;
}

.walkthrough-panel li {
  counter-increment: tryflow;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(240, 208, 138, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.walkthrough-panel li::before {
  content: counter(tryflow);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  color: var(--ink);
  background: var(--brass-soft);
  font-weight: 950;
}

.booking-panel,
.admin-panel,
.stack-panel,
.roadmap-panel {
  min-width: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.booking-panel {
  padding: 26px;
  background: var(--paper-strong);
}

.panel-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 26px 0 14px;
}

.panel-heading:first-child {
  margin-top: 0;
}

.panel-heading span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.panel-heading h2,
.admin-panel h2,
.stack-panel h2,
.roadmap-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.panel-heading p,
.policy-card p,
.cost-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

.service-card,
.barber-card,
.day-button,
.slot-button,
.block-slot,
.primary-button,
.icon-button,
.appointment-list button,
.tool-heading button,
.barber-mini-select button {
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: white;
  cursor: pointer;
}

.service-card {
  min-height: 132px;
  padding: 14px 10px;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.service-card:hover,
.service-card.is-selected {
  transform: translateY(-2px);
  color: white;
  background: var(--ink);
  border-color: var(--brass);
}

.service-card strong {
  display: block;
  text-transform: uppercase;
  font-size: 14px;
}

.service-card em {
  display: block;
  min-height: 28px;
  margin-top: 5px;
  color: inherit;
  opacity: 0.72;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.service-card b {
  display: block;
  margin-top: 12px;
  font-size: 27px;
}

.service-card span {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

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

.barber-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  text-align: left;
}

.barber-card span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  background: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.barber-card strong {
  font-size: 15px;
  text-transform: uppercase;
}

.barber-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.barber-card.is-selected,
.barber-card:hover {
  border-color: var(--brass);
  background: #f6ecd6;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-button {
  padding: 12px 8px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
}

.day-button span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.day-button.is-selected,
.slot-button.is-selected {
  color: white;
  background: var(--ink);
  border-color: var(--brass);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.slot-button {
  min-height: 42px;
  font-weight: 850;
}

.slot-button:disabled {
  color: #a9a6a0;
  background: #eeece7;
  cursor: not-allowed;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(10, 10, 10, 0.16);
  border-radius: 0;
  padding: 13px 12px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.primary-button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-panel {
  padding: 24px;
  color: white;
  background: linear-gradient(180deg, #141414, #0b0b0b);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.icon-button {
  min-height: 38px;
  padding: 0 13px;
  color: white;
  background: #191919;
  border-color: var(--line);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 10px;
}

.metric-row article,
.policy-card,
.cost-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.metric-row article {
  padding: 16px;
}

.metric-row span,
.cost-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 31px;
}

.policy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  margin-bottom: 14px;
}

.policy-card strong {
  text-transform: uppercase;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch span {
  position: relative;
  width: 54px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #2a2a2a;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: white;
  transition: transform 180ms ease;
}

.switch input:checked + span {
  background: var(--brass);
}

.switch input:checked + span::after {
  transform: translateX(24px);
}

.appointment-list {
  overflow: hidden;
  border: 1px solid var(--line);
}

.appointment-row {
  display: grid;
  grid-template-columns: 62px minmax(100px, 0.9fr) minmax(150px, 1.1fr) 76px minmax(128px, 0.9fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.appointment-row:last-child {
  border-bottom: 0;
}

.appointment-row strong,
.appointment-row b {
  display: block;
}

.appointment-row span,
.appointment-row small {
  color: rgba(255, 255, 255, 0.52);
}

.status {
  color: var(--brass-soft);
  font-weight: 900;
}

.pay-state {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.appointment-row button {
  min-height: 32px;
  padding: 0 8px;
  color: white;
  background: transparent;
  border-color: rgba(240, 208, 138, 0.32);
  font-size: 12px;
  font-weight: 900;
}

.admin-tools {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.tool-panel {
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.tool-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.tool-heading strong {
  display: block;
  text-transform: uppercase;
}

.tool-heading p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.35;
}

.tool-heading button {
  min-height: 34px;
  padding: 0 13px;
  border-color: rgba(240, 208, 138, 0.32);
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-editor,
.barber-editor {
  display: grid;
  gap: 8px;
}

.service-edit-row,
.barber-edit-row {
  display: grid;
  gap: 7px;
}

.service-edit-row {
  grid-template-columns: minmax(90px, 1.3fr) minmax(100px, 1.4fr) 58px 62px 62px 58px;
}

.barber-edit-row {
  grid-template-columns: minmax(96px, 1fr) minmax(130px, 1.4fr) 62px;
}

.service-edit-row input,
.barber-edit-row input {
  min-height: 36px;
  padding: 8px;
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
}

.mini-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.mini-check input {
  width: auto;
}

.block-day-select {
  display: grid;
  gap: 8px;
}

.barber-mini-select,
.day-mini-select {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.barber-mini-select button {
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.barber-mini-select button.is-selected {
  color: var(--ink);
  background: var(--brass-soft);
}

.block-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.block-slot {
  min-height: 44px;
  color: white;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.block-slot span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.block-slot.is-blocked {
  color: var(--ink);
  background: var(--brass-soft);
}

.block-slot:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.payment-demo {
  display: grid;
  gap: 10px;
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 168px);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(240, 208, 138, 0.26);
  background: rgba(240, 208, 138, 0.08);
}

.payment-card span,
.payment-flow span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-card strong {
  display: block;
  margin: 7px 0;
  color: var(--brass-soft);
  font-size: 24px;
}

.payment-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.fake-card {
  display: grid;
  place-items: end start;
  min-height: 88px;
  padding: 12px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    #222;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.payment-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.payment-flow span {
  display: grid;
  align-items: center;
  min-height: 48px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.25;
}

.stack-panel,
.roadmap-panel {
  margin-top: 22px;
  padding: 24px;
  color: white;
  background: #111;
}

.stack-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.cost-grid article {
  min-height: 132px;
  padding: 16px;
}

.cost-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--green);
  font-size: 32px;
}

.roadmap-panel ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  counter-reset: roadmap;
}

.roadmap-panel li {
  counter-increment: roadmap;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.03);
}

.roadmap-panel li::before {
  content: counter(roadmap, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--brass-soft);
  font-weight: 950;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 16px 18px;
  color: white;
  background: #111;
  border: 1px solid rgba(240, 208, 138, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .choice-page {
    grid-template-columns: 1fr;
  }

  .photo-rail,
  .choice-rail {
    position: relative;
    min-height: 360px;
    height: auto;
  }

  .rail-copy {
    padding-top: 120px;
  }

  .booking-grid,
  .stack-panel,
  .walkthrough-panel,
  .two-column-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .workspace {
    padding: 14px;
  }

  .single-main,
  .choice-main {
    padding: 0 14px 24px;
  }

  .choice-main {
    min-height: auto;
    padding-top: 14px;
  }

  .choice-hero,
  .admin-intro {
    padding: 24px;
  }

  .choice-grid,
  .compact-hero,
  .admin-intro {
    grid-template-columns: 1fr;
  }

  .admin-intro {
    display: grid;
  }

  .topbar {
    align-items: stretch;
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .topbar nav {
    justify-content: space-between;
  }

  .hero-card,
  .client-fields,
  .roadmap-panel ol,
  .walkthrough-panel ol {
    grid-template-columns: 1fr;
  }

  .barber-signature {
    min-height: 220px;
  }

  .booking-panel,
  .admin-panel,
  .stack-panel,
  .roadmap-panel,
  .walkthrough-panel {
    padding: 18px;
  }

  .service-grid,
  .barber-grid,
  .day-strip,
  .slot-grid,
  .metric-row,
  .cost-grid,
  .block-slot-grid,
  .payment-flow {
    grid-template-columns: 1fr 1fr;
  }

  .service-edit-row,
  .barber-edit-row,
  .payment-card {
    grid-template-columns: 1fr;
  }

  .appointment-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .appointment-row > :nth-child(n + 3) {
    grid-column: 2;
  }
}

@media (max-width: 460px) {
  .service-grid,
  .barber-grid,
  .day-strip,
  .slot-grid,
  .metric-row,
  .cost-grid,
  .block-slot-grid,
  .barber-mini-select,
  .day-mini-select,
  .payment-flow {
    grid-template-columns: 1fr;
  }
}
