.app-body,
.booking-body {
  background: #f7fbfa;
  min-height: 100vh;
}

[hidden] {
  display: none !important;
}

.coming-soon-shell {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 28px;
}

.coming-soon-card {
  background: #fff;
  border: 1px solid rgba(216, 228, 224, 0.95);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(8, 24, 38, 0.12);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(24px, 5vw, 58px);
  width: 100%;
}

.coming-soon-copy {
  margin-top: 54px;
  max-width: 760px;
}

.coming-soon-copy h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  margin: 0;
}

.coming-soon-copy p:not(.app-date) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.7;
  margin: 20px 0 0;
}

.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.coming-soon-note {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 36px;
  padding: 18px;
}

.coming-soon-note strong {
  font-size: 18px;
}

.coming-soon-note span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-shell {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 28px;
}

.auth-card {
  background: #fff;
  border: 1px solid rgba(216, 228, 224, 0.95);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(8, 24, 38, 0.12);
  margin: 0 auto;
  max-width: 1040px;
  padding: clamp(24px, 5vw, 54px);
  width: 100%;
}

.auth-copy {
  margin-top: 42px;
  max-width: 680px;
}

.auth-copy h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  margin: 0;
}

.auth-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.7;
  margin: 18px 0 0;
}

.auth-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.auth-form {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.auth-form h2 {
  margin: 0;
}

.secondary-auth {
  background: linear-gradient(135deg, #0d1426, #123f37);
  color: #fff;
}

.secondary-auth label,
.secondary-auth p {
  color: rgba(255, 255, 255, 0.82);
}

.form-message,
.public-link-box span {
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

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

.app-sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.app-brand {
  font-size: 24px;
}

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

.app-nav-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #515968;
  display: flex;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.app-nav-item svg {
  color: #687181;
  height: 19px;
  width: 19px;
}

.app-nav-item.active,
.app-nav-item:hover {
  background: var(--mint-light);
  color: var(--mint-deep);
}

.app-nav-item.active svg,
.app-nav-item:hover svg {
  color: var(--mint-deep);
}

.sidebar-card {
  background: linear-gradient(180deg, #f4fbf8, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: auto;
  padding: 16px;
}

.sidebar-card strong,
.sidebar-card a,
.sidebar-label {
  display: block;
}

.sidebar-label {
  color: #77808f;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-card strong {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sidebar-card a {
  color: var(--mint-deep);
  font-size: 13px;
  font-weight: 800;
  margin-top: 14px;
}

.app-main {
  min-width: 0;
  padding: 28px;
}

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

.app-date {
  color: var(--mint-deep);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
}

.app-topbar h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 0;
}

.topbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.ghost-link {
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 800;
}

.ghost-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.button.compact {
  font-size: 14px;
  min-height: 44px;
  padding: 0 18px;
}

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

.app-metrics article,
.app-panel,
.booking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(13, 34, 45, 0.05);
}

.app-metrics article {
  padding: 18px;
}

.app-metrics span,
.app-metrics small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.app-metrics strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin: 10px 0 8px;
}

.app-view {
  display: none;
}

.app-view.active {
  display: block;
}

.calendar-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.app-panel {
  min-width: 0;
  padding: 22px;
}

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

.panel-head.small {
  align-items: center;
}

.panel-head h2,
.dialog-head h2,
.step-heading h2,
.booking-summary h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.panel-head p,
.dialog-head p,
.step-heading p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin: 8px 0 0;
}

.segmented {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  padding: 4px;
}

.segmented button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  padding: 0 12px;
}

.segmented button.active {
  background: #fff;
  color: var(--mint-deep);
  box-shadow: 0 4px 14px rgba(13, 34, 45, 0.08);
}

.staff-calendar {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 70px repeat(4, minmax(140px, 1fr));
  overflow: auto;
}

.staff-head,
.time-cell,
.calendar-cell {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 58px;
}

.staff-head {
  background: #fbfefd;
  padding: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
}

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

.staff-head strong {
  font-size: 13px;
}

.staff-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-top: 4px;
}

.time-cell {
  align-items: center;
  color: #747d8c;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
}

.calendar-cell {
  background: #fff;
  padding: 6px;
}

.calendar-event {
  border: 1px solid rgba(56, 185, 145, 0.32);
  border-radius: 7px;
  cursor: pointer;
  display: block;
  min-height: 48px;
  padding: 9px;
  text-align: left;
  width: 100%;
}

.calendar-event strong,
.calendar-event span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event strong {
  font-size: 12px;
  font-weight: 800;
}

.calendar-event span {
  color: #4f5867;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
}

.event-mint,
.choice-mint {
  background: #e1f7ee;
}

.event-pink,
.choice-pink {
  background: #fde9f3;
}

.event-peach,
.choice-peach {
  background: #fff0dd;
}

.event-blue,
.choice-blue {
  background: #e8f1fa;
}

.event-lavender,
.choice-lavender {
  background: #eeeafd;
}

.appointment-detail {
  display: grid;
  gap: 14px;
}

.detail-empty {
  background: #f7fbfa;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding: 22px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.detail-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.detail-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 104px 1fr;
  padding: 12px 0;
}

.detail-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-row strong {
  font-size: 14px;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.status-confirmed {
  background: var(--mint-light);
  color: var(--mint-deep);
}

.status-pending {
  background: #fff0dd;
  color: #9b5b00;
}

.status-cancelled {
  background: #f4f4f5;
  color: #6b7280;
}

.icon-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.reservation-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.reservation-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 1fr 1fr 100px 110px;
  padding: 14px 16px;
}

.reservation-row + .reservation-row {
  border-top: 1px solid var(--line);
}

.reservation-row.header {
  background: #f7fbfa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.reservation-row strong {
  font-size: 14px;
}

.reservation-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.email-outbox {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
}

.email-item {
  align-items: center;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

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

.email-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 4px;
}

.two-column-view,
.inventory-view,
.team-admin-view {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.content-stack,
.side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.settings-view {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.settings-view .app-panel:last-child {
  grid-column: 1 / -1;
}

.service-list,
.team-grid,
.manage-list {
  display: grid;
  gap: 12px;
}

.service-item,
.team-card,
.manage-item {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr) 118px;
  padding: 16px;
}

.manage-item {
  align-items: start;
  background: #fff;
}

.compact-manage {
  grid-template-columns: 48px minmax(0, 1fr) 128px;
}

.color-dot,
.avatar {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.avatar {
  background: var(--mint-light);
  color: var(--mint-deep);
}

.service-item h3,
.team-card h3 {
  font-size: 17px;
  margin: 0 0 5px;
}

.service-item p,
.team-card p,
.reset-box p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.form-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form-panel label,
.auth-form label,
.manage-fields label,
.demo-dialog label,
.booking-flow-demo label {
  color: #3e4655;
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.manage-fields {
  display: grid;
  gap: 12px;
  grid-template-columns:
    minmax(132px, 1.25fr)
    minmax(132px, 1.05fr)
    minmax(82px, 0.58fr)
    minmax(82px, 0.58fr)
    minmax(120px, 0.76fr);
  min-width: 0;
}

.manage-fields input,
.manage-fields select {
  min-height: 38px;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.manage-fields .wide-field,
.manage-fields .short-field,
.manage-fields .color-field {
  min-width: 0;
}

.manage-actions {
  align-items: end;
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 0;
  width: 100%;
}

.manage-actions .button {
  min-width: 0;
  width: 100%;
}

.tiny-toggle {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tiny-toggle input {
  accent-color: var(--mint-deep);
  min-height: auto;
}

.mini-stat {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

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

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

.reset-box {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.public-link-box {
  display: grid;
  gap: 12px;
}

.public-link-box input {
  font-weight: 800;
}

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

.upgrade-list article {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.upgrade-list strong,
.upgrade-list span {
  display: block;
}

.upgrade-list strong {
  font-size: 15px;
  margin-bottom: 6px;
}

.upgrade-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.reset-box strong {
  display: block;
  margin-bottom: 8px;
}

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

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

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

.analytics-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  padding: 15px;
}

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

.analytics-row > div > strong {
  font-size: 15px;
}

.analytics-row > div > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 5px;
}

.analytics-value {
  display: grid;
  gap: 8px;
  text-align: right;
}

.progress-track {
  background: #eef5f3;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.progress-track span {
  background: linear-gradient(90deg, var(--mint), var(--coral));
  border-radius: inherit;
  height: 100%;
}

.empty-inline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-dialog {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(13, 34, 45, 0.24);
  max-width: 720px;
  padding: 0;
  width: calc(100% - 32px);
}

.demo-dialog::backdrop {
  background: rgba(16, 19, 38, 0.36);
}

.demo-dialog form {
  padding: 24px;
}

.dialog-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.booking-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px;
}

.booking-hero {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 26px;
}

.booking-hero > div {
  text-align: center;
}

.booking-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  margin: 0;
}

.booking-hero p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 0;
}

.booking-hero .ghost-link {
  justify-self: end;
}

.booking-card {
  display: grid;
  gap: 0;
  grid-template-columns: 340px minmax(0, 1fr);
  overflow: hidden;
}

.booking-summary {
  background: linear-gradient(180deg, #f4fbf8, #fff);
  border-right: 1px solid var(--line);
  padding: 22px;
}

.summary-image {
  border-radius: 8px;
  margin-bottom: 22px;
  overflow: hidden;
}

.summary-image img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.booking-summary dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.booking-summary dl div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.booking-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-summary dd {
  font-size: 16px;
  font-weight: 800;
  margin: 5px 0 0;
}

.booking-flow-demo {
  padding: 26px;
}

.booking-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.booking-steps li {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 12px;
  text-align: center;
}

.booking-steps li.active {
  background: var(--mint-light);
  border-color: rgba(56, 185, 145, 0.4);
  color: var(--mint-deep);
}

.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
}

.step-heading {
  margin-bottom: 18px;
}

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

.choice-card,
.staff-choice,
.time-choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  padding: 16px;
  text-align: left;
}

.choice-card.active,
.staff-choice.active,
.time-choice.active {
  border-color: rgba(56, 185, 145, 0.62);
  box-shadow: 0 14px 30px rgba(13, 34, 45, 0.08);
}

.choice-card strong,
.choice-card span,
.staff-choice strong,
.staff-choice span {
  display: block;
}

.choice-card strong,
.staff-choice strong {
  font-size: 17px;
  font-weight: 800;
}

.choice-card span,
.staff-choice span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 7px;
}

.date-picker {
  margin-bottom: 16px;
  max-width: 260px;
}

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

.time-choice {
  font-size: 14px;
  font-weight: 800;
  min-height: 48px;
  text-align: center;
}

.time-choice:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: line-through;
}

.booking-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 20px;
}

.booking-confirmation {
  background: linear-gradient(180deg, #f4fbf8, #fff);
  border: 1px solid rgba(56, 185, 145, 0.32);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.booking-confirmation svg {
  background: var(--mint);
  border-radius: 50%;
  color: #fff;
  height: 54px;
  margin: 0 auto 16px;
  padding: 14px;
  width: 54px;
}

.booking-confirmation h2 {
  font-size: 30px;
  margin: 0;
}

.booking-confirmation p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 520px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.legal-body {
  background: #f7fbfa;
  min-height: 100vh;
}

.legal-shell {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(24px, 5vw, 72px);
}

.legal-card {
  background: #fff;
  border: 1px solid rgba(216, 228, 224, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(8, 24, 38, 0.1);
  padding: clamp(24px, 5vw, 58px);
}

.legal-card h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  margin: 0 0 22px;
}

.legal-card h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}

.legal-card p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-card .button {
  margin-top: 18px;
}

@media (max-width: 1120px) {
  .app-shell,
  .auth-grid,
  .calendar-workspace,
  .two-column-view,
  .inventory-view,
  .team-admin-view,
  .settings-view,
  .analytics-grid,
  .booking-card {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    height: auto;
    position: static;
  }

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

  .app-nav-item {
    justify-content: center;
  }

  .app-nav-item svg {
    display: none;
  }

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

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

@media (max-width: 1380px) {
  .inventory-view,
  .team-admin-view {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .manage-item,
  .compact-manage {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .manage-fields,
  .analytics-value {
    grid-column: 1 / -1;
  }

  .manage-actions {
    align-items: stretch;
    grid-column: 1 / -1;
    justify-items: stretch;
  }

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

@media (max-width: 760px) {
  .app-main,
  .booking-shell,
  .coming-soon-shell,
  .legal-shell {
    padding: 18px;
  }

  .coming-soon-copy {
    margin-top: 36px;
  }

  .coming-soon-actions .button {
    width: 100%;
  }

  .app-topbar,
  .panel-head,
  .dialog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions,
  .booking-actions,
  .dialog-actions {
    justify-content: stretch;
  }

  .topbar-actions .button,
  .booking-actions .button,
  .dialog-actions .button {
    width: 100%;
  }

  .app-metrics,
  .form-grid,
  .dialog-grid,
  .client-grid,
  .choice-grid,
  .staff-choice-grid,
  .email-item,
  .time-choice-grid,
  .booking-steps {
    grid-template-columns: 1fr;
  }

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

  .staff-calendar {
    grid-template-columns: 64px repeat(4, 150px);
  }

  .reservation-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .reservation-row.header {
    display: none;
  }

  .service-item,
  .team-card,
  .manage-item,
  .compact-manage,
  .analytics-row {
    grid-template-columns: 48px 1fr;
  }

  .manage-fields,
  .analytics-value {
    grid-column: 1 / -1;
    text-align: left;
  }

  .manage-fields {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .manage-actions {
    align-items: stretch;
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .service-item > strong {
    grid-column: 1 / -1;
  }

  .booking-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .booking-hero .brand,
  .booking-hero .ghost-link {
    justify-self: center;
  }

  .booking-actions {
    flex-direction: column;
  }
}
