@font-face {
  font-family: Phenomena;
  src: url("https://static.tildacdn.com/tild6332-3437-4633-a239-336465326534/Phenomena-Regular.woff")
    format("woff");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: TildaSans;
  src: url("https://static.tildacdn.com/fonts/tildasans/TildaSans-VF.woff2")
    format("woff2");
  font-weight: 250 1000;
  font-display: swap;
}
:root {
  --paper: #f8f5f0;
  --cream: #f3ebe2;
  --white: #fffdf9;
  --ink: #5f3e2c;
  --muted: #816f63;
  --line: #e3d9cd;
  --accent: #9e5a49;
  --accent-hover: #874a3b;
  --blue: #315364;
  --sage: #e7ebe2;
  --soft-blue: #e5edf0;
  --soft-clay: #f0dfd5;
  --radius: 14px;
  --shadow: 0 16px 60px #5f3e2c0b;
  --body: TildaSans, "Helvetica Neue", sans-serif;
  --display: Phenomena, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
button {
  transition:
    background 0.16s,
    transform 0.16s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 10;
  background: white;
  padding: 14px;
}
.skip:focus {
  top: 10px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-family: var(--display);
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -1.4px;
}
h2 {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.1;
}
h3 {
  font-size: 20px;
  line-height: 1.18;
}
small,
.small {
  font-size: 13px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 650;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.grow {
  flex: 1;
}
.nowrap {
  white-space: nowrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.prototype-bar {
  height: 42px;
  background: #eae3db;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  font-size: 12px;
  color: #786858;
  border-bottom: 1px solid #dfd5c9;
}
.prototype-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.prototype-nav a {
  padding: 6px 12px;
  border-radius: 5px;
}
.prototype-nav a.active {
  background: var(--white);
  color: var(--ink);
}
.prototype-nav a:hover {
  background: #ffffff80;
}
.demo-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.demo-dot {
  height: 5px;
  width: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.site-header {
  height: 98px;
  max-width: 1456px;
  margin: auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  width: 165px;
  max-height: 68px;
}
.brand-divider {
  height: 31px;
  width: 1px;
  background: var(--line);
  margin: 0 10px;
}
.brand-caption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.header-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
}
.header-nav a.current {
  color: var(--accent);
}
.header-contact {
  font-size: 13px;
}
.outline,
.ghost,
.primary,
.soft {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 18px;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.primary:hover {
  background: var(--accent-hover);
}
.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.outline:hover {
  background: var(--cream);
}
.ghost {
  background: transparent;
  border: 0;
  color: var(--ink);
}
.ghost:hover {
  background: var(--cream);
}
.soft {
  background: var(--cream);
  border: 1px solid var(--cream);
  color: var(--ink);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
  color: var(--ink);
}
.icon-btn:hover {
  background: var(--cream);
}
.wide {
  width: 100%;
}
.page {
  max-width: 1456px;
  margin: auto;
  padding: 38px 4% 34px;
}
.public-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}
.public-heading p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}
.heading-note {
  border-left: 1px solid var(--line);
  padding: 12px 0 12px 25px;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
.period {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 13px;
  min-height: 40px;
}
.filter.selected {
  background: var(--ink);
  color: var(--white);
}
.filter:hover:not(.selected) {
  background: var(--cream);
}
.week-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 3px 16px;
  margin-bottom: 18px;
}
.day-number {
  font-size: 34px;
  font-family: var(--display);
  line-height: 1;
}
.day-label {
  font-size: 14px;
}
.day-count {
  font-size: 12px;
  color: var(--muted);
}
.day-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.day-column .day-heading {
  margin-bottom: 0;
}
.lesson-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.lesson-card:hover {
  border-color: #cdb9a6;
  box-shadow: 0 5px 20px #5f3e2c08;
}
.lesson-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: var(--cream);
}
.lesson-content {
  padding: 17px 18px 16px;
}
.lesson-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 11px;
}
.lesson-meta strong {
  font-size: 14px;
  color: var(--ink);
  font-weight: 550;
}
.lesson-card h3 {
  min-height: 47px;
  letter-spacing: -0.25px;
}
.master {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.avatar {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9dfd3;
  border-radius: 50%;
  font-size: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.lesson-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 13px;
  gap: 5px;
  font-size: 12px;
}
.price {
  font-size: 17px;
  color: var(--ink);
  font-weight: 550;
}
.places {
  color: #566349;
  display: flex;
  align-items: center;
  gap: 5px;
}
.places.low {
  color: #9a5941;
}
.places.full {
  color: var(--muted);
}
.places:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.card-actions {
  display: flex;
  gap: 8px;
}
.card-actions button {
  font-size: 12px;
  padding: 9px 10px;
  min-height: 38px;
}
.card-actions .primary {
  flex: 1;
}
.card-actions .ghost {
  padding-left: 0;
  padding-right: 5px;
}
.empty-day {
  padding: 30px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.crumb {
  margin-bottom: 23px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 72px;
  max-width: 1100px;
  margin: 0 auto;
}
.booking-layout h1 {
  font-size: 53px;
}
.subheading {
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 32px;
}
.form-section {
  margin: 26px 0;
}
.section-title {
  font-size: 18px;
  font-weight: 550;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step {
  font-size: 11px;
  border: 1px solid #cfc0b0;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
}
.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #d9cdbf;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 47px;
  color: var(--ink);
  outline-offset: 2px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9b8b7d;
  font-weight: 400;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.counter {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.counter button {
  border: 0;
  background: transparent;
  min-width: 42px;
  height: 42px;
  font-size: 22px;
  color: var(--ink);
}
.counter output {
  min-width: 32px;
  text-align: center;
}
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.payment-option {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.payment-option:has(input:checked) {
  border-color: var(--accent);
  background: #f8eee8;
  box-shadow: inset 0 0 0 1px var(--accent);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.payment-option input {
  margin: 3px 0 0;
}
.payment-option small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.certificate {
  margin-top: 14px;
  background: var(--sage);
  padding: 18px;
  border-radius: 10px;
}
.certificate .field input {
  background: #ffffffb0;
}
.certificate-info {
  display: flex;
  gap: 12px;
  margin-top: 13px;
  font-size: 13px;
  color: #4e6148;
}
.certificate-info strong {
  font-weight: 600;
  display: block;
}
.certificate-info small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.certificate-demo {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.checkline input {
  margin: 1px 0;
}
.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 15px;
}
.total-line strong {
  font-family: var(--display);
  font-size: 35px;
  font-weight: 500;
}
.submit-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.booking-summary {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  align-self: start;
  margin-top: 8px;
  position: sticky;
  top: 24px;
}
.summary-photo {
  height: 255px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.summary-body {
  padding: 27px;
}
.summary-body h2 {
  font-size: 33px;
  margin: 12px 0 22px;
}
.summary-line {
  display: flex;
  gap: 13px;
  margin-top: 16px;
  font-size: 14px;
}
.summary-symbol {
  font-size: 18px;
  color: var(--accent);
  width: 20px;
  text-align: center;
}
.summary-line small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.summary-foot {
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.error {
  color: #922f2e;
  font-size: 13px;
  margin-top: 10px;
}
.success-screen {
  max-width: 580px;
  margin: 65px auto 110px;
  text-align: center;
}
.success-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--sage);
  color: #496242;
  font-size: 31px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
}
.success-screen p {
  margin: 18px 0 25px;
  color: var(--muted);
}
.admin-shell {
  display: grid;
  grid-template-columns: 215px 1fr;
  min-height: calc(100dvh - 42px);
}
.sidebar {
  background: var(--cream);
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.sidebar .brand img {
  width: 164px;
}
.sidebar-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 10px 0;
}
.admin-nav {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.admin-nav a {
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.admin-nav a.active {
  background: var(--white);
  box-shadow: 0 2px 5px #5f3e2c04;
}
.nav-icon {
  font-size: 18px;
  width: 21px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #dacbb9;
  padding: 20px 6px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.sidebar-bottom .avatar {
  height: 33px;
  width: 33px;
  background: #d8c7b4;
}
.admin-main {
  padding: 31px 34px;
  min-width: 0;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}
.admin-top h1 {
  font-size: 48px;
}
.admin-top p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.admin-stat {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  margin: 0 0 25px;
}
.stat {
  flex: 1;
  border-right: 1px solid var(--line);
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  font-family: var(--display);
  font-size: 33px;
  font-weight: 500;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.calendar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.compact-select {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  padding: 10px;
  font-size: 13px;
  max-width: 180px;
}
.legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  margin: 17px 0;
}
.legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.swatch {
  height: 9px;
  width: 9px;
  border-radius: 3px;
}
.clay {
  --event: #efdcd1;
  --edge: #b5755e;
}
.sage {
  --event: #e5e8dc;
  --edge: #8b9b78;
}
.blue {
  --event: #dde8ec;
  --edge: #83a5b4;
}
.swatch {
  background: var(--edge);
}
.calendar-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.calendar {
  min-width: 740px;
  display: grid;
  grid-template-columns: 48px repeat(5, minmax(0, 1fr));
}
.calendar-day-head {
  padding: 14px 9px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.calendar-day-head strong {
  font-size: 23px;
  font-family: var(--display);
  font-weight: 500;
  display: block;
  color: var(--ink);
  margin-top: 3px;
}
.time-axis,
.calendar-lane {
  height: 640px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 63px,
    #eee7df 63px,
    #eee7df 64px
  );
}
.calendar-lane {
  border-left: 1px solid var(--line);
}
.time-label {
  position: absolute;
  font-size: 10px;
  left: 8px;
  color: var(--muted);
  transform: translateY(-7px);
}
.time-label:first-child {
  transform: translateY(3px);
}
.calendar-event {
  position: absolute;
  left: 5px;
  right: 5px;
  border: 0;
  border-left: 3px solid var(--edge);
  background: var(--event);
  border-radius: 7px;
  padding: 9px;
  text-align: left;
  color: var(--ink);
  overflow: hidden;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calendar-event:hover {
  filter: brightness(0.98);
  box-shadow: 0 3px 10px #5f3e2c12;
}
.event-time {
  font-size: 10px;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  gap: 2px;
}
.calendar-event strong {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 550;
}
.event-master {
  font-size: 10px;
  color: #715d4d;
  margin-top: auto;
}
.event-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}
.seatbar {
  display: flex;
  gap: 2px;
}
.seatbar i {
  height: 4px;
  width: 8px;
  background: #fff9;
  border-radius: 1px;
}
.seatbar i.taken {
  background: var(--edge);
}
.calendar-empty {
  height: 100%;
  width: 100%;
  border: 0;
  background: transparent;
  position: absolute;
  cursor: crosshair;
  color: transparent;
}
.calendar-empty:hover {
  background: #f3ebe250;
  color: var(--muted);
}
.admin-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  font-size: 11px;
  color: var(--muted);
}
.add-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 35px;
  max-width: 1080px;
}
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.form-panel + .form-panel {
  margin-top: 18px;
}
.form-panel h2 {
  font: 550 18px var(--body);
  margin-bottom: 20px;
}
.form-panel > .field + .field {
  margin-top: 18px;
}
.form-panel .field-row + .field-row {
  margin-top: 18px;
}
.form-panel .field-row + .field {
  margin-top: 18px;
}
.form-panel .field + .field-row {
  margin-top: 18px;
}
.preview-panel {
  align-self: start;
  position: sticky;
  top: 25px;
}
.preview-label {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 13px;
}
.preview-panel .lesson-photo {
  height: 186px;
}
.publish-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 22px 3px;
}
.form-actions {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.status-note {
  border-radius: 8px;
  background: var(--sage);
  padding: 12px 15px;
  font-size: 12px;
  color: #526048;
  margin-top: 18px;
}
.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.details-layout img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 10px;
}
.details-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}
.details-copy h2 {
  font-size: 37px;
}
.detail-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}
.participants {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 13px;
}
.participants th,
.participants td {
  padding: 13px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.participants th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
dialog {
  max-width: 850px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 30px 100px #3f271b25;
}
dialog::backdrop {
  background: #352a2445;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 14px;
  z-index: 20;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.screen-enter {
  animation: enter 0.22s ease-out;
}
@keyframes enter {
  from {
    opacity: 0.6;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .lesson-photo {
    height: 170px;
  }
  .lesson-content {
    padding: 20px;
  }
  .lesson-card h3 {
    font-size: 22px;
  }
  .page {
    padding-top: 43px;
  }
  .public-heading {
    margin-bottom: 35px;
  }
}
@media (max-width: 1150px) {
  .header-nav {
    gap: 15px;
  }
  .header-contact {
    display: none;
  }
  .week-board {
    gap: 12px;
  }
  .lesson-content {
    padding: 14px 12px;
  }
  .lesson-photo {
    height: 120px;
  }
  .lesson-card h3 {
    font-size: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .admin-shell {
    grid-template-columns: 170px 1fr;
  }
  .sidebar {
    padding: 25px 10px;
  }
  .sidebar .brand img {
    width: 145px;
  }
  .admin-main {
    padding: 25px 22px;
  }
  .add-layout {
    grid-template-columns: 1fr 260px;
    gap: 22px;
  }
  .booking-layout {
    gap: 35px;
    grid-template-columns: 1fr 330px;
  }
  .prototype-bar {
    padding: 0 20px;
  }
  .prototype-nav a {
    padding: 6px 8px;
  }
  .stat {
    padding: 0 13px;
    gap: 7px;
  }
}
@media (max-width: 850px) {
  .prototype-bar {
    height: auto;
    min-height: 42px;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 18px;
    gap: 8px;
  }
  .prototype-nav {
    width: 100%;
    overflow: auto;
    white-space: nowrap;
  }
  .demo-label {
    font-size: 10px;
  }
  .header-nav {
    display: none;
  }
  .site-header {
    height: 83px;
    padding: 0 22px;
  }
  .page {
    padding: 28px 22px;
  }
  .public-heading {
    gap: 20px;
  }
  .heading-note {
    display: none;
  }
  h1 {
    font-size: 49px;
  }
  .week-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .lesson-photo {
    height: 160px;
  }
  .lesson-content {
    padding: 18px;
  }
  .lesson-card h3 {
    font-size: 21px;
  }
  .toolbar {
    gap: 16px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 590px;
  }
  .booking-summary {
    position: static;
    grid-row: 1;
    display: grid;
    grid-template-columns: 120px 1fr;
    margin: 0;
  }
  .summary-photo {
    height: 100%;
    min-height: 200px;
  }
  .summary-body {
    padding: 18px;
  }
  .summary-body h2 {
    font-size: 25px;
    margin: 6px 0 12px;
  }
  .summary-foot,
  .summary-body .eyebrow,
  .summary-body .summary-line:last-of-type {
    display: none;
  }
  .summary-line {
    margin-top: 8px;
    font-size: 12px;
  }
  .booking-layout h1 {
    font-size: 45px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .admin-main {
    padding: 25px 20px;
  }
  .admin-top h1 {
    font-size: 42px;
  }
  .add-layout {
    grid-template-columns: 1fr 250px;
    gap: 20px;
  }
  .stat {
    display: block;
  }
  .stat span {
    display: block;
  }
  .admin-top .primary {
    font-size: 12px;
  }
  .calendar-tools {
    flex-wrap: wrap;
  }
  .details-layout {
    grid-template-columns: 1fr;
  }
  .details-layout img {
    height: 200px;
  }
  .details-copy h2 {
    font-size: 32px;
  }
  .footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 580px) {
  .brand img {
    width: 142px;
  }
  .brand-caption,
  .brand-divider {
    display: none;
  }
  .site-header > .outline {
    font-size: 12px;
    padding: 9px 12px;
  }
  .page {
    padding: 25px 17px;
  }
  .public-heading {
    margin-bottom: 24px;
  }
  .public-heading p {
    font-size: 14px;
    max-width: 280px;
  }
  .week-board {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
  }
  .day-column {
    min-width: 85%;
    scroll-snap-align: start;
  }
  .day-heading {
    padding-bottom: 12px;
  }
  .lesson-photo {
    height: 155px;
  }
  .lesson-card h3 {
    min-height: 0;
  }
  .lesson-meta {
    margin-bottom: 9px;
  }
  .lesson-bottom {
    margin: 13px 0;
  }
  .master {
    margin-top: 10px;
  }
  .toolbar {
    margin-bottom: 20px;
  }
  .filters {
    gap: 3px;
  }
  .filter {
    font-size: 12px;
    padding: 9px 10px;
  }
  .period {
    font-size: 19px;
  }
  .booking-summary {
    grid-template-columns: 100px 1fr;
  }
  .summary-body {
    padding: 14px;
  }
  .summary-body h2 {
    font-size: 24px;
  }
  .summary-photo {
    min-height: 180px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .payment-option {
    padding: 12px 10px;
    font-size: 13px;
  }
  .payment-options {
    gap: 8px;
  }
  .booking-layout .subheading {
    font-size: 14px;
  }
  .admin-main {
    padding: 23px 16px;
  }
  .admin-top {
    align-items: flex-start;
    gap: 12px;
  }
  .admin-top h1 {
    font-size: 38px;
  }
  .admin-top .primary {
    padding: 10px;
    white-space: normal;
    max-width: 126px;
  }
  .admin-stat {
    padding: 12px 0;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat span {
    font-size: 10px;
  }
  .stat {
    padding: 0 9px;
  }
  .add-layout {
    display: flex;
    flex-direction: column;
  }
  .preview-panel {
    position: static;
    max-width: 340px;
    width: 100%;
    align-self: center;
  }
  .form-panel {
    padding: 20px;
  }
  .form-panel .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .legend {
    gap: 12px;
    font-size: 11px;
  }
  .admin-footer {
    gap: 10px;
  }
  .prototype-nav a {
    font-size: 11px;
    padding: 6px 9px;
  }
  .footer {
    font-size: 11px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .participants {
    font-size: 11px;
  }
  .participants th,
  .participants td {
    padding: 10px 4px;
  }
  .preview-panel .lesson-photo {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.lesson-card[data-card] {
  cursor: pointer;
}
.calendar-event.short {
  gap: 3px;
  padding: 7px;
}
.calendar-event.short strong {
  font-size: 12px;
}
.calendar-event.short .event-master {
  font-size: 10px;
  margin-top: 0;
}
.calendar-event.short .event-bottom {
  font-size: 9px;
}

.calendar-event.parallel .seatbar {
  display: none;
}
.calendar-event.parallel .event-time {
  font-size: 9px;
  flex-wrap: wrap;
}
.calendar-event.parallel strong {
  font-size: 11px;
}
.calendar-event.parallel .event-master {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile schedules use a selected day rather than shrinking a week grid. */
.mobile-days,
.mobile-agenda {
  display: none;
}
.participants-scroll {
  overflow-x: auto;
}
.field,
.field-row > *,
.add-layout > * {
  min-width: 0;
}
dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 700px) {
  .prototype-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    white-space: normal;
    gap: 4px;
  }
  .prototype-nav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .prototype-bar {
    padding: 10px 16px;
  }
  .demo-label {
    line-height: 1.5;
  }
  .site-header {
    padding: 0 16px;
    height: 78px;
    gap: 12px;
  }
  .brand img {
    width: 138px;
  }
  .brand-caption,
  .brand-divider {
    display: none;
  }
  .site-header > .outline {
    font-size: 12px;
    padding: 10px;
  }
  .mobile-days {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
  }
  .mobile-day {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: var(--white);
    padding: 8px 4px;
    display: grid;
    gap: 3px;
    text-align: center;
  }
  .mobile-day span {
    font-size: 12px;
    text-transform: capitalize;
  }
  .mobile-day strong {
    font-family: var(--display);
    font-size: 27px;
    font-weight: 500;
  }
  .mobile-day.selected {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
  .week-board {
    display: block;
    overflow: visible;
    padding: 0;
  }
  .day-column {
    display: none;
    min-width: 0;
  }
  .day-column.mobile-selected {
    display: block;
  }
  .lesson-photo {
    height: auto;
    aspect-ratio: 1.9;
  }
  .lesson-content {
    padding: 18px;
  }
  .lesson-card h3 {
    font-size: 23px;
    min-height: 0;
  }
  .toolbar > .row {
    width: 100%;
    justify-content: space-between;
  }
  .filters {
    gap: 6px;
    flex-wrap: wrap;
  }
  .filter,
  .icon-btn,
  .card-actions button,
  .counter button {
    min-height: 44px;
  }
  .icon-btn,
  .counter button {
    min-width: 44px;
  }
  .field input,
  .field select,
  .field textarea,
  .compact-select {
    font-size: 16px;
    min-width: 0;
  }
  .payment-options,
  .field-row,
  .form-panel .field-row {
    grid-template-columns: 1fr;
  }
  .payment-option {
    padding: 16px;
    font-size: 15px;
  }
  .booking-summary {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .summary-body h2 {
    font-size: 25px;
  }
  .summary-photo {
    min-height: 200px;
  }
  .add-layout {
    display: flex;
    flex-direction: column;
  }
  .preview-panel {
    position: static;
    width: 100%;
    max-width: none;
  }
  .admin-top {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-top .primary {
    max-width: none;
    padding: 14px;
    font-size: 15px;
  }
  .calendar-scroll {
    display: none;
  }
  .mobile-agenda {
    display: grid;
    gap: 12px;
  }
  .mobile-agenda h2 {
    font-size: 30px;
    margin-bottom: 4px;
  }
  .agenda-event {
    width: 100%;
    border: 1px solid var(--line);
    border-left: 3px solid var(--edge);
    border-radius: 10px;
    padding: 16px 12px;
    background: var(--white);
    color: var(--ink);
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 12px;
    gap: 12px;
    text-align: left;
  }
  .agenda-time {
    font-size: 15px;
    font-weight: 600;
  }
  .agenda-time small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
  }
  .agenda-info {
    display: grid;
    gap: 8px;
  }
  .agenda-info strong {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 550;
  }
  .agenda-info > span:not(.places),
  .agenda-info small {
    font-size: 12px;
    color: var(--muted);
  }
  .agenda-info .places {
    justify-self: start;
  }
  .calendar-tools > .row {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }
  .calendar-tools .period {
    flex: 1;
    text-align: center;
  }
  .calendar-tools [data-action="this-week"] {
    width: 100%;
    text-align: left;
    min-height: 44px;
  }
  .calendar-tools label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .calendar-tools select {
    max-width: none;
    width: 75%;
  }
  .admin-main > .row.between {
    flex-wrap: wrap;
    margin-top: 16px;
  }
  .legend {
    flex-wrap: wrap;
  }
  .admin-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.6;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions > * {
    width: 100%;
    text-align: center;
  }
  .success-screen > .row,
  .certificate > .row,
  .detail-actions {
    flex-wrap: wrap;
  }
  .success-screen .row > *,
  .detail-actions > .primary {
    width: 100%;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 14px;
  }
  dialog > .row.between {
    flex-wrap: wrap;
  }
  .participants {
    min-width: 360px;
  }
  .details-copy h2 {
    font-size: 32px;
  }
}
@media (max-width: 360px) {
  .lesson-content {
    padding: 14px;
  }
  .lesson-bottom {
    gap: 5px;
  }
  .price {
    font-size: 15px;
  }
  .places {
    font-size: 11px;
  }
  h1,
  .booking-layout h1 {
    font-size: 40px;
  }
}
