:root {
  --bg: #4b6f6e;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #182326;
  --muted: #6e7b7d;
  --line: rgba(11, 87, 88, 0.14);
  --teal: #0b5758;
  --teal-deep: #083e41;
  --teal-soft: #e8f2f1;
  --shadow: 0 24px 72px rgba(7, 55, 57, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

.klock-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,0.18), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(219,196,135,0.16), transparent 16%);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1344px, calc(100% - 26px));
  margin: 15px auto;
}

.frame,
.login-frame {
  background: var(--surface);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.public-frame { display: grid; grid-template-columns: 344px minmax(0, 1fr); min-height: calc(100vh - 30px); }
.admin-frame { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 28px); }
.sidebar,
.admin-sidebar,
.login-sidebar {
  background: linear-gradient(180deg, rgba(250,252,251,0.98) 0%, rgba(243,247,245,0.98) 100%);
  border-right: 1px solid var(--line);
}
.sidebar,
.content,
.admin-sidebar,
.admin-content,
.login-sidebar,
.login-panel { padding: 28px; }
.sidebar { display: grid; align-content: start; gap: 18px; }
.content,
.admin-content { display: grid; align-content: start; gap: 18px; }
.content {
  position: relative;
  padding-bottom: 148px;
}

.brand-row { display: flex; align-items: center; gap: 18px; }
.brand-icon {
  width: 49px;
  height: 49px;
  padding: 8px;
  border-radius: 16px;
  object-fit: contain;
  background: linear-gradient(135deg, #ffffff 0%, #eef4f2 100%);
  border: 1px solid rgba(11,87,88,0.18);
}
.brand-logo { width: min(142px, 100%); height: auto; }

.chip-row,
.topbar,
.calendar-header,
.panel-head,
.field-grid { display: flex; gap: 14px; }
.chip-row { flex-wrap: wrap; }
.topbar,
.calendar-header,
.panel-head { align-items: center; justify-content: space-between; }
.topbar { padding: 10px 0 4px; }
.field-grid { align-items: stretch; }

.chip,
.summary-banner,
.btn,
.timeline-step,
.calendar-day,
.slot-button,
.panel-card,
.profile-card,
.info-card,
.summary-card,
.form-card,
.summary-side-card,
.rail-card,
.calendar-card,
.receipt-card {
  border-radius: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
}
.chip-filled { background: var(--teal-soft); color: var(--teal); }
.chip-outline { border: 1px solid var(--line); color: var(--teal); }

.profile-card,
.info-card,
.summary-card,
.form-card,
.summary-side-card,
.rail-card,
.calendar-card,
.panel-card,
.receipt-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7,55,57,0.08);
}
.profile-card,
.summary-card,
.summary-side-card,
.form-card,
.rail-card,
.calendar-card,
.panel-card,
.receipt-card { padding: 18px; }
.profile-photo {
  width: 156px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px;
  margin-bottom: 16px;
}

.muted,
.copy,
.small,
.timeline-step small,
.review-block span,
.link-list a,
.empty-note,
.stack-card p { color: var(--muted); }
.copy { line-height: 1.7; }
.small { font-size: 0.94rem; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
h1, h2, h3 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(2.1rem, 2.6vw, 2.9rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 2vw, 2.45rem); line-height: 1.02; }
h3 { font-size: clamp(1.22rem, 1.5vw, 1.5rem); line-height: 1.18; }
p { margin: 0; }

.timeline { display: grid; gap: 12px; }
.timeline-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}
.timeline-step strong { display: block; font-size: 0.96rem; }
.timeline-step small { display: block; margin-top: 2px; font-size: 0.78rem; }
.timeline-step.is-active { background: rgba(11, 87, 88, 0.06); }
.timeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,87,88,0.24);
  font-weight: 700;
  color: var(--teal);
}
.timeline-step.is-active .timeline-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: white;
  border-color: transparent;
}

.clock-card {
  min-width: 194px;
  padding: 14px 18px 12px;
  border-radius: 19px;
  background: rgba(11,87,88,0.06);
  border: 1px solid rgba(11,87,88,0.12);
  text-align: right;
}
.clock-card strong, .clock-card span { display: block; }
.clock-card strong { font-size: 1.2rem; }
.clock-card span { margin-top: 4px; color: var(--muted); }

.panel { display: none; }
.panel.is-active { display: block; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(304px, 0.68fr); gap: 28px; padding-top: 14px; }
.hero-copy { display: grid; gap: 18px; align-content: start; max-width: 720px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 2px; }
.info-card { padding: 14px; }
.label {
  margin: 0 0 12px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.link-list,
.showcase-list,
.stack-list,
.quick-grid,
.stack-buttons,
.slot-list { display: grid; gap: 10px; }
.link-list a,
.showcase-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,87,88,0.1);
  background: rgba(11,87,88,0.05);
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.showcase-item-simple { justify-content: flex-start; }
.showcase-item strong { font-size: 0.72rem; text-transform: uppercase; }
.summary-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 336px;
  padding: 22px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(241,247,246,0.9) 100%),
    linear-gradient(135deg, rgba(11,87,88,0.06) 0%, rgba(11,87,88,0.02) 100%);
}
.summary-box { display: block; padding: 19px 18px; text-decoration: none; border-radius: 22px; }
.summary-box span { display: block; margin-bottom: 8px; color: var(--muted); }
.summary-box strong { font-size: 1.02rem; line-height: 1.35; }
.summary-box-dark { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: white; }
.summary-box-dark span { color: rgba(255,255,255,0.74); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(11,87,88,0.05);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-color: transparent;
}
.btn-circle {
  width: 54px;
  min-width: 54px;
  padding: 0;
  border-radius: 999px;
}
.btn-secondary { background: rgba(11,87,88,0.05); }
.full-width { width: 100%; }
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(7,55,57,0.12);
  outline: none;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(11,87,88,0.22);
  background: rgba(11,87,88,0.08);
}

.calendar-stage { display: grid; grid-template-columns: minmax(0, 1.04fr) 336px; gap: 24px; margin-top: 18px; align-items: start; }
.calendar-header strong { font-size: 1.8rem; }
.weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.weekdays { margin: 16px 0 12px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.calendar-day,
.calendar-spacer { min-height: 82px; border-radius: 999px; }
.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8f7 100%);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.calendar-day strong { font-size: 1.45rem; }
.calendar-day small, .calendar-day-meta { color: var(--muted); font-size: 0.72rem; }
.calendar-day.available {
  background: radial-gradient(circle at top, rgba(81, 201, 173, 0.18), rgba(255,255,255,0.98) 58%);
  border-color: rgba(11,87,88,0.1);
}
.calendar-day.booked-heavy {
  background: linear-gradient(180deg, #edf1f1 0%, #e3e9e9 100%);
}
.calendar-day:hover,
.calendar-day:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11,87,88,0.18);
  box-shadow: 0 16px 30px rgba(7,55,57,0.08);
  outline: none;
}
.calendar-day.selected {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: white;
  box-shadow: 0 20px 34px rgba(8,62,65,0.24);
}
.calendar-day.selected small, .calendar-day.selected .calendar-day-meta { color: rgba(255,255,255,0.74); }

.slot-list { margin-top: 16px; }
.calendar-card,
.rail-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,250,249,0.95) 100%);
}
.rail-card {
  position: sticky;
  top: 26px;
}
.slot-button {
  min-height: 72px;
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.slot-button.booked { background: #d9e3e3; color: #173134; }
.slot-button.unavailable { background: #f4f6f5; color: #a2b0b1; }
.slot-button:not(:disabled):hover,
.slot-button:not(:disabled):focus-visible {
  transform: translateY(-1px);
  border-color: rgba(11,87,88,0.18);
  box-shadow: 0 14px 24px rgba(7,55,57,0.08);
  outline: none;
}
.slot-button.selected { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: white; border-color: transparent; }
.slot-button-copy {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.slot-button-time {
  font-size: 1rem;
  font-weight: 800;
}
.slot-button-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.slot-button.selected .slot-button-meta {
  color: rgba(255,255,255,0.76);
}
.slot-button-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 999px;
  background: #52caa9;
  box-shadow: 0 0 0 6px rgba(82,202,169,0.12);
}
.slot-button.selected .slot-button-dot {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.16);
}

.details-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) 334px; gap: 22px; margin-top: 18px; align-items: start; }
.summary-banner {
  padding: 14px 16px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  border-radius: 16px;
}
.error-banner { background: #f9e6e6; color: #9a3737; }
.form-card {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,250,249,0.95) 100%);
}
.form-card label { display: grid; gap: 8px; }
.form-card label span { font-weight: 700; }
input, textarea, select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(11,87,88,0.32);
  box-shadow: 0 0 0 4px rgba(11,87,88,0.08);
}
textarea { resize: vertical; }
.hidden { display: none !important; }

.review-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-block span { display: block; margin-bottom: 6px; font-size: 0.86rem; }
.summary-side-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,250,249,0.95) 100%);
  position: sticky;
  top: 26px;
}

.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-accordion { display: grid; gap: 16px; }
.accordion-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7,55,57,0.08);
  border-radius: 26px;
  overflow: hidden;
}
.accordion-card[open] {
  box-shadow: 0 18px 36px rgba(7,55,57,0.11);
}
.accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}
.accordion-summary::-webkit-details-marker {
  display: none;
}
.accordion-summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(11,87,88,0.06);
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 500;
}
.accordion-card[open] .accordion-summary::after {
  content: "−";
}
.accordion-hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.accordion-body {
  padding: 0 20px 20px;
}
.accordion-stack {
  margin-top: 14px;
}
.panel-card-wide { grid-column: 1 / -1; }
.panel-card { padding: 20px; }
.panel-card-inner {
  padding: 16px;
  box-shadow: none;
  background: rgba(255,255,255,0.72);
}
.compact-grid { margin-top: 12px; }
.quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack-buttons { margin: 14px 0; }
.stack-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
}
.showcase-row,
.booking-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.showcase-row a { color: var(--teal); text-decoration: none; font-weight: 700; }
.stack-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.stack-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11,87,88,0.08);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.timeline-step,
.profile-card,
.info-card,
.summary-card,
.form-card,
.summary-side-card,
.rail-card,
.calendar-card,
.panel-card,
.receipt-card,
.stack-card,
.link-list a,
.showcase-item {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.timeline-step:hover,
.profile-card:hover,
.info-card:hover,
.summary-card:hover,
.form-card:hover,
.summary-side-card:hover,
.rail-card:hover,
.calendar-card:hover,
.panel-card:hover,
.receipt-card:hover,
.stack-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(7,55,57,0.11);
}
.timeline-step:hover { border-color: rgba(11,87,88,0.12); }
.link-list a:hover,
.link-list a:focus-visible,
.showcase-item:hover,
.showcase-item:focus-visible {
  background: rgba(11,87,88,0.1);
  border-color: rgba(11,87,88,0.2);
  transform: translateY(-1px);
  outline: none;
}

.login-shell { min-height: 100vh; display: grid; place-items: center; }
.login-frame { width: min(1120px, calc(100% - 30px)); display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.login-sidebar, .login-panel { display: grid; gap: 20px; align-content: start; }
.login-panel { align-content: center; }
.error-text { color: #9a3737; font-weight: 700; }

.receipt-card { margin-top: 22px; }
.receipt-copy { color: var(--muted); line-height: 1.7; }
.receipt-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}
.receipt-hero h3 {
  margin-top: 4px;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  line-height: 1.02;
}
.receipt-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  min-width: 136px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 800;
}
.receipt-note {
  margin-top: 16px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(11,87,88,0.06);
  color: var(--teal);
  font-weight: 700;
}
.receipt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 332px;
  gap: 22px;
}
.receipt-main-stack {
  display: grid;
  gap: 18px;
}
.receipt-owner-panel,
.receipt-showcase-panel,
.receipt-summary-panel,
.receipt-meeting-panel {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
}
.receipt-owner-panel {
  display: grid;
  gap: 16px;
}
.receipt-owner-header {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.receipt-owner-avatar {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 999px;
}
.receipt-owner-header h4 {
  margin: 4px 0 8px;
  font-size: clamp(1.9rem, 2vw, 2.5rem);
  line-height: 1.02;
}
.receipt-owner-bio {
  font-size: 1rem;
  max-width: 540px;
}
.receipt-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.receipt-chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(11,87,88,0.16);
  background: #fff;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}
.receipt-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.receipt-section-head h4 {
  margin: 4px 0 0;
  font-size: 1.5rem;
  line-height: 1.1;
}
.receipt-section-meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11,87,88,0.06);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.receipt-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.receipt-showcase-card {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11,87,88,0.12);
  text-decoration: none;
  color: var(--ink);
}
.receipt-pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.receipt-capability-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(11,87,88,0.09);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  width: fit-content;
}
.receipt-showcase-card strong {
  font-size: 1rem;
  line-height: 1.2;
}
.receipt-showcase-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.receipt-summary-panel {
  display: grid;
  align-content: start;
  gap: 2px;
}
.receipt-summary-group {
  padding: 16px 0;
  border-bottom: 1px solid rgba(11,87,88,0.1);
}
.receipt-summary-group:last-of-type {
  border-bottom: 0;
}
.receipt-summary-group span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.receipt-summary-group strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.4;
}
.receipt-world-grid {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.receipt-world-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(11,87,88,0.05);
  border: 1px solid rgba(11,87,88,0.1);
}
.receipt-world-card span,
.receipt-world-card strong,
.receipt-world-card small {
  display: block;
}
.receipt-world-card span,
.receipt-world-card small {
  color: var(--muted);
}
.receipt-world-card strong {
  margin: 4px 0;
  font-size: 1rem;
}
.receipt-action-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.receipt-meeting-panel {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
}
.receipt-meeting-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}
.receipt-meeting-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: fit-content;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.owner-email {
  margin-top: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--teal);
  word-break: break-word;
}

.progress-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
  width: min(880px, calc(100vw - 44px));
  padding: 18px 20px;
  border-radius: 28px;
  border: 1px solid rgba(11,87,88,0.12);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 24px 48px rgba(7,55,57,0.12);
  backdrop-filter: blur(18px);
  z-index: 6;
}
.progress-dock-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}
.progress-fraction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  min-width: 68px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.progress-dock-copy strong {
  display: block;
  font-size: 1rem;
}
.progress-hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(11,87,88,0.08);
}
.progress-fill {
  display: block;
  width: 33.33%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b5758 0%, #2e8a8c 100%);
  transition: width 220ms ease;
}

.admin-body .brand-row {
  gap: 16px;
}

.admin-body .brand-icon {
  width: 43px;
  height: 43px;
  padding: 7px;
  border-radius: 14px;
}

.admin-body .brand-logo {
  width: min(137px, 100%);
}

.admin-body .sidebar,
.admin-body .content,
.admin-body .admin-sidebar,
.admin-body .admin-content {
  padding: 24px;
}

.admin-body .profile-card h2 {
  font-size: 1.7rem;
  line-height: 1.02;
}

.admin-body .profile-card .copy {
  font-size: 0.96rem;
  line-height: 1.55;
}

.admin-body .topbar h1 {
  font-size: 2.2rem;
  line-height: 1.04;
}

.admin-body .accordion-summary h3 {
  font-size: 1.12rem;
}

.admin-body .panel-card h3 {
  font-size: 1.15rem;
}

.admin-body .calendar-stage {
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}

.admin-body .calendar-card,
.admin-body .rail-card {
  padding: 18px;
}

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

.admin-body .calendar-header {
  margin-bottom: 8px;
}

.admin-body .calendar-header strong {
  font-size: 1.22rem;
}

.admin-body .weekdays,
.admin-body .calendar-grid {
  gap: 10px;
}

.admin-body .weekdays {
  margin: 10px 0 12px;
  font-size: 0.82rem;
}

.admin-body .calendar-day,
.admin-body .calendar-spacer {
  min-height: 72px;
}

.admin-body .calendar-day {
  padding: 8px 6px;
}

.admin-body .calendar-day strong {
  font-size: 1.2rem;
}

.admin-body .calendar-day small {
  font-size: 0.66rem;
  line-height: 1.2;
}

.admin-body .calendar-day.past {
  opacity: 0.5;
  background: #f6f8f8;
}

.admin-body .calendar-day.past:hover {
  transform: none;
  box-shadow: none;
}

.admin-body .rail-card {
  display: grid;
  gap: 12px;
}

.admin-body .rail-card .eyebrow {
  margin-bottom: 2px;
}

.admin-body .quick-grid {
  gap: 10px;
}

.admin-body .quick-grid .btn,
.admin-body .stack-buttons .btn {
  min-height: 44px;
  font-size: 0.92rem;
  line-height: 1.15;
  padding: 0 12px;
}

.admin-body .compact-grid {
  margin-top: 2px;
}

.admin-body .compact-grid label span {
  font-size: 0.88rem;
}

.admin-body .compact-grid select,
.admin-body .compact-grid input {
  padding: 11px 12px;
  border-radius: 14px;
}

.admin-body .summary-banner {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.admin-body #adminSlotList {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.admin-body #adminSlotList .slot-button {
  min-height: 50px;
  font-size: 0.95rem;
}

.admin-body .stack-card {
  padding: 14px;
}

.admin-body .showcase-row strong {
  font-size: 1rem;
}

.admin-body .form-card {
  gap: 14px;
}

.integration-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.integration-actions .btn {
  flex: 0 0 auto;
}

.admin-body .field-grid {
  gap: 12px;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  padding: 13px 14px;
  border-radius: 16px;
}

.admin-body textarea {
  min-height: 120px;
}

@media (max-width: 1240px) {
  .public-frame,
  .admin-frame,
  .hero-grid,
  .calendar-stage,
  .details-grid,
  .admin-grid,
  .login-frame { grid-template-columns: 1fr; }
  .content {
    padding-bottom: 124px;
  }
  .rail-card,
  .summary-side-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 18px, 1560px); margin: 10px auto; }
  .sidebar, .content, .admin-sidebar, .admin-content, .login-sidebar, .login-panel, .panel-card { padding: 20px; }
  .field-grid, .info-grid, .quick-grid { display: grid; grid-template-columns: 1fr; }
  .brand-row { gap: 12px; }
  .brand-icon { width: 46px; height: 46px; border-radius: 14px; }
  .brand-logo { width: min(132px, 100%); }
  .accordion-summary {
    align-items: start;
  }
  .accordion-hint {
    white-space: normal;
    text-align: right;
  }
  .admin-body .admin-info-grid,
  .receipt-layout,
  .receipt-showcase-grid,
  .admin-body #adminSlotList { grid-template-columns: 1fr; }
  .receipt-hero,
  .receipt-owner-header {
    display: grid;
    grid-template-columns: 1fr;
  }
  .receipt-owner-avatar {
    width: 120px;
    height: 120px;
  }
  .receipt-section-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .receipt-status-pill {
    min-height: 56px;
    min-width: 112px;
    justify-self: start;
  }
  .progress-dock {
    width: calc(100vw - 28px);
    bottom: 10px;
    padding: 16px;
  }
  .progress-dock-copy {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
  }
  .progress-fraction {
    width: 56px;
    min-width: 56px;
    height: 42px;
    border-radius: 14px;
  }
  .integration-actions { display: grid; grid-template-columns: 1fr; }
}
