:root {
  color-scheme: dark;
  --ink: #f6efe5;
  --muted: #c7b8a6;
  --deep: #171311;
  --deep-2: #211a17;
  --surface: #2b231f;
  --surface-soft: #39302b;
  --line: rgba(246, 239, 229, 0.16);
  --accent: #c9a15d;
  --accent-2: #7f2426;
  --green: #7fb685;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(246, 239, 229, 0.08);
  background: rgba(23, 19, 17, 0.62);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.98rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(201, 161, 93, 0.7);
  background: rgba(23, 19, 17, 0.65);
  color: var(--accent);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: clamp(12px, 1.7vw, 26px);
  color: var(--muted);
  font-size: 0.88rem;
}

.desktop-nav a,
.topbar-action {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.topbar-action {
  border: 1px solid var(--line);
  padding: 9px 15px;
  background: rgba(246, 239, 229, 0.08);
  font-size: 0.9rem;
}

.topbar-action:hover {
  border-color: rgba(201, 161, 93, 0.8);
  background: rgba(201, 161, 93, 0.14);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 116px clamp(20px, 5vw, 70px) 76px;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.83), rgba(12, 10, 9, 0.3) 54%, rgba(12, 10, 9, 0.5)),
    linear-gradient(0deg, var(--deep) 0%, rgba(23, 19, 17, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.2vw, 5.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: #eadfd1;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: rgba(246, 239, 229, 0.82);
  font-size: 0.86rem;
}

.hero-proof span {
  border: 1px solid rgba(246, 239, 229, 0.18);
  border-radius: 999px;
  background: rgba(23, 19, 17, 0.42);
  padding: 8px 11px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #1b1512;
  font-weight: 800;
}

.button-secondary {
  border-color: rgba(246, 239, 229, 0.32);
  background: rgba(23, 19, 17, 0.45);
  color: var(--ink);
}

.hero-status {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(22px, 5vw, 64px);
  z-index: 3;
  width: min(270px, calc(100vw - 36px));
  border: 1px solid rgba(246, 239, 229, 0.14);
  border-radius: 8px;
  background: rgba(23, 19, 17, 0.5);
  padding: 18px;
  color: var(--muted);
  backdrop-filter: blur(14px);
}

.hero-status strong,
.hero-status small,
.hero-status span {
  display: block;
}

.hero-status strong {
  margin: 6px 0;
  color: var(--ink);
  font-size: 1.5rem;
}

.control-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #120f0d;
}

.control-band article {
  min-height: 156px;
  padding: clamp(22px, 3.2vw, 38px);
  border-right: 1px solid var(--line);
}

.control-band article:last-child {
  border-right: 0;
}

.control-band span {
  color: var(--accent);
  font-weight: 800;
}

.control-band h2,
.section-heading h2,
.studio-copy h2 {
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.control-band p,
.section-heading,
.studio-copy p,
.role-grid p,
.microcopy {
  color: var(--muted);
  line-height: 1.65;
}

.workspace,
.experience,
.ops,
.studio,
.services,
.levels,
.team {
  padding: clamp(58px, 8vw, 98px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.membership-grid,
.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
}

.panel,
.role-grid article,
.service-card,
.level-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.055);
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(22px, 3.4vw, 34px);
}

.panel-dark {
  background: linear-gradient(145deg, #211713, #17110f);
}

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

.panel h3,
.role-grid h3,
.service-card h3,
.level-card h3,
.team-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
}

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

.application-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.application-steps span {
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 8px 9px;
  text-align: center;
}

.application-steps .active {
  border-color: rgba(201, 161, 93, 0.72);
  background: rgba(201, 161, 93, 0.14);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(246, 239, 229, 0.14);
  border-radius: 8px;
  padding: 14px;
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.set-picker label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(246, 239, 229, 0.1);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.16);
  padding: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(246, 239, 229, 0.18);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.32);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(201, 161, 93, 0.88);
}

.member-card {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.18);
  padding: 14px;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  background: #eadfd1;
  color: #171311;
  font-weight: 900;
}

.member-identity strong,
.member-identity span {
  display: block;
}

.member-identity span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.member-card div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.member-card span {
  color: var(--muted);
}

.member-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.active-sets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
}

.active-sets span {
  border: 1px solid rgba(127, 182, 133, 0.34);
  border-radius: 999px;
  background: rgba(127, 182, 133, 0.1);
  color: #d8eadb;
  font-size: 0.82rem;
  padding: 7px 10px;
}

.member-levels span {
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.member-levels .selected {
  border-color: rgba(201, 161, 93, 0.72);
  background: rgba(201, 161, 93, 0.14);
  color: var(--ink);
}

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

.slot {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 6px 16px;
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(246, 239, 229, 0.16);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.22);
  color: var(--ink);
  padding: 16px;
  text-align: left;
}

.slot small {
  grid-column: 2;
  color: var(--muted);
}

.slot.active {
  border-color: rgba(127, 182, 133, 0.72);
}

.slot.locked {
  opacity: 0.62;
  cursor: not-allowed;
}

.care-history {
  margin-top: 26px;
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.16);
  padding: 16px;
}

.history-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.history-heading .panel-kicker {
  margin: 0;
}

.care-history ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-history li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 12px;
  border-top: 1px solid rgba(246, 239, 229, 0.08);
  padding-top: 12px;
}

.care-history li:first-child {
  border-top: 0;
  padding-top: 0;
}

.care-history li span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 800;
}

.care-history small {
  color: var(--muted);
}

.levels {
  background: #eee5da;
  color: #1d1714;
}

.levels .eyebrow,
.levels .section-heading {
  color: #6e261f;
}

.levels .section-heading h2 {
  color: #1d1714;
}

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

.level-card {
  min-height: 360px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.66);
  color: #1d1714;
  box-shadow: none;
}

.featured-level {
  background: #1d1714;
  color: var(--ink);
}

.level-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}

.level-topline span {
  color: #7f2426;
  font-weight: 900;
}

.featured-level .level-topline span {
  color: var(--accent);
}

.level-topline strong {
  border: 1px solid rgba(29, 23, 20, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.featured-level .level-topline strong {
  border-color: rgba(246, 239, 229, 0.2);
}

.level-card p {
  color: #594b42;
  line-height: 1.6;
}

.featured-level p {
  color: var(--muted);
}

.level-card ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.level-card li {
  border-top: 1px solid rgba(29, 23, 20, 0.14);
  padding-top: 10px;
}

.featured-level li {
  border-top-color: rgba(246, 239, 229, 0.14);
}

.services {
  background: #171311;
}

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

.combo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -28px 0 28px;
}

.combo-strip span {
  border: 1px solid rgba(201, 161, 93, 0.32);
  border-radius: 999px;
  background: rgba(201, 161, 93, 0.08);
  color: #eadfd1;
  font-size: 0.88rem;
  padding: 9px 12px;
}

.service-card {
  min-height: 250px;
  padding: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(180deg, rgba(246, 239, 229, 0.065), rgba(246, 239, 229, 0.025));
  box-shadow: none;
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-card p,
.team-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-card small {
  display: block;
  margin-top: 24px;
  color: var(--accent);
}

.service-card small b {
  font-weight: 900;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.bundle-grid article {
  border: 1px solid rgba(201, 161, 93, 0.24);
  border-radius: 8px;
  background: rgba(201, 161, 93, 0.08);
  padding: 18px;
}

.bundle-grid span,
.bundle-grid strong,
.bundle-grid small {
  display: block;
}

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

.bundle-grid strong {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.6rem;
}

.team {
  background: #100d0c;
}

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

.team-card {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(246, 239, 229, 0.045);
}

.team-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #eadfd1;
  color: #171311;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-list span {
  border: 1px solid rgba(201, 161, 93, 0.32);
  border-radius: 999px;
  color: #eadfd1;
  font-size: 0.82rem;
  padding: 7px 10px;
}

.experience {
  background: #eee5da;
  color: #1d1714;
}

.experience .eyebrow,
.experience .section-heading {
  color: #6e261f;
}

.experience .section-heading h2 {
  color: #1d1714;
}

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

.role-grid article {
  min-height: 220px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.62);
  color: #1d1714;
  box-shadow: none;
}

.role-grid p {
  color: #594b42;
}

.role-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  background: #1d1714;
  color: var(--accent);
  font-weight: 900;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  background: #191412;
}

.studio-copy p {
  max-width: 680px;
}

.studio-metrics {
  display: grid;
  gap: 12px;
}

.studio-metrics div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.studio-metrics strong {
  color: var(--accent);
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1;
}

.studio-metrics span {
  color: var(--muted);
  line-height: 1.4;
}

.ops {
  background: #100d0c;
}

.daily-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -20px 0 26px;
}

.daily-dashboard article {
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.05);
  padding: 18px;
}

.daily-dashboard span,
.daily-dashboard strong,
.daily-dashboard small {
  display: block;
}

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

.daily-dashboard strong {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.owner-controls {
  margin-bottom: 20px;
}

.owner-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

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

.staff-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.owner-form label {
  min-width: 0;
}

.owner-form input {
  min-height: 44px;
}

.owner-form .button {
  min-height: 44px;
  white-space: nowrap;
}

.staff-form .button {
  min-height: 44px;
  white-space: nowrap;
}

.editable-staff-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.editable-staff-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(246, 239, 229, 0.1);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.045);
  padding: 12px;
}

.editable-staff-item span,
.editable-staff-item strong {
  display: block;
}

.editable-staff-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.invite-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 161, 93, 0.22);
  border-radius: 8px;
  background: rgba(201, 161, 93, 0.08);
  padding: 14px;
}

.invite-row span,
.invite-row strong {
  display: block;
}

.invite-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(246, 239, 229, 0.045);
}

.queue-item strong,
.queue-item span {
  display: block;
}

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

.queue-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(246, 239, 229, 0.16);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.access-rules {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.session-plan {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(12, 10, 9, 0.18);
  padding: 14px;
}

.session-plan div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(246, 239, 229, 0.08);
  padding-bottom: 10px;
}

.session-plan div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.session-plan span {
  color: var(--muted);
}

.capacity-meter {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.capacity-meter div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.meter-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(246, 239, 229, 0.12);
}

.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.ops-insights {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 20px;
}

.ops-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 20px;
  margin-top: 20px;
}

.live-floor {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  margin-top: 20px;
}

.stock-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  margin-top: 20px;
}

.service-breakdown,
.staff-list,
.cash-grid,
.visit-flow,
.exception-list,
.member-quick-list,
.stock-list {
  display: grid;
  gap: 12px;
}

.service-breakdown div,
.staff-list div,
.cash-grid div,
.visit-flow div,
.exception-list div,
.member-quick-list div,
.stock-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(246, 239, 229, 0.1);
  padding-top: 12px;
}

.service-breakdown div:first-child,
.staff-list div:first-child,
.cash-grid div:first-child,
.visit-flow div:first-child,
.exception-list div:first-child,
.member-quick-list div:first-child,
.stock-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-breakdown span,
.staff-list span,
.cash-grid span,
.visit-flow span,
.visit-flow small,
.exception-list span,
.member-quick-list span,
.member-quick-list small,
.stock-list span,
.stock-list small {
  color: var(--muted);
}

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

.floor-states div {
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.045);
  padding: 16px;
}

.floor-states strong,
.floor-states span,
.member-quick-list strong,
.member-quick-list span,
.member-quick-list small {
  display: block;
}

.floor-states strong {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.member-quick-list div {
  grid-template-columns: 1fr;
  gap: 4px;
}

.stock-list div {
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
}

.stock-list small {
  grid-column: 1 / -1;
}

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

.usage-grid div {
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 8px;
  background: rgba(246, 239, 229, 0.045);
  padding: 16px;
}

.usage-grid strong,
.usage-grid span {
  display: block;
}

.usage-grid strong {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.usage-grid span {
  color: var(--muted);
}

.cash-grid div,
.exception-list div {
  grid-template-columns: 1fr auto;
}

.visit-flow div {
  grid-template-columns: 58px 1fr;
  gap: 4px 12px;
}

.visit-flow span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 800;
}

.visit-flow small {
  display: block;
}

.exception-list strong {
  color: var(--accent);
  font-size: 1.35rem;
}

.access-rules label {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.access-rules input {
  min-height: auto;
  accent-color: var(--accent);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  border: 1px solid rgba(201, 161, 93, 0.45);
  border-radius: 8px;
  background: rgba(23, 19, 17, 0.94);
  color: var(--ink);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero {
    min-height: 96vh;
    padding-bottom: 156px;
  }

  .hero-status {
    left: 20px;
    right: auto;
  }

  .control-band,
  .membership-grid,
  .ops-layout,
  .ops-insights,
  .ops-flow,
  .live-floor,
  .role-grid,
  .service-grid,
  .level-grid,
  .team-grid,
  .daily-dashboard,
  .bundle-grid,
  .stock-panel,
  .owner-form,
  .staff-form,
  .studio {
    grid-template-columns: 1fr;
  }

  .control-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 14px 16px;
  }

  .topbar-action {
    padding: 9px 11px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
  }

  .hero-actions,
  .panel-heading,
  .queue-item {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .member-card div,
  .slot,
  .studio-metrics div,
  .set-picker,
  .application-steps {
    grid-template-columns: 1fr;
  }

  .slot small {
    grid-column: 1;
  }
}
