/* === CSS: playframe-find.css [root] === */
* {
  box-sizing: border-box;
}

body:has(.find-page) {
  --landing-bg: #ffffff;
  --landing-soft: #fcfdfe;
  --landing-line: #e1e7f0;
  --landing-line-strong: #cfd8e6;
  --landing-text: #526078;
  --landing-strong: #172033;
  --landing-muted: #718096;
  --landing-primary: #0f7b80;
  --landing-primary-hover: #0b666a;
  --landing-mint: #e7f7f8;
  --landing-mint-strong: #bfe3e5;
  margin: 0;
  min-width: 320px;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

body:has(.find-page) #page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:has(.find-page) :is(button, a, input, select):focus-visible {
  outline: 2px solid rgba(15, 123, 128, 0.34);
  outline-offset: 3px;
}

body:has(.find-page) :is(button, input, select, textarea):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 123, 128, 0.2);
}

.find-page {
  min-height: 100vh;
  overflow: clip;
  background: #fff;
}

.find-page button,
.find-page input,
.find-page select {
  font: inherit;
}

.find-page [hidden] {
  display: none !important;
}

.finder-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shared Smart navigation. Keep this in sync with the product landing family. */
.find-page .landing-nav {
  --nav-progress: 1;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  color: var(--landing-strong);
  background: rgba(246, 248, 251, calc(var(--nav-progress) * 0.68));
  box-shadow: 0 3px 12px rgba(120, 133, 148, calc(var(--nav-progress) * 0.04));
  -webkit-backdrop-filter: blur(calc(var(--nav-progress) * 12px));
  backdrop-filter: blur(calc(var(--nav-progress) * 12px));
  transition: box-shadow 120ms linear, border-color 120ms linear;
}

.find-page .landing-nav__inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(100% - 48px, 1072px);
  min-height: 58px;
  margin: 0 auto;
}

.find-page .landing-nav__brand {
  display: inline-flex;
  align-items: center;
  width: 126px;
  color: inherit;
  text-decoration: none;
}

.find-page .landing-nav__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.find-page .landing-nav__links,
.find-page .landing-nav__actions {
  display: flex;
  align-items: center;
}

.find-page .landing-nav__links {
  justify-content: center;
  gap: 24px;
}

.find-page .landing-nav__actions {
  justify-content: flex-end;
  gap: 7px;
}

.find-page .landing-nav__link,
.find-page .landing-nav__button {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.find-page .landing-nav__link {
  padding: 8px 2px;
}

.find-page .landing-nav__link:hover {
  color: var(--landing-primary);
}

.find-page .landing-nav__button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(207, 216, 230, 0.88);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.74);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.find-page .landing-nav__button:hover,
.find-page .landing-nav__button:focus-visible {
  border-color: #aebbd0;
  background: #f7f9fc;
}

.find-page .landing-nav__button.is-primary {
  border-color: var(--landing-primary);
  background: var(--landing-primary);
  color: #fff;
}

.find-page .landing-nav__button.is-primary:hover,
.find-page .landing-nav__button.is-primary:focus-visible {
  border-color: var(--landing-primary-hover);
  background: var(--landing-primary-hover);
  color: #fff;
}

.finder-hero {
  position: relative;
  display: grid;
  min-height: clamp(430px, 48vw, 540px);
  padding-top: 58px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 123, 128, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 123, 128, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #f8fbfb, #edf6f5 54%, #f7fafc);
  background-size: 28px 28px, 28px 28px, auto;
}

.finder-hero::after {
  position: absolute;
  inset: 8% 18%;
  background: radial-gradient(ellipse at center, rgba(248, 252, 252, 0.94) 0%, rgba(248, 252, 252, 0.78) 44%, transparent 76%);
  content: "";
  pointer-events: none;
}

.finder-hero__map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.finder-hero__contours path {
  fill: none;
  stroke: rgba(82, 96, 120, 0.09);
  stroke-width: 1.1;
}

.finder-hero__route {
  fill: none;
  stroke: rgba(15, 123, 128, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
}

.finder-hero__stops circle {
  fill: #fff;
  stroke: rgba(15, 123, 128, 0.52);
  stroke-width: 2;
}

.finder-hero__pin path {
  fill: rgba(15, 123, 128, 0.16);
  stroke: rgba(15, 123, 128, 0.48);
  stroke-width: 1.5;
}

.finder-hero__pin circle {
  fill: rgba(15, 123, 128, 0.66);
}

.finder-hero__pin.is-secondary {
  opacity: 0.64;
}

.finder-hero__inner {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100% - 48px, 1072px);
  margin: -8px auto 46px;
  text-align: center;
}

.finder-hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  color: var(--landing-strong);
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.finder-hero p {
  max-width: 570px;
  margin: 21px auto 0;
  color: #526078;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.48;
}

.finder-workspace {
  position: relative;
  z-index: 4;
  width: min(100% - 48px, 1180px);
  margin: -25px auto 0;
  padding: 0;
}

.finder-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.finder-search__field {
  position: relative;
  min-width: 0;
}

.finder-search__icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 19px;
  height: 19px;
  background: #718096;
  pointer-events: none;
  transform: translateY(-50%);
  -webkit-mask: url("/images/icons/search-outline.svg") center / contain no-repeat;
  mask: url("/images/icons/search-outline.svg") center / contain no-repeat;
}

.finder-search__field input,
.finder-select-wrap select,
.finder-sort select,
.finder-location-input input,
.finder-date-field input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(112, 127, 148, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--landing-strong);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.finder-search__field input {
  min-height: 50px;
  padding: 0 16px 0 48px;
  font-size: 16px;
}

.finder-search__field:focus-within .finder-search__icon {
  background: var(--landing-primary);
}

.finder-search__field input::placeholder,
.finder-location-input input::placeholder {
  color: #8c98aa;
}

.finder-search__field input:hover,
.finder-search__field input:focus,
.finder-select-wrap select:hover,
.finder-sort select:hover,
.finder-location-input input:hover,
.finder-location-input input:focus,
.finder-date-field input:hover,
.finder-date-field input:focus {
  border-color: rgba(15, 123, 128, 0.55);
}

.finder-primary-button,
.finder-secondary-button,
.finder-filter-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.finder-primary-button {
  min-width: 104px;
  border: 1px solid var(--landing-primary);
  background: var(--landing-primary);
  color: #fff;
}

.finder-primary-button:hover,
.finder-primary-button:focus-visible {
  border-color: var(--landing-primary-hover);
  background: var(--landing-primary-hover);
}

.finder-secondary-button,
.finder-filter-button {
  border: 1px solid rgba(112, 127, 148, 0.18);
  background: #fff;
  color: var(--landing-strong);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.finder-secondary-button:hover,
.finder-filter-button:hover,
.finder-filter-button[aria-expanded="true"] {
  border-color: rgba(15, 123, 128, 0.38);
  background: #f7fbfb;
}

.finder-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--landing-line);
}

.finder-popover-wrap {
  position: relative;
}

.finder-filter-button::after {
  width: 7px;
  height: 7px;
  margin: -3px 1px 0 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.finder-filter-button[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.finder-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: min(380px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(38, 54, 77, 0.16);
}

.finder-popover[hidden] {
  display: none;
}

.finder-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
}

.finder-popover strong {
  color: var(--landing-strong);
  font-size: 15px;
}

.finder-popover p {
  margin: 6px 0 14px;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.45;
}

.finder-check-list {
  max-height: min(410px, 52vh);
  overflow: auto;
  margin: 0 -7px;
  padding: 0 7px;
  scrollbar-gutter: stable;
}

.finder-check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 5px 4px;
  color: var(--landing-strong);
  cursor: pointer;
  font-size: 13px;
}

.finder-check-row + .finder-check-row {
  border-top: 1px solid #eef1f5;
}

.finder-check-row input,
.finder-radio-row input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--landing-primary);
}

.finder-availability-panel {
  width: min(390px, calc(100vw - 32px));
}

.finder-radio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.finder-radio-row {
  min-width: 0;
  min-height: 39px;
  padding: 7px 9px;
  border: 1px solid rgba(112, 127, 148, 0.15);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--landing-strong);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.25;
}

.finder-radio-row:has(input:checked) {
  border-color: rgba(15, 123, 128, 0.48);
  background: #f3f9f9;
}

.finder-date-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--landing-strong);
  font-size: 13px;
  font-weight: 650;
}

.finder-date-field input {
  min-height: 42px;
  padding: 0 11px;
  font: inherit;
}

.finder-date-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.finder-popover__apply {
  width: 100%;
  margin-top: 12px;
}

.finder-text-button {
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: var(--landing-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.finder-text-button:hover {
  color: var(--landing-primary-hover);
  text-decoration: underline;
}

.finder-location-panel > .finder-text-button,
.finder-reset {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(112, 127, 148, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 8px rgba(120, 133, 148, 0.04);
  color: #66758c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.finder-location-panel > .finder-text-button:hover,
.finder-reset:hover {
  border-color: rgba(19, 136, 139, 0.25);
  background: rgba(230, 248, 248, 0.72);
  color: var(--landing-primary-hover);
  text-decoration: none;
}

.finder-location-panel {
  width: min(390px, calc(100vw - 32px));
}

.finder-location-panel > .finder-secondary-button {
  width: 100%;
}

.finder-popover__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
  color: var(--landing-muted);
  font-size: 12px;
}

.finder-popover__divider::before,
.finder-popover__divider::after {
  flex: 1;
  height: 1px;
  background: var(--landing-line);
  content: "";
}

.finder-location-panel label {
  display: block;
  margin-bottom: 6px;
  color: var(--landing-strong);
  font-size: 13px;
  font-weight: 650;
}

.finder-location-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.finder-location-input input {
  min-height: 42px;
  padding: 0 11px;
}

.finder-inline-status {
  min-height: 0;
  margin-bottom: 0 !important;
}

.finder-inline-status.is-error {
  color: #a33b45;
}

.finder-select-wrap,
.finder-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.finder-radius-gate {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.finder-radius-gate:focus-visible {
  outline: 3px solid rgba(19, 136, 139, 0.22);
  outline-offset: 2px;
}

.finder-select-wrap > span:not(.finder-visually-hidden),
.finder-sort > span:not(.finder-visually-hidden) {
  position: absolute;
  z-index: 1;
  left: 12px;
  color: var(--landing-muted);
  font-size: 11px;
  pointer-events: none;
}

.finder-select-wrap select,
.finder-sort select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.finder-reset {
  margin-left: auto;
}

.finder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.finder-toolbar p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
}

.finder-toolbar p strong {
  color: var(--landing-strong);
  font-weight: 700;
}

.finder-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.finder-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  padding: 3px;
  border: 1px solid rgba(112, 127, 148, 0.16);
  border-radius: 8px;
  background: #f5f7fa;
}

.finder-view-switch button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--landing-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.finder-view-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--landing-strong);
  box-shadow: 0 2px 8px rgba(74, 91, 115, 0.09);
}

.finder-status {
  margin-bottom: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f1f7f7;
  color: #3f5b65;
  font-size: 13px;
}

.finder-status.is-error {
  background: #fff2f3;
  color: #8b303a;
}

.finder-results {
  display: grid;
  gap: 16px;
  transition: opacity 120ms ease;
}

.finder-results[hidden] {
  display: none;
}

.finder-results[aria-busy="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.finder-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  cursor: pointer;
}

.finder-card:focus-visible {
  outline: 2px solid rgba(15, 123, 128, 0.65);
  outline-offset: 3px;
}

.finder-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf5f4, #eef2f7);
}

.finder-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.finder-card__image-empty {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 34%, rgba(15, 123, 128, 0.17), transparent 24%),
    linear-gradient(145deg, #edf7f6, #eef2f7);
}

.finder-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 17px;
}

.finder-card__category {
  display: block;
  color: var(--landing-primary);
  font-size: 12px;
  font-weight: 650;
}

.finder-card h2 {
  margin: 6px 0 0;
  color: var(--landing-strong);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.finder-card h2 a {
  color: inherit;
  text-decoration: none;
}

.finder-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
  color: var(--landing-muted);
  font-size: 12px;
}

.finder-card__copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.finder-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.finder-card__availability {
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.finder-card__availability.is-available {
  color: #16734d;
}

.finder-card__book {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--landing-primary);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--landing-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.finder-card__book:hover,
.finder-card__book:focus-visible {
  border-color: var(--landing-primary-hover);
  background: var(--landing-primary-hover);
}

.finder-results.is-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finder-empty {
  grid-column: 1 / -1;
  padding: 62px 20px;
  border: 1px dashed rgba(112, 127, 148, 0.27);
  border-radius: 9px;
  text-align: center;
}

.finder-empty strong {
  color: var(--landing-strong);
  font-size: 19px;
}

.finder-empty p {
  margin: 8px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
}

.finder-map-shell {
  position: relative;
  min-height: clamp(640px, 74vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(112, 127, 148, 0.16);
  border-radius: 9px;
  background: #edf1f5;
}

.finder-map-shell[hidden] {
  display: none;
}

.finder-map {
  width: 100%;
  min-height: clamp(640px, 74vh, 860px);
  z-index: 1;
}

.finder-map-empty {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: min(360px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--landing-muted);
  text-align: center;
  transform: translate(-50%, -50%);
}

.finder-map .leaflet-control-zoom a {
  color: var(--landing-strong);
}

.finder-map .leaflet-control-attribution {
  font-family: inherit;
  font-size: 10px;
}

.finder-map-marker-wrap {
  border: 0 !important;
  background: transparent !important;
}

.finder-map-marker {
  position: relative;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 3px;
  display: block;
  background: var(--landing-primary);
  box-shadow: 0 4px 12px rgba(23, 32, 51, 0.26);
  transform: rotate(-45deg);
}

.finder-map .leaflet-popup-content-wrapper {
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
}

.finder-map .leaflet-popup-content {
  width: min(320px, calc(100vw - 64px)) !important;
  margin: 0;
}

.find-page .finder-map.leaflet-container a.leaflet-popup-close-button {
  top: 9px !important;
  right: 9px !important;
  z-index: 3;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 1px solid rgba(23, 32, 51, 0.12) !important;
  border-radius: 50% !important;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.14);
  color: #526078 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.find-page .finder-map.leaflet-container a.leaflet-popup-close-button:hover,
.find-page .finder-map.leaflet-container a.leaflet-popup-close-button:focus-visible {
  background: #fff !important;
  color: var(--landing-strong) !important;
}

.find-page .finder-map.leaflet-container a.leaflet-popup-close-button > span {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  font-size: 0;
  -webkit-mask: url("/images/icons/close-outline.svg") center / contain no-repeat;
  mask: url("/images/icons/close-outline.svg") center / contain no-repeat;
}

.finder-map-popup {
  width: 100%;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.finder-map-popup img {
  display: block;
  width: 100%;
  height: 168px;
  margin: 0;
  object-fit: cover;
}

.finder-map-popup__body {
  padding: 15px 20px 18px;
}

.finder-map-popup:not(.has-image) .finder-map-popup__body {
  padding-right: 52px;
}

.finder-map-popup__category {
  color: var(--landing-primary);
  font-size: 11px;
  font-weight: 700;
}

.finder-map-popup strong {
  display: block;
  margin-top: 5px;
  color: var(--landing-strong);
  font-size: 18px;
  line-height: 1.24;
}

.finder-map-popup__meta {
  margin: 7px 0 0;
  color: var(--landing-muted);
  font-size: 12px;
}

.finder-map-popup__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: #536177;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.finder-map-popup__availability {
  display: block;
  margin-top: 10px;
  color: #16734d;
  font-size: 11px;
  font-weight: 650;
}

.finder-map .leaflet-popup-content a.finder-map-popup__book {
  min-height: 34px;
  margin-top: 12px;
  padding: 0 10px;
  border: 1px solid var(--landing-primary);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  background: var(--landing-primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.finder-map .leaflet-popup-content a.finder-map-popup__book:hover,
.finder-map .leaflet-popup-content a.finder-map-popup__book:focus-visible {
  border-color: var(--landing-primary-hover);
  background: var(--landing-primary-hover);
}

.finder-pagination {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

.finder-categories {
  margin-top: 92px;
  padding: clamp(72px, 9vw, 118px) 0;
  background: #f7f9fb;
}

.finder-categories__inner,
.finder-explainer__inner {
  width: min(100% - 48px, 1072px);
  margin: 0 auto;
}

.finder-categories h2,
.finder-explainer h2 {
  max-width: 820px;
  margin: 0;
  color: var(--landing-strong);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.finder-categories__inner > p {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.6;
}

.finder-category-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.finder-category-links a {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(112, 127, 148, 0.16);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--landing-strong);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.finder-category-links a:hover,
.finder-category-links a:focus-visible {
  border-color: rgba(15, 123, 128, 0.4);
  color: var(--landing-primary);
}

.finder-explainer {
  padding: clamp(72px, 9vw, 116px) 0 clamp(54px, 7vw, 82px);
}

.finder-explainer__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 50px;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

.finder-explainer article {
  padding: 26px 26px 30px 0;
}

.finder-explainer article + article {
  padding-left: 26px;
  border-left: 1px solid var(--landing-line);
}

.finder-explainer article strong {
  color: var(--landing-strong);
  font-size: 15px;
  font-weight: 650;
}

.finder-explainer article p {
  margin: 9px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.55;
}

.finder-create {
  padding: 0 0 clamp(72px, 8vw, 104px);
}

.finder-create__inner {
  width: min(100% - 48px, 1072px);
  margin: 0 auto;
  padding: 30px 0;
  border-block: 1px solid var(--landing-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.finder-create__copy h2 {
  margin: 0 0 7px;
  color: var(--landing-strong);
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.finder-create__copy p {
  max-width: 660px;
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.6;
}

.finder-create__button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--landing-line-strong);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--landing-primary);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.finder-create__button:hover,
.finder-create__button:focus-visible {
  border-color: var(--landing-mint-strong);
  background: var(--landing-mint);
  color: var(--landing-primary-hover);
}

/* Shared Smart footer. Keep this in sync with the product landing family. */
.find-page .landing-footer {
  width: 100%;
  background: linear-gradient(160deg, #0d726c, #095a54);
  color: #fff;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
}

.find-page .landing-footer * {
  font-family: inherit;
  letter-spacing: inherit;
}

.find-page .landing-footer__inner {
  display: grid;
  gap: 20px;
  width: min(100% - 48px, 1072px);
  margin: 0 auto;
  padding: 42px 0 38px;
}

.find-page .landing-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.find-page .landing-footer__contact {
  display: grid;
  gap: 4px;
}

.find-page .landing-footer__logo {
  display: block;
  width: clamp(154px, 19vw, 216px);
  height: auto;
  margin-bottom: 7px;
  filter: brightness(0) invert(1);
}

.find-page .landing-footer p {
  margin: 0;
  color: rgba(247, 252, 252, 0.94);
  font-size: 14px;
  line-height: 1.35;
}

.find-page .landing-footer a {
  color: #fff;
  text-decoration: none;
}

.find-page .landing-footer a:hover,
.find-page .landing-footer a:focus-visible {
  text-decoration: underline;
}

.find-page .landing-footer__brand {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: right;
}

.find-page .landing-footer__brand-link,
.find-page .landing-footer__brand-logo {
  width: min(128px, 100%);
}

.find-page .landing-footer__brand-logo {
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
}

.find-page .landing-footer__swiss {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 14px 0 2px;
  border-top: 1px solid rgba(233, 247, 245, 0.22);
}

.find-page .landing-footer__swiss img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.find-page .landing-footer__bottom {
  padding-top: 15px;
  border-top: 1px solid rgba(233, 247, 245, 0.22);
}

.find-page .landing-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.find-page .landing-footer__legal a,
.find-page .landing-footer__support-button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: normal;
  text-align: start;
  text-decoration: none;
}

.find-page .landing-footer__support-button:hover,
.find-page .landing-footer__support-button:focus-visible {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .find-page .landing-nav__inner {
    grid-template-columns: 134px minmax(0, 1fr) auto;
  }

  .find-page .landing-nav__links {
    gap: 15px;
  }

  .finder-results.is-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-workspace {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .find-page .landing-nav__inner,
  .finder-hero__inner,
  .finder-workspace,
  .finder-categories__inner,
  .finder-explainer__inner,
  .finder-create__inner,
  .find-page .landing-footer__inner {
    width: min(100% - 28px, 620px);
  }

  .find-page .landing-nav__inner {
    grid-template-columns: minmax(108px, 1fr) auto;
    gap: 10px;
    min-height: 56px;
  }

  .find-page .landing-nav__brand {
    width: 112px;
  }

  .find-page .landing-nav__links {
    display: none;
  }

  .find-page .landing-nav__actions {
    gap: 5px;
  }

  .find-page .landing-nav__button {
    min-height: 34px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .finder-hero {
    min-height: 430px;
    padding-top: 56px;
  }

  .finder-hero__inner {
    margin-bottom: 45px;
  }

  .finder-hero h1 {
    max-width: 13ch;
    font-size: clamp(45px, 13vw, 64px);
  }

  .finder-hero p {
    max-width: 540px;
    margin-top: 20px;
    font-size: 16px;
  }

  .finder-workspace {
    margin-top: -25px;
    padding: 0;
  }

  .finder-filters {
    align-items: stretch;
  }

  .finder-popover-wrap,
  .finder-filter-button,
  .finder-select-wrap,
  .finder-select-wrap select {
    flex: 1 1 calc(50% - 5px);
  }

  .finder-filter-button {
    width: 100%;
  }

  .finder-popover {
    position: fixed;
    z-index: 1100;
    top: auto;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    max-height: min(78dvh, 620px);
  }

  .finder-check-list {
    max-height: calc(min(78dvh, 620px) - 116px);
  }

  .finder-reset {
    flex: 0 0 auto;
    margin-right: auto;
    margin-left: 0;
  }

  .finder-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .finder-toolbar__controls {
    width: 100%;
    justify-content: space-between;
  }

  .finder-view-switch {
    min-width: 0;
  }

  .finder-results.is-list {
    grid-template-columns: 1fr;
  }

  .finder-map-shell,
  .finder-map {
    min-height: 70dvh;
  }

  .finder-categories {
    margin-top: 64px;
  }

  .finder-explainer__items {
    grid-template-columns: 1fr;
  }

  .finder-create__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .finder-explainer article,
  .finder-explainer article + article {
    padding: 22px 0 24px;
    border-left: 0;
  }

  .finder-explainer article + article {
    border-top: 1px solid var(--landing-line);
  }

  .find-page .landing-footer__main {
    grid-template-columns: 1fr;
  }

  .find-page .landing-footer__brand {
    justify-items: start;
    text-align: left;
  }

  .find-page .landing-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .finder-search {
    grid-template-columns: 1fr;
  }

  .finder-search .finder-primary-button {
    width: 100%;
  }

  .finder-toolbar__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .finder-sort,
  .finder-sort select,
  .finder-view-switch {
    width: 100%;
  }

  .finder-view-switch {
    grid-template-columns: repeat(2, 1fr);
  }

  .finder-card__book {
    min-height: 34px;
  }

  .finder-location-input {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .find-page .landing-nav__button:not(.is-primary) {
    display: none;
  }

  .finder-filters > :is(.finder-popover-wrap, .finder-select-wrap) {
    flex-basis: 100%;
  }

  .finder-hero h1 {
    font-size: 49px;
  }

  .finder-workspace {
    width: calc(100% - 20px);
    padding: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .find-page * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.find-page .landing-nav__menu-panel {
  display: contents;
}

.find-page .landing-nav__brand {
  position: relative;
}

.find-page .landing-nav__product-badge {
  position: absolute;
  right: -17px;
  bottom: -6px;
  padding: 2px 6px 3px;
  border: 1px solid rgba(116, 130, 151, 0.28);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255), rgba(222, 228, 236));
  color: #526078;
  box-shadow: 0 2px 7px rgba(45, 57, 75, 0.12);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.025em;
  line-height: 1;
}

.find-page .landing-nav__menu-toggle {
  display: none;
}

.find-page select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("/images/icons/chevron-down-outline.svg");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
  line-height: 1.2;
}

.finder-user-location-icon {
  border: 0;
  background: transparent;
}

.finder-user-location-dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #278ff0;
  box-shadow: 0 0 0 8px rgba(39, 143, 240, 0.14);
}

.finder-postal-area {
  stroke: #2f8fe7;
  stroke-width: 1.5;
  fill: #69b7f4;
  fill-opacity: 0.14;
}

.find-page .landing-back-to-top {
  --landing-back-footer-lift: 0px;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  min-height: 40px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(112, 127, 148, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--landing-strong);
  box-shadow: 0 5px 18px rgba(46, 61, 82, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(8px - var(--landing-back-footer-lift)));
  transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.find-page .landing-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(calc(0px - var(--landing-back-footer-lift)));
}

.find-page .landing-back-to-top:hover,
.find-page .landing-back-to-top:focus-visible {
  border-color: rgba(15, 123, 128, 0.42);
  background: rgba(255, 255, 255, 0.94);
}

.find-page .landing-back-to-top__icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("/images/icons/arrow-up-outline.svg") center / contain no-repeat;
  mask: url("/images/icons/arrow-up-outline.svg") center / contain no-repeat;
}

@media (max-width: 760px) {
  html.landing-menu-open,
  html.landing-menu-open body {
    overflow: hidden;
  }

  .find-page .landing-nav__brand,
  .find-page .landing-nav__menu-toggle {
    z-index: 2;
  }

  .find-page .landing-nav__product-badge {
    font-size: 8px;
  }

  .find-page .landing-nav__menu-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(112, 127, 148, 0.22);
    border-radius: 8px;
    display: grid;
    place-items: center;
    justify-self: end;
    background: rgba(255, 255, 255, 0.82);
    color: var(--landing-strong);
    cursor: pointer;
  }

  .find-page .landing-nav__menu-icon,
  .find-page .landing-nav__menu-icon::before,
  .find-page .landing-nav__menu-icon::after {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 190ms ease, opacity 150ms ease;
  }

  .find-page .landing-nav__menu-icon {
    position: relative;
  }

  .find-page .landing-nav__menu-icon::before,
  .find-page .landing-nav__menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .find-page .landing-nav__menu-icon::before { transform: translateY(-5px); }
  .find-page .landing-nav__menu-icon::after { transform: translateY(5px); }
  .find-page .landing-nav__menu-toggle[aria-expanded="true"] .landing-nav__menu-icon { background: transparent; }
  .find-page .landing-nav__menu-toggle[aria-expanded="true"] .landing-nav__menu-icon::before { transform: rotate(45deg); }
  .find-page .landing-nav__menu-toggle[aria-expanded="true"] .landing-nav__menu-icon::after { transform: rotate(-45deg); }

  .find-page .landing-nav__menu-panel {
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 100px 22px max(28px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    background: rgba(244, 247, 250, 0.82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .find-page .landing-nav.is-menu-open {
    background: rgba(246, 248, 251, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .find-page .landing-nav.is-menu-open .landing-nav__menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .find-page .landing-nav__menu-panel .landing-nav__links {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
  }

  .find-page .landing-nav__menu-panel .landing-nav__link {
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(112, 127, 148, 0.14);
    color: var(--landing-strong);
    font-size: 19px;
  }

  .find-page .landing-nav__menu-panel .landing-nav__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .find-page .landing-nav__menu-panel .landing-nav__button {
    min-height: 42px;
    display: inline-flex;
    font-size: 13px;
  }

  .find-page .landing-back-to-top {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* Guided Finder entry and compact persistent workspace. */
.finder-hero {
  min-height: 510px;
  transition: min-height 280ms ease;
}

.finder-hero__inner {
  width: min(100% - 48px, 960px);
  margin: 0 auto;
}

.finder-onboarding,
.finder-hero__active-summary {
  width: 100%;
}

.find-page.is-onboarding-transitioning .finder-onboarding,
.find-page.is-onboarding-transitioning .finder-hero__active-summary {
  pointer-events: none;
}

.finder-onboarding__heading h1,
.finder-onboarding__heading h2,
.finder-hero__active-summary h1 {
  max-width: none;
  margin: 0;
  color: var(--landing-strong);
  font-size: clamp(34px, 4.2vw, 55px);
  font-weight: 670;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.finder-onboarding__heading h2 {
  font-size: clamp(30px, 3.5vw, 43px);
}

.finder-onboarding__heading p,
.finder-hero__active-summary p {
  max-width: 620px;
  margin: 13px auto 0;
  font-size: 16px;
}

.finder-onboarding__choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin: 25px auto 0;
}

.finder-onboarding-choice {
  position: relative;
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 9px;
  display: grid;
  align-content: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #65748b;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.finder-onboarding-choice::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.finder-onboarding-choice:hover,
.finder-onboarding-choice:focus-visible {
  border-color: rgba(15, 123, 128, 0.48);
  background: rgba(247, 252, 252, 0.96);
  color: var(--landing-primary);
}

.finder-onboarding-choice__title {
  padding-right: 28px;
  color: var(--landing-strong);
  font-size: 18px;
  font-weight: 680;
}

.finder-onboarding-choice > span:last-child {
  padding-right: 28px;
  font-size: 13px;
  line-height: 1.45;
}

.finder-onboarding__all {
  border: 0;
  background: transparent;
  color: var(--landing-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.finder-onboarding__all {
  margin-top: 16px;
  padding: 7px 10px;
}

.finder-onboarding__actions {
  width: 100%;
  margin: 15px auto 0;
  display: flex;
  justify-content: flex-start;
}

.finder-onboarding-step.is-location .finder-onboarding__actions {
  width: min(100%, 620px);
}

.finder-onboarding__back {
  min-height: 40px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--landing-strong);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.finder-onboarding__back img {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.finder-onboarding__all:hover {
  color: var(--landing-primary-hover);
  text-decoration: underline;
}

.finder-onboarding__back:hover,
.finder-onboarding__back:focus-visible {
  border-color: rgba(15, 123, 128, 0.4);
  background: rgba(247, 252, 252, 0.96);
  color: var(--landing-primary);
  text-decoration: none;
}

.finder-onboarding-step {
  position: relative;
  width: min(100%, 820px);
  margin: 0 auto;
  padding-top: 0;
}

.finder-onboarding__search-mount {
  margin-top: 22px;
}

.finder-onboarding__category-mount,
.finder-onboarding__control-mount {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.finder-onboarding__status {
  min-height: 20px;
  margin-top: 9px !important;
  color: #6a788e !important;
  font-size: 13px !important;
}

.find-page.is-onboarding-search .finder-onboarding__search-mount .finder-search {
  width: 100%;
}

.find-page.is-onboarding-search [data-finder-category-control] {
  width: min(100%, 620px);
}

.find-page.is-onboarding-search [data-finder-category-control] > .finder-filter-button {
  width: 100%;
}

.find-page.is-onboarding-search .finder-category-panel {
  position: absolute;
  z-index: 160;
  top: calc(100% + 8px);
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  margin-top: 0;
  text-align: left;
}

.find-page.is-onboarding-search .finder-hero {
  overflow: visible;
}

.find-page.is-onboarding-search .finder-check-row {
  text-align: left;
}

.find-page.is-onboarding-nearby [data-finder-location-control] {
  width: min(100%, 620px);
}

.find-page.is-onboarding-nearby [data-finder-location-toggle] {
  display: none;
}

.find-page.is-onboarding-nearby .finder-location-panel {
  position: static;
  width: 100%;
  padding: 18px;
  border-color: rgba(112, 127, 148, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  text-align: left;
}

.find-page.is-onboarding-nearby .finder-location-panel > strong,
.find-page.is-onboarding-nearby .finder-location-panel > p:first-of-type {
  display: none;
}

.find-page.is-active .finder-hero {
  min-height: 224px;
}

.find-page.is-active .finder-hero__map-art {
  opacity: 0.58;
}

.finder-hero__active-summary h1 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.find-page.is-intro .finder-workspace {
  display: none;
}

.finder-workspace {
  width: 100%;
  margin: 0;
}

.finder-controls {
  position: sticky;
  z-index: 900;
  top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  width: 100%;
  padding: 12px max(24px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(112, 127, 148, 0.16);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 4px 14px rgba(72, 86, 107, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.finder-controls > .finder-search {
  grid-column: 1 / -1;
}

.finder-controls__secondary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.finder-controls__secondary .finder-filters {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  flex-wrap: nowrap;
}

.finder-controls__secondary .finder-reset {
  margin-left: auto;
  white-space: nowrap;
}

.finder-controls > .finder-view-switch {
  align-self: center;
  justify-self: end;
}

.finder-filter-sheet__header,
.finder-filter-sheet__apply,
.finder-filter-sheet__backdrop,
.finder-mobile-filter-toggle {
  display: none;
}

.finder-category-search {
  position: relative;
  display: block;
  margin-bottom: 9px;
}

.finder-category-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 11px 0 40px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--landing-strong);
  font-size: 13px;
}

.finder-category-search .finder-search__icon {
  left: 13px;
  width: 16px;
  height: 16px;
}

.finder-category-empty {
  margin: 10px 0 0 !important;
  text-align: center;
}

[data-finder-category-count]:not(:empty) {
  margin-left: 4px;
}

.finder-toolbar,
.finder-status,
.finder-results,
.finder-map-shell,
.finder-pagination {
  width: min(100% - 48px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.finder-map-shell,
.finder-map {
  height: clamp(440px, 65dvh, 680px);
  min-height: 0;
}

.finder-map {
  touch-action: none;
}

html.finder-filter-open,
html.finder-filter-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .finder-controls__secondary .finder-filters {
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
  }

  .finder-controls__secondary .finder-filters::-webkit-scrollbar {
    display: none;
  }

  .finder-controls__secondary .finder-filters > * {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .finder-hero {
    min-height: 520px;
  }

  .finder-hero__inner {
    width: min(100% - 28px, 620px);
  }

  .finder-onboarding__heading h1,
  .finder-onboarding__heading h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .finder-onboarding__choice-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .finder-onboarding-choice {
    min-height: 88px;
    padding: 15px 18px;
  }

  .finder-onboarding-step {
    padding-top: 0;
  }

  .finder-onboarding__search-mount .finder-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .finder-onboarding__search-mount .finder-search .finder-primary-button {
    width: auto;
  }

  .find-page.is-active .finder-hero {
    min-height: 180px;
  }

  .finder-hero__active-summary h1 {
    font-size: 29px;
  }

  .finder-hero__active-summary p {
    margin-top: 8px;
    font-size: 14px;
  }

  .finder-controls {
    top: 56px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .finder-controls > .finder-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .finder-search__field input {
    min-height: 44px;
    padding-left: 42px;
    font-size: 14px;
  }

  .finder-controls > .finder-search .finder-primary-button {
    min-width: 82px;
    min-height: 44px;
  }

  .finder-mobile-filter-toggle {
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid rgba(112, 127, 148, 0.18);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--landing-strong);
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
  }

  .finder-mobile-filter-toggle__icon {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("/images/icons/options-outline.svg") center / contain no-repeat;
    mask: url("/images/icons/options-outline.svg") center / contain no-repeat;
  }

  .finder-mobile-filter-toggle [data-finder-mobile-filter-count] {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--landing-mint);
    color: var(--landing-primary);
    font-size: 10px;
  }

  .finder-controls > .finder-view-switch {
    justify-self: stretch;
  }

  .finder-controls__secondary {
    position: fixed;
    z-index: 1201;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(calc(100dvh - 64px), 760px);
    padding: 14px 14px max(14px, env(safe-area-inset-bottom));
    border: 1px solid rgba(112, 127, 148, 0.17);
    border-radius: 12px 12px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 12px;
    scrollbar-gutter: stable;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(30, 45, 66, 0.18);
    transform: translateY(calc(100% + 20px));
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .find-page.is-filter-sheet-open .finder-controls__secondary {
    transform: translateY(0);
    visibility: visible;
  }

  .finder-filter-sheet__header {
    position: sticky;
    z-index: 3;
    top: -14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 8px;
    background: #fff;
    color: var(--landing-strong);
  }

  .finder-filter-sheet__header button {
    width: 36px;
    height: 36px;
    padding: 9px;
    border: 1px solid rgba(112, 127, 148, 0.16);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .finder-filter-sheet__header img {
    width: 100%;
    height: 100%;
  }

  .finder-controls__secondary .finder-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .finder-controls__secondary .finder-filters > * {
    min-width: 0;
    width: 100%;
  }

  .finder-controls__secondary .finder-filters :is(.finder-filter-button, .finder-select-wrap select) {
    width: 100%;
  }

  .finder-controls__secondary .finder-reset {
    grid-column: 1 / -1;
    width: max-content;
    margin: 2px 0 0;
  }

  .finder-controls__secondary > .finder-sort,
  .finder-controls__secondary > .finder-sort select {
    width: 100%;
  }

  .finder-filter-sheet__apply {
    position: sticky;
    z-index: 4;
    bottom: 0;
    width: 100%;
    display: inline-flex;
  }

  .finder-filter-sheet__backdrop {
    position: fixed;
    z-index: 899;
    inset: 0;
    border: 0;
    display: block;
    background: rgba(20, 30, 44, 0.22);
    opacity: 0;
    pointer-events: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity 180ms ease;
  }

  .find-page.is-filter-sheet-open .finder-filter-sheet__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .finder-controls__secondary .finder-popover-wrap:has(> .finder-filter-button[aria-expanded="true"]) {
    grid-column: 1 / -1;
  }

  .finder-controls__secondary .finder-popover {
    position: static;
    inset: auto;
    width: 100%;
    max-height: none;
    margin-top: 8px;
    overflow: visible;
    box-shadow: none;
  }

  .finder-controls__secondary .finder-check-list {
    max-height: min(32dvh, 260px);
    overflow-y: auto;
  }

  .finder-toolbar,
  .finder-status,
  .finder-results,
  .finder-map-shell,
  .finder-pagination {
    width: min(100% - 28px, 620px);
  }

  .finder-toolbar {
    padding: 14px 0;
  }

  .finder-map-shell,
  .finder-map {
    height: clamp(360px, 58dvh, 560px);
    min-height: 0;
  }
}

@media (max-width: 390px) {
  .finder-controls {
    padding-inline: 10px;
  }

  .finder-controls > .finder-search .finder-primary-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .finder-controls > .finder-search .finder-primary-button::before {
    width: 18px;
    height: 18px;
    background: currentColor;
    content: "";
    -webkit-mask: url("/images/icons/search-outline.svg") center / contain no-repeat;
    mask: url("/images/icons/search-outline.svg") center / contain no-repeat;
  }

  .finder-mobile-filter-toggle {
    padding-inline: 9px;
  }

  .finder-view-switch button {
    padding-inline: 8px;
  }

  .finder-onboarding__search-mount .finder-search {
    grid-template-columns: 1fr;
  }

  .finder-onboarding__search-mount .finder-search .finder-primary-button {
    width: 100%;
  }
}

/* Finder discovery context, live suggestions, and map result rail. */
.find-page.is-intro .finder-hero {
  min-height: 100svh;
}

.find-page.is-intro .finder-hero__inner {
  transform: translateY(clamp(-42px, -4svh, -24px));
}

.finder-hero__examples {
  position: absolute;
  z-index: 1;
  inset: 58px 0 0;
  pointer-events: none;
}

.finder-hero__examples span {
  position: absolute;
  padding: 7px 11px;
  border: 1px solid rgba(15, 123, 128, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(68, 90, 110, 0.38);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 650;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.finder-hero__examples .is-yoga { top: 18%; left: 7%; }
.finder-hero__examples .is-fitness { top: 70%; left: 12%; }
.finder-hero__examples .is-room { top: 13%; right: 8%; }
.finder-hero__examples .is-course { top: 69%; right: 10%; }
.finder-hero__examples .is-advice { top: 43%; right: 3%; }

.find-page.is-active .finder-hero__examples {
  display: none;
}

.finder-search__field {
  position: relative;
}

.finder-search-suggestions {
  position: absolute;
  z-index: 1300;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  max-height: min(430px, 60dvh);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(112, 127, 148, 0.17);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 34px rgba(36, 52, 74, 0.13);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
}

.finder-search-suggestions__group + .finder-search-suggestions__group {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(112, 127, 148, 0.13);
}

.finder-search-suggestions__group > span {
  display: block;
  padding: 5px 8px;
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 650;
}

.finder-search-suggestions button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  display: grid;
  gap: 2px;
  background: transparent;
  color: var(--landing-strong);
  cursor: pointer;
  text-align: left;
}

.finder-search-suggestions button:hover,
.finder-search-suggestions button:focus-visible {
  background: #f1f8f8;
}

.finder-search-suggestions button strong {
  font-size: 13px;
  font-weight: 680;
}

.finder-search-suggestions button small {
  overflow: hidden;
  color: var(--landing-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-category-recommendations {
  width: min(100%, 720px);
  margin: 13px auto 0;
}

.finder-category-recommendations > span {
  display: block;
  margin-bottom: 7px;
  color: #637289;
  font-size: 12px;
  font-weight: 650;
}

.finder-category-recommendations > div {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.finder-category-recommendations button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(112, 127, 148, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--landing-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.finder-category-recommendations button:hover,
.finder-category-recommendations button:focus-visible {
  border-color: rgba(15, 123, 128, 0.4);
  background: #f2f9f9;
  color: var(--landing-primary);
}

.finder-reset,
.finder-controls__secondary .finder-reset {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--landing-strong);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  font-size: 13px;
  font-weight: 650;
}

.finder-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.finder-reset img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: 0.72;
}

.finder-reset:hover,
.finder-reset:focus-visible {
  border-color: rgba(15, 123, 128, 0.38);
  background: #f7fbfb;
  color: var(--landing-strong);
  text-decoration: none;
}

.finder-controls {
  border-bottom-color: rgba(112, 127, 148, 0.14);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.finder-map-results {
  position: absolute;
  z-index: 500;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: 292px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.finder-map-results__list {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: thin;
}

.finder-map-result {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--landing-strong);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.finder-map-result:hover,
.finder-map-result:focus-visible,
.finder-map-result.is-highlighted {
  border-color: rgba(15, 123, 128, 0.5);
  background: #fff;
}

.finder-map-result > img,
.finder-map-result__image-empty {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  display: block;
  background: linear-gradient(145deg, #eef7f7, #e8edf3);
  object-fit: cover;
}

.finder-map-result__copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 2px;
}

.finder-map-result__copy > span {
  overflow: hidden;
  color: var(--landing-primary);
  font-size: 10px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-map-result__copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-map-result__copy small {
  overflow: hidden;
  color: var(--landing-muted);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-map-marker-wrap .finder-map-marker {
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.finder-map-marker-wrap.is-highlighted .finder-map-marker {
  background: #08656a;
  box-shadow: 0 5px 16px rgba(15, 123, 128, 0.4);
  transform: rotate(-45deg) scale(1.28);
}

@media (max-width: 760px) {
  .find-page.is-intro .finder-hero {
    min-height: 100svh;
  }

  .finder-hero__examples .is-advice,
  .finder-hero__examples .is-fitness {
    display: none;
  }

  .finder-hero__examples .is-yoga { top: 12%; left: 5%; }
  .finder-hero__examples .is-room { top: 11%; right: 5%; }
  .finder-hero__examples .is-course { top: 79%; right: 7%; }

  .finder-category-recommendations {
    margin-top: 11px;
  }

  .finder-category-recommendations > div {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
  }

  .finder-category-recommendations > div::-webkit-scrollbar {
    display: none;
  }

  .finder-category-recommendations button {
    flex: 0 0 auto;
  }

  .finder-controls {
    background: rgba(246, 248, 251, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .finder-controls__secondary .finder-reset {
    width: 100%;
    margin: 0;
  }

  .finder-filter-sheet__backdrop {
    z-index: 950;
  }

  .finder-map-results {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    height: 104px;
    padding: 0;
  }

  .finder-map-results__list {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .finder-map-shell:has(.finder-map-results:not([hidden])) .leaflet-bottom.leaflet-left {
    bottom: 134px;
  }

  .finder-map-result {
    height: 88px;
    flex: 0 0 min(242px, calc(100vw - 70px));
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 6px;
    gap: 8px;
    scroll-snap-align: start;
  }

  .finder-map-result > img,
  .finder-map-result__image-empty {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 390px) {
  .finder-search-suggestions {
    width: calc(100vw - 20px);
  }

  .finder-map-results {
    height: 96px;
  }

  .finder-map-result {
    height: 82px;
    flex-basis: min(228px, calc(100vw - 66px));
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .finder-map-result > img,
  .finder-map-result__image-empty {
    width: 58px;
    height: 58px;
  }
}

/* === CSS: playframe-legal.css [root] === */
.legal-page {
  --legal-bg: #f5f7f9;
  --legal-surface: #ffffff;
  --legal-text: #263248;
  --legal-muted: #66738a;
  --legal-line: rgba(112, 127, 148, 0.14);
  --legal-primary: #0f7b80;
  min-height: 100vh;
  background: var(--legal-bg);
  color: var(--legal-text);
  font-family: "Instrument Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:has(body.legal-document),
body.legal-document,
body.legal-document #page {
  background: #f5f7f9;
}

.legal-shell {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.legal-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -12px 34px;
  padding: 9px 12px;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--legal-bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.legal-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.legal-brand img {
  display: block;
  width: 132px;
  height: auto;
}

.legal-nav {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.legal-nav a,
.legal-back {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: var(--legal-surface);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  color: var(--legal-text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-back:hover,
.legal-back:focus-visible {
  border-color: rgba(15, 123, 128, 0.3);
  outline: none;
  background: #f8fbfb;
  box-shadow: 0 0 0 3px rgba(15, 123, 128, 0.08);
}

.legal-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.legal-kicker,
.legal-updated {
  margin: 0;
  color: var(--legal-muted);
  font-size: 13px;
  line-height: 1.45;
}

.legal-page h1 {
  margin: 7px 0 12px;
  color: var(--legal-text);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.legal-lead {
  margin: 0 0 10px;
  color: #4b5870;
  font-size: 16px;
  line-height: 1.6;
}

.legal-jump-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 30px;
}

.legal-jump {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: var(--legal-surface);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  color: inherit;
  text-decoration: none;
}

.legal-jump:hover,
.legal-jump:focus-visible {
  border-color: rgba(15, 123, 128, 0.3);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 123, 128, 0.08);
}

.legal-jump strong {
  color: var(--legal-text);
  font-size: 15px;
}

.legal-jump span {
  color: var(--legal-muted);
  font-size: 13px;
  line-height: 1.45;
}

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-section,
.legal-group-title {
  scroll-margin-top: 82px;
}

.legal-group-title {
  margin: 26px 0 2px;
  padding: 0 2px;
}

.legal-group-title h2 {
  margin: 0 0 5px;
  color: var(--legal-text);
  font-size: 22px;
  line-height: 1.25;
}

.legal-group-title p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 14px;
  line-height: 1.5;
}

.legal-section {
  padding: 20px;
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: var(--legal-surface);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.legal-section h2,
.legal-section h3 {
  margin: 0 0 10px;
  color: var(--legal-text);
  font-weight: 700;
  line-height: 1.3;
}

.legal-section h2 { font-size: 18px; }
.legal-section h3 { margin-top: 18px; font-size: 15px; }

.legal-section p,
.legal-section li,
.legal-section address {
  color: #4b5870;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-section p { margin: 0 0 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul,
.legal-section ol { margin: 0 0 10px; padding-left: 21px; }
.legal-section li + li { margin-top: 5px; }
.legal-section address { font-style: normal; }

.legal-section a,
.legal-inline-link {
  color: #0d686d;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 12px 14px;
  border-left: 3px solid var(--legal-primary);
  border-radius: 0 7px 7px 0;
  background: #f2f8f8;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--legal-line);
}

.legal-footer p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .legal-shell {
    width: min(100% - 24px, 620px);
    padding-top: 10px;
  }

  .legal-header {
    position: relative;
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .legal-brand img { width: 116px; }
  .legal-nav { gap: 4px; }
  .legal-nav a { min-height: 34px; padding-inline: 8px; font-size: 12px; }
  .legal-jump-grid { grid-template-columns: 1fr; }
  .legal-section { padding: 17px 15px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .legal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-nav { justify-content: flex-start; }
  .legal-page h1 { font-size: 27px; }
}

/* === CSS: playframe-room.css [root] === */
:root {
  --brand-hue: 232;
  --theme-chroma: 1;
  --theme-contrast: 1;
  --theme-depth: clamp(0, calc((var(--theme-contrast) - 0.75) / 0.75), 1);
  --theme-middle: clamp(
    0,
    calc(4 * var(--theme-depth) * (1 - var(--theme-depth))),
    1
  );
  --color-energy: calc(
    var(--theme-chroma) * (0.06 + var(--theme-middle) * 0.94) *
      (1 - var(--theme-depth) * 0.22)
  );
  --brand-base: oklch(
    calc(0.77 - var(--theme-depth) * 0.05)
      calc((0.1 + var(--theme-middle) * 0.12) * var(--theme-chroma))
      calc(var(--brand-hue) * 1deg)
  );
  --page-bg: oklch(
    calc(0.95 - var(--theme-depth) * 0.85) calc(0.15 * var(--color-energy))
      calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    calc(0.995 - var(--theme-depth) * 0.835) calc(0.17 * var(--color-energy))
      calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    calc(0.97 - var(--theme-depth) * 0.75) calc(0.2 * var(--color-energy))
      calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    calc(0.92 - var(--theme-depth) * 0.64) calc(0.23 * var(--color-energy))
      calc(var(--brand-hue) * 1deg)
  );
  --text-strong: #211e25;
  --text: #302b35;
  --muted: #3f3945;
  --line: color-mix(in oklab, var(--text-strong) 16%, var(--surface));
  --line-soft: color-mix(in oklab, var(--text-strong) 9%, var(--surface));
  --header-bg: color-mix(in oklab, var(--surface) 94%, transparent);
  --brand-deep: color-mix(in oklab, var(--brand-base) 35%, #242329);
  --page-edge: var(--page-bg);
  --accent-soft: color-mix(in oklab, var(--brand-base) 22%, var(--surface));
  --accent-mid: color-mix(in oklab, var(--brand-base) 56%, var(--surface));
  --box-bg: var(--surface);
  --box-bg-strong: var(--surface-soft);
  --button-bg: var(--surface-soft);
  --button-bg-hover: var(--surface-tint);
  --button-primary-bg: var(--brand-base);
  --button-primary-hover-bg: color-mix(
    in oklab,
    var(--brand-base) 82%,
    var(--text-strong)
  );
  --button-primary-text: #1b191e;
  --footer-bg: var(--surface-tint);
  --footer-line: var(--line-soft);
  --footer-text: var(--text-strong);
  --footer-text-soft: var(--text);
  --footer-link: var(--text);
  --footer-button-border: color-mix(
    in oklab,
    var(--brand-base) 48%,
    var(--line)
  );
  --footer-button-brand-bg: var(--surface-soft);
  --footer-button-cta-bg: var(--button-primary-bg);
  --footer-button-hover-bg: var(--button-primary-hover-bg);
  --shadow: 0 18px 48px rgba(26, 24, 30, 0.09);
  --radius: 20px;
  --radius-inner: 12px;
  --radius-small: 9px;
}

body.is-sharp-theme {
  --radius: 4px;
  --radius-inner: 2px;
  --radius-small: 2px;
}

body.is-round-theme {
  --radius: 20px;
  --radius: 15px;
  --radius-inner: 12px;
  --radius-inner: 8px;
  --radius-small: 6px;
}

body[class*="theme-step-"] {
  --line: color-mix(in oklab, var(--text-strong) 17%, var(--surface));
  --line-soft: color-mix(in oklab, var(--text-strong) 9%, var(--surface));
  --header-bg: color-mix(in oklab, var(--surface) 94%, transparent);
  --brand-deep: color-mix(in oklab, var(--brand-base) 36%, var(--text-strong));
  --page-edge: var(--page-bg);
  --accent-soft: color-mix(in oklab, var(--brand-base) 24%, var(--surface));
  --accent-mid: color-mix(in oklab, var(--brand-base) 58%, var(--surface));
  --box-bg: var(--surface);
  --box-bg-strong: var(--surface-soft);
  --button-bg: var(--surface-soft);
  --button-bg-hover: var(--surface-tint);
  --footer-bg: var(--surface-tint);
  --footer-line: var(--line-soft);
  --footer-button-border: color-mix(
    in oklab,
    var(--brand-base) 48%,
    var(--line)
  );
  --footer-button-brand-bg: var(--surface-soft);
}

body.theme-step-0 {
  --page-bg: oklch(
    0.96 calc(0.01 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.995 calc(0.012 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.94 calc(0.018 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.9 calc(0.025 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-2 {
  --page-bg: oklch(
    0.91 calc(0.035 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.97 calc(0.045 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.925 calc(0.055 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.86 calc(0.07 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-4 {
  --page-bg: oklch(
    0.82 calc(0.085 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.91 calc(0.105 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.855 calc(0.125 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.775 calc(0.145 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-6 {
  --page-bg: oklch(
    0.7 calc(0.145 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.82 calc(0.17 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.755 calc(0.19 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.66 calc(0.2 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-8 {
  --page-bg: oklch(
    0.59 calc(0.17 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.69 calc(0.2 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.635 calc(0.22 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.565 calc(0.2 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-10 {
  --page-bg: oklch(
    0.37 calc(0.155 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.46 calc(0.175 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.505 calc(0.185 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.48 calc(0.18 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-12 {
  --page-bg: oklch(
    0.25 calc(0.105 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.34 calc(0.125 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.4 calc(0.14 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.43 calc(0.14 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-14 {
  --page-bg: oklch(
    0.14 calc(0.045 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.22 calc(0.065 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.28 calc(0.075 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.32 calc(0.08 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

body.theme-step-16 {
  --page-bg: oklch(
    0.08 calc(0.008 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface: oklch(
    0.15 calc(0.016 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-soft: oklch(
    0.21 calc(0.024 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
  --surface-tint: oklch(
    0.26 calc(0.03 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg)
  );
}

/* Midpoints keep the established nine anchor themes while making changes
   between them gradual. */
body.theme-step-1 {
  --page-bg: oklch(0.935 calc(0.0225 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.9825 calc(0.0285 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.9325 calc(0.0365 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.88 calc(0.0475 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-3 {
  --page-bg: oklch(0.865 calc(0.06 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.94 calc(0.075 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.89 calc(0.09 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.8175 calc(0.1075 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-5 {
  --page-bg: oklch(0.76 calc(0.115 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.865 calc(0.1375 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.805 calc(0.1575 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.7175 calc(0.1725 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-7 {
  --page-bg: oklch(0.645 calc(0.1575 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.755 calc(0.185 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.695 calc(0.205 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.6125 calc(0.2 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-9 {
  --page-bg: oklch(0.48 calc(0.1625 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.575 calc(0.1875 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.57 calc(0.2025 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.5225 calc(0.19 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-11 {
  --page-bg: oklch(0.31 calc(0.13 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.4 calc(0.15 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.4525 calc(0.1625 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.455 calc(0.16 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-13 {
  --page-bg: oklch(0.195 calc(0.075 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.28 calc(0.095 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.34 calc(0.1075 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.375 calc(0.11 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.theme-step-15 {
  --page-bg: oklch(0.11 calc(0.0265 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface: oklch(0.185 calc(0.0405 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-soft: oklch(0.245 calc(0.0495 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
  --surface-tint: oklch(0.29 calc(0.055 * var(--theme-chroma)) calc(var(--brand-hue) * 1deg));
}

body.is-dark-theme {
  color-scheme: dark;
  --text-strong: #f7f5fa;
  --text: #d2ced8;
  --muted: #aaa5b0;
  --line: color-mix(in oklab, var(--text-strong) 18%, var(--surface));
  --line-soft: color-mix(in oklab, var(--text-strong) 10%, var(--surface));
  --header-bg: color-mix(in oklab, var(--surface) 92%, transparent);
  --brand-deep: color-mix(in oklab, var(--brand-base) 32%, #111014);
  --button-primary-text: #17151a;
  --footer-text: var(--text-strong);
  --footer-text-soft: var(--text);
  --footer-link: var(--text);
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition:
    background-color 240ms ease,
    color 240ms ease;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header,
.image-surface,
.carousel-card,
.location-card,
.calendar-card,
.profile-card,
.contact-card,
.map-placeholder,
.contact-image-placeholder,
.site-footer {
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.is-content-hidden {
  display: none !important;
}

a[href],
button:not(:disabled),
select,
summary,
label[for],
input[type="checkbox"],
input[type="radio"],
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand-base) 56%, transparent);
  outline-offset: 3px;
}

.site-shell {
  width: min(calc(100% - 56px), 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(5px);
  border-bottom: 0;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 180ms ease;
}

.site-header:is(.has-condensed-logo, .has-condensed-name) {
  background: color-mix(in oklab, var(--surface) 97%, transparent);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header.is-open {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 8px 0;
}

.owner-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  pointer-events: none;
}

.owner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  width: clamp(48px, 11vw, 124px);
  height: 48px;
  flex: 0 0 auto;
  padding: 3px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 180ms ease, transform 220ms ease;
}

.owner-mark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.owner-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.site-header.has-condensed-logo .owner-mark,
.site-header.has-condensed-name .owner-name {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header:is(.has-condensed-logo, .has-condensed-name) .owner-brand {
  pointer-events: auto;
}

.owner-name.is-faded {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 72px), transparent 100%);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.header-nav a {
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.header-nav > a:not(.header-cta-button):hover,
.header-nav > a:not(.header-cta-button):focus-visible {
  color: var(--text-strong);
}

.header-nav .header-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.header-nav .header-cta-button:hover,
.header-nav .header-cta-button:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 40%, var(--line));
  background: var(--surface-tint);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--box-bg);
  position: relative;
  z-index: 35;
  transition:
    background-color 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition:
    transform 220ms ease,
    top 220ms ease,
    opacity 180ms ease;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: color-mix(in oklab, var(--accent-soft) 28%, white);
}

.site-header.is-open .nav-toggle {
  background: color-mix(in oklab, var(--accent-soft) 32%, white);
}

.site-header.is-open .nav-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.public-page {
  padding: 12px 0 64px;
}

#beschreibung,
#bilder,
#standort,
#kalender,
#kontakt {
  scroll-margin-top: 94px;
}

.intro {
  padding: 20px 0 16px;
}

.intro-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.intro-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.location {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.intro-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.intro h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
  font-weight: 650;
  transition: opacity 160ms ease, transform 200ms ease;
}

.intro h1.is-long {
  font-size: clamp(28px, 3.25vw, 38px);
  line-height: 1.06;
}

.intro-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(88px, 12vw, 128px);
  min-width: 88px;
  height: clamp(78px, 10vw, 108px);
  min-height: 78px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-self: center;
  padding: 8px;
  transition: opacity 160ms ease, transform 200ms ease;
}

.site-header.has-condensed-logo + main .intro-logo-placeholder,
.site-header.has-condensed-name + main .intro h1 {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.intro-logo-placeholder img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-image-section {
  padding-top: 4px;
}

.hero-figure {
  margin: 0;
}

.hero-book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  flex: 0 0 auto;
  margin-top: 8px;
  white-space: nowrap;
  border: 1px solid
    color-mix(in oklab, var(--brand-base) 78%, var(--text-strong));
  border-radius: var(--radius);
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font-size: 16px;
  font-weight: 650;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.hero-book-button:hover,
.hero-book-button:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 60%, var(--text-strong));
  background: var(--button-primary-hover-bg);
  color: var(--button-primary-text);
}

.image-surface {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition: background-color 240ms ease;
}

.image-surface img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-image-surface {
  height: clamp(220px, 32vw, 360px);
  aspect-ratio: auto;
  max-height: none;
  background-image: var(--hero-image-url);
  background-repeat: no-repeat;
}

.hero-image-surface.is-contained {
  display: block;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  background-image: none;
}

.hero-image-surface.is-contained img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.hero-image-surface.is-covered img {
  opacity: 0;
  object-fit: cover;
  object-position: center center;
}

.hero-image-surface.is-covered {
  background-size: cover;
  background-position: center center;
}

.hero-image-surface.is-cropped-square {
  aspect-ratio: 1;
}

.hero-image-surface:has(img[src$=".svg"]) {
  aspect-ratio: 4 / 1;
  max-height: 290px;
}

.hero-image-surface.is-cropped-square img {
  opacity: 0;
}

.hero-image-surface.is-covered::after {
  content: none;
}

.hero-image-surface img[src$=".svg"],
.carousel-surface img[src$=".svg"] {
  width: 18%;
  height: auto;
  max-width: 118px;
  object-fit: contain;
}

.section {
  padding-top: 90px;
}

.section-description {
  display: block;
  padding-top: 38px;
  padding-bottom: 28px;
}

.section-description:not(:has(.description-content p:not(:empty))) {
  display: none;
}

.section-description:has(.description-content p:not(:empty))
  + .section-info-stack {
  padding-top: 76px;
}

.section-description .wide-text {
  max-width: 980px;
}

.section-description .description-content {
  gap: 20px;
}

.section-description .description-content p {
  color: var(--text-strong);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.55;
  font-weight: 520;
  text-align: center;
}

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

.section h2,
.footer-block h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 26px;
  line-height: 1.04;
  font-weight: 650;
}

.text-block {
  display: grid;
  gap: 16px;
}

.wide-text {
  width: 100%;
  max-width: 720px;
}

.description-block {
  display: grid;
  position: relative;
  width: 100%;
  margin: auto;
  --description-collapsed-height: 7.2rem;
  --description-fade-size: 3.5rem;
}

.description-content {
  position: relative;
  overflow: hidden;
  max-height: none;
  transition: max-height 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height;
}

.description-block.is-collapsed .description-content {
  max-height: var(--description-collapsed-height);
  -webkit-mask-image: none;
  mask-image: none;
}

.description-block.is-expanded .description-content {
  -webkit-mask-image: none;
  mask-image: none;
}

.description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  align-self: start;
  margin-top: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1;
  font-weight: 650;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.description-toggle[hidden] {
  display: none;
}

.description-toggle:hover,
.description-toggle:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 40%, var(--line));
  background: var(--surface-tint);
}

.offer-details-description {
  width: 100%;
  margin: 0;
}

.offer-details-description .description-content {
  display: block;
}

.offer-details-description .description-toggle {
  margin-top: 8px;
}

.text-block p,
.footer-block p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
  font-weight: 500;
}

.section-gallery {
  overflow: visible;
  --carousel-media-height-limit: min(240px, 32vh);
}

.section-head-split {
  align-items: center;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 3;
}

.section-gallery.is-static-gallery .carousel-controls {
  display: none;
}

.section-gallery.is-contained-gallery .carousel-controls {
  display: none;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--box-bg);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.carousel-button span {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: color-mix(in oklab, var(--accent-mid) 36%, var(--line));
  background: var(--box-bg-strong);
  color: var(--text-strong);
}

#carouselPrev span {
  transform: rotate(-135deg);
}

#carouselNext span {
  transform: rotate(45deg);
}

.carousel-wrap {
  position: relative;
}

.carousel-fade {
  display: none;
}

.carousel-wrap.is-static-gallery .carousel-fade {
  display: none;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 48px;
  margin-inline: auto;
  padding: 24px 48px 42px;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.04) 0.3%,
    rgba(0, 0, 0, 0.16) 0.7%,
    rgba(0, 0, 0, 0.4) 1.25%,
    rgba(0, 0, 0, 0.7) 2%,
    rgba(0, 0, 0, 0.9) 3%,
    rgba(0, 0, 0, 0.98) 4%,
    #000 5%,
    #000 95%,
    rgba(0, 0, 0, 0.98) 96%,
    rgba(0, 0, 0, 0.9) 97%,
    rgba(0, 0, 0, 0.7) 98%,
    rgba(0, 0, 0, 0.4) 98.75%,
    rgba(0, 0, 0, 0.16) 99.3%,
    rgba(0, 0, 0, 0.04) 99.7%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.04) 0.3%,
    rgba(0, 0, 0, 0.16) 0.7%,
    rgba(0, 0, 0, 0.4) 1.25%,
    rgba(0, 0, 0, 0.7) 2%,
    rgba(0, 0, 0, 0.9) 3%,
    rgba(0, 0, 0, 0.98) 4%,
    #000 5%,
    #000 95%,
    rgba(0, 0, 0, 0.98) 96%,
    rgba(0, 0, 0, 0.9) 97%,
    rgba(0, 0, 0, 0.7) 98%,
    rgba(0, 0, 0, 0.4) 98.75%,
    rgba(0, 0, 0, 0.16) 99.3%,
    rgba(0, 0, 0, 0.04) 99.7%,
    transparent 100%
  );
}

.carousel-wrap.is-static-gallery .carousel-viewport {
  overflow: visible;
  margin-inline: 0;
  padding: 10px 0 28px;
  -webkit-mask-image: none;
  mask-image: none;
}

.carousel-wrap.is-contained-gallery .carousel-viewport {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-stage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: max-content;
  min-height: 0;
}

.carousel-wrap.is-static-gallery .carousel-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  min-height: 0;
}

.carousel-wrap.is-contained-gallery .carousel-stage {
  justify-content: center;
  width: 100%;
}

.section-gallery.is-static-gallery.gallery-count-1 .carousel-stage {
  justify-content: center;
}

.carousel-edge-spacer {
  display: block;
  flex: 0 0 0;
  width: 0;
  height: 1px;
  pointer-events: none;
}

.carousel-wrap.is-static-gallery .carousel-edge-spacer,
.carousel-wrap.is-contained-gallery .carousel-edge-spacer {
  display: none;
}

.carousel-image {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-wrap.is-static-gallery .carousel-image {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  height: auto;
}

.carousel-card {
  position: relative;
  display: block;
  width: fit-content;
  height: auto;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.carousel-wrap.is-static-gallery .carousel-card {
  width: fit-content;
  max-width: 100%;
  height: auto;
  background: var(--surface);
}

.carousel-surface {
  min-height: 0;
  width: fit-content;
  max-width: none;
  height: var(--carousel-media-height, var(--carousel-media-height-limit));
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: var(--surface-soft);
  box-shadow: none;
}

.carousel-wrap.is-static-gallery .carousel-surface {
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  height: auto;
  max-height: var(--carousel-media-height-limit);
  aspect-ratio: auto;
}

.carousel-surface img {
  display: block;
  width: auto;
  height: var(--carousel-media-height, var(--carousel-media-height-limit));
  max-width: none;
  max-height: none;
  object-fit: initial;
}

.carousel-wrap.is-static-gallery .carousel-surface img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--carousel-media-height-limit);
  object-fit: initial;
  object-position: center center;
}

.carousel-wrap.is-static-gallery .carousel-surface:has(img[src$=".svg"]) {
  min-height: 0;
}

.carousel-wrap.is-static-gallery .carousel-surface img[src$=".svg"] {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--carousel-media-height-limit);
}

.carousel-image img {
  transition: opacity 220ms ease;
}

.carousel-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  min-height: 0;
  padding: clamp(48px, 8vw, 76px) 18px 18px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(7, 10, 16, 0.92) 0,
    rgba(7, 10, 16, 0.76) 42%,
    rgba(7, 10, 16, 0.3) 72%,
    transparent 100%
  );
}

.carousel-wrap.is-static-gallery .carousel-card-copy {
  min-height: 0;
  height: auto;
  padding: clamp(52px, 8vw, 82px) 18px 20px;
  font-size: 15px;
  line-height: 1.55;
}

.carousel-card-copy:empty,
.carousel-image:not(.has-caption) .carousel-card-copy {
  display: none;
}

.section-gallery.is-static-gallery.gallery-count-1 .carousel-card-copy {
  max-width: 760px;
  min-height: 0;
}

.carousel-image.is-active .carousel-card {
  border-color: color-mix(in oklab, var(--accent-mid) 40%, var(--line));
  background: var(--box-bg-strong);
}

.carousel-image.is-active .carousel-card-copy {
  color: #ffffff;
}

.carousel-image:hover .carousel-card,
.carousel-image:focus-visible .carousel-card {
  border-color: color-mix(in oklab, var(--accent-mid) 28%, var(--line));
  background: var(--box-bg-strong);
}

.section-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.calendar-placeholder {
  padding: 18px 0 0;
}

.info-stack {
  display: grid;
  gap: 4rem;
}

.info-main-grid {
  display: grid;
  gap: 16px;
}

.location-card,
.calendar-card {
  border: 0;
  z-index: 2;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    background-color 240ms ease,
    color 240ms ease;
}

.location-card {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
}

.location-card-top,
.location-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.95fr);
  gap: 0;
}

.location-card-address {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 550;
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  max-width: min(66%, 460px);
  padding: 12px 15px 13px;
  border: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
  border-radius: var(--radius-inner);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  box-shadow: 0 10px 28px rgba(10, 19, 31, 0.14);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.location-card-copy {
  display: grid;
  gap: 6px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 22px 24px 18px;
  border: 0;
  border-radius: var(--radius-inner);
  background: transparent;
  min-width: 0;
}

.contact-card-lines {
  display: grid;
  gap: 6px;
}

.location-card-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

h2.location-card-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  margin: 0;
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

.location-card-line {
  margin: 0;
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 550;
}

.location-card-note {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.contact-card-name,
.contact-card-line {
  margin: 0;
}

.contact-card-name {
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
}

.contact-card-line {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.contact-card a {
  color: inherit;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: color-mix(in oklab, var(--brand-base) 64%, var(--text-strong));
}

.location-card-bottom {
  min-width: 0;
  display: block;
  padding: 0;
  border-top: 0;
  height: 100%;
}

.location-card-bottom.has-location-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 220px);
  align-items: start;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
}

.location-card-bottom.has-location-image-only {
  grid-template-columns: minmax(168px, 260px);
  justify-content: end;
}

.location-card-bottom.has-location-image-only .location-card-image {
  max-width: 260px;
}

.location-card-bottom.has-location-image .map-embed-shell,
.location-card-bottom.has-location-image .map-placeholder {
  min-width: 0;
  border-radius: var(--radius-inner);
}

.location-card-image {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  cursor: pointer;
}

.location-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease;
}

.location-card-image:hover img,
.location-card-image:focus-visible img {
  filter: brightness(0.94);
}

.location-card-image:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand-base) 30%, transparent);
  outline-offset: 2px;
}

.location-card-bottom:has(.contact-image[src$=".svg"]) {
  grid-template-columns: 1fr;
}

.contact-image-placeholder:has(.contact-image[src$=".svg"]) {
  display: none;
}

.map-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 330px;
  padding: 18px;
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  text-align: center;
}

.map-placeholder-title,
.map-placeholder-copy {
  margin: 0;
}

.map-placeholder-title {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 650;
}

.map-placeholder-copy {
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.map-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.map-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 650;
  background: var(--surface);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.map-search-link:hover,
.map-search-link:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 40%, var(--line));
  background: var(--surface-tint);
}

.map-embed-shell {
  position: relative;
  display: block;
  height: 330px;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

.map-embed.is-loading,
.map-embed.has-load-error {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.map-embed-link {
  position: absolute;
  right: 11px;
  bottom: 25px;
  z-index: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 650;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.map-embed .leaflet-control-zoom {
  margin: 0 0 14px 14px;
  border: 1px solid rgba(25, 37, 54, 0.16);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 19, 31, 0.13);
}

.map-embed .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  line-height: 34px;
  color: #203048;
  background: rgba(255, 255, 255, 0.96);
}

.map-embed .leaflet-control-zoom a:hover,
.map-embed .leaflet-control-zoom a:focus-visible {
  color: var(--brand-deep);
  background: color-mix(in oklab, var(--brand-base) 14%, #fff);
}

.map-embed .leaflet-control-attribution {
  margin: 0 7px 6px 0;
  padding: 2px 5px;
  border-radius: 4px;
  color: #536174;
  background: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  line-height: 1.25;
  backdrop-filter: blur(5px);
}

.map-embed .leaflet-control-attribution a {
  color: #34465f;
}

.playframe-map-marker-wrap {
  background: transparent;
  border: 0;
}

.playframe-map-marker {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-base);
  box-shadow: 0 5px 13px color-mix(in oklab, var(--brand-deep) 34%, transparent);
  transform: rotate(-45deg);
}

.playframe-map-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.map-embed-link:hover,
.map-embed-link:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 40%, var(--line));
  background: var(--surface-tint);
}

.contact-image-placeholder {
  display: grid;
  place-items: center;
  height: 190px;
  min-height: 190px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  overflow: hidden;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-image[src$=".svg"] {
  width: min(180px, 54%);
  min-width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
}

.location-card-bottom
  .contact-image-placeholder:has(.contact-image[src$=".svg"]) {
  display: none;
}

.calendar-card {
  padding: 18px 20px;
}

.offer-details-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 24px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.offer-details-card h2,
.offer-details-card p {
  margin: 0;
}

.offer-details-card h2 {
  color: var(--text-strong);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.25;
  font-weight: 700;
}

.offer-details-card p {
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  white-space: pre-line;
}

.offer-details-card:not(.is-content-hidden) + .calendar-card {
  margin-top: -2.5rem;
}

.calendar-widget {
  display: grid;
  gap: 14px;
  padding-top: 0;
}

.calendar-widget-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.calendar-widget-head h3,
.calendar-widget-head p {
  margin: 0;
}

.calendar-widget-head h3 {
  color: var(--text-strong);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 650;
}

.calendar-widget-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.calendar-live {
  display: grid;
  gap: 14px;
}

.calendar-browser {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.calendar-picker-panel,
.calendar-slots-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.calendar-picker-panel.is-date-transition-out.is-date-transition-forward,
.calendar-slots-panel.is-date-transition-out.is-date-transition-forward {
  animation: calendar-slots-date-out-forward 190ms ease-in both;
}

.calendar-picker-panel.is-date-transition-in.is-date-transition-forward,
.calendar-slots-panel.is-date-transition-in.is-date-transition-forward {
  animation: calendar-slots-date-in-forward 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.calendar-picker-panel.is-date-transition-out.is-date-transition-backward,
.calendar-slots-panel.is-date-transition-out.is-date-transition-backward {
  animation: calendar-slots-date-out-backward 190ms ease-in both;
}

.calendar-picker-panel.is-date-transition-in.is-date-transition-backward,
.calendar-slots-panel.is-date-transition-in.is-date-transition-backward {
  animation: calendar-slots-date-in-backward 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes calendar-slots-date-out-forward {
  to {
    opacity: 0;
    transform: translateX(-16px);
    filter: blur(1px);
  }
}

@keyframes calendar-slots-date-in-forward {
  from {
    opacity: 0;
    transform: translateX(16px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes calendar-slots-date-out-backward {
  to {
    opacity: 0;
    transform: translateX(16px);
    filter: blur(1px);
  }
}

@keyframes calendar-slots-date-in-backward {
  from {
    opacity: 0;
    transform: translateX(-16px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.calendar-monthbar {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
}

.calendar-monthbar strong {
  color: var(--text-strong);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
  text-align: center;
}

.calendar-nav-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--box-bg);
  color: var(--text-strong);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.calendar-nav-button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateX(2px) rotate(-45deg);
}

.calendar-nav-button.is-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.calendar-nav-button:hover,
.calendar-nav-button:focus-visible {
  border-color: color-mix(in oklab, var(--accent-mid) 36%, var(--line));
  background: var(--button-bg-hover);
}

.calendar-nav-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.calendar-day-button,
.calendar-day-blank {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: var(--radius);
}

.calendar-day-button {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 4px 2px;
  border: 1px solid color-mix(in oklab, var(--text-strong) 18%, transparent);
  background: color-mix(in oklab, var(--surface) 94%, var(--text-strong) 6%);
  color: var(--muted);
  cursor: default;
}

.calendar-day-button span {
  color: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 650;
}

.calendar-day-button small {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-strong);
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
}

.calendar-day-button.is-available {
  border-color: color-mix(in oklab, var(--text-strong) 24%, var(--accent-mid));
  background: color-mix(in oklab, var(--surface) 88%, var(--text-strong) 12%);
  color: var(--text-strong);
  cursor: pointer;
}

.calendar-day-button.is-available:hover,
.calendar-day-button.is-available:focus-visible {
  border-color: color-mix(in oklab, var(--accent-mid) 42%, var(--line));
  background: color-mix(in oklab, var(--surface) 14%, var(--accent-soft));
}

.calendar-day-button.is-selected {
  z-index: 1;
  border: 2px solid color-mix(in oklab, var(--text-strong) 78%, var(--accent-mid));
  background: color-mix(in oklab, var(--surface) 66%, var(--text-strong) 34%);
  color: var(--text-strong);
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px color-mix(in oklab, var(--accent-mid) 44%, var(--text-strong));
}

.calendar-day-button.is-selected span {
  font-weight: 800;
}

.calendar-day-button.is-selected small {
  background: var(--text-strong);
  color: var(--surface);
}

.calendar-day-button.is-today:not(.is-selected) {
  border-color: color-mix(in oklab, var(--accent-mid) 30%, var(--line));
}

.calendar-day-button.is-today::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-strong);
  box-shadow: 0 0 0 2px var(--surface);
}

.calendar-day-button.is-today:disabled::after {
  background: var(--muted);
}

.calendar-day-button.is-today.is-selected::after {
  background: var(--text-strong);
}

.calendar-day-button.is-just-selected {
  animation: calendar-selected-day-change 620ms ease-out;
}

@keyframes calendar-selected-day-change {
  0% {
    transform: scale(0.9);
    box-shadow:
      0 0 0 2px var(--surface),
      0 0 0 8px color-mix(in oklab, var(--accent-mid) 62%, transparent);
  }
  55% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 2px var(--surface),
      0 0 0 4px color-mix(in oklab, var(--accent-mid) 44%, var(--text-strong));
  }
}

.calendar-day-button:disabled {
  opacity: 0.48;
}

.calendar-slot-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .calendar-picker-panel.is-date-transitioning,
  .calendar-slots-panel.is-date-transitioning,
  .calendar-day-button.is-just-selected {
    animation: none;
  }
}

.calendar-slot-head > div {
  display: grid;
  gap: 4px;
}

.calendar-slot-head > div > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
}

.calendar-availability-range {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.calendar-availability-range span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.calendar-availability-range span::after {
  content: ": ";
}

.calendar-availability-range strong {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
}

.calendar-slot-head strong {
  color: var(--text-strong);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 650;
}

.calendar-slot-head span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 650;
  white-space: nowrap;
}

.calendar-slot-head .calendar-slot-head-status {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.calendar-slot-head-status small {
  max-width: 220px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
}

.calendar-slot-list,
.calendar-static-list {
  display: grid;
  gap: 10px;
}

.calendar-slot-card,
.calendar-static-item {
  display: grid;
  gap: 12px;
  border: 1px solid
    color-mix(in oklab, var(--text-strong) 24%, var(--slot-color, var(--accent-mid)));
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 94%, var(--text-strong) 6%);
}

.calendar-slot-card {
  position: relative;
  display: block;
  align-items: start;
  padding: 12px;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.calendar-slot-card:hover,
.calendar-slot-card:focus-visible,
.calendar-slot-card.is-selected {
  border-color: color-mix(
    in oklab,
    var(--slot-color, var(--accent-mid)) 68%,
    var(--line)
  );
  background: color-mix(
    in oklab,
    var(--surface) 58%,
    var(--slot-color, var(--accent-soft))
  );
}

.calendar-slot-card.is-selected .calendar-slot-button {
  align-self: start;
}

.calendar-slot-card.is-selected {
  border-color: color-mix(
    in oklab,
    var(--text-strong) 48%,
    var(--slot-color, var(--brand-base))
  );
  box-shadow: inset 0 0 0 1px color-mix(
    in oklab,
    var(--text-strong) 48%,
    var(--slot-color, var(--brand-base))
  );
}

.calendar-slot-card.is-reserved {
  border-color: color-mix(in oklab, var(--muted) 34%, var(--line));
  background: var(--surface-soft);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.calendar-slot-card.is-reserved .calendar-slot-button {
  background: var(--surface);
}

.calendar-static-item {
  padding: 13px 14px;
}

.calendar-slot-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.calendar-slot-time {
  padding-right: 104px;
}

.calendar-slot-time,
.calendar-static-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.calendar-slot-main strong,
.calendar-static-item strong {
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 650;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.calendar-slot-main p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.calendar-slot-main small,
.calendar-static-item small {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.calendar-slot-button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  justify-self: end;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid color-mix(in oklab, var(--accent-mid) 34%, var(--line));
  border-radius: var(--radius);
  background: var(--button-bg);
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.calendar-slot-card.is-selected .calendar-slot-button {
  top: 7px;
  right: 7px;
  min-height: 22px;
  padding-inline: 6px;
  font-size: 10px;
}

.calendar-slot-button:hover,
.calendar-slot-button:focus-visible {
  border-color: color-mix(in oklab, var(--accent-mid) 48%, var(--line));
  background: var(--button-bg-hover);
}

.calendar-slot-button.is-disabled {
  opacity: 0.6;
}

.calendar-day-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  align-items: start;
}

.calendar-day-timeline {
  --timeline-edge-space: 8px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  height: clamp(260px, calc(var(--timeline-rows, 16) * 12px), 380px);
  user-select: none;
  -webkit-user-select: none;
}

.calendar-timeline-hours,
.calendar-timeline-track {
  position: relative;
  height: 100%;
}

.calendar-timeline-hours-plot,
.calendar-timeline-plot {
  position: absolute;
  inset: var(--timeline-edge-space) 0;
}

.calendar-day-timeline * {
  user-select: none;
  -webkit-user-select: none;
}

.calendar-timeline-hours span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
}

.calendar-timeline-track {
  border: 1px solid color-mix(in oklab, var(--text-strong) 24%, transparent);
  border-radius: var(--radius-small);
  background: color-mix(in oklab, var(--surface) 92%, var(--text-strong) 8%);
  background: color-mix(in oklab, var(--accent-soft) 88%, var(--text-strong) 12%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--text-strong) 8%, transparent);
  overflow: hidden;
  touch-action: none;
}

.calendar-timeline-gridline,
.calendar-timeline-window,
.calendar-timeline-gap,
.calendar-timeline-buffer,
.calendar-timeline-lock-zone,
.calendar-timeline-selection {
  position: absolute;
  left: 0;
  right: 0;
}

.calendar-timeline-gridline {
  z-index: 1;
  height: 1px;
  background: color-mix(in oklab, var(--text-strong) 14%, transparent);
}

.calendar-timeline-window {
  z-index: 0;
  background: color-mix(in oklab, var(--accent-soft) 88%, var(--text-strong) 12%);
  /* box-shadow: inset 3px 0 0 color-mix(in oklab, var(--text-strong) 30%, var(--accent-mid)); */
  pointer-events: none;
}

.calendar-timeline-gap,
.calendar-timeline-buffer {
  z-index: 2;
  /* border-top: 1px solid color-mix(in oklab, var(--muted) 22%, transparent); */
  border-bottom: 1px solid color-mix(in oklab, var(--muted) 18%, transparent);
  background: color-mix(in oklab, var(--muted) 10%, var(--surface-soft));
  pointer-events: none;
}

.calendar-timeline-buffer {
  left: 8px;
  right: 8px;
  border-radius: var(--radius);
}

.calendar-timeline-lock-zone {
  z-index: 3;
  left: 8px;
  right: 8px;
  box-sizing: border-box;
  min-height: 5px;
  color: var(--text-strong);
  cursor: help;
  overflow: visible;
  isolation: isolate;
}

.calendar-timeline-lock-zone::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  box-sizing: border-box;
  /* border-block: 1px solid color-mix(in oklab, var(--text-strong) 28%, transparent); */
  border-radius: 4px;
  background-color: color-mix(in oklab, var(--surface-soft) 82%, var(--text-strong) 18%);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 4px,
    color-mix(in oklab, var(--text-strong) 18%, transparent) 4px,
    color-mix(in oklab, var(--text-strong) 18%, transparent) 5px
  );
  pointer-events: none;
}

.calendar-timeline-lock-zone.starts-behind-booking::before {
  top: -24px;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
}

.calendar-timeline-lock-zone.ends-behind-booking::before {
  bottom: -24px;
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}

.calendar-timeline-lock-zone > span {
  position: absolute;
  inset: 0 7px;
  display: flex;
  align-items: center;
  max-width: calc(100% - 14px);
  font-size: 9px;
  line-height: 1;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.calendar-timeline-lock-zone.is-compact > span {
  display: none;
}

.calendar-timeline-lock-zone:hover,
.calendar-timeline-lock-zone:focus-visible {
  outline: none;
}

.calendar-timeline-lock-zone:hover::before,
.calendar-timeline-lock-zone:focus-visible::before {
  border-color: color-mix(in oklab, var(--text-strong) 46%, transparent);
  background-color: color-mix(in oklab, var(--surface-soft) 72%, var(--text-strong) 28%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--text-strong) 22%, transparent);
}

.calendar-timeline-lock-zone.is-owner-block::before {
  background-color: color-mix(in oklab, var(--surface) 68%, var(--muted) 32%);
}

.calendar-timeline-tooltip {
  position: fixed;
  z-index: 10020;
  width: max-content;
  max-width: min(280px, calc(100vw - 16px));
  padding: 7px 9px;
  border: 1px solid color-mix(in oklab, var(--surface) 22%, var(--text-strong));
  border-radius: 7px;
  background: var(--text-strong);
  color: var(--surface);
  box-shadow: 0 6px 18px color-mix(in oklab, var(--text-strong) 22%, transparent);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  pointer-events: none;
}

.calendar-timeline-tooltip[hidden] {
  display: none;
}

.calendar-timeline-block {
  position: absolute;
  left: 8px;
  right: 8px;
  z-index: 4;
  display: grid;
  align-content: start;
  gap: 3px;
  box-sizing: border-box;
  min-height: 0;
  padding: 5px 8px;
  border: 1px solid
    color-mix(in oklab, var(--slot-color, var(--accent-mid)) 58%, var(--line));
  border-radius: var(--radius-inner);
  background: color-mix(
    in oklab,
    var(--surface) 54%,
    var(--slot-color, var(--accent-soft))
  );
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.calendar-timeline-block:hover,
.calendar-timeline-block:focus-visible,
.calendar-timeline-block.is-selected {
  border-color: color-mix(
    in oklab,
    var(--slot-color, var(--accent-mid)) 76%,
    var(--line)
  );
  background: color-mix(
    in oklab,
    var(--surface) 36%,
    var(--slot-color, var(--accent-soft))
  );
}

.calendar-timeline-block.is-selected {
  border-color: color-mix(
    in oklab,
    var(--slot-color, var(--brand-base)) 78%,
    var(--line)
  );
}

.calendar-timeline-block span {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-timeline-block strong {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
}

.calendar-timeline-block em {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 650;
}

.calendar-timeline-block.is-reserved {
  border-color: color-mix(in oklab, var(--muted) 44%, var(--line));
  background: var(--surface-soft);
  color: var(--muted);
  cursor: not-allowed;
}

.calendar-timeline-block.is-reserved.is-compact {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 3px;
}

.calendar-timeline-block.is-reserved.is-compact span,
.calendar-timeline-block.is-reserved.is-compact strong {
  line-height: 1;
  white-space: nowrap;
}

.calendar-timeline-block.is-reserved.is-compact strong::before {
  content: "·";
  margin-right: 5px;
}

.calendar-timeline-selection {
  left: 8px;
  right: 8px;
  z-index: 5;
  display: block;
  box-sizing: border-box;
  min-height: 0;
  padding: 0px 34px 12px 9px;
  border: 2px solid color-mix(in oklab, var(--text-strong) 48%, var(--accent-mid));
  border-radius: var(--radius-inner);
  background: color-mix(in oklab, var(--surface) 90%, var(--text-strong) 10%);
  color: var(--text-strong);
  pointer-events: auto;
  cursor: grab;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--text-strong) 16%, transparent);
  overflow: hidden;
}

.calendar-timeline-selection:not(.is-active) {
  border-width: 1px;
  box-shadow: 0 3px 10px color-mix(in oklab, var(--text-strong) 10%, transparent);
}

.calendar-timeline-selection:active { cursor: grabbing; }

.calendar-timeline-selection.is-resizable {
  padding-bottom: 12px;
}

.calendar-timeline-selection span {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-selection-remove {
  position: absolute;
  top: 0;
  right: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
}

.calendar-selection-remove img,
.calendar-cart-remove img {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
}

.calendar-selection-remove:hover,
.calendar-selection-remove:focus-visible {
  background: color-mix(in oklab, var(--surface) 66%, var(--text-strong) 12%);
}

.calendar-timeline-resize-handle {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  align-content: center;
  gap: 2px;
  width: 30px;
  height: 9px;
  background: transparent;
  cursor: ns-resize;
  touch-action: none;
}

.calendar-selection-cart {
  display: grid;
  gap: 6px;
}

.calendar-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--text-strong) 22%, transparent);
  border-radius: calc(var(--radius) * 0.72);
  background: color-mix(in oklab, var(--surface) 94%, var(--text-strong) 6%);
}

.calendar-cart-item.is-active {
  border-color: color-mix(in oklab, var(--text-strong) 48%, var(--accent-mid));
}

.calendar-cart-main,
.calendar-cart-remove {
  border: 0;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
}

.calendar-cart-main {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  text-align: left;
}

.calendar-cart-main span,
.calendar-cart-main small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 650;
}

.calendar-cart-main strong {
  font-size: 13px;
  line-height: 1.25;
}

.calendar-cart-remove {
  align-self: stretch;
  padding: 0;
  border-left: 1px solid var(--line-soft);
}

.calendar-cart-main:hover,
.calendar-cart-main:focus-visible,
.calendar-cart-remove:hover,
.calendar-cart-remove:focus-visible {
  background: color-mix(in oklab, var(--surface) 72%, var(--text-strong) 10%);
}

.calendar-cart-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.calendar-active-selection-title {
  margin-top: 4px !important;
  font-size: 12px !important;
  color: var(--muted) !important;
}

.calendar-timeline-resize-handle span {
  width: 18px;
  height: 1px;
  margin: 0 auto;
  border-radius: 1px;
  background: color-mix(in oklab, var(--text) 46%, transparent);
}

.calendar-timeline-selection.is-resizable:hover
  .calendar-timeline-resize-handle,
.calendar-timeline-resize-handle:focus-visible {
  background: transparent;
}

.calendar-selection-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.calendar-selection-empty {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.calendar-selection-empty strong {
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 750;
}

.calendar-selection-empty span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
}

.calendar-time-controls,
.calendar-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calendar-time-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-time-input-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.calendar-time-input-wrap input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.calendar-time-input-wrap input[type="number"]::-webkit-inner-spin-button,
.calendar-time-input-wrap input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calendar-time-input-wrap input[data-calendar-duration-input] {
  appearance: textfield !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
}

.calendar-time-input-wrap input[data-calendar-duration-input]::-webkit-inner-spin-button,
.calendar-time-input-wrap input[data-calendar-duration-input]::-webkit-outer-spin-button {
  display: none !important;
  margin: 0 !important;
  opacity: 0 !important;
  -webkit-appearance: none !important;
}

.calendar-time-controls .calendar-time-input-wrap > input {
  min-height: 30px;
  padding-right: 38px;
  border-radius: 9px;
  font-variant-numeric: tabular-nums;
}

.calendar-time-stepper {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 28px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--text-strong) 18%, transparent);
  border-radius: 5px;
  background: color-mix(in oklab, var(--surface) 86%, var(--text-strong) 14%);
}

.calendar-time-stepper button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 750;
  cursor: pointer;
}

.calendar-time-stepper button + button {
  border-top: 1px solid color-mix(in oklab, var(--text-strong) 16%, transparent);
}

.calendar-time-stepper button:hover,
.calendar-time-stepper button:focus-visible {
  background: color-mix(in oklab, var(--accent-soft) 52%, var(--surface));
  outline: none;
}

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

.calendar-reservation-form {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.calendar-checkout-panel {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.calendar-checkout-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.calendar-checkout-section + .calendar-checkout-section {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.calendar-checkout-section h5 {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.calendar-checkout-payment > label {
  display: grid;
  gap: 5px;
  width: min(100%, 360px);
}

.calendar-checkout-payment > label > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-payment-fixed {
  display: grid;
  width: min(100%, 360px);
  gap: 3px;
}

.calendar-payment-fixed > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-payment-fixed > strong {
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.calendar-payment-unavailable {
  display: grid;
  gap: 3px;
  width: min(100%, 420px);
  padding: 10px 12px;
  border: 1px solid color-mix(in oklab, #a52d35 24%, transparent);
  border-radius: min(var(--radius), 8px);
  background: color-mix(in oklab, #fff1f1 84%, var(--surface) 16%);
}

.calendar-payment-unavailable strong {
  color: #8f2931;
  font-size: 13px;
}

.calendar-payment-unavailable span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.calendar-checkout-payment > label > select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid color-mix(in oklab, var(--text-strong) 30%, transparent);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 92%, var(--text-strong) 8%);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 650;
}

.calendar-form-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.calendar-form-title strong {
  color: var(--text-strong);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 750;
}

.calendar-form-title span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 650;
  text-align: right;
}

.calendar-time-controls label,
.calendar-form-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.calendar-time-controls span,
.calendar-form-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-time-controls select,
.calendar-time-controls input,
.calendar-form-grid input,
.calendar-form-grid select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px 5px 10px;
  border: 1px solid color-mix(in oklab, var(--text-strong) 30%, transparent);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 92%, var(--text-strong) 8%);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--text-strong) 7%, transparent);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.calendar-checkout-payment > label > select:hover,
.calendar-time-controls select:hover,
.calendar-time-controls input:hover,
.calendar-form-grid input:hover,
.calendar-form-grid select:hover {
  border-color: color-mix(in oklab, var(--text-strong) 46%, transparent);
}

.calendar-checkout-payment > label > select:focus,
.calendar-time-controls select:focus,
.calendar-time-controls input:focus,
.calendar-form-grid input:focus,
.calendar-form-grid select:focus {
  border-color: color-mix(in oklab, var(--text-strong) 56%, var(--accent-mid));
  outline: none;
  background: color-mix(in oklab, var(--surface) 96%, var(--text-strong) 4%);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--text-strong) 14%, transparent);
}

.calendar-form-grid input::placeholder { color: color-mix(in oklab, var(--muted) 72%, transparent); }

.calendar-time-controls input[readonly] {
  color: var(--muted);
  background: color-mix(in oklab, var(--muted) 8%, var(--surface-soft));
}

.calendar-reservation-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.calendar-reservation-summary div {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border: 1px solid color-mix(in oklab, var(--text-strong) 22%, transparent);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 94%, var(--text-strong) 6%);
}

.calendar-reservation-summary span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-reservation-summary strong {
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
}

.calendar-reservation-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-top: 2px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.calendar-reservation-total strong {
  color: var(--text-strong);
  font-size: 16px;
  white-space: nowrap;
}

.calendar-payment-note {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in oklab, var(--accent-mid) 28%, var(--line));
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.calendar-payment-note p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
}

.calendar-payment-note img,
.calendar-reservation-success img {
  width: min(180px, 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.calendar-form-error {
  margin: 0;
  color: #9b2828;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.calendar-booking-consent,
.room-assistant__booking-consent,
.room-assistant__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.calendar-booking-consent {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.calendar-booking-consent input,
.room-assistant__booking-consent input,
.room-assistant__consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--brand-base);
}

.calendar-booking-consent a,
.room-assistant__booking-consent a,
.room-assistant__consent a {
  color: var(--text-strong);
  font-weight: 700;
  text-underline-offset: 2px;
}

.calendar-reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid
    color-mix(in oklab, var(--brand-base) 78%, var(--text-strong));
  border-radius: var(--radius);
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.calendar-reserve-button:hover,
.calendar-reserve-button:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 60%, var(--text-strong));
  background: var(--button-primary-hover-bg);
}

.calendar-reserve-button:disabled {
  cursor: default;
  opacity: 0.6;
}

.calendar-reservation-success {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.calendar-success-heading {
  display: grid;
  gap: 5px;
}

.calendar-success-heading > strong {
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 750;
}

.calendar-success-heading p,
.calendar-success-payment-note {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
}

.calendar-success-bookings {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.calendar-success-bookings li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 9px 2px;
}

.calendar-success-bookings li + li {
  border-top: 1px solid var(--line-soft);
}

.calendar-success-bookings span {
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.calendar-success-bookings strong {
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
  white-space: nowrap;
}

.calendar-success-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  overflow: hidden;
}

.calendar-success-summary > div {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 10px 11px;
}

.calendar-success-summary > div + div {
  border-left: 1px solid var(--line);
}

.calendar-success-summary dt,
.calendar-success-summary dd {
  margin: 0;
}

.calendar-success-summary dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.calendar-success-summary dd {
  min-width: 0;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 750;
}

.calendar-success-codes {
  display: grid;
  gap: 2px;
}

.calendar-success-codes code {
  display: block;
  min-width: 0;
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}

.calendar-success-payment-note {
  padding: 10px 11px;
  border-left: 3px solid color-mix(in oklab, var(--brand-base) 58%, var(--text-strong));
  background: var(--surface-soft);
}

.calendar-empty {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.calendar-empty strong {
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 650;
}

.calendar-empty span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.profile-card {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 18px;
  padding: 22px;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-card.is-hidden {
  display: none;
}

.profile-card-kicker,
.profile-card-section-title,
.profile-card-meta {
  margin: 0;
}

.profile-card-kicker,
.profile-card-section-title {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.profile-card-top {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.profile-card-top.has-no-image {
  grid-template-columns: 1fr;
}

.profile-card-image {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  cursor: zoom-in;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.profile-card-image:hover,
.profile-card-image:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand-base) 48%, transparent);
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-image img[src$=".svg"] {
  width: 58%;
  height: auto;
  object-fit: contain;
}

.profile-card-top-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 0;
  min-width: 0;
}

.profile-card-name {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 650;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.profile-card-meta,
.profile-card-copy {
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.profile-card-section {
  display: grid;
  gap: 6px;
  padding-top: 4px;
  border-top: 0;
}

.person-card-contact-lines {
  display: grid;
  gap: 5px;
  margin-top: -4px;
  min-width: 0;
}

.person-card-contact-lines .contact-card-line,
.person-card-contact-lines a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.person-card a {
  color: inherit;
}

.person-card a:hover,
.person-card a:focus-visible {
  color: color-mix(in oklab, var(--brand-base) 64%, var(--text-strong));
}

.profile-card-copy {
  margin: 0;
}

.profile-card-section,
.profile-card-links {
  min-width: 0;
}

.profile-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.profile-link-chip:hover,
.profile-link-chip:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 40%, var(--line));
  background: var(--surface-tint);
}

@media (min-width: 980px) {
  .info-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: start;
    gap: 16px;
  }

  .profile-card {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 84px;
    min-height: 400px;
  }

  .location-card {
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    min-height: 400px;
  }

  .info-main-grid.has-no-profile-card {
    grid-template-columns: 1fr;
  }

  .info-main-grid.has-no-profile-card .location-card {
    grid-column: 1;
  }

  .info-main-grid.has-no-location-card {
    grid-template-columns: 1fr;
  }

  .info-main-grid.has-no-location-card .profile-card {
    position: static;
    grid-column: 1;
    align-self: start;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .calendar-card {
    padding: 20px;
  }

  .map-placeholder,
  .map-embed-shell,
  .map-embed {
    height: 100%;
    min-height: 100%;
  }
}

@media (min-width: 1120px) {
  .calendar-browser {
    grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
    align-items: start;
    gap: 18px;
  }

  .calendar-picker-panel {
    padding-right: 18px;
    border-right: 1px solid var(--line);
  }

}

@media (min-width: 1240px) {
  .calendar-live {
    grid-template-columns: minmax(300px, 1.05fr) minmax(270px, 0.72fr) minmax(390px, 1.15fr);
    align-items: start;
    gap: 18px;
  }

  .calendar-browser {
    display: contents;
  }

  .calendar-picker-panel {
    grid-column: 1;
  }

  .calendar-slots-panel {
    grid-column: 2;
    padding-right: 18px;
    border-right: 1px solid var(--line);
  }

  .calendar-checkout-panel {
    grid-column: 3;
    padding-top: 0;
    border-top: 0;
  }

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

  .calendar-form-grid label:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1360px) {
  .site-shell {
    width: min(calc(100% - 72px), 1280px);
  }

  .info-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  }
}

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

.calendar-weekdays {
  margin-bottom: 10px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 36px 0 16px;
  border-top: 0;
  background: var(--footer-bg);
  color: var(--text-strong);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  width: min(calc(100% - 56px), 1180px);
  margin: 0 auto;
  gap: 36px;
  align-items: stretch;
}

.footer-brand,
.footer-cta {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  height: 100%;
}

.footer-brand {
  gap: 14px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 220px;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand-logo-dark {
  display: none !important;
}

body.is-dark-theme .footer-brand-logo-standard {
  display: none;
}

body.is-dark-theme .footer-brand-logo-dark {
  display: block !important;
}

.footer-brand-copy {
  display: grid;
  gap: 10px;
}

.footer-cta h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.footer-brand-copy p,
.footer-cta p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.footer-brand-button,
.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  padding: 0 16px;
  border: 1px solid var(--footer-button-border);
  border-radius: var(--radius-small);
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.footer-brand-button {
  background: var(--footer-button-brand-bg);
}

.footer-cta-button {
  background: var(--footer-button-cta-bg);
  color: var(--button-primary-text);
}

.footer-brand-button:hover,
.footer-brand-button:focus-visible,
.footer-cta-button:hover,
.footer-cta-button:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 60%, var(--line));
  background: var(--footer-button-hover-bg);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  width: min(calc(100% - 56px), 1180px);
  margin: 26px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--footer-line);
}

.footer-legal a {
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 550;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 32px), 742px);
  }

  .owner-brand {
    flex-basis: auto;
    max-width: calc(100% - 64px);
  }

  .owner-name.is-faded {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
  }

  .header-inner {
    align-items: center;
    flex-wrap: nowrap;
    min-height: 64px;
    padding: 8px 0;
  }

  .section {
    padding-top: 46px;
  }

  .section-description {
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .section-description:has(.description-content p:not(:empty))
    + .section-info-stack {
    padding-top: 56px;
  }

  .section-description .description-content p {
    font-size: 18px;
    line-height: 1.6;
  }

  .offer-details-card {
    gap: 10px;
    padding: 20px;
  }

  .offer-details-card:not(.is-content-hidden) + .calendar-card {
    margin-top: -2.75rem;
  }

  .offer-details-card p {
    font-size: 16px;
    line-height: 1.35;
  }

  .section-gallery {
    --carousel-media-height-limit: min(210px, 30vh);
    --carousel-mobile-max-width: calc(100vw - 56px);
  }

  .carousel-viewport {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 14px 12px 26px;
    scroll-padding-inline: 12px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
  }

  .carousel-stage {
    gap: 12px;
  }

  .carousel-image {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    height: auto;
  }

  .carousel-wrap.is-static-gallery .carousel-image {
    flex: 0 1 auto;
    width: fit-content;
    max-width: var(--carousel-mobile-max-width);
    height: auto;
  }

  .carousel-card,
  .carousel-surface {
    width: fit-content;
    max-width: none;
    height: auto;
  }

  .carousel-wrap.is-static-gallery .carousel-card,
  .carousel-wrap.is-static-gallery .carousel-surface {
    width: fit-content;
    max-width: var(--carousel-mobile-max-width);
    height: auto;
  }

  .carousel-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .carousel-surface img {
    display: block;
    width: auto;
    height: var(--carousel-media-height, var(--carousel-media-height-limit));
    max-width: none;
    max-height: none;
  }

  .carousel-wrap.is-static-gallery .carousel-surface img {
    display: block;
    width: auto;
    height: auto;
    max-width: var(--carousel-mobile-max-width);
    max-height: var(--carousel-media-height-limit);
  }

  .carousel-surface {
    height: var(--carousel-media-height, var(--carousel-media-height-limit));
  }

  .location-card {
    grid-template-rows: auto;
  }

  .location-card-top,
  .location-card-bottom {
    grid-template-columns: 1fr;
  }

  .contact-card {
    margin: 0 12px 12px;
  }

  .location-card-bottom {
    border-top: 0;
  }

  .location-card-bottom.has-location-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: start;
    gap: 10px;
    padding: 10px;
  }

  .location-card-bottom.has-location-image-only {
    grid-template-columns: 112px;
    justify-content: end;
  }

  .location-card-image {
    position: static;
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
    border-color: var(--line);
    box-shadow: none;
  }

  .location-card:has(.location-card-image) .location-card-address {
    max-width: calc(100% - 150px);
  }

  .carousel-viewport {
    scroll-padding-inline: 18px;
    margin-inline: 0;
    padding: 20px 18px 38px;
  }

  .intro-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .intro-row {
    align-items: flex-start;
    gap: 16px;
  }

  .hero-book-button {
    margin-top: 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
    z-index: 45;
  }

  .header-nav {
    position: fixed;
    inset: 0;
    min-height: 100svh;
    height: 100svh;
    z-index: 40;
    display: flex;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    padding: 0 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: color-mix(in oklab, var(--surface) 72%, transparent);
    backdrop-filter: blur(18px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease;
  }

  .site-header.is-open .header-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .header-nav a {
    font-size: 32px;
    padding: 8px 0;
    width: auto;
    text-align: center;
  }

  .header-nav .header-cta-button {
    min-height: 52px;
    padding: 0 22px;
    font-size: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(calc(100% - 32px), 920px);
  }

  .footer-legal {
    width: min(calc(100% - 32px), 920px);
    justify-content: flex-start;
  }

  .calendar-slot-card {
    display: block;
  }

  .calendar-slot-button {
    width: auto;
  }

  .calendar-slot-card.is-selected {
    display: block;
  }

  .calendar-slot-card.is-selected .calendar-slot-button {
    width: auto;
  }

  .calendar-day-layout {
    grid-template-columns: 1fr;
  }

  .calendar-day-timeline {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 280px;
  }

  .calendar-timeline-hours,
  .calendar-timeline-track {
    min-height: 280px;
  }

  .calendar-reservation-summary,
  .calendar-success-summary {
    grid-template-columns: 1fr;
  }

  .calendar-success-summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .calendar-success-bookings li {
    display: grid;
    gap: 2px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 24px), 742px);
  }

  .text-block p,
  .footer-block p {
    font-size: 16px;
  }

  .description-block {
    --description-collapsed-height: 7.2rem;
    --description-fade-size: 3rem;
  }

  .section h2 {
    font-size: 24px;
  }

  .section-gallery {
    --carousel-media-height-limit: min(200px, 30vh);
    --carousel-mobile-max-width: calc(100vw - 44px);
  }

  .carousel-viewport {
    padding-inline: 10px;
    scroll-padding-inline: 10px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 12px,
      #000 calc(100% - 12px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 12px,
      #000 calc(100% - 12px),
      transparent 100%
    );
  }

  .location-card-address,
  .contact-card,
  .map-placeholder {
    padding-inline: 20px;
  }

  .location-card-address .location-card-kicker {
    font-size: 15px;
  }

  .location-card-line {
    font-size: 16px;
  }

  .location-card-image {
    width: 104px;
    max-width: 104px;
    justify-self: end;
  }

  .location-card-bottom.has-location-image {
    grid-template-columns: 1fr;
  }

  .location-card-bottom.has-location-image-only {
    grid-template-columns: 104px;
    justify-content: end;
  }

  .location-card:has(.location-card-image) .location-card-address {
    max-width: calc(100% - 32px);
  }

  .contact-card-name {
    font-size: 18px;
  }

  .contact-card-line {
    font-size: 15px;
  }

  .calendar-card {
    padding: 18px;
  }

  .calendar-widget-head h3 {
    font-size: 22px;
  }

  .calendar-monthbar {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .calendar-nav-button {
    width: 36px;
    height: 36px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }

  .calendar-day-button span {
    font-size: 13px;
  }

  .calendar-slot-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .calendar-slot-head .calendar-slot-head-status {
    justify-items: start;
    text-align: left;
  }

  .calendar-time-controls,
  .calendar-form-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day-timeline {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 260px;
  }

  .calendar-timeline-hours,
  .calendar-timeline-track {
    min-height: 260px;
  }

  .calendar-timeline-block {
    left: 6px;
    right: 6px;
    padding: 7px;
  }

  h2.location-card-title {
    font-size: 16px;
  }
}

.leaflet-control-attribution.leaflet-control {
  max-width: calc(100% - 12px);
  margin: 0 6px 4px 0;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
  color: #465266;
  font-size: 8px;
  line-height: 1.25;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.room-assistant {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 900;
  font-family: inherit;
}

.room-assistant__launcher {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid color-mix(in oklab, var(--brand-base) 52%, var(--line));
  border-radius: var(--radius);
  background: var(--button-primary-bg);
  box-shadow: 0 12px 32px rgba(16, 21, 29, 0.2);
  color: var(--button-primary-text);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.room-assistant__launcher:hover,
.room-assistant__launcher:focus-visible {
  background: var(--button-primary-hover-bg);
  border-color: color-mix(in oklab, var(--brand-base) 72%, var(--line));
  box-shadow: 0 14px 36px rgba(16, 21, 29, 0.25);
}

.room-assistant__launcher img,
.room-assistant__launcher svg {
  display: block;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
}

.room-assistant__backdrop {
  display: none;
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.room-assistant.is-open .room-assistant__backdrop {
  display: block;
}

.room-assistant__panel {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 70px;
  width: min(410px, calc(100vw - 32px));
  height: min(680px, calc(100dvh - 112px));
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(12, 18, 27, 0.28);
  color: var(--text);
}

.room-assistant__panel:not([hidden]) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: room-assistant-enter 180ms ease-out both;
}

@keyframes room-assistant-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.room-assistant__header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
}

.room-assistant__header-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.room-assistant__header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.room-assistant__header strong {
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.25;
}

.room-assistant__header span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-assistant__header button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  color: var(--text-strong);
  cursor: pointer;
}

.room-assistant__header .room-assistant__clear {
  width: auto;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.room-assistant__header button:hover,
.room-assistant__header button:focus-visible {
  border-color: var(--line);
  background: var(--surface-tint);
}

.room-assistant__header button img,
.room-assistant__header button svg {
  width: 21px;
  height: 21px;
}

.room-assistant__messages {
  display: flex;
  min-height: 0;
  overflow: auto;
  padding: 18px;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.room-assistant__message {
  max-width: 88%;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.room-assistant__message p {
  margin: 0;
}

.room-assistant__message p + p,
.room-assistant__message p + ul,
.room-assistant__message ul + p {
  margin-top: 7px;
}

.room-assistant__message ul {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  padding-left: 18px;
}

.room-assistant__message a {
  color: inherit;
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.room-assistant__message code {
  padding: 1px 4px;
  border-radius: 4px;
  background: color-mix(in oklab, var(--surface) 75%, transparent);
  font: 0.9em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.room-assistant__message.is-user {
  align-self: flex-end;
  border-color: color-mix(in oklab, var(--brand-base) 44%, var(--line));
  background: var(--accent-soft);
  color: var(--text-strong);
}

.room-assistant__message.is-typing {
  width: fit-content;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 13px;
}

.room-assistant__message.is-typing p {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 5px;
}

.room-assistant__message.is-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: room-assistant-dot 900ms ease-in-out infinite;
}

.room-assistant__message.is-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.room-assistant__message.is-typing span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes room-assistant-dot {
  0%,
  60%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.room-assistant__welcome {
  display: grid;
  width: min(100%, 330px);
  justify-items: center;
  gap: 14px;
  margin: auto;
  text-align: center;
}

.room-assistant__welcome-icon {
  display: block;
  width: 42px;
  height: 42px;
  color: var(--text-strong);
}

.room-assistant__welcome-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.room-assistant__welcome-copy {
  margin: 0;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.48;
}

.room-assistant__notice {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.room-assistant__suggestions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.room-assistant__cards {
  display: grid;
  width: min(100%, 390px);
  align-self: flex-start;
  gap: 8px;
}

.room-assistant__info-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  line-height: 1.42;
}

.room-assistant__info-card h3,
.room-assistant__info-card p,
.room-assistant__info-card ul,
.room-assistant__info-card dl {
  margin: 0;
}

.room-assistant__info-card h3 {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.3;
}

.room-assistant__owner-top {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.room-assistant__owner-top img,
.room-assistant__location-layout img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.room-assistant__owner-top > div,
.room-assistant__location-layout > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.room-assistant__owner-top > div > strong,
.room-assistant__location-layout strong {
  color: var(--text-strong);
  font-size: 14px;
}

.room-assistant__card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.room-assistant__card-fields > a,
.room-assistant__card-fields > span {
  display: grid;
  min-width: 0;
  gap: 1px;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.room-assistant__card-fields small {
  color: var(--muted);
  font-size: 10px;
}

.room-assistant__card-fields strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-assistant__location-layout {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.room-assistant__location-layout span {
  color: var(--muted);
}

.room-assistant__info-card dl {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  gap: 5px 10px;
}

.room-assistant__info-card dt {
  color: var(--muted);
}

.room-assistant__info-card dd {
  margin: 0;
  color: var(--text-strong);
  font-weight: 680;
}

.room-assistant__info-card ul {
  display: grid;
  gap: 4px;
  padding-left: 17px;
}

.room-assistant__card-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text-strong);
  font-weight: 720;
  text-decoration: none;
}

.room-assistant__card-action:hover,
.room-assistant__card-action:focus-visible,
.room-assistant__card-fields > a:hover,
.room-assistant__card-fields > a:focus-visible {
  border-color: color-mix(in oklab, var(--brand-base) 52%, var(--line));
  background: var(--surface-tint);
}

.room-assistant__suggestions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text-strong);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.room-assistant__suggestions button:hover,
.room-assistant__suggestions button:focus-visible {
  background: var(--surface-soft);
  border-color: color-mix(in oklab, var(--brand-base) 52%, var(--line));
}

.room-assistant__fields {
  display: grid;
  width: min(100%, 390px);
  align-self: flex-start;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
}

.room-assistant__fields h3,
.room-assistant__fields p {
  margin: 0;
}

.room-assistant__fields h3 {
  color: var(--text-strong);
  font-size: 13px;
}

.room-assistant__fields > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.room-assistant__fields-form {
  display: grid;
  gap: 9px;
  margin-top: 5px;
}

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

.room-assistant__field {
  display: grid;
  min-width: 0;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
}

.room-assistant__field.is-customer_email,
.room-assistant__field.is-payment_method {
  grid-column: 1 / -1;
}

.room-assistant__field input,
.room-assistant__field select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  outline: none;
  background: var(--surface);
  color: var(--text-strong);
  font: inherit;
  font-size: 12px;
  font-weight: 560;
}

.room-assistant__field input:focus,
.room-assistant__field select:focus {
  border-color: color-mix(in oklab, var(--brand-base) 52%, var(--line));
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand-base) 9%, transparent);
}

.room-assistant__fields-form > button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid color-mix(in oklab, var(--brand-base) 52%, var(--line));
  border-radius: var(--radius-small);
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.room-assistant__fields-form > button:hover,
.room-assistant__fields-form > button:focus-visible {
  background: var(--button-primary-hover-bg);
}

.room-assistant__fields :disabled {
  opacity: 0.6;
  cursor: wait;
}

.room-assistant__review,
.room-assistant__success {
  display: grid;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--surface-soft);
  box-shadow: 0 6px 20px rgba(20, 25, 34, 0.08);
}

.room-assistant__review h3,
.room-assistant__success h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 15px;
}

.room-assistant__review-intro,
.room-assistant__review-preview-notice {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
}

.room-assistant__review-groups {
  display: grid;
  gap: 12px;
}

.room-assistant__review-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.room-assistant__review-group + .room-assistant__review-group {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.room-assistant__review-group h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
}

.room-assistant__review dl,
.room-assistant__success dl {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
  gap: 7px 12px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.room-assistant__review dt,
.room-assistant__success dt {
  color: var(--muted);
}

.room-assistant__review dd,
.room-assistant__success dd {
  margin: 0;
  color: var(--text-strong);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.room-assistant__review button,
.room-assistant__success a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid color-mix(in oklab, var(--brand-base) 52%, var(--line));
  border-radius: var(--radius-small);
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.room-assistant__review-confirm {
  width: 100%;
}

.room-assistant__review button:hover,
.room-assistant__review button:focus-visible,
.room-assistant__success a:hover,
.room-assistant__success a:focus-visible {
  background: var(--button-primary-hover-bg);
}

.room-assistant__review button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.room-assistant__review button.is-preview:disabled {
  cursor: not-allowed;
}

.room-assistant__review button.is-preview:disabled:hover,
.room-assistant__review button.is-preview:disabled:focus-visible {
  background: var(--button-primary-bg);
}

.room-assistant__review-error {
  margin: 0;
  color: #a63c45;
  font-size: 12px;
}

.room-assistant__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

.room-assistant__consent {
  grid-column: 1 / -1;
  padding: 0 1px;
  font-size: 10px;
}

.room-assistant__consent[hidden] {
  display: none;
}

.room-assistant__booking-consent {
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: var(--surface);
  font-size: 11px;
}

.room-assistant__composer textarea {
  width: 100%;
  min-height: 44px;
  max-height: 85px;
  field-sizing: content;
  overflow-x: hidden;
  overflow-y: auto;
  resize: none;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  outline: none;
  background: color-mix(in oklab, var(--surface) 92%, #fff);
  color: var(--text-strong);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.room-assistant__composer textarea:focus,
.room-assistant__composer textarea:focus-visible {
  outline: none;
  border-color: color-mix(in oklab, var(--brand-base) 48%, var(--line));
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand-base) 9%, transparent);
}

.room-assistant__composer textarea::placeholder {
  overflow: hidden;
  color: color-mix(in oklab, var(--muted) 56%, var(--surface));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-assistant__composer > button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  color: var(--text-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.room-assistant__composer > button:hover,
.room-assistant__composer > button:focus-visible {
  background: var(--surface-tint);
}

.room-assistant__composer > button:disabled,
.room-assistant__composer textarea:disabled {
  opacity: 0.6;
  cursor: wait;
}

.room-assistant__composer.is-awaiting-consent > button:disabled,
.room-assistant__composer.is-awaiting-consent textarea:disabled {
  cursor: default;
}

body.is-assistant-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .room-assistant {
    inset: auto 14px max(14px, env(safe-area-inset-bottom)) auto;
  }

  .room-assistant__launcher {
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .room-assistant__launcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .room-assistant.is-open {
    inset: 0;
  }

  .room-assistant.is-open .room-assistant__launcher {
    display: none;
  }

  .room-assistant__backdrop {
    display: none;
  }

  .room-assistant__panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .room-assistant__panel:not([hidden]) {
    animation: none;
  }

  .room-assistant__header {
    min-height: calc(62px + env(safe-area-inset-top));
    padding: calc(9px + env(safe-area-inset-top)) 12px 9px 16px;
  }

  .room-assistant__messages {
    padding: 16px;
  }

  .room-assistant__fields-grid {
    grid-template-columns: 1fr;
  }

  .room-assistant__field.is-customer_email,
  .room-assistant__field.is-payment_method {
    grid-column: auto;
  }

  .room-assistant__message {
    max-width: 92%;
  }

  .room-assistant__composer {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .owner-mark,
  .owner-name,
  .intro-logo-placeholder,
  .intro h1 {
    transition: none;
  }

  .room-assistant__panel:not([hidden]) {
    animation: none;
  }

  .room-assistant__messages {
    scroll-behavior: auto;
  }

  .room-assistant__message.is-typing span {
    animation: none;
  }
}

.room-preview-notice {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  width: min(680px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 18px;
  color: var(--text-strong);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 42px color-mix(in oklab, #000 22%, transparent);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.room-preview-notice[hidden] {
  display: none;
}

.room-preview-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.room-preview-notice > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.room-preview-notice strong,
.room-preview-notice span {
  display: block;
}

.room-preview-notice span {
  color: var(--text-regular);
  font-size: 0.9rem;
}

.room-preview-notice__action,
.room-preview-notice__close {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-strong);
  background: var(--surface-soft);
  cursor: pointer;
}

.room-preview-notice__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.room-preview-notice__close {
  width: 40px;
  padding: 0;
  font: inherit;
  font-size: 1.35rem;
}

.room-preview-notice__action:hover,
.room-preview-notice__close:hover {
  background: var(--surface-tint);
  border-color: color-mix(in oklab, var(--text-strong) 28%, var(--surface));
}

.calendar-preview-notice {
  margin: 0;
  color: var(--text-regular);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .public-page,
  .intro-copy,
  .intro-heading-row,
  .info-stack,
  .offer-details-card,
  .calendar-card,
  .calendar-booking-layout,
  .calendar-month-panel,
  .calendar-day-panel,
  .calendar-checkout-panel,
  .calendar-checkout-section {
    min-width: 0;
    max-width: 100%;
  }

  .intro h1,
  .offer-details-card,
  .calendar-checkout-panel,
  .calendar-checkout-panel :is(label, p, strong, span) {
    overflow-wrap: anywhere;
  }

  .calendar-checkout-panel :is(input, select, textarea, button) {
    max-width: 100%;
  }

  .room-preview-notice {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: calc(100vw - 20px);
    padding: 13px;
  }

  .room-preview-notice__action {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .room-preview-notice__close {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-preview-notice {
    transition: none;
  }
}

/* === CSS: playframe-setup.css [root] === */
body:has(.setup-shell) {
  --page-bg: #f5f6f8;
  --glass: rgba(248, 249, 251, 0.82);
  --field-bg: #ffffff;
  --surface-soft: #fbfbfc;
  --surface-muted: #eef1f4;
  --line: rgba(112, 127, 148, 0.14);
  --line-strong: rgba(112, 127, 148, 0.22);
  --shadow-soft: 0 10px 30px rgba(120, 133, 148, 0.08);
  --text: #5f6672;
  --text-strong: #434955;
  --muted: #939aa7;
  --placeholder: #c1c7d1;
  --green: #a5edaf;
  --green-text: #0a5c18;
  --cyan: #b8f0f0;
  --cyan-text: #0f5859;
  --danger-bg: #ffdada;
  --danger-text: #8d1111;
  --current-theme-chroma: 0.755;
  --current-contrast: 1;
  --setup-brand-swatch: oklch(0.625 0.210 335deg);
  --setup-brand-soft: oklch(0.682 0.100 335deg);
  --setup-brand-soft-2: oklch(0.689 0.118 335deg);
  --setup-brand-mid: oklch(0.680 0.135 335deg);
  --setup-brand-strong: oklch(0.751 0.146 335deg);
  --setup-brand-border: oklch(0.609 0.094 335deg);
  --setup-brand-shadow: oklch(0.751 0.082 335deg / 0.18);
  --radius: 12px;
  --gap: 14px;
  --progress-height: 58px;
  --footer-height: 72px;
}
* {
  box-sizing: border-box;
}

body:has(.setup-shell) {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(var(--footer-height) + 18px);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #f8f9fb 0%, var(--page-bg) 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

body:has(.modal-layer.is-open) {
  overflow: hidden;
}

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

button, a, input[type="submit"], #hueSlider, #contrastSlider, #saturationSlider {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(8, 94, 97, 0.35);
  outline-offset: 2px;
}

.setup-shell {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: 0 30px 34px;
}

.progress-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -30px 46px;
  padding: 28px 30px 0px;
  background: #fbfbfc1a;
  background: rgba(246, 248, 251, 0.31);
  /* border-bottom: 1px solid #fdfdfe; */
  backdrop-filter: blur(5px);
}

.progress-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand actions"
    "steps steps";
  align-items: center;
  row-gap: 12px;
  width: min(100%, 790px);
  margin: 0 auto;
}

.progress-brand {
  grid-area: brand;
  position: static;
  display: block;
  width: 146px;
  border-radius: 6px;
  transform: none;
}

.progress-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.progress-brand:focus-visible {
  outline: 2px solid rgba(15, 123, 128, 0.3);
  outline-offset: 4px;
}

.setup-header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.setup-account-link,
.setup-logout-button {
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.setup-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.setup-account-link[hidden],
.setup-logout-button[hidden],
#setupLoginButton[hidden],
#clearDraftButton[hidden],
.setup-logout-button[hidden] {
  display: none;
}

.setup-account-link:hover,
.setup-account-link:focus-visible,
.setup-logout-button:hover,
.setup-logout-button:focus-visible {
  color: var(--text-strong);
  border-color: var(--line-strong);
}

.setup-login-dialog {
  display: grid;
  gap: 12px;
  min-width: min(420px, 76vw);
  text-align: left;
}

.setup-login-dialog__field {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.setup-login-dialog__field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--text-strong);
  font: inherit;
}

.setup-login-dialog__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--text-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.setup-login-dialog__social:hover,
.setup-login-dialog__social:focus-visible {
  border-color: #a7b5c7;
  background: #f7f9fb;
}

.setup-login-dialog__social:focus-visible {
  outline: 2px solid rgba(15, 116, 121, 0.28);
  outline-offset: 2px;
}

.setup-login-dialog__google-mark,
.setup-login-dialog__google-mark svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.setup-login-dialog__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.setup-login-dialog__divider::before,
.setup-login-dialog__divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.setup-login-dialog__status {
  min-height: 20px;
  margin: 0;
  color: #a42f2f;
  font-size: 13px;
  font-weight: 650;
}

.setup-login-dialog__recovery {
  width: fit-content;
  color: #0f7479;
  font-size: 13px;
  font-weight: 700;
}

.steps-wrap {
  grid-area: steps;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 10px;
  /* border-bottom: 1px solid rgba(112, 127, 148, 0.08); */
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
}

.step {
  position: relative;
  width: 147px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: rgba(229, 233, 238, 0.9);
  color: #6e7580;
  display: inline-block;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px #fdfdfe;
  overflow: hidden;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.steps--five .step {
  width: 126px;
}

.steps--five .step-line {
  flex-basis: 24px;
}

.step span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  font-size: 16px;
  white-space: nowrap;
  transition:
    left 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms ease;
}

.step img {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  transition:
    opacity 140ms ease,
    transform 380ms cubic-bezier(0.2, 2.25, 0.45, 1);
}

.step.is-active,
.step.is-complete {
  background: var(--green);
  color: var(--green-text);
}

.step:hover:not(.is-active):not(.is-complete),
.step:focus-visible:not(.is-active):not(.is-complete) {
  background: rgba(220, 225, 231, 0.96);
  color: #606875;
}

.step.is-active span,
.step.is-complete span {
  left: 14px;
  transform: translate(2px, -45%);
}

.step.is-active img,
.step.is-complete img {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.step-line {
  position: relative;
  flex: 0 0 34px;
  height: 4px;
  background: rgba(219, 224, 230, 0.95);
  overflow: hidden;
}

.step-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.step-line.is-complete {
  background: rgba(219, 224, 230, 0.95);
}

.step-line.is-complete::after {
  transform: scaleX(1);
}

.wizard {
  position: relative;
  width: min(100%, 742px);
  margin: 0 auto;
}

.page {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page.is-prepped {
  display: block;
  visibility: hidden;
}

.page.is-leaving {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: visible;
}

.form-block {
  margin-bottom: 22px;
}

.field-label {
  display: block;
  margin: 0 0 7px 6px;
  /* margin: 0 0 0 6px; */
  color: #656d79;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.15;
}

.brand-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.logo-controls {
  display: grid;
  gap: 8px;
  width: 100%;
}

.field-help-text {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.logo-picker,
.profile-image-picker,
.modal-image,
.image-tile {
  border: 0;
  border-radius: var(--radius);
  background: var(--field-bg);
  padding: 0;
  box-shadow: var(--shadow-soft);
}

.logo-picker {
  width: 100%;
  min-height: 118px;
  aspect-ratio: 20 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.logo-placeholder {
  width: 52px;
  height: 52px;
  opacity: 0.5;
}

.logo-preview {
  display: none;
  width: var(--logo-preview-width, auto);
  height: var(--logo-preview-height, auto);
  max-width: min(100%, 440px);
  max-height: 112px;
  object-fit: contain;
  object-position: center;
}

.logo-picker.has-image .logo-placeholder {
  display: none;
}

.logo-picker.has-image {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 24px;
}

.logo-picker.has-image .logo-preview {
  display: block;
}

.logo-picker:hover,
.logo-picker:focus-visible,
.profile-image-picker:hover,
.profile-image-picker:focus-visible,
.modal-image:hover,
.modal-image:focus-visible,
.image-tile:hover,
.image-tile:focus-visible {
  box-shadow: 0 12px 28px rgba(120, 133, 148, 0.12);
}

.logo-picker:hover,
.logo-picker:focus-visible,
.profile-image-picker:hover,
.profile-image-picker:focus-visible {
  border-color: var(--line-strong);
  box-shadow: none;
}

.logo-color-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--logo-color-button-background, #e9edf2), #000 18%);
  border-radius: 12px;
  background: var(--logo-color-button-background, #e9edf2);
  color: var(--logo-color-button-text, var(--text-strong));
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.logo-color-button:hover,
.logo-color-button:focus-visible {
  filter: brightness(0.94);
}

.logo-color-button:active {
  transform: translateY(1px);
}

.logo-color-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.logo-color-button[hidden] {
  display: none;
}

.brand-controls {
  display: grid;
  gap: 10px;
  width: 100%;
}

.brand-name-block {
  width: 100%;
}

.brand-name-block .field-label {
  margin-bottom: 8px;
}

.setup-description-label {
  margin-top: 14px;
}

.slug-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 51px;
  margin: 8px 0 4px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 249, 252, 0.68);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.slug-preview-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 0;
}

.slug-preview-address,
.slug-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.slug-preview-actions {
  flex-wrap: wrap;
}

.slug-preview code {
  color: var(--text-strong);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-align: right;
}

.slug-lock {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 5px;
  color: #68758a;
  cursor: help;
}

.slug-lock[hidden],
.slug-action[hidden],
.slug-preview-status[hidden] {
  display: none;
}

.slug-lock img {
  width: 15px;
  height: 15px;
}

.slug-lock:focus-visible {
  outline: 2px solid rgba(15, 123, 128, 0.22);
  outline-offset: 1px;
}

.slug-lock-tooltip {
  position: absolute;
  z-index: 40;
  right: -5px;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: min(260px, calc(100vw - 36px));
  padding: 7px 9px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 7px;
  background: #273246;
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 8px 24px rgba(32, 43, 61, 0.14);
  opacity: 0;
  pointer-events: auto;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  transform: translateY(3px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.slug-lock-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.slug-lock:hover .slug-lock-tooltip,
.slug-lock:focus .slug-lock-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.slug-action {
  display: inline;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  appearance: none;
  background: transparent !important;
  color: #0f7378;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(15, 115, 120, 0.35);
  text-underline-offset: 3px;
  box-shadow: none !important;
}

.slug-action:hover,
.slug-action:focus-visible {
  background: transparent !important;
  color: #095c60;
  text-decoration-color: currentColor;
}

.slug-action:disabled {
  color: var(--muted);
  cursor: default;
  text-decoration: none;
}

.slug-preview-status {
  max-width: 420px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  text-align: right;
}

.slug-preview-link {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.slug-preview-link:hover,
.slug-preview-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .slug-preview {
    align-items: flex-start;
  }

  .slug-preview-values,
  .slug-preview-address,
  .slug-preview-actions {
    align-items: flex-end;
  }

  .slug-lock-tooltip {
    right: -2px;
  }
}

.slug-help-text {
  margin-top: 0;
}

.shape-field,
.hue-field,
.text-input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field-bg);
  color: var(--text-strong);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.shape-field {
  margin: 0;
  padding: 16px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.shape-option {
  display: grid;
  gap: 8px;
  align-content: start;
  cursor: pointer;
  position: relative;
}

.shape-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shape-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* padding-inline: 6px; */
  position: absolute;
  top: -7px;
  right: -4px;
  scale: 1.3;
  z-index: 2;
}

.shape-card-title {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
}

.shape-card-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(112, 127, 148, 0.16);
  background: rgba(247, 249, 252, 0.9);
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85);
}

.shape-card-check::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--setup-brand-mid);
  transform: scale(0);
  transition: transform 280ms ease;
}

.shape-preview {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--setup-brand-border) 58%, rgba(112, 127, 148, 0.16));
  background: var(--setup-brand-soft);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity .2s ease,
    transform 220ms ease;
}

.shape-preview-round,
.shape-preview-round * {
  border-radius: 12px;
}

.shape-preview-sharp,
.shape-preview-sharp * {
  border-radius: 2px;
}

.shape-preview-header,
.shape-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shape-preview-logo {
  width: 42px;
  height: 18px;
  flex: 0 0 42px;
  background:
    var(--setup-logo-preview, none),
    linear-gradient(135deg, rgba(186, 190, 197, 0.95), rgba(208, 212, 218, 0.95));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.shape-preview-nav {
  width: 56px;
  height: 8px;
  background: color-mix(in oklab, var(--setup-brand-strong) 64%, rgba(177, 182, 190, 0.42));
}

.shape-preview-hero {
  flex: 1 1 auto;
  min-height: 40px;
  background: var(--setup-brand-soft-2);
}

.shape-preview-copy {
  width: 74%;
  height: 8px;
  background: color-mix(in oklab, var(--setup-brand-mid) 46%, rgba(177, 182, 190, 0.36));
  transition: background-color 220ms ease;
}

.shape-preview-chip {
  width: 44px;
  height: 14px;
  background: color-mix(in oklab, var(--setup-brand-mid) 58%, rgba(177, 182, 190, 0.24));
  transition: background-color 220ms ease;
}

.shape-preview-button {
  width: 58px;
  height: 18px;
  background: color-mix(in oklab, var(--setup-brand-mid) 72%, rgba(217, 221, 226, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition: background 220ms ease;
}

.shape-option:hover .shape-preview,
.shape-input:focus-visible ~ .shape-preview {
  border-color: color-mix(in oklab, var(--setup-brand-border) 72%, var(--line));
  /* transform: translateY(-1px); */
  opacity: .6;
}

.shape-input:checked ~ .shape-preview {
  border-color: var(--setup-brand-border);
  box-shadow: 0 14px 24px color-mix(in oklab, var(--setup-brand-shadow) 78%, transparent);
  opacity: 1;
}

.shape-input:checked ~ .shape-preview .shape-preview-logo {
  background: var(--setup-brand-mid);
  opacity: 1;
}

.shape-input:checked ~ .shape-preview .shape-preview-hero {
  background: var(--setup-brand-soft-2);
  opacity: 1;
}

.shape-input:checked ~ .shape-preview .shape-preview-button {
  background: var(--setup-brand-mid);
  opacity: 1;
}

.shape-input:checked ~ .shape-option-head .shape-card-check::after {
  transform: scale(1);
  opacity: 1;
  transition: transform 280ms cubic-bezier(0.2, 2, .8, 1);
}

body.is-mono-theme .shape-card-check::after {
  background: linear-gradient(135deg, #1f2430, #f7f8fa);
}

body.is-mono-theme .shape-input:checked ~ .shape-preview .shape-preview-logo {
  background: linear-gradient(135deg, #303641, #a9b0ba);
}

body.is-mono-theme .shape-input:checked ~ .shape-preview .shape-preview-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #f1f3f5, #d7dde4);
}

body.is-mono-theme .shape-input:checked ~ .shape-preview .shape-preview-button {
  background: #e7ebef;
}

.color-settings {
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  overflow: clip;
}

.color-settings-summary {
  min-height: 52px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.color-settings-summary::-webkit-details-marker {
  display: none;
}

.color-settings-summary::marker {
  content: "";
}

.color-settings-current {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-settings-chevron {
  width: 9px;
  height: 9px;
  margin: -4px 3px 0 2px;
  border-right: 1.75px solid #75808d;
  border-bottom: 1.75px solid #75808d;
  transform: rotate(45deg);
  transition: transform 180ms ease, margin 180ms ease;
}

.color-settings[open] .color-settings-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.color-settings-details {
  display: grid;
  gap: 2px;
  padding: 4px 0 8px;
  border-top: 1px solid rgba(112, 127, 148, 0.14);
}

.hue-field {
  display: grid;
  gap: 8px;
  padding: 10px 12px 10px 14px;
}

.hue-label-row,
.hue-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hue-label-row {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
}

.hue-value {
  min-width: 44px;
  color: #6c7480;
  font-size: 14px;
  text-align: right;
}

.hue-track {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  position: relative;
  background: linear-gradient(
    90deg,
    oklch(0.7 0.2 0deg) 0%,
    oklch(0.7 0.2 30deg),
    oklch(0.7 0.2 60deg),
    oklch(0.7 0.2 90deg),
    oklch(0.7 0.2 120deg),
    oklch(0.7 0.2 150deg),
    oklch(0.7 0.2 180deg),
    oklch(0.7 0.2 210deg),
    oklch(0.7 0.2 240deg),
    oklch(0.7 0.2 270deg),
    oklch(0.7 0.2 300deg),
    oklch(0.7 0.2 330deg),
    oklch(0.7 0.2 360deg)
  );
}

.hue-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #23272f 0 50%, #f7f8fa 50% 100%);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

#hueSlider {
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

#hueSlider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

#hueSlider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

#hueSlider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: var(--setup-brand-swatch);
  box-shadow: 0 3px 10px rgba(81, 94, 111, 0.18);
}

#hueSlider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: var(--setup-brand-swatch);
  box-shadow: 0 3px 10px rgba(81, 94, 111, 0.18);
}

.hue-swatch {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--setup-brand-swatch);
  box-shadow: inset 0 0 0 1px rgba(75, 84, 96, 0.12), inset 0 0 0 2px rgba(255, 255, 255, 0.58);
}

body.is-mono-theme #hueSlider::-webkit-slider-thumb,
body.is-mono-theme .hue-swatch {
  background: linear-gradient(135deg, #23272f 0%, #f7f8fa 100%);
}

body.is-mono-theme #hueSlider::-moz-range-thumb {
  background: linear-gradient(135deg, #23272f 0%, #f7f8fa 100%);
}

.contrast-track {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4f5f7 0%, #e2e5e9 28%, #98a1ad 56%, #4b5563 80%, #0b0d12 100%);
}

.contrast-step-dots {
  position: absolute;
  z-index: 1;
  inset-inline: 9px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.contrast-step-dots span {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 1px rgba(25, 31, 40, 0.28);
}

.saturation-track {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--setup-saturation-empty, oklch(0.72 0 calc(var(--current-hue, 335) * 1deg))),
    var(--setup-saturation-full, oklch(0.72 0.2 calc(var(--current-hue, 335) * 1deg)))
  );
}

.hex-control-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.hex-color-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 42px;
  padding: 1px 13px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-strong);
  font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hex-color-input:focus {
  border-color: rgba(67, 160, 164, 0.72);
  outline: 3px solid rgba(100, 188, 191, 0.16);
}

.hex-color-input.is-invalid {
  border-color: rgba(186, 75, 75, 0.64);
  outline-color: rgba(186, 75, 75, 0.12);
}

.hex-copy-button {
  min-width: 92px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(248, 249, 250, 0.96);
  color: var(--text-strong);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.hex-copy-button:hover {
  border-color: var(--line-strong);
  background: #ffffff;
}

.hex-color-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.location-picker-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.location-picker-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.location-picker-title {
  margin: 0 0 4px;
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

.location-picker-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.location-picker-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.location-picker-map {
  position: relative;
  width: 100%;
  height: 290px;
  min-height: 290px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 248, 251, 0.94), rgba(237, 241, 245, 0.98)),
    repeating-linear-gradient(0deg, rgba(168, 177, 188, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(168, 177, 188, 0.08) 0 1px, transparent 1px 24px);
}

.location-picker-map.is-loading {
  position: relative;
}

.location-picker-map.is-loading::after {
  content: "Karte wird geladen ...";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.66);
}

.location-picker-footer {
  display: grid;
  gap: 12px;
}

.location-picker-status {
  min-height: 20px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
}

.location-picker-status[data-tone="error"] {
  color: #9b2e2e;
}

.location-picker-status[data-tone="success"] {
  color: #0f5859;
}

.location-note-field .field-label {
  margin-left: 0;
}

.profile-setup-block {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.profile-image-tools {
  display: grid;
  gap: 10px;
}

.profile-image-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field-bg);
}

.profile-image-placeholder {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.profile-image-preview {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-picker.has-image .profile-image-placeholder {
  display: none;
}

.profile-image-picker.has-image .profile-image-preview {
  display: block;
}

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

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

.profile-links-editor {
  display: grid;
  grid-template-columns: minmax(140px, 0.62fr) minmax(0, 1.38fr);
  gap: 14px;
}

.profile-link-label-field {
  min-width: 0;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  font: inherit;
}

.location-picker-map .leaflet-pane,
.location-picker-map .leaflet-tile,
.location-picker-map .leaflet-marker-icon,
.location-picker-map .leaflet-marker-shadow,
.location-picker-map .leaflet-tile-container,
.location-picker-map .leaflet-pane > svg,
.location-picker-map .leaflet-pane > canvas,
.location-picker-map .leaflet-zoom-box,
.location-picker-map .leaflet-image-layer,
.location-picker-map .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.setup-map-marker {
  position: relative;
  width: 24px;
  height: 24px;
}

.setup-map-marker::before,
.setup-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.setup-map-marker::before {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -58%) rotate(-45deg);
  border: 3px solid #fff;
  background: #0d8f94;
  box-shadow: 0 5px 13px rgba(13, 68, 75, 0.34);
}

.setup-map-marker::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  z-index: 1;
}

@media (max-width: 760px) {
  .location-picker-top {
    flex-direction: column;
  }

  .location-picker-button {
    width: 100%;
  }

  .profile-setup-block,
  .profile-fields-grid,
  .profile-links-editor {
    grid-template-columns: 1fr;
  }

  .profile-image-tools {
    width: min(220px, 100%);
  }
}

#contrastSlider,
#saturationSlider {
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
}

#contrastSlider {
  position: relative;
  z-index: 2;
}

#contrastSlider::-webkit-slider-runnable-track,
#saturationSlider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

#contrastSlider::-moz-range-track,
#saturationSlider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

#contrastSlider::-webkit-slider-thumb,
#saturationSlider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: color-mix(in oklab, #6f7885 calc(65% * var(--current-contrast, 1)), #ffffff);
  box-shadow: 0 3px 10px rgba(81, 94, 111, 0.18);
}

#contrastSlider::-moz-range-thumb,
#saturationSlider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: color-mix(in oklab, #6f7885 calc(65% * var(--current-contrast, 1)), #ffffff);
  box-shadow: 0 3px 10px rgba(81, 94, 111, 0.18);
}

#saturationSlider::-webkit-slider-thumb {
  background: var(--setup-brand-swatch);
}

#saturationSlider::-moz-range-thumb {
  background: var(--setup-brand-swatch);
}

.text-input {
  height: 42px;
  padding: 2px 14px 0 14px;
  font-size: 16px;
  font-weight: 500;
}

.text-input::placeholder,
.textarea::placeholder {
  color: var(--placeholder);
}

.text-input[readonly],
.text-input.is-readonly {
  color: var(--text);
  background: rgba(243, 248, 250, 0.94);
  cursor: default;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
  max-width: 900px;
  aspect-ratio: 900 / 288;
}

.image-grid.is-hero-contain {
  grid-template-rows: auto auto;
  aspect-ratio: auto;
  align-items: start;
}

.image-tile {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  place-items: center;
  overflow: visible;
  transition: opacity 160ms ease, transform 160ms ease;
}

.image-tile.primary {
  grid-column: span 3;
  grid-row: span 2;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(25, 30, 42, 0.1);
}

.image-tile.has-image {
  cursor: grab;
}

.image-grid.is-sorting-images .image-tile.has-image,
.image-tile.has-image:active {
  cursor: grabbing;
}

.image-tile.is-dragging {
  opacity: 0.48;
  transform: scale(0.98);
  z-index: 3;
}

.image-tile.is-drop-target .image-tile-frame {
  outline: 3px solid color-mix(in oklab, var(--cyan) 80%, #ffffff);
  outline-offset: -3px;
  box-shadow: 0 0 0 4px rgba(100, 188, 191, 0.22);
}

.image-tile-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.image-tile.primary .image-tile-frame {
  height: auto;
  aspect-ratio: 1180 / 520;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 32px rgba(25, 30, 42, 0.16);
}

.image-tile .placeholder-icon {
  width: 38%;
  height: 38%;
  max-width: 52px;
  max-height: 52px;
}

.image-tile.primary .placeholder-icon {
  max-width: 100px;
  max-height: 100px;
}

.tile-preview,
.modal-preview-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: inherit;
}

.image-tile.primary .hero-fit-preview-cover .tile-preview {
  opacity: 0;
}

.image-tile.primary .hero-fit-preview-cover {
  background-image: var(--hero-image-url);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.image-tile.primary .hero-fit-preview-contain {
  aspect-ratio: var(--hero-image-aspect, 4 / 3);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.18) 75%),
    rgba(18, 24, 30, 0.26);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.image-tile.primary .hero-fit-preview-contain .tile-preview {
  object-fit: contain;
  object-position: 50% 50%;
}

.image-tile.has-image .tile-preview,
.modal-image.has-image .modal-preview-image {
  display: block;
}

.image-tile.has-image .placeholder-icon,
.modal-image.has-image .modal-preview-icon {
  display: none;
}

.image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: stretch;
  padding: 34px 22px 18px;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-sizing: border-box;
  height: 46%;
}

.image-caption-text {
  display: block;
  width: 100%;
  overflow: hidden;
  height: 100%;
  word-break: break-word;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.image-tile:not(.primary) .image-caption {
  height: 76%;
  padding: 24px 12px 10px;
  font-size: 12px;
}

.image-tile.has-image .image-caption.has-description {
  display: grid;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.67), rgba(0, 0, 0, 0));
  align-items: stretch;
}

.image-role-badge,
.contact-image-toggle,
.hero-fit-toggle {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.hero-image-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.image-role-badge {
  left: 10px;
  top: 10px;
  padding: 0 10px;
  background: rgba(22, 24, 27, 0.56);
  pointer-events: none;
}

.image-tile.primary .image-role-badge {
  position: static;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 28px;
  color: #ffffff;
  background: rgba(22, 24, 27, 0.62);
}

.contact-image-toggle {
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(22, 24, 27, 0.62);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-fit-toggle {
  right: 10px;
  top: 10px;
  max-width: calc(100% - 20px);
  min-width: min(220px, calc(100% - 20px));
  min-height: 34px;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(22, 24, 27, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.image-tile.primary .hero-fit-toggle {
  position: static;
  display: inline-flex;
  flex: 1 1 auto;
  max-width: 250px;
  min-width: 0;
  justify-self: end;
  text-shadow: none;
  box-shadow: none;
}

.hero-fit-toggle span {
  flex: 1 1 0;
  min-width: 0;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 160ms ease, color 160ms ease;
}

.hero-fit-toggle span.is-active {
  background: #ffffff;
  color: #171a22;
  text-shadow: none;
}

.image-tile.primary.hero-fit-contain .hero-fit-toggle {
  border-color: rgba(255, 255, 255, 0.78);
  background: color-mix(in oklab, #161817 48%, var(--cyan));
}

.image-tile.primary .contact-image-toggle {
  position: static;
  display: inline-flex;
  justify-self: end;
  align-self: end;
  max-width: 100%;
  min-height: 28px;
  color: #ffffff;
  background: rgba(22, 24, 27, 0.62);
}

.image-tile.has-image .image-role-badge,
.image-tile.has-image .contact-image-toggle,
.image-tile.has-image .hero-fit-toggle {
  display: inline-flex;
}

.image-tile.is-card-image .contact-image-toggle {
  border-color: rgba(255, 255, 255, 0.74);
  background: color-mix(in oklab, #161817 44%, var(--cyan));
  color: #ffffff;
}

.contact-image-toggle:hover,
.contact-image-toggle:focus-visible,
.hero-fit-toggle:hover,
.hero-fit-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(22, 24, 27, 0.78);
  transform: translateY(-1px);
}

.image-tile:not(.primary) .image-role-badge,
.image-tile:not(.primary) .contact-image-toggle {
  min-height: 24px;
  padding-inline: 8px;
  font-size: 10px;
}

.image-tile:not(.primary) .image-role-badge {
  left: 7px;
  top: 7px;
}

.image-tile:not(.primary) .contact-image-toggle {
  right: 7px;
  bottom: 7px;
}

.remove-image {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #838383;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  transform-origin: center;
  transition:
    background-color 180ms ease,
    opacity 140ms ease,
    transform 360ms cubic-bezier(0.2, 1.65, 0.45, 1);
}

.remove-image:hover,
.remove-image:focus-visible {
  background: #6f6f6f;
}

.remove-image::before,
.remove-image::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 3px;
  border-radius: 5px;
  background: #ffffff;
}

.remove-image::before {
  transform: rotate(45deg);
}

.remove-image::after {
  transform: rotate(-45deg);
}

.image-tile.has-image:hover .remove-image,
.image-tile.has-image:focus-within .remove-image {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.textarea {
  min-height: 118px;
  max-height: 220px;
  resize: vertical;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.postcode-row {
  grid-template-columns: 0.55fr 1fr;
}

.section-card {
  margin: 0 0 18px;
  padding: 8px 0 8px 18px;
  border: 0;
  border-left: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-card h2 {
  margin: 0 0 4px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.placeholder-page {
  min-height: 360px;
  display: none;
  align-content: start;
  justify-items: stretch;
  gap: 18px;
  padding-top: 10px;
}

.placeholder-page.is-visible {
  display: grid;
}

.calendar-setup-page {
  display: none;
}

.calendar-setup-page.is-visible {
  display: block;
}

.calendar-setup-intro {
  margin-bottom: 18px;
}

.offer-details-setup {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.offer-details-setup-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-strong);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 720;
}

.offer-details-setup-label {
  display: grid;
  grid-template-columns: minmax(0, auto) 20px;
  align-items: start;
  gap: 7px;
  min-width: 0;
}

.offer-details-setup-label .calendar-inline-help {
  margin-top: 3px;
}

.offer-details-setup-heading > .setup-character-count {
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 3px;
}

.offer-details-textarea {
  min-height: 88px;
  max-height: 218px;
  margin-bottom: 1rem;
  resize: vertical;
}

.calendar-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.calendar-mode-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(120, 133, 148, 0.06);
  color: var(--text);
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  position: relative;
  overflow: visible;
}

.calendar-mode-card:hover,
.calendar-mode-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(120, 133, 148, 0.1);
}

.calendar-mode-card.is-active {
  border-color: #6cc0c2;
  box-shadow: 0 0 0 2px rgba(108, 192, 194, 0.22), 0 12px 28px rgba(120, 133, 148, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 250, 250, 0.94));
}

.calendar-mode-copy {
  display: grid;
  gap: 6px;
}

.calendar-mode-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.calendar-mode-help {
  pointer-events: auto;
  position: relative;
  z-index: 8;
  margin-left: auto;
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.calendar-mode-title-row .calendar-popover-wrap {
  margin-left: auto;
  z-index: 16;
}

.calendar-mode-card:hover,
.calendar-mode-card:focus-visible {
  z-index: 2;
}

.calendar-mode-copy strong {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 650;
}

.calendar-mode-copy span,
.calendar-mode-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.calendar-mode-copy small {
  color: #7b8390;
  margin-top: 2px;
}

.calendar-mode-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f4f7;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(112, 127, 148, 0.08);
}

.calendar-mode-icon-block::before,
.calendar-mode-icon-block::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  border-radius: 6px;
  background: #7cc8ca;
}

.calendar-mode-icon-block::before {
  top: 10px;
  height: 10px;
}

.calendar-mode-icon-block::after {
  top: 23px;
  height: 12px;
}

.calendar-mode-icon-time::before,
.calendar-mode-icon-time::after {
  content: "";
  position: absolute;
}

.calendar-mode-icon-time::before {
  inset: 9px;
  border: 2px solid #7cc8ca;
  border-radius: 50%;
}

.calendar-mode-icon-time::after {
  width: 12px;
  height: 2px;
  top: 21px;
  left: 22px;
  background: #7cc8ca;
  transform-origin: left center;
  transform: rotate(-45deg);
}

.calendar-chip-button,
.calendar-help-toggle {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #6b7380;
  font-size: 14px;
  font-weight: 650;
  padding: 0 16px;
  box-shadow: 0 6px 16px rgba(120, 133, 148, 0.08);
}

.calendar-settings-stack {
  display: grid;
  gap: 14px;
}

.calendar-settings-stack > * {
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calendar-settings-stack.is-switching > * {
  opacity: 0;
  transform: translateY(8px);
}

.calendar-general-card,
.calendar-launch-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(120, 133, 148, 0.08);
  overflow: visible;
  /* border: 1px solid rgba(112, 127, 148, 0.14) !important; */
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.calendar-launch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.calendar-launch-copy {
  display: grid;
  gap: 5px;
}

.calendar-launch-copy h3,
.calendar-editor-heading h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.2;
}

.calendar-launch-copy p,
.calendar-editor-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.calendar-launch-button,
.calendar-editor-done {
  height: 42px;
  border: 1px solid rgba(100, 188, 191, 0.26);
  border-radius: 999px;
  background: rgba(184, 240, 240, 0.94);
  color: #0f5859;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-editor-modal {
  padding: 18px;
  background: rgba(245, 247, 249, 0.74);
}

.calendar-editor-shell {
  width: 100%;
  max-width: none;
  height: min(100%, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.calendar-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.calendar-editor-heading {
  display: grid;
  gap: 4px;
}

.calendar-editor-stage {
  position: relative;
  min-height: 0;
  min-width: 0;
}

.calendar-board-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.calendar-popover-wrap {
  position: relative;
  overflow: visible;
}

.calendar-icon-button,
.calendar-help-toggle {
  display: inline-flex;
  align-items: center;
  height: 36px;
  min-width: 36px;
  justify-content: center;
  padding: 0 12px;
  box-shadow: none;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #6b7380;
  font-size: 16px;
  font-weight: 700;
}

.calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  box-shadow: 0 18px 32px rgba(99, 111, 128, 0.14);
  z-index: 60;
}

.calendar-board {
  position: relative;
  overflow: auto;
  height: 100%;
  width: 100%;
  min-width: 0;
  padding: 0 0 6px;
  background: linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(247, 248, 250, 0.94));
  scrollbar-gutter: stable both-edges;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(120, 133, 148, 0.08);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.calendar-board.is-touch-dragging {
  touch-action: none;
}

.calendar-board.is-locked {
  overflow: hidden;
  touch-action: none;
}

.calendar-editor-board {
  min-height: 0;
}

.setup-calendar-grid {
  display: grid;
  grid-template-columns: 82px repeat(7, minmax(128px, 1fr));
  min-width: 1180px;
  color: #2d3440;
}

.setup-time-col,
.setup-day-col {
  position: relative;
}

.setup-time-col {
  position: sticky;
  left: 0;
  z-index: 7;
  background: rgba(251, 252, 253, 0.9);
  backdrop-filter: blur(8px);
}

.setup-sticky-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(8px);
}

.setup-time-head,
.setup-day-head {
  min-height: 66px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-bottom: 1px solid #d6dbe2;
}

.setup-time-head {
  color: #8b93a0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.setup-day-head strong {
  color: var(--text-strong);
  font-size: 15px;
}

.setup-day-head[data-day-head] {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.setup-day-col {
  border-left: 1px solid rgba(112, 127, 148, 0.12);
}

.setup-mobile-spacer {
  display: none;
}

.setup-time-body,
.setup-day-body {
  position: relative;
  min-height: 1440px;
}

.setup-top-buffer {
  height: 12px;
}

.setup-time-slot,
.setup-cal-slot {
  position: relative;
  height: 15px;
  border-bottom: 1px dashed rgba(112, 127, 148, 0.14);
  box-sizing: border-box;
}

.setup-cal-slot.is-hour {
  border-bottom-color: rgba(112, 127, 148, 0.22);
}

.setup-time-slot.is-hour .setup-time-label {
  position: absolute;
  top: -6px;
  left: 12px;
  color: #808896;
  font-size: 11px;
  font-weight: 700;
  background: rgba(251, 252, 253, 0.97);
  padding: 0 4px;
  white-space: nowrap;
}

.setup-day-body {
  background: rgba(255, 255, 255, 0.34);
}

.setup-cal-slot.is-draft-highlight {
  background: rgba(100, 188, 191, 0.12);
}

.setup-empty-state {
  position: absolute;
  inset: 84px 16px 16px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.setup-empty-card {
  max-width: 320px;
  padding: 18px 20px;
  border: 1px dashed rgba(112, 127, 148, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: 0 12px 24px rgba(120, 133, 148, 0.08);
}

.setup-empty-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong);
  font-size: 16px;
}

.setup-empty-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.setup-entry,
.setup-ghost {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 11px 11px 9px 9px;
}

.setup-entry {
  border: 1px solid var(--entry-border, rgba(124, 200, 202, 0.72));
  background: var(--entry-color, rgba(184, 240, 240, 0.34));
  box-shadow: 0 8px 18px rgba(120, 133, 148, 0.12);
  overflow: visible;
  user-select: none;
  cursor: grab;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.setup-entry.is-selected {
  box-shadow: 0 0 0 2px rgba(15, 88, 89, 0.2), 0 12px 24px rgba(120, 133, 148, 0.14);
}

.setup-entry.is-touch-armed,
.setup-entry.is-touch-active,
.setup-day-body.is-touch-armed,
.setup-entry-resize.is-touch-armed,
.setup-entry-resize.is-touch-active {
  box-shadow: 0 0 0 2px rgba(15, 88, 89, 0.16), 0 10px 24px rgba(120, 133, 148, 0.16);
}

.setup-entry:active {
  cursor: grabbing;
}

.setup-entry.is-invalid {
  outline: 2px dashed #b24a4a;
  outline-offset: -2px;
}

.setup-entry--private {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(103, 109, 119, 0.95) 0,
      rgba(103, 109, 119, 0.95) 8px,
      rgba(123, 130, 141, 0.95) 8px,
      rgba(123, 130, 141, 0.95) 16px
    );
  border-color: rgba(91, 96, 106, 0.9);
  color: #ffffff;
}

.setup-entry--block {
  color: #1f2733;
}

.setup-ghost {
  background: rgba(112, 127, 148, 0.14);
  border: 1px dashed rgba(112, 127, 148, 0.5);
  pointer-events: none;
  z-index: 2;
}

.setup-entry-body {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 10px 10px 12px;
  position: relative;
}

.setup-entry-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.setup-entry-title {
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.setup-entry-meta {
  display: grid;
  gap: 1px;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 600;
  opacity: 0.9;
}

.setup-entry-meta--primary {
  margin-top: 0;
  font-size: 10px;
  font-weight: 700;
}

.setup-entry-duration {
  position: absolute;
  top: -15px;
  left: 10px;
  min-height: 15px;
  padding: 2px 8px 0;
  border-radius: 8px 8px 0 0;
  background: var(--entry-color, rgba(184, 240, 240, 0.34));
  border: 1px solid var(--entry-border, rgba(124, 200, 202, 0.72));
  border-bottom: 0;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  z-index: 6;
}

.setup-entry-icon {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 12px rgba(98, 108, 122, 0.16), inset 0 0 0 1px rgba(112, 127, 148, 0.12);
  z-index: 5;
}

.setup-entry-duration + .setup-entry-icon {
  margin-left: 6px;
}

.setup-entry-icon:hover,
.setup-entry-icon:focus-visible {
  background: #ffffff;
  transform: scale(1.04);
}

.setup-entry--private .setup-entry-icon {
  background: rgba(255, 255, 255, 0.2);
}

.setup-entry-resize {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  cursor: ns-resize;
  background: transparent;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}

.setup-entry-resize::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 18px;
  height: 4px;
  transform: translateX(-50%);
  background:
    linear-gradient(#7f8998 0 0) 0 0 / 18px 1px no-repeat,
    linear-gradient(#7f8998 0 0) 0 100% / 18px 1px no-repeat;
  opacity: 0.7;
}

.setup-entry.is-compact .setup-entry-body {
  gap: 0;
  padding: 5px 28px 7px 7px;
}

.setup-entry.is-compact .setup-entry-title,
.setup-entry.is-compact .setup-entry-meta--primary {
  font-size: 9px;
  line-height: 1.05;
}

.setup-entry.is-compact .setup-entry-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.setup-entry.is-compact .setup-entry-meta {
  font-size: 8px;
  line-height: 1.05;
}

.setup-entry.is-micro .setup-entry-body {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 2px 29px 3px 6px;
  overflow: visible;
  white-space: nowrap;
}

.setup-entry.is-micro .setup-entry-top,
.setup-entry.is-micro .setup-entry-meta {
  min-width: 0;
  max-width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  line-height: 1;
}

.setup-entry.is-micro .setup-entry-top,
.setup-entry.is-micro .setup-entry-meta:last-of-type {
  flex: 1 1 0;
}

.setup-entry.is-micro .setup-entry-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  line-height: 1;
}

.setup-entry.is-micro .setup-entry-meta--primary {
  flex: 0 1 auto;
  max-width: 52%;
  font-size: 8px;
  line-height: 1;
}

.setup-entry.is-micro .setup-entry-meta:last-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setup-entry.is-micro .setup-entry-duration {
  top: -12px;
  left: 6px;
  min-height: 12px;
  padding: 1px 6px 0;
  font-size: 8px;
}

.setup-entry.is-micro .setup-entry-icon {
  top: -9px;
  right: -7px;
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.setup-entry:is(.is-micro, .is-compact) .setup-entry-resize {
  right: auto;
  left: 50%;
  width: 36px;
  transform: translateX(-50%);
}

.calendar-general-card {
  position: relative;
  overflow: visible;
}

.calendar-sidebar-inner {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.calendar-floating-panel {
  position: absolute;
  bottom: 18px;
  z-index: 20;
  width: min(360px, calc(100% - 36px));
  pointer-events: none;
}

.calendar-floating-panel.is-left {
  left: 18px;
}

.calendar-floating-panel.is-right {
  right: 18px;
}

.calendar-floating-panel-inner {
  pointer-events: auto;
  border-radius: 14px;
  background: #ffffff;
}

.calendar-floating-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(99, 111, 128, 0.16);
}

.calendar-floating-drag-handle {
  position: absolute;
  top: 6px;
  left: 50%;
  display: grid;
  gap: 2px;
  width: 76px;
  height: 32px;
  padding: 11px 25px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
  appearance: none;
  -webkit-appearance: none;
  z-index: 3;
}

.calendar-floating-drag-handle:hover,
.calendar-floating-drag-handle:focus,
.calendar-floating-drag-handle:focus-visible,
.calendar-floating-drag-handle:active {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-floating-drag-handle span {
  display: block;
  height: 1px;
  border-radius: 1px;
  background: rgba(80, 94, 113, 0.58);
}

.calendar-floating-panel.is-dragging .calendar-floating-card {
  box-shadow: 0 20px 38px rgba(99, 111, 128, 0.22);
}

.calendar-mini-button--side {
  width: 34px;
  overflow: hidden;
}

.calendar-mini-button--side span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.calendar-mini-button--side b {
  font: inherit;
}

@media (min-width: 1100px) {
  .calendar-editor-stage.has-desktop-inspector:not(:has(.calendar-floating-panel.is-free)) .calendar-editor-board {
    width: calc(100% - 400px);
  }

  .calendar-editor-stage.has-desktop-inspector.inspector-left:not(:has(.calendar-floating-panel.is-free)) .calendar-editor-board {
    margin-left: auto;
  }

  .calendar-editor-stage.has-desktop-inspector.inspector-right:not(:has(.calendar-floating-panel.is-free)) .calendar-editor-board {
    margin-right: auto;
  }

  .calendar-editor-stage.has-desktop-inspector:not(:has(.calendar-floating-panel.is-free)) .calendar-floating-panel {
    bottom: 0;
  }

  .calendar-editor-stage.has-desktop-inspector.inspector-left:not(:has(.calendar-floating-panel.is-free)) .calendar-floating-panel {
    left: 0;
  }

  .calendar-editor-stage.has-desktop-inspector.inspector-right:not(:has(.calendar-floating-panel.is-free)) .calendar-floating-panel {
    right: 0;
  }

  .calendar-editor-stage.has-desktop-inspector .calendar-floating-panel:not(.is-free, .is-mobile) .calendar-mini-button--clear-selection {
    display: none;
  }
}

.calendar-floating-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-floating-topbar strong {
  color: var(--text-strong);
  font-size: 14px;
}

.calendar-floating-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-mini-button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  color: #67707d;
  font-size: 14px;
  font-weight: 700;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.calendar-mini-button--sheet {
  pointer-events: none;
}

.calendar-mobile-sheet-handle,
.calendar-mobile-sheet-toolbar {
  display: none;
}

.calendar-panel-section {
  display: grid;
  gap: 12px;
}

.calendar-panel-section + .calendar-panel-section {
  padding-top: 14px;
  border-top: 1px solid rgba(112, 127, 148, 0.1);
}

.calendar-panel-heading {
  display: grid;
  gap: 4px;
}

.calendar-panel-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.calendar-panel-heading h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 16px;
}

.calendar-panel-heading p,
.calendar-field-help,
.calendar-panel-list {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.calendar-panel-list {
  display: grid;
  gap: 6px;
}

.calendar-week-schedule {
  display: grid;
  gap: 8px;
}

.calendar-week-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.8fr) minmax(220px, 1.2fr);
  align-items: center;
  gap: 10px 14px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  align-content: start;
}

.calendar-week-row.is-enabled {
  background: rgba(248, 252, 252, 0.96);
  border-color: rgba(100, 188, 191, 0.22);
}

.calendar-week-row.is-complex {
  border-style: dashed;
}

.calendar-week-day-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 700;
}

.calendar-week-day-toggle input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.calendar-week-time-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.calendar-week-time-fields input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field-bg);
  color: var(--text-strong);
  padding: 8px 10px;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.calendar-week-time-fields span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.calendar-week-row-note {
  grid-column: 1 / -1;
  margin: -2px 0 0 28px;
  color: #9a7137;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.calendar-form-grid {
  display: grid;
  gap: 12px;
}

.calendar-form-grid.two-cols {
  grid-template-columns: 1fr 1fr;
}

.calendar-inline-field {
  display: grid;
  gap: 6px;
  overflow: visible;
}

.calendar-advanced-content .calendar-form-grid + .calendar-form-grid {
  margin-top: 10px;
}

.calendar-inline-field--wide {
  grid-column: 1 / -1;
}

.calendar-inline-field label,
.calendar-advanced-toggle {
  color: #69717d;
  font-size: 13px;
  font-weight: 700;
}

.calendar-inline-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  overflow: visible;
}

.calendar-inline-help {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(105, 122, 145, 0.38);
  border-radius: 999px;
  background: #e4eaf1;
  color: #4f5f74;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 18px;
  align-self: start;
  margin-top: max(0px, calc((1.35em - 18px) / 2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 1px 2px rgba(76, 90, 110, 0.08);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.calendar-inline-help:hover,
.calendar-inline-help:focus-visible {
  border-color: rgba(89, 103, 122, 0.42);
  background: #ffffff;
  color: #344259;
  box-shadow: 0 0 0 2px rgba(89, 103, 122, 0.1), 0 2px 5px rgba(76, 90, 110, 0.1);
}

.calendar-tooltip-trigger {
  position: relative;
  overflow: visible;
  cursor: help;
}

.calendar-tooltip-trigger::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: min(240px, calc(100vw - 36px));
  padding: 7px 9px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 7px;
  background: #273246;
  color: #ffffff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(32, 43, 61, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.calendar-tooltip-trigger.has-viewport-tooltip::after {
  display: none;
}

.calendar-viewport-tooltip {
  position: fixed;
  z-index: 10000;
  width: max-content;
  max-width: min(260px, calc(100vw - 16px));
  padding: 7px 9px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 7px;
  background: #273246;
  color: #ffffff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(32, 43, 61, 0.14);
  pointer-events: auto;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.calendar-viewport-tooltip-bridge {
  position: fixed;
  z-index: 9999;
  background: transparent;
  pointer-events: auto;
}

.calendar-tooltip-trigger--end::after {
  right: 0;
  left: auto;
  transform: translateY(3px);
}

.calendar-tooltip-trigger--below::after {
  top: calc(100% + 8px);
  right: auto;
  bottom: auto;
  left: 0;
  transform: translateY(-3px);
}

.calendar-tooltip-trigger:hover::after,
.calendar-tooltip-trigger:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.calendar-tooltip-trigger--end:hover::after,
.calendar-tooltip-trigger--end:focus::after {
  transform: translateY(0);
}

.calendar-tooltip-trigger--below:hover::after,
.calendar-tooltip-trigger--below:focus::after {
  transform: translateY(0);
}

.calendar-inline-field input,
.calendar-inline-field select,
.calendar-inline-field textarea {
  width: 100%;
  min-height: 42px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field-bg);
  color: var(--text-strong);
  padding: 10px 12px;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.calendar-stepper-field {
  position: relative;
}

.calendar-stepper-field input {
  padding-right: 52px;
}

.calendar-stepper-buttons {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: grid;
  gap: 4px;
}

.calendar-stepper-button {
  width: 20px;
  height: 14px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 5px;
  background: rgba(245, 247, 250, 0.96);
  color: #6f7784;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-stepper-button:hover,
.calendar-stepper-button:focus-visible {
  background: #ffffff;
  color: #4d5664;
}

.calendar-inline-field textarea {
  min-height: 92px;
  max-height: 20rem;
  resize: vertical;
}

.calendar-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-stat {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 241, 244, 0.92);
  color: #68707c;
  font-size: 12px;
  font-weight: 700;
}

.calendar-color-input {
  appearance: none;
  padding: 0;
  height: 42px;
}

.calendar-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.calendar-color-input::-webkit-color-swatch {
  border: 0;
  border-radius: 10px;
}

.calendar-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-panel-action-danger {
  background: var(--danger-bg);
  color: var(--danger-text);
  border-color: transparent;
}

.calendar-advanced-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
}

.calendar-advanced-toggle::after {
  content: "";
  font-size: 14px;
  transition: transform 180ms ease;
}

.calendar-advanced-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.calendar-advanced-content {
  display: grid;
  max-height: 420px;
  opacity: 1;
  overflow: visible;
  transform: translateY(0);
  transition:
    max-height 220ms ease,
    opacity 180ms ease,
    transform 220ms ease,
    margin-top 220ms ease;
}

.calendar-advanced-content.is-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  margin-top: -2px;
  pointer-events: none;
}

.calendar-inline-field.is-compact .calendar-field-help {
  display: none;
}

.account-page {
  min-height: 420px;
}

.account-provider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#accountIntroCard[hidden],
#accountProviderGrid[hidden],
#accountEmailField[hidden],
.account-checkbox[hidden] {
  display: none;
}

.social-auth-button,
.account-email-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(120, 133, 148, 0.08);
}

.social-auth-button {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.social-auth-button:hover {
  border-color: color-mix(in oklab, var(--setup-brand-border) 70%, var(--line));
  box-shadow: 0 14px 30px rgba(120, 133, 148, 0.14);
  transform: translateY(-1px);
}

.google-mark {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(207, 216, 226, 0.92);
  border-radius: 50%;
  background: #fff;
}

.google-mark svg {
  display: block;
  width: 20px;
  height: 20px;
}

.social-auth-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.social-auth-copy span {
  font-size: 17px;
  font-weight: 650;
}

.social-auth-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.social-auth-button.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.account-email-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.account-payment-section {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.account-payment-heading strong {
  display: block;
  color: var(--text-strong);
  font-size: 17px;
}

.account-payment-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.payment-method-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(207, 216, 226, 0.92);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.88);
}

.payment-method-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}

.payment-method-row input {
  margin-top: 2px;
}

.payment-method-row span {
  display: grid;
  gap: 3px;
}

.payment-method-row strong {
  color: var(--text-strong);
  font-size: 15px;
}

.payment-method-row small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.payment-method-fields {
  display: grid;
  gap: 12px;
}

.payment-method-fields.is-disabled {
  opacity: 0.5;
}

.payment-qr-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-qr-preview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(207, 216, 226, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.payment-qr-preview[hidden] {
  display: none;
}

.payment-qr-preview img {
  display: block;
  width: 120px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
}

.payment-qr-preview span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.payment-stripe-status {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(207, 216, 226, 0.92);
  border-radius: 14px;
  background: rgba(243, 248, 250, 0.92);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.payment-stripe-group {
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.payment-stripe-group.is-stripe-active {
  border-color: rgba(29, 151, 98, 0.42);
  background: rgba(232, 249, 239, 0.88);
  box-shadow: inset 0 0 0 1px rgba(29, 151, 98, 0.08);
}

.payment-stripe-group.is-stripe-pending {
  border-color: rgba(44, 119, 205, 0.34);
  background: rgba(238, 246, 255, 0.88);
}

.payment-stripe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(141, 151, 164, 0.16);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  vertical-align: middle;
}

.payment-stripe-badge[hidden] {
  display: none;
}

.payment-stripe-group.is-stripe-active .payment-stripe-badge {
  background: #0f7f4f;
  color: #fff;
}

.payment-stripe-group.is-stripe-pending .payment-stripe-badge {
  background: #2b72ce;
  color: #fff;
}

.payment-stripe-group.is-stripe-active .payment-stripe-status {
  border-color: rgba(29, 151, 98, 0.38);
  background: rgba(232, 249, 239, 0.9);
  color: #15623f;
}

.payment-stripe-group.is-stripe-pending .payment-stripe-status {
  border-color: rgba(44, 119, 205, 0.28);
  background: rgba(238, 246, 255, 0.9);
  color: #285b96;
}

.account-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.account-checkbox input {
  margin-top: 2px;
}

.account-checkbox-standalone {
  padding: 14px 16px;
  border: 1px solid rgba(207, 216, 226, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.account-status {
  min-height: 24px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.account-status a {
  color: var(--text-strong);
  font-weight: 650;
}

.account-status.is-error {
  color: #9c534b;
}

.account-status.is-success {
  color: #3f7250;
}

.account-status.is-loading {
  color: #6d7580;
}

.account-mail-hint {
  margin: 8px 0 0;
  color: #5d6670;
  font-size: 14px;
  line-height: 1.5;
}

.account-mail-hint[hidden] {
  display: none;
}

.publish-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 249, 251, 0.9);
}

.publish-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-strong);
  font-size: 16px;
}

.publish-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.publish-card.is-ready {
  border-color: rgba(100, 188, 191, 0.3);
  background: rgba(238, 250, 250, 0.94);
}

.publish-card.is-published {
  border-color: rgba(90, 170, 110, 0.28);
  background: rgba(238, 250, 241, 0.94);
}

.publish-button {
  flex: 0 0 auto;
  min-width: 148px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--cyan-text);
  font-size: 15px;
  font-weight: 700;
  padding: 0 16px;
  box-shadow: 0 10px 24px rgba(100, 188, 191, 0.14);
}

.publish-button:hover:not(:disabled),
.publish-button:focus-visible:not(:disabled) {
  background: #9ee9eb;
  color: #0a5152;
}

.publish-button:disabled {
  background: rgba(229, 233, 238, 0.92);
  color: #8a929e;
  box-shadow: none;
  cursor: default;
}

.publish-qr-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(90, 170, 110, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.publish-qr-card[hidden] {
  display: none;
}

.publish-qr-image-shell {
  display: grid;
  place-items: center;
  width: 148px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.publish-qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.publish-qr-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.publish-qr-copy strong {
  color: var(--text-strong);
  font-size: 16px;
}

.publish-qr-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.publish-qr-copy code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-strong);
  font-size: 12px;
}

.publish-qr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.publish-qr-download,
.publish-qr-live-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--cyan-text);
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
  text-decoration: none;
}

.publish-qr-live-link {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text-strong);
}

.publish-qr-live-link[hidden] {
  display: none;
}

.publish-qr-download:hover,
.publish-qr-download:focus-visible,
.publish-qr-live-link:hover,
.publish-qr-live-link:focus-visible {
  background: #9ee9eb;
  color: #0a5152;
}

.demo-page {
  width: 100%;
}

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

.demo-page-heading h2 {
  margin: 4px 0 6px;
  color: var(--text-strong);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.demo-page-heading p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 550;
}

.demo-page-kicker {
  color: #0f7b80;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-open-button,
.demo-refresh-button,
.demo-return-button,
.preview-button {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-strong);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.demo-open-button:hover:not(:disabled),
.demo-open-button:focus-visible:not(:disabled),
.demo-refresh-button:hover:not(:disabled),
.demo-refresh-button:focus-visible:not(:disabled),
.demo-return-button:hover:not(:disabled),
.demo-return-button:focus-visible:not(:disabled),
.preview-button:hover:not(:disabled),
.preview-button:focus-visible:not(:disabled) {
  border-color: rgba(15, 123, 128, 0.36);
  background: rgba(232, 249, 249, 0.92);
  transform: translateY(-1px);
}

.demo-open-button:disabled,
.demo-refresh-button:disabled,
.preview-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.demo-open-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.demo-preview-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(70, 82, 98, 0.12);
}

.demo-preview-toolbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 249, 251, 0.94);
}

.demo-preview-status {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.demo-preview-status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8c0cb;
  box-shadow: 0 0 0 4px rgba(184, 192, 203, 0.16);
}

.demo-preview-status[data-tone="loading"] .demo-preview-status-dot {
  background: #b78a37;
  box-shadow: 0 0 0 4px rgba(183, 138, 55, 0.14);
}

.demo-preview-status[data-tone="live"] {
  color: #3f7250;
}

.demo-preview-status[data-tone="live"] .demo-preview-status-dot {
  background: #5aa56e;
  box-shadow: 0 0 0 4px rgba(90, 165, 110, 0.14);
}

.demo-preview-status[data-tone="error"] {
  color: #9a4d4d;
}

.demo-preview-status[data-tone="error"] .demo-preview-status-dot {
  background: #c76969;
  box-shadow: 0 0 0 4px rgba(199, 105, 105, 0.14);
}

.demo-refresh-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.demo-preview-viewport {
  position: relative;
  height: clamp(430px, 66vh, 680px);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(184, 240, 240, 0.16), transparent 48%),
    #eef1f4;
}

.demo-preview-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  background: #fff;
  transform-origin: top left;
}

.demo-preview-empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.demo-preview-empty[hidden] {
  display: none;
}

.demo-preview-empty strong {
  color: var(--text-strong);
  font-size: 17px;
}

.demo-preview-empty span {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
}

.demo-return-button {
  min-height: 40px;
  margin-top: 16px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.wizard-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(248, 249, 251, 0.84);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.draft-status {
  position: absolute;
  right: calc(50% + 270px);
  max-width: min(190px, calc(50vw - 290px));
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  opacity: 0.9;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-button {
  min-width: 112px;
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.draft-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.draft-status.is-saving {
  color: #7b8390;
}

.draft-status.is-saved {
  color: #3f7250;
}

.draft-status.is-local-only {
  color: #9a7137;
}

.footer-publish-button {
  min-width: 148px;
  height: 40px;
  border: 1px solid #10202a;
  border-radius: var(--radius);
  background: #10202a;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-publish-button:hover:not(:disabled),
.footer-publish-button:focus-visible:not(:disabled) {
  background: #0f7b80;
  border-color: #0f7b80;
  transform: translateY(-1px);
}

.footer-publish-button:disabled {
  cursor: default;
  opacity: 0.58;
}

.back-button {
  width: 132px;
  height: 40px;
  border: 0;
  padding-top: 3px;
  border-radius: var(--radius);
  background: transparent;
  color: #7b8390;
  font-size: 17px;
  font-weight: 600;
}

.back-button:hover:not([disabled]),
.back-button:focus-visible:not([disabled]) {
  background: rgba(229, 233, 238, 0.72);
  color: #646c79;
}

.back-button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.next-button {
  width: 250px;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--cyan-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 18px 6px 22px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.15;
  box-shadow: 0 10px 26px rgba(100, 188, 191, 0.18);
  transition:
    box-shadow 220ms ease,
    background-color 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}
.next-button span {
  min-width: 0;
  padding-top: 1px;
  text-align: center;
}

.next-button img {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  transition: transform 280ms cubic-bezier(0.2, 1.2, 0.4, 1), filter 180ms ease;
}

.next-button:hover,
.next-button:focus-visible {
  background: #9ee9eb;
  color: #0a5152;
  box-shadow: 0 14px 28px rgba(94, 183, 186, 0.22);
  filter: saturate(1.06);
}

.next-button:hover img,
.next-button:focus-visible img {
  transform: translateX(6px);
  filter: saturate(1.1);
}

.next-button:active {
  background: #8fe1e3;
  box-shadow: 0 8px 18px rgba(94, 183, 186, 0.18);
}

.next-button:active img {
  transform: translateX(3px) scale(0.98);
}

.modal-layer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(13px);
  z-index: 40;
}

.modal-layer.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 760px);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 22px 40px rgba(99, 111, 128, 0.18);
}

.edit-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  min-height: 280px;
  padding: 28px 34px 24px 32px;
}

.modal-image-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}

.modal-image {
  width: 201px;
  height: 201px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #17181b;
}

.modal-preview-icon {
  width: 68px;
  height: 68px;
}

.modal-image .modal-preview-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.modal-image-action {
  min-width: 0;
  padding-inline: 18px;
}

.modal-fields {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  min-height: 100%;
}

.modal-fields.is-hero-image .modal-header-row {
  display: none;
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-header-row h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.modal-fields .field-label {
  margin-top: 8px;
}

.modal-image-note {
  margin: 2px 0 0;
  padding-left: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 520px;
}

.modal-auto-description {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.9));
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.modal-auto-description svg {
  width: 14px;
  height: 14px;
  color: #7c6cff;
  flex: 0 0 auto;
}

.modal-auto-description:hover,
.modal-auto-description:focus-visible {
  border-color: rgba(112, 127, 148, 0.28);
  color: var(--text-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 246, 251, 0.96));
  box-shadow: 0 8px 18px rgba(120, 133, 148, 0.08);
}

.modal-auto-description[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.modal-textarea-shell {
  position: relative;
  min-height: 154px;
  margin-top: 12px;
}

.modal-textarea {
  min-height: 154px;
  height: 100%;
  resize: none;
}

.modal-textarea-shell.is-generating .modal-textarea {
  color: rgba(95, 102, 114, 0.7);
}

.modal-textarea-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(247, 249, 252, 0.26);
  transition: opacity 180ms ease;
}

.modal-textarea-shell.is-generating .modal-textarea-overlay {
  opacity: 1;
}

.modal-textarea-overlay-wave {
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(110deg,
      rgba(124, 108, 255, 0) 0%,
      rgba(124, 108, 255, 0.05) 20%,
      rgba(79, 209, 255, 0.18) 40%,
      rgba(255, 255, 255, 0.66) 50%,
      rgba(162, 236, 172, 0.2) 60%,
      rgba(124, 108, 255, 0.05) 80%,
      rgba(124, 108, 255, 0) 100%);
  transform: translateX(-86%);
  filter: blur(14px);
  opacity: 0.92;
}

.modal-textarea-shell.is-generating .modal-textarea-overlay-wave {
  animation: modalTextareaSweep 2.6s cubic-bezier(0.33, 0, 0.2, 1) infinite;
}

.modal-textarea-overlay-copy {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border: 1px solid rgba(112, 127, 148, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(120, 133, 148, 0.1);
  backdrop-filter: blur(5px);
}

.is-hero-image .modal-textarea-shell {
  display: none;
}

@keyframes modalTextareaSweep {
  0% {
    transform: translateX(-86%);
  }
  100% {
    transform: translateX(86%);
  }
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  align-self: end;
  margin-top: 0;
  padding-top: 18px;
}

.modal-actions-primary {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.soft-button,
.save-button {
  min-width: 150px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  padding-top: 2px;
}

.soft-button {
  background: var(--surface-muted);
  border-color: var(--line);
  color: #707784;
}

.soft-button:hover,
.soft-button:focus-visible {
  background: #e7ebf0;
  color: #616977;
}

.soft-button.location-picker-button {
  min-width: 210px;
  padding-inline: 18px;
  font-size: 15px;
}

.save-button {
  background: var(--green);
  color: var(--green-text);
}

.save-button:hover,
.save-button:focus-visible {
  background: #95e5a0;
}

@media (max-width: 900px) {
  .progress-brand {
    width: 124px;
  }

  .step {
    width: 120px;
    font-size: 16px;
  }

  .step-line {
    flex-basis: 22px;
  }

  .steps--five .step {
    width: 108px;
  }

  .steps--five .step-line {
    flex-basis: 18px;
  }

  .setup-calendar-grid {
    min-width: 980px;
  }
}

@media (max-width: 760px) {
  .progress-brand {
    display: none;
  }

  .progress-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "actions"
      "steps";
    row-gap: 10px;
  }

  .setup-header-actions {
    margin-left: auto;
  }

  .draft-status {
    display: none;
  }
}

@media (max-width: 600px) {

  .progress-bar {
    overflow-x: visible;
  }

  .progress-inner {
    width: 100%;
    min-width: 0;
  }

  .steps-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .setup-day-body {
    touch-action: pan-x pan-y;
    -webkit-tap-highlight-color: transparent;
  }

  .calendar-board {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 62px;
  }

  .setup-calendar-grid {
    grid-template-columns: 62px repeat(7, calc((100dvw - 62px - 32px) / 2)) calc((100dvw - 62px - 32px) / 2);
    min-width: calc(62px + (8 * ((100dvw - 62px - 32px) / 2)));
  }

  .setup-day-col,
  .setup-mobile-spacer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .setup-mobile-spacer {
    display: block;
  }

  .setup-time-col {
    z-index: 10;
  }

  .steps {
    width: max-content;
    justify-content: flex-start;
  }

  .steps-wrap {
    margin: 0;
  }

  .brand-row,
  .two-cols,
  .edit-card {
    grid-template-columns: 1fr;
  }

  .demo-page-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .demo-open-button {
    width: 100%;
  }

  .demo-preview-viewport {
    height: min(58vh, 520px);
  }

  .calendar-mode-grid,
  .calendar-form-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .calendar-mode-card {
    grid-template-columns: 1fr;
  }

  .brand-controls {
    width: 100%;
  }

  .shape-options {
    grid-template-columns: 1fr;
  }

  .logo-picker,
  .modal-image {
    width: 100%;
  }

  .modal-image-column {
    justify-items: start;
  }

  .image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    aspect-ratio: auto;
  }

  .image-tile {
    aspect-ratio: 1;
  }

  .soft-button,
  .save-button,
  .next-button {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  body:has(.setup-shell) {
    --footer-height: 66px;
  }

  .setup-shell {
    padding-inline: 18px;
  }

  .progress-bar {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .topbar h1 {
    font-size: 24px;
  }

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

  .account-provider-grid {
    grid-template-columns: 1fr;
  }

  .payment-qr-preview {
    grid-template-columns: 1fr;
  }

  .calendar-week-row,
  .publish-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .publish-qr-card {
    grid-template-columns: 1fr;
  }

  .publish-qr-image-shell {
    width: min(100%, 180px);
  }

  .calendar-week-row {
    display: grid;
  }

  .calendar-week-row-note {
    margin-left: 0;
  }

  .publish-button {
    width: 100%;
  }

  .publish-qr-download,
  .publish-qr-live-link {
    width: 100%;
  }

  .wizard-actions {
    justify-content: stretch;
    padding-inline: 18px;
  }

  .draft-status {
    display: none;
  }

  .back-button {
    flex: 0 0 72px;
    width: auto;
    font-size: 15px;
  }

  .preview-button {
    flex: 0 0 96px;
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  .footer-publish-button {
    display: none;
  }

  .next-button {
    flex: 1 1 auto;
    width: auto;
  }

  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-actions-primary {
    display: contents;
  }

  .soft-button,
  .save-button {
    width: 100%;
  }

  .calendar-launch-card,
  .calendar-editor-header {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-editor-modal {
    padding: 10px;
  }

  .calendar-editor-shell {
    height: min(100%, calc(100vh - 20px));
  }

  .calendar-editor-stage {
    padding-bottom: 0;
  }

  .calendar-board-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .calendar-editor-done {
    flex: 1 1 auto;
    min-width: 0;
  }

  .calendar-floating-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    pointer-events: auto;
  }

  .calendar-floating-panel.is-left,
  .calendar-floating-panel.is-right {
    left: 0;
    right: 0;
  }

  .calendar-floating-panel.is-mobile .calendar-floating-panel-inner {
    display: block;
  }

  .calendar-floating-panel.is-mobile .calendar-floating-card {
    gap: 0;
    padding: 0;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    overflow: hidden;
    transform: translateY(var(--sheet-drag-offset, 0));
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .calendar-mobile-sheet-handle {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 10px 16px 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.98);
    text-align: left;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }

  .calendar-mobile-sheet-handle.is-dragging {
    background: rgba(248, 250, 252, 1);
  }

  .calendar-mobile-sheet-grabber {
    grid-column: 1 / -1;
    width: 44px;
    height: 4px;
    margin: 0 auto 4px;
    border-radius: 999px;
    background: rgba(112, 127, 148, 0.22);
  }

  .calendar-mobile-sheet-title {
    color: var(--text-strong);
    font-size: 15px;
    font-weight: 700;
  }

  .calendar-mobile-sheet-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .calendar-mini-button--sheet {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .calendar-mobile-sheet-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 280ms cubic-bezier(0.22, 1, 0.36, 1), padding-bottom 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .calendar-floating-card--mobile.is-expanded .calendar-mobile-sheet-content {
    max-height: min(68vh, 560px);
    overflow: auto;
    padding-bottom: 18px;
  }

  .calendar-floating-card--mobile.is-collapsed .calendar-mobile-sheet-content {
    display: none;
  }

  .calendar-editor-modal.has-mobile-sheet-open .calendar-board {
    overflow: hidden;
    touch-action: none;
  }

  .calendar-floating-card--mobile.is-dragging {
    transition: none;
  }
}

/* Compact setup workspace, aligned with the PlayFrame application UI. */
body:has(.setup-shell) {
  --page-bg: #fcfdfe;
  --field-bg: #ffffff;
  --surface-soft: #ffffff;
  --surface-muted: #f1f4f8;
  --line: #e1e7f0;
  --line-strong: #cfd8e6;
  --shadow-soft: 0 10px 26px rgba(43, 58, 84, 0.07);
  --text: #526078;
  --text-strong: #172033;
  --muted: #718096;
  --placeholder: #a8b2c1;
  --green: #e7f7f8;
  --green-text: #0f6d71;
  --cyan: #0f7b80;
  --cyan-text: #ffffff;
  --radius: 9px;
  --footer-height: 64px;
  min-width: 320px;
  background: var(--page-bg);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

.setup-shell {
  width: min(100%, 1120px);
  padding: 0 24px 32px;
}

.progress-bar {
  margin: 0 -24px 28px;
  padding: 10px 24px;
  /* border-bottom: 1px solid var(--line); */
  background: rgba(246, 248, 251, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.progress-inner {
  grid-template-columns: 126px minmax(0, 1fr) auto;
  grid-template-areas: "brand steps actions";
  column-gap: 20px;
  row-gap: 0;
  width: min(100%, 1072px);
}

.progress-brand {
  width: 118px;
}

.setup-header-actions {
  gap: 6px;
}

.setup-account-link,
.setup-logout-button {
  height: 36px;
  padding: 0 11px;
  border-color: var(--line-strong);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.setup-account-link:hover,
.setup-account-link:focus-visible,
.setup-logout-button:hover,
.setup-logout-button:focus-visible {
  border-color: #aebbd0;
  background: #f7f9fc;
}

.steps-wrap,
.steps {
  width: 100%;
  min-width: 0;
}

.steps-wrap {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.steps {
  justify-content: center;
}

.step,
.steps--five .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 76px;
  max-width: 104px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: #66738a;
  font-size: 13px;
  font-weight: 650;
  overflow: visible;
}

.step span,
.step.is-active span,
.step.is-complete span {
  position: static;
  transform: none;
  font-size: inherit;
}

.step img,
.step.is-active img,
.step.is-complete img {
  position: static;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: none;
}

.step.is-active,
.step.is-complete {
  border-color: #bfe3e5;
  background: #e7f7f8;
  color: #0f6d71;
}

.step.is-active img,
.step.is-complete img {
  opacity: 1;
}

.step:hover:not(.is-active):not(.is-complete),
.step:focus-visible:not(.is-active):not(.is-complete) {
  border-color: var(--line);
  background: #f4f7fa;
  color: #35445d;
}

.step-line,
.steps--five .step-line {
  flex: 1 1 14px;
  max-width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.wizard {
  width: min(100%, 960px);
}

.form-block {
  margin-bottom: 20px;
}

.field-label {
  margin: 0 0 7px;
  /* margin: 0 0 0; */
  color: #526078;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.field-help-text {
  margin: 6px 1px 0;
  color: #7a879b;
  font-size: 12px;
  line-height: 1.45;
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  grid-template-areas:
    "logo name"
    "controls controls";
  gap: 20px 24px;
}

.logo-controls {
  grid-area: logo;
  align-content: start;
}

.brand-name-block {
  grid-area: name;
}

.brand-controls {
  grid-area: controls;
  gap: 12px;
}

.logo-picker,
.logo-picker.has-image {
  width: 100%;
  min-height: 158px;
  aspect-ratio: auto;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: none;
}

.logo-picker:hover,
.logo-picker:focus-visible {
  border-color: #aebbd0;
  background: #fbfcfe;
}

.logo-preview {
  max-width: 100%;
  max-height: 120px;
}

.logo-color-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.logo-color-swatch {
  flex: 0 0 38px;
  width: 38px;
  height: 20px;
  border: 1px solid color-mix(in srgb, var(--logo-color-button-background, #e9edf2), #000 16%);
  border-radius: 5px;
  background: var(--logo-color-button-background, #e9edf2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.logo-color-button:hover,
.logo-color-button:focus-visible {
  border-color: #aebbd0;
  background: #f7f9fc;
  filter: none;
}

.logo-color-button:active {
  transform: none;
}

.text-input,
.textarea,
.shape-field,
.hue-field {
  border-color: var(--line-strong);
  border-radius: 8px;
  box-shadow: none;
}

.text-input {
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.textarea {
  min-height: 100px;
  padding: 11px 12px;
  font-size: 14px;
}

.setup-description-label {
  margin-top: 14px;
}

.slug-preview {
  margin-top: 7px;
  border-color: var(--line);
  background: #f8fafc;
}

.shape-field {
  padding-top: 0;
}

.shape-preview {
  min-height: 96px;
  border-radius: 9px;
  box-shadow: none;
}

.shape-input:checked ~ .shape-preview {
  border-color: #86bdc1;
  box-shadow: 0 0 0 2px rgba(15, 123, 128, 0.12);
}

.color-settings,
.color-settings-details,
.hue-field {
  border-radius: 9px;
}

.section-card {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.section-card h2 {
  margin: 0 0 4px;
  color: var(--text-strong);
  font-size: 20px;
  font-weight: 650;
}

.section-card p {
  max-width: 680px;
  color: #718096;
  font-size: 13px;
}

.two-cols {
  gap: 14px;
}

/* Stable image manager: fit mode never changes grid or sibling dimensions. */
.image-grid,
.image-grid.is-hero-contain {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: none;
  aspect-ratio: 900 / 292;
}

.image-tile.primary {
  grid-column: span 3;
  grid-row: span 2;
  grid-template-rows: 32px minmax(0, 1fr) 30px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.image-tile:not(.primary) {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.image-tile.primary .image-tile-frame,
.image-tile.primary .hero-fit-preview-contain {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 7px;
  background: #f1f4f8;
  box-shadow: none;
}

.image-tile.primary .hero-fit-preview-cover {
  background-color: #f1f4f8;
}

.image-tile.primary .hero-fit-preview-contain {
  background-image: none;
}

.hero-image-controls {
  justify-content: flex-start;
  gap: 8px;
}

.image-tile.primary .image-role-badge,
.image-tile.primary .hero-fit-toggle,
.image-tile.primary .contact-image-toggle {
  min-height: 28px;
  color: #526078;
  text-shadow: none;
  background: #f4f7fa;
  border: 1px solid var(--line);
  box-shadow: none;
}

.image-tile.primary .image-role-badge {
  padding: 0 2px;
  border-color: transparent;
  background: transparent;
  font-size: 11px;
}

.image-tile.primary .hero-fit-toggle {
  flex: 0 1 250px;
  max-width: 250px;
  min-height: 30px;
  padding: 2px;
  border-radius: 7px;
  background: #f4f7fa;
}

.image-tile.primary.hero-fit-cover .hero-fit-toggle,
.image-tile.primary.hero-fit-contain .hero-fit-toggle {
  border-color: var(--line);
  background: #f4f7fa;
  color: #526078;
}

.hero-fit-toggle span {
  height: 24px;
  border-radius: 5px;
  color: #66738a;
  font-size: 11px;
  font-weight: 650;
}

.hero-fit-toggle span.is-active {
  background: #ffffff;
  color: #172033;
  box-shadow: 0 1px 3px rgba(43, 58, 84, 0.12);
}

.image-tile.is-card-image .contact-image-toggle {
  border-color: #abd4d7;
  background: #e7f7f8;
  color: #0f6d71;
}

.image-tile.primary .contact-image-toggle {
  justify-self: start;
  padding: 0 9px;
  font-size: 11px;
}

.contact-image-toggle:hover,
.contact-image-toggle:focus-visible,
.hero-fit-toggle:hover,
.hero-fit-toggle:focus-visible {
  border-color: #aebbd0;
  background: #eef3f7;
  transform: none;
}

.image-tile:hover,
.image-tile:focus-visible,
.image-tile:focus-within {
  border-color: #aebbd0;
  box-shadow: none;
}

.demo-page-heading {
  align-items: center;
  margin-bottom: 12px;
}

.demo-page-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.demo-page-kicker,
.demo-page-heading p,
.demo-return-button {
  display: none;
}

.demo-open-button,
.demo-refresh-button,
.preview-button {
  border-radius: 7px;
  font-size: 13px;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.demo-open-button:hover:not(:disabled),
.demo-open-button:focus-visible:not(:disabled),
.demo-refresh-button:hover:not(:disabled),
.demo-refresh-button:focus-visible:not(:disabled),
.preview-button:hover:not(:disabled),
.preview-button:focus-visible:not(:disabled) {
  border-color: #aebbd0;
  background: #f4f7fa;
  transform: none;
}

.demo-preview-card {
  border-color: var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.demo-preview-toolbar {
  min-height: 46px;
  background: #f8fafc;
}

.demo-preview-viewport {
  height: min(64vh, 620px);
  background: #eef2f6;
}

.wizard-actions {
  height: var(--footer-height);
  gap: 8px;
  padding: 10px 24px;
  /* border-color: var(--line); */
  background: rgba(255, 255, 255, 0.94);
  background: rgba(246, 248, 251, 0.31);
  backdrop-filter: blur(12px);
}

.back-button,
.preview-button,
.next-button,
.footer-publish-button {
  min-height: 40px;
  height: 40px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  box-shadow: none;
}

.back-button {
  width: 96px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: #66738a;
}

.back-button:hover:not([disabled]),
.back-button:focus-visible:not([disabled]) {
  border-color: var(--line);
  background: #f4f7fa;
  color: #35445d;
}

.preview-button {
  min-width: 104px;
  padding: 0 14px;
  background: #ffffff;
}

.next-button {
  width: 148px;
  padding: 0 13px 0 16px;
  border: 1px solid #0f7b80;
  background: #0f7b80;
  color: #ffffff;
}

.next-button:hover,
.next-button:focus-visible,
.next-button:active {
  border-color: #0b666a;
  background: #0b666a;
  color: #ffffff;
  filter: none;
  box-shadow: none;
}

.next-button:hover img,
.next-button:focus-visible img,
.next-button:active img {
  transform: none;
  filter: brightness(0) invert(1);
}

.next-button img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.draft-status {
  position: fixed;
  right: 24px;
  bottom: calc(var(--footer-height) + 14px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: min(360px, calc(100vw - 32px));
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #2c3950;
  border-radius: 8px;
  background: #172033;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(23, 32, 51, 0.2);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: normal;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 180ms ease;
}

.draft-status::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8c3d2;
}

.draft-status.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.draft-status.is-saved::before {
  background: #75d49a;
}

.draft-status.is-local-only::before {
  background: #f0bd63;
}

.draft-status a {
  color: #aee9ec;
}

@media (max-width: 860px) {
  .progress-inner {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .step,
  .steps--five .step {
    min-width: 64px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .step-line,
  .steps--five .step-line {
    max-width: 12px;
  }
}

@media (max-width: 760px) {
  .setup-shell {
    padding-inline: 16px;
  }

  .progress-bar {
    margin-inline: -16px;
    padding: 8px 16px;
  }

  .progress-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "steps steps";
    row-gap: 8px;
  }

  .progress-brand {
    display: block;
    width: 108px;
  }

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

  .step,
  .steps--five .step {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 4px;
    font-size: 11px;
  }

  .step img {
    display: none;
  }

  .step-line,
  .steps--five .step-line {
    display: none;
  }

  .brand-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "name"
      "controls";
    gap: 16px;
  }

  .logo-picker,
  .logo-picker.has-image {
    min-height: 136px;
  }

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

  .image-grid,
  .image-grid.is-hero-contain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: auto;
    aspect-ratio: auto;
  }

  .image-tile.primary {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
  }

  .image-tile:not(.primary) {
    aspect-ratio: 1;
  }

  .demo-preview-viewport {
    height: min(56vh, 500px);
  }

  .draft-status {
    display: inline-flex;
    right: 16px;
  }
}

@media (max-width: 520px) {
  body:has(.setup-shell) {
    --footer-height: 62px;
  }

  .setup-shell {
    padding-inline: 12px;
  }

  .progress-bar {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .setup-account-link,
  .setup-logout-button {
    height: 32px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .shape-options {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    gap: 6px;
    padding-inline: 10px;
  }

  .back-button {
    flex: 0 0 68px;
    width: 68px;
    padding-inline: 6px;
  }

  .preview-button {
    flex: 0 0 84px;
    min-width: 84px;
    padding-inline: 7px;
  }

  .next-button {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .draft-status {
    right: 10px;
    bottom: calc(var(--footer-height) + 10px);
    max-width: calc(100vw - 20px);
  }

  .demo-page-heading {
    align-items: stretch;
    gap: 10px;
  }

  .demo-open-button {
    width: 100%;
  }

  .demo-preview-toolbar {
    flex-wrap: wrap;
  }
}

/* Setup workspace refinement: modern, compact, and visually stable. */
html.setup-is-booting body:has(.setup-shell) {
  background: #ffffff;
}

html.setup-is-booting .setup-shell {
  visibility: hidden;
  opacity: 0;
}

html.setup-is-ready .setup-shell {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.16s ease;
}

body:has(.setup-shell) :is(button, a, input, textarea, select, summary) {
  transition-duration: max-height 0.2s;
}

.text-input:focus,
.textarea:focus,
.hex-color-input:focus,
.calendar-inline-field input:focus,
.calendar-inline-field select:focus,
.calendar-inline-field textarea:focus,
.calendar-week-time-fields input:focus,
select:focus {
  border-color: #75afb3;
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 123, 128, 0.12);
}

body:has(.setup-shell) :is(button, a, summary, input, textarea, select):focus-visible {
  outline: 2px solid rgba(15, 123, 128, 0.32);
  outline-offset: 2px;
}

.progress-bar {
  width: 100vw;
  margin: 0 0 28px calc(50% - 50vw);
  padding: 10px 24px;
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  background: rgba(246, 248, 251, 0.31);
  /* box-shadow: inset 0 -1px 0 var(--line); */
}

.progress-inner {
  width: min(100%, 1072px);
  margin: 0 auto;
}

.steps {
  gap: 4px;
}

.step-line,
.steps--five .step-line {
  display: none;
}

.step,
.steps--five .step {
  position: relative;
  min-width: 82px;
  overflow: hidden;
}

.step span,
.step.is-active span,
.step.is-complete span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.step img,
.step.is-active img,
.step.is-complete img {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.step.is-active span,
.step.is-complete span {
  transform: translate(-60%, -50%);
}

.step.is-active,
.step.is-complete {
  border-color: #c7e5e7;
  background: #edf9fa;
}

.draft-status {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d4dde9;
  border-radius: 9px;
  background: #ffffff;
  color: #29354a;
  box-shadow: 0 12px 30px rgba(43, 58, 84, 0.14);
  text-align: center;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.draft-status::before {
  width: 7px;
  height: 7px;
  background: #8b98ab;
}

.draft-status.is-saved {
  border-color: #cde7d7;
}

.draft-status.is-local-only {
  border-color: #ead9b8;
}

.draft-status.is-saved::before {
  background: #3fa66a;
}

.draft-status.is-local-only::before {
  background: #d5962f;
}

.draft-status a {
  color: #0f6d71;
}

.logo-color-button {
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 5px 6px 5px 12px;
  border-radius: 9px;
  background: #ffffff;
  color: #29354a;
}

.logo-color-swatch {
  order: 2;
  flex-basis: 34px;
  width: 34px;
  height: 30px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.logo-color-button:hover,
.logo-color-button:focus-visible {
  border-color: #9eacc0;
  background: #f8fafc;
}

.shape-options {
  gap: 12px;
}

.shape-option {
  position: relative;
  opacity: 0.5;
  filter: saturate(0.18);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.shape-option:hover,
.shape-option:focus-within {
  opacity: 0.76;
}

.shape-option:has(.shape-input:checked) {
  opacity: 1;
  filter: none;
}

.shape-preview-logo {
  display: none;
}

.shape-preview-round {
  border-radius: 12px;
}

.shape-preview-sharp {
  border-radius: 2px;
}

.shape-card-check {
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border: 1px solid #bec9d7;
  background: #ffffff;
  box-shadow: none;
}

.shape-card-check::after {
  width: 8px;
  height: 8px;
  background: white;
}

.shape-option:has(.shape-input[value="sharp"]) .shape-card-check,
.shape-option:has(.shape-input[value="sharp"]) .shape-card-check::after {
  border-radius: 2px;
}

.shape-option:has(.shape-input[value="round"]) .shape-card-check,
.shape-option:has(.shape-input[value="round"]) .shape-card-check::after {
  border-radius: 50%;
}

.color-settings {
  overflow: clip;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.color-settings-summary {
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  background: #ffffff;
}

.color-settings-summary:hover,
.color-settings-summary:focus-visible {
  background: #f8fafc;
}

.color-settings-current {
  gap: 9px;
}

.hue-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

details:not([open]) > .color-settings-details,
.color-settings-details {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  opacity: 0;
  transition: grid-template-rows 0.2s ease, opacity 0.2s ease;
}

.color-settings[open] > .color-settings-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.color-settings-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  min-height: 0;
  padding: 0 14px;
  overflow: hidden;
  border-top: 0;
}

.color-settings[open] .color-settings-content {
  padding-bottom: 12px;
  border-top: 1px solid var(--line);
}

.color-settings-content > .hue-field {
  min-width: 0;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.color-settings-content > .hue-field:first-child,
.color-settings-content > .hex-field {
  grid-column: 1 / -1;
}

.color-settings-content > .hex-field {
  padding-bottom: 2px;
  border-top: 1px solid var(--line);
}

.hue-label-row {
  margin-bottom: 7px;
  font-size: 13px;
}

.hue-control-row,
.hue-track,
.contrast-track,
.saturation-track {
  min-height: 34px;
}

.hex-control-row {
  gap: 8px;
}

.hex-color-input,
.hex-copy-button {
  min-height: 40px;
  border-radius: 8px;
}

.hex-color-hint {
  margin-top: 6px;
  font-size: 11px;
}

.modal-layer {
  padding: 20px;
  background: var(--playframe-modal-backdrop, rgba(24, 33, 49, 0.26));
  backdrop-filter: blur(4px);
}

.modal-card {
  width: min(760px, 100%);
  padding: 20px;
  border: 1px solid var(--playframe-modal-border, #d5deea);
  border-radius: var(--playframe-modal-radius, 12px);
  background: #ffffff;
  box-shadow: var(--playframe-modal-shadow, 0 24px 70px rgba(31, 43, 64, 0.2));
}

.edit-card {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.modal-image-column {
  gap: 10px;
}

.modal-image {
  width: 220px;
  min-height: 220px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f6f9;
}

.modal-fields {
  gap: 12px;
}

.modal-header-row {
  align-items: center;
}

.modal-auto-description,
.modal-image-action,
.modal-actions button,
.save-button {
  min-height: 40px;
  border-radius: var(--playframe-modal-button-radius, 8px);
  font-size: 13px;
}

.modal-textarea {
  min-height: 154px;
}

.modal-actions {
  margin-top: auto;
  padding-top: 4px;
  border: 0;
}

.modal-actions-primary {
  justify-content: flex-end;
  gap: 8px;
}

.modal-card .soft-button {
  border-color: var(--playframe-modal-border, #d5deea);
  background: var(--playframe-modal-secondary, #eef1f4);
  color: var(--playframe-modal-secondary-text, #707784);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.modal-card .soft-button:hover,
.modal-card .soft-button:focus-visible {
  border-color: #cfd8e6;
  background: var(--playframe-modal-secondary-hover, #e7ebf0);
  color: #616977;
}

.modal-card .save-button {
  background: var(--playframe-modal-primary, #a5edaf);
  color: var(--playframe-modal-primary-text, #0a5c18);
  transition: background-color 160ms ease, color 160ms ease;
}

.modal-card .save-button:hover,
.modal-card .save-button:focus-visible {
  background: var(--playframe-modal-primary-hover, #95e5a0);
}

.image-grid,
.image-grid.is-hero-contain {
  gap: 10px;
  aspect-ratio: 900 / 306;
}

.image-tile,
.image-tile.primary,
.image-tile:not(.primary) {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.image-tile.primary {
  grid-template-rows: 34px minmax(0, 1fr) 30px;
  gap: 8px;
  padding: 10px;
}

.image-tile.primary .image-tile-frame,
.image-tile.primary .hero-fit-preview-contain,
.image-tile.primary .hero-fit-preview-cover {
  border-radius: 6px;
}

.hero-image-controls {
  display: grid;
  grid-template-columns: auto minmax(180px, 250px);
  align-items: center;
  justify-content: start;
  gap: 10px;
  min-width: 0;
}

.image-tile.primary .image-role-badge {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #526078;
  font-size: 12px;
  font-weight: 650;
}

.image-tile.primary .hero-fit-toggle,
.image-tile.primary.hero-fit-cover .hero-fit-toggle,
.image-tile.primary.hero-fit-contain .hero-fit-toggle {
  width: 100%;
  max-width: 250px;
  min-height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f4f8;
  color: #526078;
}

.hero-fit-toggle span {
  height: 22px;
  border-radius: 5px;
  color: #6b778c;
  font-size: 11px;
}

.hero-fit-toggle span.is-active {
  background: #ffffff;
  color: #202b3e;
  box-shadow: 0 1px 3px rgba(43, 58, 84, 0.12);
}

.hero-fit-toggle:hover,
.hero-fit-toggle:focus-visible {
  border-color: #aebbd0;
  background: #eef2f6;
}

.contact-image-toggle,
.image-tile.primary .contact-image-toggle {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d4dde8;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: #43516a;
  text-shadow: none;
  box-shadow: none;
  font-size: 11px;
  font-weight: 650;
}

.image-tile:not(.primary) .contact-image-toggle {
  left: 8px;
  bottom: 8px;
}

.contact-image-toggle:hover,
.contact-image-toggle:focus-visible {
  border-color: #aebbd0;
  background: #f3f6f9;
  color: #27344a;
  text-shadow: none;
}

.image-tile.is-card-image .contact-image-toggle,
.image-tile.is-card-image .contact-image-toggle:hover {
  border-color: #abd4d7;
  background: #e8f7f8;
  color: #0f6d71;
}

.remove-image,
.image-tile.primary .remove-image {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(75, 87, 106, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(31, 43, 64, 0.12);
  transform: none;
}

.image-tile.primary .remove-image {
  top: 52px;
  right: 18px;
}

.remove-image::before,
.remove-image::after {
  width: 13px;
  height: 2px;
  background: #43516a;
}

.image-tile:not(.has-image) .remove-image,
.image-tile:not(.has-image) .contact-image-toggle {
  display: none;
}

.image-tile:hover,
.image-tile:focus-visible,
.image-tile:focus-within {
  border-color: #9fadc0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 123, 128, 0.08);
}

.page[data-page="1"] .section-card {
  margin-top: 26px;
  margin-bottom: 12px;
}

.page[data-page="1"] > .section-card:first-child {
  margin-top: 0;
}

.profile-setup-block {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-image-picker {
  width: 170px;
  min-height: 170px;
  border-radius: 9px;
}

.profile-fields-grid {
  gap: 12px;
}

.profile-fields-grid .textarea {
  min-height: 82px;
}

.profile-links-editor {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 12px;
}

.location-picker-card {
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.location-picker-top {
  align-items: center;
}

.location-picker-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.location-picker-copy {
  display: none;
}

.location-picker-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
}

.location-picker-map {
  min-height: 280px;
  height: 280px;
  border: 0;
  border-radius: 6px;
}

.location-picker-footer {
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.location-picker-status {
  min-height: 40px;
  padding: 10px 0;
  font-size: 12px;
}

.calendar-setup-intro {
  margin-bottom: 12px;
}

.calendar-mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf1f5;
}

.calendar-mode-card {
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.calendar-mode-card.is-active {
  border: 0;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(43, 58, 84, 0.12);
}

.calendar-mode-card:hover,
.calendar-mode-card:focus-visible {
  background: rgba(255, 255, 255, 0.66);
  transform: none;
}

.calendar-mode-icon,
.calendar-mode-help,
.calendar-mode-copy > small {
  display: none;
}

.calendar-mode-copy {
  align-items: center;
  gap: 2px;
}

.calendar-mode-title-row {
  justify-content: center;
}

.calendar-mode-title-row strong {
  font-size: 14px;
  font-weight: 650;
}

.calendar-mode-copy > span:not(.calendar-mode-title-row) {
  color: #7b8799;
  font-size: 11px;
  margin-top: -0.2rem;
}

.calendar-general-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.calendar-sidebar-inner {
  display: grid;
  gap: 0;
}

.calendar-panel-section {
  gap: 14px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-panel-section:last-child {
  border-bottom: 0;
}

.calendar-panel-heading h4 {
  font-size: 15px;
  font-weight: 650;
}

.calendar-panel-heading p,
.calendar-panel-list,
.calendar-stat-row {
  display: none;
}

.calendar-form-grid {
  gap: 12px;
}

.calendar-inline-field,
.calendar-inline-field.is-compact {
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.calendar-inline-field label {
  color: #59677e;
  font-size: 12px;
  font-weight: 650;
}

.calendar-inline-field :is(input, select, textarea),
.calendar-stepper {
  min-height: 40px;
  border-color: var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.calendar-stepper button {
  width: 28px;
  border-radius: 5px;
}

.calendar-week-schedule {
  gap: 0;
  border-top: 1px solid var(--line);
}

.calendar-week-row,
.calendar-week-row.is-enabled {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  min-height: 48px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-week-time-fields {
  justify-content: flex-end;
}

.calendar-week-time-fields input {
  width: 84px;
  height: 36px;
  border-radius: 7px;
}

.calendar-panel-actions {
  margin-top: 0;
}

.calendar-chip-button,
.calendar-advanced-toggle {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 12px;
}

.calendar-launch-card {
  min-height: 58px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.calendar-launch-copy h3 {
  font-size: 14px;
}

.calendar-launch-copy p {
  margin-top: 2px;
  font-size: 11px;
}

.calendar-launch-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px;
}

.demo-preview-status {
  display: none !important;
}

.demo-preview-toolbar {
  justify-content: flex-end;
  min-height: 42px;
}

.wizard-actions {
  padding: 10px 24px;
}

.wizard-actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 960px);
  margin: 0 auto;
}

.wizard-preview-actions,
.wizard-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-nav-actions {
  justify-content: flex-end;
}

.back-button,
.preview-button,
.next-button,
.footer-publish-button {
  border-radius: 8px;
}

.account-page > .section-card {
  margin-bottom: 14px;
}

.account-signup-card,
.account-email-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  /* border: 1px solid rgba(112, 127, 148, 0.14) !important; */
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.account-signup-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.account-signup-methods {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 34px minmax(420px, 1.2fr);
  align-items: end;
  gap: 12px;
}

.account-provider-grid {
  display: grid;
  min-width: 0;
  margin: 0;
}

.social-auth-button {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: none;
}

.social-auth-copy > span {
  font-size: 14px;
}

.social-auth-copy small {
  display: none;
}

.google-mark {
  width: 24px;
  height: 24px;
}

.account-method-divider {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: #8a96a8;
  font-size: 11px;
}

.account-method-divider::before {
  content: "";
  width: 1px;
  height: 100%;
  background: var(--line);
  grid-area: 1 / 1;
}

.account-method-divider span {
  z-index: 1;
  grid-area: 1 / 1;
  padding: 5px 0;
  background: #ffffff;
}

.account-email-option {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}

.account-email-option > label {
  display: flex;
  min-width: 0;
}

.account-email-option .text-input {
  min-height: 44px;
}

.account-email-create-button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #0f7b80;
  border-radius: 8px;
  background: #0f7b80;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.account-email-create-button:hover,
.account-email-create-button:focus-visible {
  border-color: #0b666a;
  background: #0b666a;
}

.account-checkbox-standalone {
  grid-column: 1 / -1;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.account-checkbox-standalone.is-invalid {
  border-color: #d94e5a;
  background: #fff4f5;
  color: #9d2530;
  animation: account-consent-nudge 0.1s ease 2 alternate;
}

.account-checkbox-standalone.is-invalid input {
  outline: 2px solid rgba(217, 78, 90, 0.42);
  outline-offset: 2px;
}

.account-consent-error {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: #9d2530;
  font-size: 12px;
  line-height: 1.45;
}

.account-consent-error[hidden] {
  display: none;
}

@keyframes account-consent-nudge {
  from { transform: translateX(0); }
  to { transform: translateX(3px); }
}

#accountEmailField.is-invalid .text-input {
  border-color: #d94e5a;
  box-shadow: 0 0 0 2px rgba(217, 78, 90, 0.1);
}

.account-status {
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.account-status:empty {
  display: none;
}

.account-status.is-publication-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-strong);
}

.account-publication-copy {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
  gap: 6px;
}

.account-publication-label,
.account-publication-detail {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.account-publication-detail {
  flex-basis: 100%;
}

.account-publication-path {
  overflow: hidden;
  color: #337348;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-status .account-publication-link {
  flex: 0 0 auto;
  padding: 0 0 0 8px;
  border: 0;
  border-left: 1px solid rgba(112, 127, 148, 0.2);
  border-radius: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(112, 127, 148, 0.38);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.account-status .account-publication-link:hover,
.account-status .account-publication-link:focus-visible {
  color: #337348;
  text-decoration-color: currentColor;
}

@media (max-width: 560px) {
  .account-status.is-publication-status {
    align-items: baseline;
    gap: 7px;
  }

  .account-status .account-publication-link {
    align-self: auto;
  }
}

.account-mail-hint {
  margin: 0;
  font-size: 12px;
}

.account-email-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.account-payment-section {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.account-payment-heading {
  margin: 0;
}

.account-payment-heading strong {
  font-size: 16px;
}

.account-payment-heading p {
  margin-top: 3px;
  font-size: 12px;
}

.payment-method-row {
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.payment-method-row small {
  font-size: 11px;
}

.payment-method-group {
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfd;
}

.payment-stripe-group.is-stripe-active,
.payment-stripe-group.is-stripe-pending {
  margin-inline: -18px;
  padding-inline: 28px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.payment-method-group .payment-method-row {
  padding: 0;
  border: 0;
  background: transparent;
}

.payment-method-fields {
  gap: 10px;
  padding-top: 2px;
}

.payment-qr-tools {
  gap: 8px;
}

.payment-qr-tools .soft-button,
.payment-stripe-group .soft-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
}

.publish-card,
.publish-qr-card {
  margin: 0;
  padding: 16px 18px;
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.publish-card.is-offline {
  border-color: rgba(112, 127, 148, 0.18);
  background: #fbfcfd;
}

.publish-button.is-offline-action,
.footer-publish-button.is-offline-action {
  border-color: rgba(173, 44, 54, 0.16) !important;
  background: #fff1f1;
  color: #9a2d35;
  box-shadow: 0 3px 12px rgba(173, 44, 54, 0.05) !important;
}

.publish-button.is-offline-action:hover:not(:disabled),
.publish-button.is-offline-action:focus-visible:not(:disabled),
.footer-publish-button.is-offline-action:hover:not(:disabled),
.footer-publish-button.is-offline-action:focus-visible:not(:disabled) {
  border-color: rgba(173, 44, 54, 0.25) !important;
  background: #ffe7e7;
  color: #84232b;
}

@media (max-width: 760px) {
  .progress-bar {
    margin-left: calc(50% - 50vw);
    padding-inline: 16px;
  }

  .step,
  .steps--five .step {
    min-width: 0;
  }

  .step.is-active span,
  .step.is-complete span {
    transform: translate(-50%, -50%);
  }

  .step img {
    display: none;
  }

  .color-settings-content {
    grid-template-columns: 1fr;
  }

  .color-settings-content > .hue-field,
  .color-settings-content > .hex-field {
    grid-column: 1;
  }

  .color-settings-content > .hue-field + .hue-field {
    border-top: 1px solid var(--line);
  }

  .edit-card {
    grid-template-columns: 1fr;
  }

  .modal-image-column {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: end;
  }

  .modal-image {
    width: 120px;
    min-height: 120px;
  }

  .profile-setup-block {
    grid-template-columns: 1fr;
  }

  .profile-image-picker {
    width: 140px;
    min-height: 140px;
  }

  .profile-links-editor,
  .location-picker-footer,
  .calendar-form-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .calendar-week-row,
  .calendar-week-row.is-enabled {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .account-signup-methods {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .account-method-divider {
    min-height: 20px;
  }

  .account-method-divider::before {
    width: 100%;
    height: 1px;
  }

  .account-method-divider span {
    padding: 0 7px;
  }

  .account-email-option {
    grid-template-columns: 1fr;
  }

  .account-email-create-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wizard-actions {
    padding-inline: 10px;
  }

  .wizard-actions-inner {
    gap: 6px;
  }

  .wizard-preview-actions,
  .wizard-nav-actions {
    gap: 6px;
  }

  .preview-button {
    min-width: 74px;
    padding-inline: 8px;
  }

  .back-button {
    flex-basis: 62px;
    width: 62px;
  }

  .next-button {
    max-width: 132px;
  }

  .hero-image-controls {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .image-tile.primary {
    grid-template-rows: 52px minmax(0, 1fr) 30px;
  }

  .image-tile.primary .remove-image {
    top: 70px;
  }

  .calendar-mode-copy > span:not(.calendar-mode-title-row) {
    display: none;
  }

  .calendar-week-row,
  .calendar-week-row.is-enabled {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .calendar-week-time-fields {
    justify-content: flex-start;
  }
}

/* Image manager: the fit selector is a full-width row above a stable media
   frame. Image actions live inside that frame and reveal together on hover. */
.image-tile.primary {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.hero-image-controls {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.image-tile.primary .image-role-badge {
  justify-self: start;
  min-height: 0;
  color: #43516a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.image-tile.primary .hero-fit-toggle,
.image-tile.primary.hero-fit-cover .hero-fit-toggle,
.image-tile.primary.hero-fit-contain .hero-fit-toggle {
  width: 100%;
  max-width: none;
  min-height: 34px;
}

.hero-fit-toggle span {
  height: 26px;
  font-size: 12px;
}

.image-tile.primary .image-tile-frame,
.image-tile.primary .hero-fit-preview-cover,
.image-tile.primary .hero-fit-preview-contain {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: #f1f4f8;
}

.image-tile.primary:not(.has-image) .placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-tile.primary.has-image .hero-fit-preview-cover .tile-preview,
.image-tile.primary.has-image .hero-fit-preview-contain .tile-preview {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-position: center center;
}

.image-tile.primary.has-image .hero-fit-preview-cover .tile-preview {
  object-fit: cover;
}

.image-tile.primary.has-image .hero-fit-preview-contain .tile-preview {
  object-fit: contain;
}

.image-tile-frame .contact-image-toggle,
.image-tile.primary .image-tile-frame .contact-image-toggle {
  position: absolute;
  left: 10px;
  right: auto;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  justify-self: auto;
  align-self: auto;
  max-width: calc(100% - 20px);
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, background-color 180ms ease, border-color 180ms ease;
}

.image-tile-frame .remove-image,
.image-tile.primary .image-tile-frame .remove-image {
  top: 10px;
  right: 10px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.image-tile.has-image:hover .image-tile-frame .contact-image-toggle,
.image-tile.has-image:focus-within .image-tile-frame .contact-image-toggle,
.image-tile-frame .contact-image-toggle:focus-visible,
.image-tile.has-image:hover .image-tile-frame .remove-image,
.image-tile.has-image:focus-within .image-tile-frame .remove-image,
.image-tile-frame .remove-image:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.image-tile.is-card-image .image-tile-frame .contact-image-toggle {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 520px) {
  .hero-image-controls {
    gap: 7px;
  }

  .image-tile.primary {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .image-tile.primary .remove-image {
    top: 10px;
  }
}

/* === CSS: z-htmx-confirm.css [root] === */
:root {
  --playframe-modal-backdrop: rgba(24, 33, 49, 0.26);
  --playframe-modal-border: #d5deea;
  --playframe-modal-radius: 12px;
  --playframe-modal-shadow: 0 24px 70px rgba(31, 43, 64, 0.2);
  --playframe-modal-button-radius: 8px;
  --playframe-modal-secondary: #eef1f4;
  --playframe-modal-secondary-hover: #e7ebf0;
  --playframe-modal-secondary-text: #707784;
  --playframe-modal-primary: #a5edaf;
  --playframe-modal-primary-hover: #95e5a0;
  --playframe-modal-primary-text: #0a5c18;
  --playframe-modal-danger: #ffdada;
  --playframe-modal-danger-hover: #ffcfcf;
  --playframe-modal-danger-text: #8d1111;
}

.playframe-dialog[hidden] {
  display: none;
}

.playframe-dialog {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.playframe-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: var(--playframe-modal-backdrop);
  backdrop-filter: blur(4px);
}

.playframe-dialog__panel {
  position: relative;
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid var(--playframe-modal-border);
  border-radius: var(--playframe-modal-radius);
  background: #ffffff;
  color: #27303f;
  box-shadow: var(--playframe-modal-shadow);
}

.playframe-dialog__copy {
  padding: 22px 22px 14px;
}

.playframe-dialog__title {
  margin: 0 0 7px;
  color: #27303f;
  font: inherit;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.playframe-dialog__message {
  margin: 0;
  color: #626b79;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.playframe-dialog__message[hidden],
.playframe-dialog__content[hidden] {
  display: none;
}

.playframe-dialog__content {
  margin-top: 16px;
}

.playframe-detail-list {
  display: grid;
  margin: 0;
  border-top: 1px solid #e3e8ef;
}

.playframe-detail-list__row {
  display: grid;
  grid-template-columns: minmax(96px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e3e8ef;
}

.playframe-detail-list dt,
.playframe-detail-list dd {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}

.playframe-detail-list dt {
  color: #737e8e;
  font-weight: 650;
}

.playframe-detail-list dd {
  color: #27303f;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.playframe-dialog__link {
  color: #0f7378;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.playframe-dialog__link:hover,
.playframe-dialog__link:focus-visible {
  color: #095b5f;
}

.playframe-dialog__notice {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #f7f9fb;
  color: #626b79;
  font-size: 13px;
  line-height: 1.5;
}

.playframe-dialog__notice p {
  margin: 0;
}

.playframe-share {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.playframe-share__qr {
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
  padding: 8px;
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  background: #fff;
}

.playframe-share__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.playframe-share__tools {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.playframe-share__url {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #f7f9fb;
  color: #354052;
  font: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
}

.playframe-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.playframe-share__button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #d7dce4;
  border-radius: var(--playframe-modal-button-radius);
  background: var(--playframe-modal-secondary);
  color: #4d596b;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.playframe-share__button:hover,
.playframe-share__button:focus-visible {
  border-color: #cfd8e6;
  background: var(--playframe-modal-secondary-hover);
  color: #354052;
}

.playframe-share__button--live {
  border-color: #b9d9c5;
  background: #edf8f1;
  color: #315f43;
}

.playframe-share__button--live:hover,
.playframe-share__button--live:focus-visible {
  border-color: #9fc9ae;
  background: #e3f3e9;
  color: #244f35;
}

.playframe-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 20px 20px;
  background: #ffffff;
}

.playframe-dialog__button {
  flex: 1 1 0;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d7dce4;
  border-radius: var(--playframe-modal-button-radius);
  background: var(--playframe-modal-secondary);
  color: var(--playframe-modal-secondary-text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.playframe-dialog__button--secondary:hover,
.playframe-dialog__button--secondary:focus-visible {
  border-color: #cfd8e6;
  background: var(--playframe-modal-secondary-hover);
  color: #616977;
}

.playframe-dialog__button--primary {
  border-color: transparent;
  background: var(--playframe-modal-primary);
  color: var(--playframe-modal-primary-text);
}

.playframe-dialog__button--primary:hover,
.playframe-dialog__button--primary:focus-visible {
  background: var(--playframe-modal-primary-hover);
}

.playframe-dialog__button:focus-visible {
  outline: 2px solid rgba(8, 94, 97, 0.35);
  outline-offset: 2px;
}

.playframe-dialog.is-danger .playframe-dialog__button--primary {
  border-color: transparent;
  background: var(--playframe-modal-danger);
  color: var(--playframe-modal-danger-text);
}

.playframe-dialog.is-danger .playframe-dialog__button--primary:hover,
.playframe-dialog.is-danger .playframe-dialog__button--primary:focus-visible {
  background: var(--playframe-modal-danger-hover);
}

.playframe-dialog__button--secondary[hidden] + .playframe-dialog__button--primary {
  flex: 0 1 180px;
}

@media (max-width: 540px) {
  .playframe-dialog {
    align-items: end;
    padding: 12px;
  }

  .playframe-dialog__actions {
    flex-direction: column-reverse;
  }

  .playframe-dialog__button {
    width: 100%;
  }

  .playframe-share {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .playframe-share__qr {
    width: 88px;
  }
}

/* === CSS: z-nsb-box.css [core] === */
#nsbbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: rgba(10, 8, 12, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#nsbbox.open {
  display: flex;
}

#nsbbox .nsb-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 1280px);
  max-width: 100%;
  max-height: calc(100vh - 8rem);
}

#nsbbox img,
#nsbbox iframe {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  border: 0;
  border-radius: 1rem;
  corner-shape: superellipse(1.5);
  background: #0b0b0d;
  box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.45);
}

#nsbbox img {
  width: auto;
  height: auto;
  object-fit: contain;
}

#nsbbox iframe {
  width: min(92vw, 1280px);
  height: min(80vh, 820px);
}

#nsbbox .nsb-caption {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  max-width: min(90vw, 900px);
  margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  corner-shape: superellipse(1.5);
  background: rgba(9, 9, 12, 0.72);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

#nsbbox .nsb-close,
#nsbbox .nsb-prev,
#nsbbox .nsb-next {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.82);
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

#nsbbox .nsb-close:hover,
#nsbbox .nsb-prev:hover,
#nsbbox .nsb-next:hover {
  transform: scale(1.06);
  background: rgba(24, 24, 30, 0.96);
  border-color: rgba(255, 255, 255, 0.36);
}

#nsbbox .nsb-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.6rem;
  padding-top: 2px;
}

#nsbbox .nsb-prev,
#nsbbox .nsb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding-bottom: 5px;
}

#nsbbox .nsb-prev:hover,
#nsbbox .nsb-next:hover {
  transform: translateY(-50%) scale(1.06);
}

#nsbbox .nsb-prev {
  left: 1.5rem;
  padding-right: 2px;
}

#nsbbox .nsb-next {
  right: 1.5rem;
  padding-left: 4px;
}

#nsbbox.nsbbox--iframe .nsb-prev,
#nsbbox.nsbbox--iframe .nsb-next {
  display: none;
}

#nsbbox.fade-out .nsb-media > * {
  opacity: 0;
  transform: translateX(var(--dir, 0));
}

#nsbbox .nsb-media > * {
  transition: opacity 280ms ease, transform 280ms ease;
}

@media (max-width: 900px) {
  #nsbbox {
    padding: 1rem;
  }

  #nsbbox .nsb-media,
  #nsbbox img,
  #nsbbox iframe {
    max-height: calc(100vh - 6.5rem);
  }

  #nsbbox .nsb-prev,
  #nsbbox .nsb-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  #nsbbox .nsb-prev {
    left: 0.75rem;
  }

  #nsbbox .nsb-next {
    right: 0.75rem;
  }

  #nsbbox .nsb-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  #nsbbox .nsb-caption {
    bottom: 0.85rem;
    font-size: 0.88rem;
    padding: 0.6rem 0.85rem;
  }
}

/* === CSS: z-playframe-room-lightbox.css [root] === */
/* PlayFrame gallery extension for the shared nsb-box. This file sorts after
   z-nsb-box.css so the public room layout can keep its caption on the media. */
#nsbbox.open {
  display: grid;
  grid-template-columns: minmax(0, auto);
  grid-template-rows: minmax(0, auto);
}

#nsbbox .nsb-media,
#nsbbox .nsb-caption {
  grid-column: 1;
  grid-row: 1;
}

#nsbbox .nsb-caption {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 3;
  align-self: end;
  justify-self: center;
  transform: none;
  margin: 0 0 1rem;
}

#nsbbox .nsb-caption:empty {
  display: none;
}

/* === CSS: z-playframe-setup-refinements.css [root] === */
/* Final setup refinements. The selected offer color is intentionally scoped to
   the style previews; the setup workspace keeps its neutral PlayFrame palette. */

html:has(body.playframe-setup-page),
html.setup-is-booting,
html.setup-is-ready,
body.playframe-setup-page,
body.playframe-setup-page #page {
  background: #ffffff !important;
  background: #fcfdfe !important;
}

body.playframe-setup-page {
  min-height: 100vh;
  min-height: 100dvh;
}

body.playframe-setup-page #page {
  min-height: 100vh;
  min-height: 100dvh;
}

body.playframe-setup-page :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select
),
body.playframe-setup-page :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select
):is(:hover, :focus, :focus-visible, :active) {
  background-color: #ffffff !important;
}

body.playframe-setup-page input:-webkit-autofill,
body.playframe-setup-page input:-webkit-autofill:hover,
body.playframe-setup-page input:-webkit-autofill:focus,
body.playframe-setup-page textarea:-webkit-autofill,
body.playframe-setup-page select:-webkit-autofill {
  -webkit-text-fill-color: #172033;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 0s;
}

body.playframe-setup-page select:not([multiple]) {
  min-height: 42px;
  padding-right: 34px !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("/images/icons/chevron-down-outline.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 11px center !important;
  background-size: 14px 14px !important;
  line-height: 1.2;
}

body:has(.setup-shell) :is(button, a, summary, input, textarea, select):focus-visible {
  outline: 0 !important;
}

body:has(.setup-shell) :is(.text-input, .textarea, .hex-color-input, select):focus,
body:has(.setup-shell) :is(.calendar-inline-field, .calendar-week-time-fields) :is(input, select, textarea):focus {
  border-color: #8497aa !important;
  box-shadow: 0 0 0 1px rgba(72, 96, 119, 0.16) !important;
}

body:has(.setup-shell) :is(button, a, summary):focus-visible {
  box-shadow: 0 0 0 1px rgba(72, 96, 119, 0.2) !important;
}

/* Only the selected style preview adopts the configured offer color. */
.shape-field-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.shape-field-heading .field-label {
  margin: 0;
}

.shape-card-title {
  padding-inline: 2px;
  color: var(--text-strong, #172033);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.shape-option-head {
  top: 21.5px;
}

.shape-option:has(.shape-input:checked) .shape-preview {
  border-color: var(--setup-brand-swatch, #0f7b80) !important;
  box-shadow: 0 0 0 1px var(--setup-brand-swatch, #0f7b80) !important;
}

.shape-option:has(.shape-input:checked) .shape-card-check {
  border-color: var(--setup-brand-swatch, #0f7b80);
}

.shape-option:has(.shape-input:checked) .shape-card-check::after,
body.is-mono-theme .shape-option:has(.shape-input:checked) .shape-card-check::after {
  background: var(--setup-brand-swatch, #0f7b80);
}

/* The former split black/white cap escaped the hue track at zero. */
.hue-track::before {
  display: none;
}

.hue-track {
  padding-inline: 9px;
  background-clip: padding-box;
  background:
    linear-gradient(90deg, #242932 0 14px, #f4f6f8 14px 28px, transparent 28px),
    linear-gradient(
      90deg,
      oklch(0.7 0.2 0deg) 0%,
      oklch(0.7 0.2 30deg),
      oklch(0.7 0.2 60deg),
      oklch(0.7 0.2 90deg),
      oklch(0.7 0.2 120deg),
      oklch(0.7 0.2 150deg),
      oklch(0.7 0.2 180deg),
      oklch(0.7 0.2 210deg),
      oklch(0.7 0.2 240deg),
      oklch(0.7 0.2 270deg),
      oklch(0.7 0.2 300deg),
      oklch(0.7 0.2 330deg),
      oklch(0.7 0.2 360deg)
    );
}

/* Navigation labels stay centered until their completion icon appears. */
.progress-inner {
  grid-template-columns: 126px minmax(480px, 1fr) auto;
}

.steps {
  gap: 5px;
}

.step,
.steps--five .step {
  position: relative;
  min-width: 88px;
  max-width: 104px;
  padding: 0;
  overflow: hidden;
}

.step span,
.step.is-active span,
.step.is-complete span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.step.is-active span,
.step.is-complete span {
  transform: translate(calc(-50% - 8px), -50%);
}

.step img,
.step.is-active img,
.step.is-complete img {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
}

.step.is-active,
.step.is-complete {
  border-color: #c7e5e7;
  background: #edf9fa;
  color: #0f6d71;
}

/* A neutral split action with the detected logo color filling its right edge. */
.logo-color-button {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) 44px;
  align-self: center;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbd5e2;
  border-radius: 8px;
  background: #fff;
  color: #29354a;
  box-shadow: 0 1px 2px rgba(43, 58, 84, 0.06);
}

.logo-color-button [data-logo-color-label] {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 8px 13px;
  text-align: left;
}

.logo-color-button::after {
  content: "";
  align-self: stretch;
  width: 44px;
  border-left: 1px solid color-mix(in srgb, var(--logo-color-button-background, #e9edf2), #000 18%);
  border-radius: 0;
  background: var(--logo-color-button-background, #e9edf2);
}

.logo-color-button:hover,
.logo-color-button:focus-visible {
  border-color: #9eacc0;
  background: #f5f7fa;
}

.hex-color-hint {
  display: none;
}

/* Keep the color editor compact while preserving the full slider width. */
.color-settings-summary {
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.color-settings-current {
  gap: 7px;
}

.hue-swatch {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.color-settings-content {
  gap: 0 14px;
  padding-inline: 12px;
}

.color-settings[open] .color-settings-content {
  padding-bottom: 8px;
}

.color-settings.is-js-disclosure > .color-settings-details {
  grid-template-rows: 1fr;
  transition: none;
}

.color-settings.is-js-disclosure:not([open]) > .color-settings-details {
  grid-template-rows: 0fr;
}

.color-settings[open]:not(.is-opening):not(.is-closing) > .color-settings-details,
.color-settings[open]:not(.is-opening):not(.is-closing) .color-settings-content {
  overflow: visible;
}

.color-settings.is-js-disclosure.is-closing .color-settings-chevron {
  margin-top: -4px;
  transform: rotate(45deg);
}

.color-settings-content > .hue-field {
  padding: 8px 0;
}

.hue-label-row {
  margin-bottom: 5px;
  font-size: 12px;
}

.hue-control-row {
  min-height: 22px;
}

.hue-track,
.contrast-track,
.saturation-track {
  min-height: 16px;
}

#hueSlider::-webkit-slider-runnable-track,
#contrastSlider::-webkit-slider-runnable-track,
#saturationSlider::-webkit-slider-runnable-track {
  height: 4px;
}

#hueSlider::-moz-range-track,
#contrastSlider::-moz-range-track,
#saturationSlider::-moz-range-track {
  height: 4px;
}

#hueSlider::-webkit-slider-thumb,
#contrastSlider::-webkit-slider-thumb,
#saturationSlider::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
}

#hueSlider::-moz-range-thumb,
#contrastSlider::-moz-range-thumb,
#saturationSlider::-moz-range-thumb {
  width: 14px;
  height: 14px;
}

.contrast-step-dots span {
  width: 4px;
  height: 4px;
}

.hex-color-input,
.hex-copy-button {
  min-height: 36px;
  height: 36px;
}

/* Contact is split into three flat groups rather than one long loose form. */
.contact-section-group {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-section-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.page[data-page="1"] .contact-section-group > .section-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-details-grid,
.address-fields-grid {
  display: grid;
  gap: 12px;
  padding: 0;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.contact-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.contact-website-field {
  grid-column: 1 / -1;
}

.contact-website-field .field-label small {
  color: #8994a6;
  font-size: 11px;
  font-weight: 550;
}

.address-fields-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(240px, 2fr) minmax(110px, 0.55fr) repeat(2, minmax(160px, 1fr));
}

.address-autocomplete {
  position: relative;
  display: block;
}

.address-suggestions {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 5px);
  left: 0;
  width: max(100%, 360px);
  max-height: 264px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #cbd5e3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(35, 48, 68, 0.16);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestion {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 5px;
  color: #26344b;
  cursor: pointer;
}

.address-suggestion + .address-suggestion {
  border-top: 1px solid #edf1f6;
}

.address-suggestion.is-active,
.address-suggestion:hover {
  background: #edf7f8;
}

.address-suggestion-primary {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.address-suggestion-secondary,
.address-suggestions-status {
  color: #6e7b90;
  font-size: 12px;
  line-height: 1.35;
}

.address-suggestions-status {
  display: block;
  padding: 10px;
}

/* One location sequence: action/status, map, optional note. */
.location-picker-card {
  position: relative;
  z-index: 1;
  gap: 10px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.location-picker-top {
  gap: 16px;
}

.location-picker-title {
  font-size: 14px;
}

.location-picker-status {
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  color: #758196;
  font-size: 11px;
}

.location-picker-map {
  width: 100%;
  height: 330px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.location-picker-map .leaflet-control-zoom {
  border: 1px solid rgba(25, 37, 54, 0.16);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 19, 31, 0.13);
}

.location-picker-map .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  line-height: 34px;
  color: #203048;
  background: rgba(255, 255, 255, 0.96);
}

.location-picker-map .leaflet-control-zoom a:hover,
.location-picker-map .leaflet-control-zoom a:focus-visible {
  color: #08777c;
  background: #f2fbfb;
}

.location-picker-map .leaflet-control-attribution {
  margin: 0 7px 6px 0;
  padding: 2px 5px;
  border-radius: 4px;
  color: #536174;
  background: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  line-height: 1.25;
  backdrop-filter: blur(5px);
}

.location-picker-map .leaflet-control-attribution a {
  color: #34465f;
}

.location-note-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}

.location-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: start;
  gap: 18px;
}

.location-image-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.location-image-field > .field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.location-image-field > .field-label small {
  color: #8994a6;
  font-size: 11px;
  font-weight: 550;
}

.location-image-help {
  margin: 0;
  color: #718097;
  font-size: 12px;
  line-height: 1.5;
}

.location-image-tools,
.location-image-picker {
  width: 200px;
  max-width: 100%;
}

.location-image-tools {
  position: relative;
}

.location-image-picker {
  min-height: 200px;
  aspect-ratio: 1;
}

.location-note-field .field-label {
  grid-row: 1;
  margin: 0;
}

.location-note-textarea {
  grid-row: 2;
  width: 100%;
  min-height: 248px;
  resize: vertical;
}

.contact-image-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.contact-image-field > .field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.contact-image-field > .field-label small {
  color: #8994a6;
  font-size: 11px;
  font-weight: 550;
}

.contact-image-field .profile-image-tools,
.contact-image-field .profile-image-picker {
  width: 148px;
}

.contact-image-field .profile-image-tools {
  position: relative;
}

.logo-picker-shell {
  position: relative;
  width: 100%;
}

.logo-picker-shell .logo-picker {
  width: 100%;
}

.contact-image-field .profile-image-picker {
  min-height: 148px;
  aspect-ratio: 1;
}

.contact-image-clear {
  position: absolute;
  z-index: 2;
  right: 8px;
  top: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(75, 87, 106, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: #43516a;
  box-shadow: 0 2px 8px rgba(31, 43, 64, 0.12);
  font-size: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, background-color 150ms ease;
}

.contact-image-clear::before,
.contact-image-clear::after {
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: #43516a;
  content: "";
}

.contact-image-clear::before {
  transform: rotate(45deg);
}

.contact-image-clear::after {
  transform: rotate(-45deg);
}

.contact-image-clear[hidden] {
  display: none;
}

.profile-image-tools:hover .contact-image-clear,
.profile-image-tools:focus-within .contact-image-clear,
.logo-picker-shell:hover .contact-image-clear,
.logo-picker-shell:focus-within .contact-image-clear,
.contact-image-clear:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-image-clear:hover,
.contact-image-clear:focus-visible {
  background: #ffffff;
}

.contact-additional-settings {
  border: 0;
}

.contact-additional-settings > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 4px 12px;
  min-height: 62px;
  padding: 8px 2px 10px;
  list-style: none;
  cursor: pointer;
}

.contact-additional-settings > summary::-webkit-details-marker {
  display: none;
}

.contact-additional-title {
  grid-column: 1;
  grid-row: 1;
  color: #334158;
  font-size: 14px;
  font-weight: 700;
}

.contact-additional-hint {
  grid-column: 1;
  grid-row: 2;
  color: #778398;
  font-size: 12px;
  line-height: 1.4;
}

.contact-additional-chevron {
  width: 9px;
  height: 9px;
  justify-self: end;
  grid-column: 2;
  grid-row: 1 / span 2;
  border-right: 2px solid #7b8798;
  border-bottom: 2px solid #7b8798;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.contact-additional-settings[open] .contact-additional-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.contact-additional-settings.is-closing .contact-additional-chevron {
  transform: rotate(45deg) translateY(-2px);
}

.contact-additional-details {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
}

.contact-additional-settings[open]:not(.is-opening):not(.is-closing) > .contact-additional-details {
  overflow: visible;
}

.contact-additional-settings:not([open]) > .contact-additional-details {
  grid-template-rows: 0fr;
}

.contact-additional-content {
  display: grid;
  min-height: 0;
  gap: 14px;
  padding: 8px 0 2px;
}

.contact-additional-settings:not([open]) .contact-additional-content {
  padding-block: 0;
}

.contact-additional-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.contact-additional-fields > label:first-child {
  grid-column: 1;
}

.contact-additional-fields .profile-wide-field {
  grid-column: 1 / -1;
}

.contact-additional-fields .textarea {
  min-height: 72px;
}

.profile-links-block {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.profile-links-block > strong {
  font-size: 14px;
}

.profile-links-editor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
}

.profile-link-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}

/* Booking mode keeps its useful icon hierarchy without becoming colorful. */
.calendar-mode-grid {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.calendar-mode-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 74px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
}

.calendar-mode-card.is-active {
  border: 1px solid #87bfc3;
  background: #f1f9f9;
  box-shadow: 0 0 0 1px rgba(15, 123, 128, 0.1);
}

.calendar-mode-card:hover,
.calendar-mode-card:focus-visible {
  border-color: #aeb9c8;
  background: #f8fafc;
}

.calendar-mode-card.is-active:hover,
.calendar-mode-card.is-active:focus-visible {
  border-color: #6faeb2;
  background: #edf8f8;
}

.calendar-mode-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d6dde7;
  border-radius: 8px;
  background: #f5f7fa;
  color: #66738a;
}

.calendar-mode-icon img {
  width: 22px;
  height: 22px;
}

.calendar-mode-card.is-active .calendar-mode-icon {
  border-color: #b9dadd;
  background: #fff;
  color: #0f7b80;
}

.calendar-mode-icon-block::before,
.calendar-mode-icon-block::after {
  background: currentColor;
}

.calendar-mode-icon-time::before,
.calendar-mode-icon-time::after {
  border-color: currentColor;
}

.calendar-mode-copy {
  align-items: flex-start;
  gap: 3px;
}

.calendar-mode-title-row {
  justify-content: flex-start;
}

.calendar-mode-title-row strong {
  color: #1f2a3d;
  font-size: 14px;
}

.calendar-mode-copy > span:not(.calendar-mode-title-row) {
  color: #718096;
  font-size: 12px;
  margin-top: -0.2rem;
}

.calendar-mode-copy > small {
  display: block;
  margin-top: -.1rem;
  color: #7c8799;
  font-size: 10px;
  line-height: 1.35;
}

.calendar-mode-explanation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #d9e2eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #617086;
  font-size: 12px;
  line-height: 1.45;
}

.calendar-mode-explanation strong {
  color: #344158;
  font-size: 13px;
}

.calendar-mode-explanation-detail {
  margin-top: 2px;
  color: #4f6078;
  font-weight: 650;
}

.calendar-settings-stack {
  margin-top: 16px;
}

.calendar-panel-heading p {
  margin: 3px 0 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.4;
}

.calendar-booking-rules-grid {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  align-items: end;
}

.calendar-block-price-setting {
  max-width: 320px;
}

.calendar-block-price-setting small {
  color: #7b8799;
  font-size: 11px;
  line-height: 1.4;
}

/* Use the available width: booking rules first, weekday columns below. */
.calendar-general-card {
  overflow: visible;
}

.calendar-sidebar-inner {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.calendar-panel-section {
  padding: 16px;
}

.calendar-panel-section:first-child {
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.calendar-panel-section:nth-child(2) {
  border-bottom: 0;
}

.calendar-panel-section:nth-child(3) {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

.calendar-form-grid {
  gap: 10px;
}

.calendar-panel-section:first-child .calendar-form-grid.two-cols {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.calendar-week-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 0;
}

.calendar-week-row,
.calendar-week-row.is-enabled {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  align-items: start;
  gap: 5px 8px;
  min-height: 92px;
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  background: #f7f9fb;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.calendar-week-row:has(.calendar-week-price-field) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-week-price-field {
  display: grid;
  grid-column: 3;
  grid-row: 2;
  gap: 2px;
  min-width: 0;
}

.calendar-week-price-field > span {
  color: #718096;
  font-size: 10px;
  font-weight: 650;
}

.calendar-week-price-field input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding-inline: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #202b3f;
  font: inherit;
  font-size: 12px;
  text-align: center;
}

.calendar-week-row:not(.is-enabled) .calendar-week-price-field {
  opacity: 0.38;
  pointer-events: none;
}

.calendar-floating-panel {
  width: min(380px, calc(100vw - 36px));
}

.calendar-floating-card .calendar-form-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-floating-card > .calendar-form-grid {
  grid-template-columns: minmax(0, 1fr);
}

.calendar-floating-card,
.calendar-floating-card .calendar-form-grid,
.calendar-floating-card .calendar-inline-field,
.calendar-floating-card .calendar-stepper-field {
  min-width: 0;
}

.calendar-floating-card .calendar-stepper-field,
.calendar-floating-card .calendar-inline-field input,
.calendar-floating-card .calendar-inline-field select,
.calendar-floating-card .calendar-inline-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.calendar-floating-card .calendar-duration-value {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.next-button {
  width: 180px;
  gap: 8px;
}

@media (max-width: 680px) {
  .next-button {
    width: 160px;
    max-width: 160px;
    padding-inline: 12px;
  }
}

/* Final weekly-editor authority. The controls must wrap inside each weekday
   surface instead of forcing the participant field or its help icon outside. */
body:has(.setup-shell) .calendar-week-entry,
body:has(.setup-shell) .calendar-week-entry > *,
body:has(.setup-shell) .calendar-week-entry :is(label, input, .calendar-week-duration-field) {
  min-width: 0;
}

body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
  grid-template-columns: minmax(120px, 1.45fr) repeat(2, minmax(68px, 0.75fr)) minmax(72px, 0.8fr) minmax(80px, 0.9fr) minmax(90px, 0.9fr) 32px;
}

body:has(.setup-shell) .calendar-week-title-field .setup-character-count.setup-character-count--compact {
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 650 !important;
}

body:has(.setup-shell) .calendar-week-capacity-field > .calendar-inline-label {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100%;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
}

body:has(.setup-shell) .calendar-week-capacity-field .calendar-inline-help {
  position: static !important;
  inset: auto !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
}

@container (max-width: 760px) {
  body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 32px;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-remove-button {
    grid-column: 4;
    grid-row: 1;
  }
}

@container (max-width: 500px) {
  body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 32px;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-remove-button {
    grid-column: 3;
    grid-row: 1;
  }
}

/* The compact weekly editor must keep labels and controls inside each day.
   These overrides intentionally live last because the schedule has older
   breakpoint rules in both setup stylesheets. */
.calendar-week-entry .calendar-week-title-field .setup-character-count.setup-character-count--compact {
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 650 !important;
}

.calendar-week-capacity-field > .calendar-inline-label {
  display: inline-flex !important;
  width: max-content;
  max-width: 100%;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px;
}

.calendar-week-capacity-field .calendar-inline-help {
  position: static !important;
  flex: 0 0 auto;
  margin: 0;
}

@container (max-width: 920px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 30px;
  }

  .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }
}

@container (max-width: 720px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 30px;
  }

  .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }
}

@container (max-width: 500px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 30px;
  }

  .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .next-button {
    width: auto;
    max-width: none;
    min-width: 0;
    gap: 5px;
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .next-button img {
    width: 15px;
    height: 15px;
  }
}

/* The compact weekly editor and the visual detail editor share the same
   calendar entries. A day card therefore grows with every real entry instead
   of collapsing multiple entries into one synthetic range. */
.calendar-sidebar-inner > .calendar-launch-card {
  min-height: 62px;
  margin: 0;
  padding: 12px 18px;
  border-width: 0 0 1px;
  border-color: var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.calendar-sidebar-inner > .calendar-launch-card .calendar-launch-copy h3 {
  font-size: 15px;
  font-weight: 650;
}

.calendar-sidebar-inner > .calendar-launch-card .calendar-launch-copy p {
  font-size: 12px;
}

.calendar-week-row,
.calendar-week-row.is-enabled,
.calendar-week-row:has(.calendar-week-price-field) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  background: #f7f9fb;
}

.calendar-week-row.is-enabled {
  border-color: #b8d7da;
  background: #fff;
}

.calendar-week-row.has-error {
  border-color: rgba(168, 51, 47, 0.42);
}

.calendar-week-row-head {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.calendar-week-day-toggle {
  grid-column: auto;
  grid-row: auto;
}

.calendar-week-add-button,
.calendar-week-remove-button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #4f5e75;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.calendar-week-add-button {
  padding: 0 9px;
  white-space: nowrap;
}

.calendar-week-remove-button {
  align-self: end;
  width: 30px;
  padding: 0;
  color: #9d3835;
  font-size: 17px;
}

.calendar-week-add-button:hover,
.calendar-week-add-button:focus-visible,
.calendar-week-remove-button:hover,
.calendar-week-remove-button:focus-visible {
  border-color: #9eb1c4;
  background: #f7f9fb;
  outline: none;
}

.calendar-week-entry-list {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 8px;
  min-width: 0;
}

.calendar-week-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 30px;
  align-items: end;
  gap: 7px;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.calendar-week-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.calendar-week-entry:has(.calendar-week-title-field) {
  grid-template-columns: minmax(105px, 1.35fr) repeat(2, minmax(62px, 0.72fr)) minmax(66px, 0.72fr) minmax(68px, 0.78fr) minmax(76px, 0.82fr) 30px;
}

.setup-character-count--compact {
  font-size: 10px;
  line-height: 1;
}

.calendar-week-title-field .setup-character-count--compact {
  font-size: 8px;
  font-weight: 650;
}

.calendar-week-row {
  container-type: inline-size;
}

.calendar-week-entry .calendar-inline-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
}

.calendar-week-entry .calendar-inline-help {
  flex: 0 0 auto;
}

.calendar-week-entry.is-placeholder {
  opacity: 0.46;
}

.calendar-week-entry :is(label, .calendar-week-duration-field) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.calendar-week-entry :is(label, .calendar-week-duration-field) > span {
  color: #718096;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.calendar-week-entry input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #202b3f;
  font: inherit;
  font-size: 12px;
}

.calendar-week-entry .calendar-week-time-field input,
.calendar-week-entry .calendar-week-price-field input,
.calendar-week-entry .calendar-week-duration-field input,
.calendar-week-entry .calendar-week-capacity-field input {
  text-align: center;
}

.calendar-week-duration-field strong {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #344057;
  font-size: 12px;
  font-weight: 650;
}

.calendar-week-row:not(.is-enabled) .calendar-week-entry-list {
  pointer-events: none;
}

.calendar-week-row-error {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  color: #a8332f;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

@media (max-width: 1160px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 30px;
  }

  .calendar-week-title-field {
    grid-column: 1 / -2;
  }
}

@media (max-width: 680px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 30px;
  }

  .calendar-week-title-field {
    grid-column: 1 / -1;
  }

  .calendar-week-remove-button {
    grid-column: 3;
  }
}

@container (max-width: 720px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 30px;
  }

  .calendar-week-title-field {
    grid-column: 1 / -2;
  }
}

@container (max-width: 500px) {
  .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 30px;
  }

  .calendar-week-title-field {
    grid-column: 1 / -1;
  }

  .calendar-week-remove-button {
    grid-column: 3;
  }
}

@media (max-width: 980px) {
  .calendar-booking-rules-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 680px) {
  .calendar-mode-explanation {
    grid-template-columns: 1fr;
  }

  .calendar-booking-rules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calendar-week-row.is-enabled {
  border-color: #b8d7da;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 123, 128, 0.06);
}

.calendar-week-day-toggle {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 1;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.calendar-week-day-toggle input {
  appearance: none;
  display: grid;
  width: 19px;
  height: 19px;
  margin: 0;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid #aeb9c8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.calendar-week-day-toggle input::before {
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.calendar-week-day-toggle input:checked {
  border-color: #147f84;
  background: #147f84;
}

.calendar-week-day-toggle input:checked::before {
  opacity: 1;
}

.calendar-week-day-toggle span {
  min-width: 0;
  color: #526078;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-week-time-fields {
  display: contents;
}

.calendar-week-time-field {
  display: grid;
  grid-row: 2;
  gap: 2px;
  min-width: 0;
}

.calendar-week-time-field:first-child {
  grid-column: 1;
}

.calendar-week-time-field:last-child {
  grid-column: 2;
}

.calendar-week-time-field > span {
  color: #718096;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: none;
}

.calendar-week-time-fields input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding-inline: 4px;
  border-radius: 7px;
  font-size: 12px;
  text-align: center;
  cursor: text;
}

.calendar-week-row:not(.is-enabled) .calendar-week-time-fields,
.calendar-week-row:not(.is-enabled) .calendar-week-price-field {
  opacity: 0.46;
  pointer-events: auto;
}

.calendar-week-row:hover {
  border-color: #bac5d2;
  background: #f9fbfc;
}

.calendar-week-row.is-enabled:hover {
  border-color: #92c2c6;
  background: #fff;
}

.calendar-popover--small {
  top: auto;
  right: auto;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(220px, calc(100vw - 32px));
  z-index: 500;
}

.calendar-week-row-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #8a612c;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 650;
}

.calendar-inline-field > .calendar-inline-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.calendar-inline-label .calendar-popover-wrap {
  display: inline-flex;
  flex: 0 0 auto;
}

/* Demo has a single contextual action; full-tab preview remains in the footer. */
.demo-page-heading {
  align-items: center;
  margin-bottom: 10px;
}

.demo-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: #35445d;
  font-size: 13px;
  font-weight: 650;
}

.demo-refresh-button img {
  width: 16px;
  height: 16px;
  opacity: 0.72;
}

.demo-refresh-button:hover,
.demo-refresh-button:focus-visible {
  border-color: #aeb9c8;
  background: #f5f7fa;
}

.demo-preview-viewport {
  border-top: 0;
}

/* Payment methods are full-width disclosure rows. Clicking title or switch
   toggles the checkbox; enabled methods reveal their existing fields. */
.account-payment-section {
  gap: 0;
}

.account-payment-heading {
  padding-bottom: 12px;
}

.payment-method-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.payment-method-row > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-switch {
  grid-column: 2;
  justify-self: end;
  position: relative;
  display: block !important;
  width: 40px;
  height: 24px;
  border: 1px solid #c5ceda;
  border-radius: 999px;
  background: #dbe1e9;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.payment-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(31, 43, 64, 0.2);
  transition: transform 0.2s ease;
}

.payment-method-row > input:checked + .payment-switch {
  border-color: #0f7b80;
  background: #0f7b80;
}

.payment-method-row > input:checked + .payment-switch > span {
  transform: translateX(16px);
}

.payment-method-row > input:focus-visible + .payment-switch {
  box-shadow: 0 0 0 1px rgba(72, 96, 119, 0.2);
}

.payment-method-copy {
  grid-column: 1;
  grid-row: 1;
  display: block !important;
}

.payment-method-copy strong {
  font-size: 14px;
}

.payment-method-group {
  gap: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.payment-method-group .payment-method-row {
  padding: 12px 0;
  border-top: 0;
}

.payment-method-fields {
  display: grid;
  gap: 9px;
  max-height: 1000px;
  padding: 0 0 16px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.24s ease, opacity 0.18s ease, padding 0.24s ease;
}

.payment-method-fields:not(.is-disabled) {
  overflow: visible;
}

.payment-method-fields.is-disabled {
  visibility: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-method-fields .textarea {
  min-height: 76px;
}

.payment-note-details {
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.payment-note-details summary {
  width: fit-content;
  color: #536178;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.payment-note-details label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-left: 0;
}

.payment-stripe-group {
  display: block;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.payment-stripe-group[hidden] {
  display: block !important;
}

.payment-stripe-group .payment-stripe-status {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #657287;
  font-size: 12px;
  line-height: 1.45;
}

.payment-stripe-group .payment-qr-tools {
  justify-content: flex-start;
}

.payment-stripe-group .payment-qr-tools .soft-button {
  min-height: 38px;
  white-space: nowrap;
}

/* Keep both registration methods balanced above their shared consent. */
.account-signup-methods {
  grid-template-columns: minmax(220px, 0.8fr) 34px minmax(420px, 1.2fr);
}

.account-signup-methods[hidden] {
  display: none;
}

.account-provider-grid {
  width: auto;
  min-width: 0;
}

.social-auth-button {
  width: 100%;
  min-width: 0;
  padding-inline: 14px;
  border-color: var(--line-strong);
  background: #fff;
}

.social-auth-button:hover,
.social-auth-button:focus-visible {
  border-color: #aeb9c8;
  background: #f5f7fa;
  box-shadow: none;
  transform: none;
}

.payment-stripe-group.is-stripe-active .payment-stripe-status {
  color: #15623f;
}

.payment-stripe-group.is-stripe-pending .payment-stripe-status {
  color: #285b96;
}

.publish-card[hidden] {
  display: none !important;
}

/* Account verification and payment branding. */
.account-page > .section-card {
  margin-bottom: 8px;
}

.account-signup-card {
  gap: 12px;
  padding: 20px;
}

.social-auth-button {
  min-height: 44px;
  padding-inline: 16px;
}

.account-checkbox-standalone a {
  color: #0f7479;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-pin-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.account-pin-panel[hidden] {
  display: none;
}

.account-password-panel > div,
.account-password-panel > button {
  grid-column: 1 / -1;
}

.account-password-panel p {
  margin: 4px 0 0;
  color: var(--setup-muted, #69778c);
}

.account-change-email {
  min-width: 84px;
}

.account-change-email:hover,
.account-change-email:focus-visible {
  text-decoration: none;
}

.account-pin-field input {
  width: 100%;
  max-width: none;
  letter-spacing: 0.28em;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.account-pin-field.is-invalid input {
  border-color: #c9424d;
  box-shadow: 0 0 0 2px rgba(201, 66, 77, 0.1);
}

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

.account-pin-resend {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #617086;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.account-pin-resend:hover,
.account-pin-resend:focus-visible {
  color: #0f7479;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-verified-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 8px 12px;
}

.account-verified-panel[hidden] {
  display: none;
}

.account-verified-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: #237347;
  font-size: 12px;
  font-weight: 700;
}

.account-verified-panel input[readonly] {
  background: #f6f8fa;
  color: #526076;
}

.account-local-delete {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a4373f;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.account-pin-actions .soft-button,
.account-pin-actions .account-email-create-button {
  min-height: 42px;
}

.account-payment-heading > strong {
  font-size: 18px;
}

.payment-fee-notice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin: 2px 0 8px;
  padding: 13px 14px;
  border: 1px solid #c7e2df;
  border-radius: 8px;
  background: #f0faf8;
}

.payment-fee-notice img {
  width: 22px;
  height: 22px;
  color: #14797d;
}

.payment-fee-notice strong {
  color: #1d3f43;
  font-size: 14px;
}

.payment-fee-notice p {
  margin: 3px 0 0;
  color: #526a6d;
  font-size: 12px;
  line-height: 1.5;
}

.account-payment-section > .account-payment-heading strong {
  font-size: 18px;
}

.payment-method-row strong,
.payment-stripe-title {
  font-size: 16px;
}

.payment-method-group + .payment-method-group,
.payment-method-group + .payment-note-details {
  margin-top: 16px;
}

.payment-fee-notice + .payment-method-group {
  margin-top: 12px;
}

.payment-brand-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 46px;
  padding: 6px 10px;
  overflow: hidden;
  border-radius: 7px;
  background: #000;
  box-sizing: border-box;
}

.payment-brand-title img {
  display: block;
  width: 108px;
  height: 34px;
  object-fit: contain;
}

.payment-stripe-title img {
  width: 88px;
  height: 36px;
  object-fit: contain;
}

.payment-stripe-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-stripe-title > span:not(.payment-stripe-badge) {
  margin-left: 0;
  font-size: 15px;
}

.payment-stripe-fields {
  gap: 10px;
  padding-bottom: 20px;
}

.payment-stripe-description {
  margin: 0;
  color: #657287;
  font-size: 12px;
  line-height: 1.5;
}

.payment-method-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #8792a3;
  font-size: 11px;
}

.payment-method-or::before,
.payment-method-or::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.payment-qr-tools--primary {
  justify-content: flex-start;
}

.publish-link-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.publish-link-field .text-input {
  min-width: 0;
}

@media (max-width: 680px) {
  .account-pin-panel,
  .account-verified-panel,
  .publish-link-field {
    grid-template-columns: 1fr;
  }

  .account-pin-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .progress-inner {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .step,
  .steps--five .step {
    min-width: 72px;
  }

  .calendar-sidebar-inner {
    grid-template-columns: 1fr;
  }

  .calendar-panel-section:first-child .calendar-form-grid.two-cols {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .calendar-panel-section:nth-child(3) {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .progress-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "steps steps";
    row-gap: 8px;
  }

  .step.is-active span,
  .step.is-complete span {
    transform: translate(-50%, -50%);
  }

  .step img,
  .step.is-active img,
  .step.is-complete img {
    display: none;
  }

  .location-note-field,
  .account-email-option {
    grid-template-columns: 1fr;
  }

  .location-support-grid {
    grid-template-columns: 1fr;
  }

  .location-image-tools,
  .location-image-picker {
    width: min(200px, 100%);
  }

  .location-note-textarea {
    min-height: 150px;
  }

  .contact-details-grid,
  .address-fields-grid,
  .profile-setup-block {
    grid-template-columns: 1fr;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .address-suggestions {
    width: 100%;
  }

  .contact-website-field {
    grid-column: 1;
  }

  .location-picker-map {
    height: 260px;
    min-height: 260px;
  }

  .contact-additional-settings > summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 4px 10px;
  }

  .contact-additional-hint {
    grid-column: 1;
  }

  .contact-additional-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .contact-additional-fields > label:first-child,
  .contact-additional-fields .profile-wide-field {
    grid-column: 1;
  }

  .account-signup-methods {
    grid-template-columns: 1fr;
  }

  .account-method-divider {
    min-height: 24px;
  }

  .account-method-divider::before {
    width: 100%;
    height: 1px;
  }

  .account-method-divider span {
    padding: 0 8px;
  }

  .calendar-sidebar-inner {
    grid-template-columns: 1fr;
  }

  .calendar-panel-section:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .calendar-week-schedule {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-method-fields,
  .payment-note-details label {
    padding-left: 0;
  }

  .payment-stripe-group {
    grid-template-columns: 1fr;
  }

  .payment-stripe-group .payment-qr-tools,
  .payment-stripe-group .payment-stripe-status {
    grid-column: 1;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .profile-link-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .profile-link-row > label:last-child {
    grid-column: 2;
  }

  .calendar-mode-grid {
    grid-template-columns: 1fr;
  }

  .calendar-mode-card {
    min-height: 64px;
  }

  .calendar-week-schedule {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar-panel-section:first-child .calendar-form-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-refresh-button span {
    display: none;
  }

  .demo-refresh-button {
    width: 38px;
    padding: 0;
  }
}

/* One disclosure language across setup tools: same right-aligned chevron and motion. */
.color-settings-chevron,
.contact-additional-chevron,
.payment-note-details > summary::after,
.calendar-advanced-toggle::after {
  box-sizing: border-box;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 0 3px 4px 4px;
  border: 0;
  border-right: 2px solid #7b8798;
  border-bottom: 2px solid #7b8798;
  transform: rotate(45deg);
  transition: transform 180ms ease, margin 180ms ease;
}

.color-settings[open] .color-settings-chevron,
.contact-additional-settings[open] .contact-additional-chevron,
.payment-note-details[open] > summary::after,
.calendar-advanced-toggle[aria-expanded="true"]::after {
  margin-top: 4px;
  margin-bottom: 0;
  transform: rotate(225deg);
}

.color-settings.is-closing .color-settings-chevron,
.contact-additional-settings.is-closing .contact-additional-chevron {
  margin-top: 0;
  margin-bottom: 4px;
  transform: rotate(45deg);
}

.payment-note-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding-inline: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
  list-style: none;
}

.payment-note-details > summary::-webkit-details-marker {
  display: none;
}

.payment-note-details > summary::marker {
  content: "";
}

.payment-note-details > summary::after,
.calendar-advanced-toggle::after {
  content: "";
}

.color-settings-summary,
.contact-additional-settings > summary,
.payment-note-details > summary,
.calendar-advanced-toggle {
  border-radius: 7px;
  transition: background-color 160ms ease, color 160ms ease;
}

.contact-additional-settings > summary {
  width: calc(100% + 16px);
  margin-inline: -8px;
  padding-inline: 10px;
}

.payment-note-details > summary {
  width: calc(100% + 8px);
  margin-inline: -4px;
  padding-inline: 10px;
}

.calendar-advanced-toggle {
  width: calc(100% + 16px);
  margin-inline: -8px;
  padding-inline: 8px;
}

.color-settings-summary:hover,
.contact-additional-settings > summary:hover,
.payment-note-details > summary:hover,
.calendar-advanced-toggle:hover {
  background: #f8fafc;
  color: #334158;
}

.calendar-general-advanced-section .calendar-advanced-toggle[data-action="toggle-general-advanced"] {
  color: #4d5a70;
  font-size: 13.5px;
  font-weight: 740;
}

.color-settings-summary:focus-visible,
.contact-additional-settings > summary:focus-visible,
.payment-note-details > summary:focus-visible,
.calendar-advanced-toggle:focus-visible {
  outline: 2px solid rgba(8, 94, 97, 0.35);
  outline-offset: 2px;
}

.color-settings-summary:hover .color-settings-chevron,
.contact-additional-settings > summary:hover .contact-additional-chevron,
.payment-note-details > summary:hover::after,
.calendar-advanced-toggle:hover::after {
  border-color: #526078;
}

.calendar-booking-emails-section {
  grid-column: 1 / -1;
  gap: 0;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
}

.calendar-weekly-section {
  border-top: 0 !important;
}

.calendar-booking-emails-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text-strong, #172033);
  font: inherit;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.calendar-booking-emails-toggle:hover {
  background: #f8fafc;
}

.calendar-booking-emails-toggle:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(8, 94, 97, 0.35);
  outline-offset: -2px;
}

.calendar-booking-emails-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
  min-width: 0;
}

.calendar-booking-emails-copy strong {
  color: var(--text-strong, #172033);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.calendar-booking-emails-copy small {
  color: var(--muted, #718096);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.calendar-booking-emails-content {
  gap: 0;
  max-height: 1200px;
  min-height: 0;
  overflow: clip;
  contain: paint;
}

.calendar-booking-emails-content:not(.is-collapsed) {
  overflow: visible;
  contain: none;
}

.booking-email-rule {
  margin-inline: 18px;
  border-top: 1px solid rgba(112, 127, 148, 0.12);
}

.booking-email-rule:first-child {
  border-top: 0;
}

.booking-email-rule:last-child {
  margin-bottom: 18px;
}

.booking-email-rule-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 4px;
  cursor: pointer;
}

.booking-email-rule-toggle > span:first-child {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.booking-email-rule-toggle strong {
  color: var(--text-strong, #172033);
  font-size: 14px;
  font-weight: 650;
}

.booking-email-rule-toggle small,
.booking-email-message-field small {
  color: var(--muted, #718096);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.booking-email-rule-toggle > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-email-switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  border: 1px solid rgba(112, 127, 148, 0.28);
  border-radius: 999px;
  background: #e8edf2;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.booking-email-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(51, 65, 85, 0.18);
  transition: transform 160ms ease;
}

.booking-email-rule-toggle > input:checked + .booking-email-switch {
  border-color: #0f7b80;
  background: #0f7b80;
}

.booking-email-rule-toggle > input:checked + .booking-email-switch > span {
  transform: translateX(16px);
}

.booking-email-rule-toggle > input:focus-visible + .booking-email-switch {
  outline: 2px solid rgba(8, 94, 97, 0.35);
  outline-offset: 2px;
}

.booking-email-rule-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 4px 4px 16px;
}

.booking-email-offset-control {
  display: grid;
  grid-template-columns: minmax(100px, 150px);
  align-items: start;
  gap: 5px;
}

.booking-email-offset-control > span {
  color: var(--muted, #718096);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.booking-email-offset-field > label,
.booking-email-message-field > span {
  color: var(--text-strong, #172033);
  font-size: 13px;
  font-weight: 650;
}

.booking-email-message-field textarea {
  min-height: 104px;
  color: var(--text-strong, #172033);
  resize: vertical;
}

@media (max-width: 760px) {
  .calendar-booking-emails-toggle {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .booking-email-rule {
    margin-inline: 12px;
  }

  .booking-email-rule-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shared soft surface language for setup cards, controls and actions. */
body:has(.setup-shell) {
  --setup-soft-border: rgba(112, 127, 148, 0.14);
  --setup-soft-border-hover: rgba(112, 127, 148, 0.22);
  --setup-soft-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  --setup-soft-shadow-hover: 0 6px 18px rgba(120, 133, 148, 0.07);
  --setup-soft-shadow-active: 0 3px 12px rgba(15, 123, 128, 0.06), 0 0 0 2px rgba(15, 123, 128, 0.06);
  --setup-soft-shadow-focus: 0 3px 12px rgba(120, 133, 148, 0.04), 0 0 0 3px rgba(15, 123, 128, 0.08);
  --line: var(--setup-soft-border);
  --shadow-soft: var(--setup-soft-shadow);
}

body:has(.setup-shell) :is(
  /* [class$="-card"], */
  /* [class*="-card "], */
  .image-tile,
  .setup-entry,
  /* .calendar-stepper-field, */
  /* .calendar-inline-field, */
  /* .publish-link-field, */
  .profile-image-picker,
  .logo-picker,
  .payment-fee-notice
) {
  border: 1px solid var(--setup-soft-border);
  box-shadow: var(--setup-soft-shadow) !important;
}

body:has(.setup-shell) :is(
  button:not(.calendar-floating-drag-handle),
  .setup-account-link,
  [role="button"]
) {
  border: 1px solid var(--setup-soft-border);
  box-shadow: var(--setup-soft-shadow);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

body:has(.setup-shell) :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select
) {
  border: 1px solid var(--setup-soft-border) !important;
  box-shadow: var(--setup-soft-shadow) !important;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body:has(.setup-shell) :is(
  button,
  .setup-account-link,
  [role="button"],
  /* [class$="-card"], */
  /* [class*="-card "], */
  .image-tile,
  .setup-entry,
  .profile-image-picker,
  .logo-picker
):hover {
  border-color: var(--setup-soft-border-hover) !important;
  box-shadow: var(--setup-soft-shadow-hover) !important;
}

body:has(.setup-shell) :is(
  button,
  .setup-account-link,
  [role="button"]
):focus-visible,
body:has(.setup-shell) :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select
):focus-visible {
  border-color: rgba(15, 123, 128, 0.28) !important;
  box-shadow: var(--setup-soft-shadow-focus) !important;
  outline: none;
}

body:has(.setup-shell) :is(
  .calendar-mode-card.is-active,
  .setup-entry.is-selected,
  .setup-entry.is-active,
  .image-tile.primary,
  .image-tile.is-selected,
  .publish-card.is-ready
) {
  border-color: rgba(15, 123, 128, 0.28) !important;
  box-shadow: var(--setup-soft-shadow-active) !important;
}

body:has(.setup-shell) :is(
  .next-button,
  .save-button,
  .publish-button,
  .footer-publish-button,
  .account-email-create-button,
  .calendar-launch-button,
  .calendar-editor-done
) {
  border-color: rgba(15, 123, 128, 0.2) !important;
  box-shadow: 0 3px 12px rgba(15, 123, 128, 0.06) !important;
}

body:has(.setup-shell) :is(
  .next-button,
  .save-button,
  .publish-button,
  .footer-publish-button,
  .account-email-create-button,
  .calendar-launch-button,
  .calendar-editor-done
):hover,
body:has(.setup-shell) :is(
  .next-button,
  .save-button,
  .publish-button,
  .footer-publish-button,
  .account-email-create-button,
  .calendar-launch-button,
  .calendar-editor-done
):focus-visible {
  border-color: rgba(15, 123, 128, 0.3) !important;
  box-shadow: 0 6px 18px rgba(15, 123, 128, 0.1) !important;
}

body:has(.setup-shell) :is(
  .calendar-panel-action-danger,
  .account-local-delete,
  .playframe-dialog.is-danger .playframe-dialog__button--primary
) {
  border-color: rgba(173, 44, 54, 0.16) !important;
  box-shadow: 0 3px 12px rgba(173, 44, 54, 0.05) !important;
}

body:has(.setup-shell) :is(.modal-card, .playframe-dialog) {
  border: 1px solid var(--setup-soft-border) !important;
  box-shadow: var(--setup-soft-shadow), 0 20px 48px rgba(70, 82, 99, 0.13) !important;
}

/* Keep version actions separate from step navigation in the setup footer. */
body:has(.setup-shell) .wizard-actions-inner {
  width: min(100%, 1180px);
  justify-content: flex-start;
  gap: 8px;
}

body:has(.setup-shell) :is(.wizard-preview-actions, .wizard-change-actions, .wizard-nav-actions) {
  display: flex;
  align-items: center;
  gap: 8px;
}

body:has(.setup-shell) .wizard-change-actions {
  min-width: 0;
}

body:has(.setup-shell) .wizard-nav-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

body:has(.setup-shell) .footer-discard-button {
  min-width: 164px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--setup-soft-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-strong);
  box-shadow: var(--setup-soft-shadow);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

body:has(.setup-shell) .footer-discard-button:hover:not(:disabled),
body:has(.setup-shell) .footer-discard-button:focus-visible:not(:disabled) {
  border-color: rgba(112, 127, 148, 0.24);
  background: #ffffff;
  box-shadow: var(--setup-soft-shadow-focus);
}

body:has(.setup-shell) .footer-discard-button:disabled {
  cursor: default;
  opacity: 0.52;
}

body:has(.setup-shell) :is(.footer-publish-button, .footer-discard-button, .back-button, .next-button, .preview-button) {
  transform: none !important;
}

body:has(.setup-shell) :is(.footer-publish-button, .footer-discard-button)[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  body:has(.setup-shell) {
    --footer-height: 62px;
  }

  body:has(.setup-shell .wizard-change-actions > :not([hidden])) {
    --footer-height: 112px;
  }

  body:has(.setup-shell) .wizard-actions {
    padding: 8px 10px;
  }

  body:has(.setup-shell) .wizard-actions-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 40px;
    gap: 6px;
  }

  body:has(.setup-shell) .wizard-change-actions {
    display: none;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  body:has(.setup-shell .wizard-change-actions > :not([hidden])) .wizard-actions-inner {
    grid-template-rows: 40px 40px;
    gap: 8px 6px;
  }

  body:has(.setup-shell .wizard-change-actions > :not([hidden])) .wizard-change-actions {
    display: flex;
  }

  body:has(.setup-shell) :is(.footer-publish-button, .footer-discard-button):not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body:has(.setup-shell) .wizard-preview-actions {
    grid-column: 1;
    grid-row: 1;
  }

  body:has(.setup-shell) .wizard-nav-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }

  body:has(.setup-shell .wizard-change-actions > :not([hidden])) :is(.wizard-preview-actions, .wizard-nav-actions) {
    grid-row: 2;
  }

  body:has(.setup-shell) :is(.footer-publish-button, .footer-discard-button) {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  body:has(.setup-shell) :is(.footer-publish-button, .footer-discard-button) {
    font-size: 11px;
    letter-spacing: -0.01em;
  }
}

body:has(.setup-shell) :is(.street-autocomplete, .calendar-floating-card) {
  border: 1px solid var(--setup-soft-border) !important;
  box-shadow: var(--setup-soft-shadow), 0 12px 28px rgba(70, 82, 99, 0.09) !important;
}

/* Disclosure rows and switches are intentionally flatter than actionable surfaces. */
body:has(.setup-shell) :is(
  .color-settings-summary,
  .contact-additional-settings > summary,
  .payment-note-details > summary,
  .calendar-advanced-toggle,
  .payment-method-row
) {
  border-color: transparent !important;
  box-shadow: none !important;
}

body:has(.setup-shell) :is(button, input, textarea, select)[disabled] {
  box-shadow: none !important;
}

body:has(.setup-shell) :is(
  .calendar-panel-action-danger,
  .account-local-delete,
  .playframe-dialog.is-danger .playframe-dialog__button--primary
):is(:hover, :focus-visible) {
  border-color: rgba(173, 44, 54, 0.26) !important;
  box-shadow: 0 3px 12px rgba(173, 44, 54, 0.07), 0 0 0 3px rgba(173, 44, 54, 0.08) !important;
}


body #page .setup-shell .noshade, body #page .account-pin-resend {
  box-shadow: none !important;
  border: none !important;
}
/* body #page .setup-shell .progress-bar .progress-inner .steps-wrap .step {
  box-shadow: none;
  border: none;
} */


/* #publishQrCopyButton {
  height: auto;
} */

/* Keep the multi-entry weekly editor authoritative after the older compact
   schedule refinements above. */
.calendar-week-row,
.calendar-week-row.is-enabled,
.calendar-week-row:has(.calendar-week-price-field) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
}

.calendar-week-row.is-enabled {
  border-color: #b8d7da;
}

.calendar-week-day-toggle {
  grid-column: auto;
  grid-row: auto;
}

.calendar-week-entry .calendar-week-time-field,
.calendar-week-entry .calendar-week-price-field {
  grid-column: auto;
  grid-row: auto;
  opacity: 1;
}

.calendar-week-entry .calendar-week-price-field input {
  height: 34px;
}

@media (max-width: 680px) {
  .calendar-week-row,
  .calendar-week-row.is-enabled {
    grid-template-columns: minmax(0, 1fr);
  }
}

body:has(.setup-shell) .next-button.is-offline-action {
  border-color: rgba(173, 44, 54, 0.2) !important;
  background: #fff1f1;
  color: #9a2d35;
  box-shadow: 0 3px 12px rgba(173, 44, 54, 0.05) !important;
}

body:has(.setup-shell) .next-button.is-offline-action:is(:hover, :focus-visible, :active) {
  border-color: rgba(173, 44, 54, 0.3) !important;
  background: #ffe7e7;
  color: #84232b;
  box-shadow: 0 6px 18px rgba(173, 44, 54, 0.08) !important;
}

body:has(.setup-shell) .next-button.is-offline-action img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(46%) saturate(1875%) hue-rotate(319deg) brightness(85%) contrast(92%);
}

/* Required publication data */
[data-required-label]::after {
  color: #a52d35;
  content: " *";
  font: inherit;
  font-weight: 750;
}

.setup-required-mark {
  color: #a52d35;
  font: inherit;
  font-weight: 750;
  margin-left: .3rem;
}

.setup-limit-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  /* margin-bottom: 8px; */
}

.setup-description-heading {
  margin-top: 14px;
}

body:has(.setup-shell) .setup-limit-heading .field-label {
  margin: 0;
}

.setup-character-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.setup-character-count.is-over-limit {
  color: #a52d35;
}

body:has(.setup-shell) #basicDescription {
  height: 104px;
  min-height: 92px;
  max-height: 150px;
  resize: vertical;
}

body:has(.setup-shell) .textarea:not(.modal-textarea),
body:has(.setup-shell) .calendar-inline-field textarea {
  border-bottom-right-radius: 2rem;
}

body:has(.setup-shell) [data-character-limit].is-over-limit,
body:has(.setup-shell) [data-character-limit].is-over-limit:focus,
body:has(.setup-shell) [data-character-limit].is-over-limit:focus-visible {
  border-color: rgba(184, 57, 66, 0.76) !important;
  box-shadow: 0 0 0 4px rgba(184, 57, 66, 0.08) !important;
  outline: none !important;
}

body:has(.setup-shell) [data-character-limit].is-limit-checker-target,
body:has(.setup-shell) [data-character-limit].is-limit-checker-target:focus,
body:has(.setup-shell) [data-character-limit].is-limit-checker-target:focus-visible {
  border-color: #b83942 !important;
  box-shadow: 0 0 0 4px rgba(184, 57, 66, 0.12) !important;
  outline: 2px solid rgba(184, 57, 66, 0.32) !important;
  outline-offset: 2px;
}

body:has(.setup-shell) .is-required-checker-target,
body:has(.setup-shell) .is-required-checker-target:focus,
body:has(.setup-shell) .is-required-checker-target:focus-visible {
  border-color: #b83942 !important;
  box-shadow: 0 0 0 4px rgba(184, 57, 66, 0.12) !important;
  outline: 2px solid rgba(184, 57, 66, 0.32) !important;
  outline-offset: 2px;
}

.profile-links-block {
  display: grid;
  gap: 10px;
}

.profile-links-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-links-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

body:has(.setup-shell) .profile-links-editor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.profile-link-row {
  display: grid;
  grid-template-columns: minmax(130px, .62fr) minmax(220px, 1.38fr) 42px;
  align-items: end;
  gap: 10px;
}

.profile-link-row label {
  display: grid;
  grid-template-rows: auto 42px;
  align-self: end;
  gap: 7px;
  min-width: 0;
}

.profile-link-row > label > :is(.setup-limit-heading, .field-label),
.profile-link-row .setup-limit-heading .field-label {
  margin: 0;
}

.profile-link-row > label > :is(.setup-limit-heading, .field-label) {
  min-height: 18px;
}

.profile-link-row > label > .text-input {
  min-height: 42px;
}

.profile-link-remove {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-link-remove img {
  width: 18px;
  height: 18px;
}

.profile-link-remove:hover,
.profile-link-remove:focus-visible {
  border-color: rgba(184, 57, 66, 0.3);
  background: rgba(184, 57, 66, 0.05);
}

.profile-link-add {
  justify-self: start;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 520;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
}

.profile-link-add:hover,
.profile-link-add:focus-visible {
  border-color: rgba(20, 132, 139, 0.26);
  background: rgba(20, 132, 139, 0.04);
}

.profile-link-add:disabled,
.profile-link-add:disabled:hover,
.profile-link-add:disabled:focus-visible {
  border-color: rgba(112, 127, 148, 0.12);
  background: #f3f5f7;
  color: #9aa5b3;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 680px) {
  .profile-link-row {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .profile-link-row label:nth-child(2) {
    grid-column: 1;
  }

  .profile-link-remove {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.publication-limit-issues {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(112, 127, 148, 0.14);
}

.publication-limit-issues > strong {
  display: block;
  margin-bottom: 8px;
  color: #a52d35;
  font-size: 14px;
  line-height: 1.35;
}

.publication-limit-issues-list button {
  border-color: rgba(173, 44, 54, 0.25);
  background: #fff8f8;
}

.publication-limit-issues-list .publication-requirement-state {
  border-color: #dfb1b5;
  background: #fff0f1;
  color: #a52d35;
}

.publication-requirements {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  /* border-radius: 9px; */
  background: #fff;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  outline: none;
}

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

.publication-requirements-heading strong {
  display: block;
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
}

.publication-requirements-heading p {
  margin: 5px 0 0;
  color: #6e7c92;
  font-size: 14px;
  line-height: 1.45;
}

.publication-requirements-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #637188;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.publication-requirements.is-complete .publication-requirements-count {
  background: #eaf7ee;
  color: #287643;
}

.publication-requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.publication-requirements-list button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 8px;
  background: #fbfcfe;
  color: #263248;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.publication-requirements-list button:is(:hover, :focus-visible) {
  border-color: rgba(19, 132, 137, 0.32);
  background: #f7fbfb;
  box-shadow: 0 0 0 3px rgba(19, 132, 137, 0.08);
}

.publication-requirement-state {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #cfd7e2;
  border-radius: 50%;
  color: #7c889a;
  font-size: 12px;
  font-weight: 800;
}

.publication-requirement-page {
  color: #78869a;
  font-size: 12px;
  font-weight: 650;
}

.publication-requirements-list button.is-complete {
  color: #708095;
  background: #f8faf9;
}

.publication-requirements-list button.is-complete > span:nth-child(2) {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.publication-requirements-list button.is-complete .publication-requirement-state {
  border-color: #b6ddc2;
  background: #eaf7ee;
  color: #287643;
}

.publication-requirements.is-validation-revealed .publication-requirements-list button.is-missing {
  border-color: rgba(173, 44, 54, 0.25);
  background: #fff8f8;
}

.publication-requirements.is-validation-revealed .publication-requirements-list button.is-missing .publication-requirement-state {
  border-color: #dfb1b5;
  background: #fff0f1;
  color: #a52d35;
}

/* Required publication fields use one outline on the real control. Layout
   wrappers must never receive a second, partly clipped validation rectangle. */
body:has(.setup-shell) [data-required-key].is-required-missing:is(input, textarea, select),
body:has(.setup-shell) [data-required-key].is-required-missing:is(input, textarea, select):focus,
body:has(.setup-shell) [data-required-key].is-required-missing:is(input, textarea, select):focus-visible {
  border-color: rgba(184, 57, 66, 0.76) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Keep empty text controls visibly marked after the final checklist has been
   revealed, even across an animated step change and its delayed focus. */
body.playframe-setup-page:has(.publication-requirements.is-validation-revealed) [data-required-key]:is(input, textarea):placeholder-shown,
body.playframe-setup-page:has(.publication-requirements.is-validation-revealed) input[data-required-key][type="email"]:invalid,
body.playframe-setup-page:has(.publication-requirements.is-validation-revealed) [data-required-key]:is(input, textarea)[aria-invalid="true"] {
  border-color: rgba(184, 57, 66, 0.76) !important;
  box-shadow: none !important;
  outline: none !important;
}

body:has(.setup-shell) :is(
  .image-grid,
  .calendar-settings-stack,
  .account-payment-section
).is-required-missing {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

body:has(.setup-shell) .image-grid.is-required-missing .image-tile.primary {
  border-color: rgba(184, 57, 66, 0.72) !important;
  box-shadow: none !important;
}

/* A missing schedule is a choice across the weekday rows. Mark those choices
   instead of drawing a large outline around the complete calendar editor. */
body:has(.setup-shell) .calendar-settings-stack.is-required-missing .calendar-week-row {
  border-color: rgba(184, 57, 66, 0.42) !important;
  box-shadow: none !important;
}

body:has(.setup-shell) .calendar-settings-stack.is-required-missing .calendar-week-day-toggle input:not(:checked) {
  border-color: rgba(184, 57, 66, 0.58) !important;
}

/* Payment is another multi-choice requirement. Highlight the available
   switches, not the full section and its unrelated information notice. */
body:has(.setup-shell) .account-payment-section.is-required-missing .payment-switch {
  border-color: rgba(184, 57, 66, 0.62) !important;
  box-shadow: none !important;
}

body:has(.setup-shell) .account-payment-section.is-required-missing .account-payment-heading strong {
  color: #a52d35;
}

/* Online payments use the same single-switch disclosure pattern as the other
   payment methods. Account readiness still controls public availability. */
.payment-stripe-row {
  min-height: 76px;
}

.payment-stripe-row .payment-stripe-copy {
  display: grid !important;
  gap: 4px;
  min-width: 0;
}

.payment-stripe-heading {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  min-width: 0;
}

.payment-stripe-heading > strong {
  display: inline-block !important;
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 17px;
  line-height: 1.25;
}

.payment-stripe-row .payment-stripe-copy > small {
  max-width: 760px;
  color: #657287;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.payment-stripe-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  width: fit-content;
  color: #657287;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: .5rem;
}

.payment-stripe-brand img {
  display: block;
  width: 58px;
  height: 22px;
  object-fit: contain;
}

.payment-stripe-brand > span:not(.payment-stripe-badge) {
  display: inline-block !important;
  line-height: 1;
}

.payment-stripe-brand .payment-stripe-badge {
  display: inline-flex !important;
  min-height: 19px;
  margin-left: 2px;
  padding: 2px 7px;
  font-size: 10px;
}

.payment-stripe-brand .payment-stripe-badge[hidden] {
  display: none !important;
}

.payment-stripe-group.is-stripe-active,
.payment-stripe-group.is-stripe-pending {
  margin-inline: 0;
  padding-inline: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.payment-stripe-fields {
  padding: 2px 0 18px;
}

.payment-stripe-description {
  max-width: 760px;
}

@media (max-width: 520px) {
  .payment-stripe-heading {
    gap: 10px;
  }

  .payment-stripe-brand {
    gap: 4px;
  }

  .payment-stripe-brand img {
    width: 50px;
  }

  .payment-stripe-heading > strong {
    font-size: 16px;
  }

  .payment-stripe-brand .payment-stripe-badge {
    margin-left: 0;
    padding-inline: 5px;
  }
}

/* Clicking a missing item in the final checker intentionally adds a stronger,
   temporary target ring. Keep this after the passive missing-field rules so
   their quiet border cannot cancel the directed focus state. */
body:has(.setup-shell) [data-required-key].is-required-missing.is-required-checker-target:is(input, textarea, select),
body:has(.setup-shell) [data-required-key].is-required-missing.is-required-checker-target:is(input, textarea, select):focus,
body:has(.setup-shell) [data-required-key].is-required-missing.is-required-checker-target:is(input, textarea, select):focus-visible {
  border-color: #b83942 !important;
  box-shadow: 0 0 0 4px rgba(184, 57, 66, 0.12) !important;
  outline: 2px solid rgba(184, 57, 66, 0.32) !important;
  outline-offset: 2px;
}

/* Required fields can also fail because their content is too long. The final
   checker routes those entries through the shared length-checker target, so
   keep that directed red outline above the passive required-field styling as
   well. */
body:has(.setup-shell) [data-required-key].is-limit-checker-target:is(input, textarea, select),
body:has(.setup-shell) [data-required-key].is-limit-checker-target:is(input, textarea, select):focus,
body:has(.setup-shell) [data-required-key].is-limit-checker-target:is(input, textarea, select):focus-visible {
  border-color: #b83942 !important;
  box-shadow: 0 0 0 4px rgba(184, 57, 66, 0.12) !important;
  outline: 2px solid rgba(184, 57, 66, 0.32) !important;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .publication-requirements {
    padding: 14px;
  }

  .publication-requirements-heading {
    display: grid;
    gap: 9px;
  }

  .publication-requirements-count {
    justify-self: start;
  }

  .publication-requirements-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Authoritative weekly schedule layout. Keep this at the end of the setup
   refinements so participant controls never escape a weekday surface. */
body:has(.setup-shell) .calendar-week-entry,
body:has(.setup-shell) .calendar-week-entry > *,
body:has(.setup-shell) .calendar-week-entry :is(label, input, .calendar-week-duration-field) {
  min-width: 0;
}

body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
  grid-template-columns: minmax(118px, 1.45fr) repeat(2, minmax(66px, 0.72fr)) minmax(70px, 0.76fr) minmax(78px, 0.86fr) minmax(88px, 0.9fr) 32px;
}

body:has(.setup-shell) .calendar-week-title-field .setup-character-count.setup-character-count--compact {
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 650 !important;
}

body:has(.setup-shell) .calendar-week-capacity-field > .calendar-inline-label {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100%;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
}

body:has(.setup-shell) .calendar-week-capacity-field .calendar-inline-help {
  position: static !important;
  inset: auto !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
}

@container (max-width: 760px) {
  body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 32px;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-remove-button {
    grid-column: 4;
    grid-row: 1;
  }
}

@container (max-width: 500px) {
  body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 32px;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
    grid-column: 1 / span 2;
  }

  body:has(.setup-shell) .calendar-week-entry .calendar-week-remove-button {
    grid-column: 3;
    grid-row: 1;
  }
}

/* The detail workspace uses the same quiet inset on every edge and consumes
   all remaining viewport space instead of restoring an older narrow shell. */
body:has(.setup-shell) .calendar-editor-modal {
  padding: 18px !important;
}

body:has(.setup-shell) .calendar-editor-shell {
  width: 100% !important;
  max-width: none !important;
  height: min(100%, calc(100vh - 36px)) !important;
}

/* Weekday entries need to reflow according to their real control widths. A
   fixed seven-column grid becomes wider than the day card as soon as capacity
   is enabled, so use a wrapping toolbar row instead. */
body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 8px 10px !important;
  grid-template-columns: none !important;
}

body:has(.setup-shell) .calendar-week-entry:has(.calendar-week-title-field) > * {
  grid-column: auto !important;
  grid-row: auto !important;
}

body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
  flex: 2 1 170px;
}

body:has(.setup-shell) .calendar-week-entry .calendar-week-time-field {
  flex: 1 1 82px;
}

body:has(.setup-shell) .calendar-week-entry :is(
  .calendar-week-duration-field,
  .calendar-week-price-field,
  .calendar-week-capacity-field
) {
  flex: 1 1 88px;
}

body:has(.setup-shell) .calendar-week-entry .calendar-week-remove-button {
  flex: 0 0 34px;
}

body:has(.setup-shell) .calendar-week-title-field .setup-character-count.setup-character-count--compact {
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

body:has(.setup-shell) .calendar-week-entry .calendar-inline-label {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100%;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  min-height: 20px;
  white-space: nowrap;
}

body:has(.setup-shell) .calendar-week-entry .calendar-inline-help {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  align-self: center;
}

body:has(.setup-shell) :is(.calendar-week-row, .calendar-week-entry-list) {
  min-width: 0;
  overflow: visible;
}

body:has(.setup-shell) .calendar-week-entry > :is(label, .calendar-week-duration-field) {
  max-width: 100%;
}

@media (max-width: 560px) {
  body:has(.setup-shell) .calendar-week-entry .calendar-week-title-field {
    flex-basis: calc(100% - 44px);
  }
}

/* Weekly numeric controls use the same compact steppers as the detail inspector. */
body:has(.setup-shell) .calendar-week-entry .calendar-stepper-field {
  position: relative;
  width: 100%;
  min-width: 0;
}

body:has(.setup-shell) .calendar-week-entry .calendar-stepper-field > input {
  padding-right: 30px !important;
  appearance: none;
  -moz-appearance: textfield;
}

/* Flexible windows keep their core times compact. Optional per-window rules
   stay on a flat, full-width disclosure below them. */
body:has(.setup-shell) .calendar-week-entry.is-flexible {
  grid-template-columns: repeat(3, minmax(76px, 1fr)) 30px;
}

body:has(.setup-shell) .calendar-week-entry.is-flexible > :is(
  .calendar-week-time-field,
  .calendar-week-duration-field
) {
  grid-column: auto !important;
  grid-row: auto !important;
}

body:has(.setup-shell) .calendar-week-entry.is-flexible > .calendar-week-remove-button {
  grid-column: 4;
}

body:has(.setup-shell) .calendar-special-rules-head,
body:has(.setup-shell) .calendar-week-entry-advanced {
  grid-column: 1 / -1;
}

body:has(.setup-shell) .calendar-special-rules-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}

body:has(.setup-shell) .calendar-special-rules-head > .calendar-advanced-toggle {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

body:has(.setup-shell) .calendar-special-rules-head > .calendar-inline-help {
  position: relative;
  z-index: 1;
  flex: 0 0 18px;
}

body:has(.setup-shell) .calendar-week-advanced-toggle {
  justify-self: start;
  min-height: 30px;
  padding-left: 9px;
  font-size: 11px;
}

body:has(.setup-shell) .calendar-week-entry-advanced {
  min-width: 0;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}

body:has(.setup-shell) .calendar-week-entry-advanced.is-collapsed {
  padding-block: 0;
}

body:has(.setup-shell) .calendar-availability-overrides {
  align-items: end;
}

body:has(.setup-shell) .calendar-override-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

body:has(.setup-shell) .calendar-override-label .calendar-inline-label {
  min-width: 0;
}

body:has(.setup-shell) .calendar-override-reset {
  flex: 0 0 auto;
  min-height: 22px;
  padding: 2px 6px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-radius: 6px;
  background: #fff;
  color: #526078;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body:has(.setup-shell) .calendar-override-reset:hover:not(:disabled),
body:has(.setup-shell) .calendar-override-reset:focus-visible {
  border-color: rgba(31, 139, 142, 0.42);
  color: #176f72;
}

body:has(.setup-shell) .calendar-override-reset:disabled {
  opacity: 0.42;
  cursor: default;
}

body:has(.setup-shell) .calendar-disabled-control > :is(input, .calendar-stepper-field, select) {
  opacity: 0.58;
}

body:has(.setup-shell) .calendar-week-duration-field > input[readonly] {
  background: #f5f7fa;
  color: #526078;
  opacity: 1;
}

body:has(.setup-shell) .setup-category-field {
  display: grid;
  gap: 5px;
  margin: 10px 0 12px;
}

body:has(.setup-shell) .setup-category-label-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

body:has(.setup-shell) .setup-category-label-row .calendar-inline-help {
  flex: 0 0 auto;
  margin-top: 1px;
}

body:has(.setup-shell) .setup-category-select {
  position: relative;
  font-size: 15px;
}

body:has(.setup-shell) .setup-category-select-button,
body:has(.setup-shell) .setup-category-search {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(112, 127, 148, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(120, 133, 148, 0.04);
  color: #162033;
  font: inherit;
}

body:has(.setup-shell) .setup-category-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
}

body:has(.setup-shell) .setup-category-select-button:hover,
body:has(.setup-shell) .setup-category-select-button:focus-visible,
body:has(.setup-shell) .setup-category-select-button[aria-expanded="true"] {
  border-color: rgba(31, 139, 142, 0.42);
  box-shadow: 0 0 0 3px rgba(31, 139, 142, 0.08);
  outline: 0;
}

body:has(.setup-shell) .setup-category-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #718096;
  border-bottom: 2px solid #718096;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

body:has(.setup-shell) .setup-category-select-button[aria-expanded="true"] .setup-category-chevron {
  transform: translateY(2px) rotate(225deg);
}

body:has(.setup-shell) .setup-category-panel {
  position: absolute;
  z-index: 140;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  width: 100%;
  padding: 7px;
  border: 1px solid rgba(112, 127, 148, 0.2);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(36, 49, 70, 0.14);
}

body:has(.setup-shell) .setup-category-panel[hidden] {
  display: none;
}

body:has(.setup-shell) .setup-category-search-shell > .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body:has(.setup-shell) .setup-category-search {
  min-height: 36px;
  padding: 6px 10px;
  appearance: none;
}

body:has(.setup-shell) .setup-category-search:focus {
  border-color: rgba(31, 139, 142, 0.46);
  box-shadow: 0 0 0 3px rgba(31, 139, 142, 0.08);
  outline: 0;
}

body:has(.setup-shell) .setup-category-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  max-height: min(360px, 54vh);
  margin-top: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body:has(.setup-shell) .setup-category-options .setup-category-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: #263248;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

body:has(.setup-shell) .setup-category-options .setup-category-option:hover,
body:has(.setup-shell) .setup-category-options .setup-category-option:focus-visible {
  background: #f3f7f7;
  outline: 0;
}

body:has(.setup-shell) .setup-category-options .setup-category-option.is-selected {
  background: #eaf7f6;
  color: #176f72;
}

body:has(.setup-shell) .setup-category-options .setup-category-option.is-auto {
  grid-column: 1 / -1;
  min-height: 32px;
  border-bottom: 1px solid rgba(112, 127, 148, 0.12);
  border-radius: 6px 6px 3px 3px;
}

body:has(.setup-shell) .setup-category-option-label {
  font-weight: 700;
}

body:has(.setup-shell) .setup-category-empty {
  margin: 8px 5px 4px;
  color: #718096;
  font-size: 13px;
}

@media (max-width: 820px) {
  body:has(.setup-shell) .calendar-week-entry.is-flexible {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 30px;
  }

  body:has(.setup-shell) .calendar-week-entry.is-flexible > .calendar-week-remove-button {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Mobile setup hardening: keep hidden help text and compact controls from widening the page. */
body:has(.setup-shell) .calendar-tooltip-trigger::after {
  display: none;
}

body:has(.setup-shell) :is(
  .wizard,
  .page,
  .form-block,
  .brand-row,
  .brand-name-block,
  .brand-controls,
  .color-settings,
  .color-settings-details,
  .color-settings-content,
  .calendar-setup-page,
  .calendar-settings-stack,
  .calendar-advanced-content,
  .calendar-form-grid,
  .calendar-inline-field,
  .calendar-week-row,
  .calendar-week-entry
) {
  min-width: 0;
  max-width: 100%;
}

body:has(.setup-shell) .hex-control-row {
  width: 100%;
  min-width: 0;
}

body:has(.setup-shell) .hex-color-input {
  width: 0;
  flex: 1 1 0;
}

body:has(.setup-shell) .setup-optional-notice {
  grid-area: notice;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  align-self: start;
  min-width: 0;
  margin-top: -6px;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid var(--setup-soft-border);
  border-radius: 8px;
  background: #f7fafb;
  box-shadow: var(--setup-soft-shadow);
  color: #536177;
}

body:has(.setup-shell) .setup-optional-notice img {
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  opacity: 0.72;
}

body:has(.setup-shell) .setup-optional-notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
}

body:has(.setup-shell) .setup-optional-notice strong {
  color: #a33a3a;
  font-weight: 750;
}

@media (min-width: 761px) {
  body:has(.setup-shell) .brand-row {
    grid-template-areas:
      "logo name"
      "notice name"
      "controls controls";
    grid-template-rows: max-content minmax(max-content, 1fr) auto;
  }
}

@media (max-width: 760px) {
  body:has(.setup-shell) .brand-row {
    grid-template-areas:
      "logo"
      "name"
      "notice"
      "controls";
  }

  body:has(.setup-shell) .progress-brand {
    width: 92px;
  }

  body:has(.setup-shell) .setup-header-actions {
    gap: 4px;
  }

  body:has(.setup-shell) :is(.setup-account-link, .setup-logout-button) {
    min-width: 0;
    height: 32px;
    padding-inline: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  body:has(.setup-shell) .steps-wrap,
  body:has(.setup-shell) .steps {
    width: 100%;
    min-width: 0;
  }

  body:has(.setup-shell) .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body:has(.setup-shell) :is(.step, .steps--five .step) {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-inline: 2px;
  }

  body:has(.setup-shell) .offer-details-setup-heading {
    min-width: 0;
  }

  body:has(.setup-shell) .offer-details-setup-label {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  body:has(.setup-shell) :is(.offer-details-setup-label, .calendar-inline-label) {
    min-width: 0;
    gap: 7px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body:has(.setup-shell) .calendar-form-grid.two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  body:has(.setup-shell) .hex-copy-button {
    min-width: 76px;
    padding-inline: 9px;
    font-size: 12px;
  }
}

/* Shared external image drop state */
body:has(.setup-shell) .image-drop-target {
  position: relative;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

body:has(.setup-shell) .logo-picker.has-image.has-light-logo {
  border-color: rgba(74, 84, 99, 0.34);
  background-color: #59616d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body:has(.setup-shell) .logo-picker.has-image.has-light-logo:hover,
body:has(.setup-shell) .logo-picker.has-image.has-light-logo:focus-visible {
  border-color: rgba(54, 63, 77, 0.5);
  background-color: #505864;
}

body:has(.setup-shell) .image-drop-upload-icon {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: block;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background: transparent;
  opacity: 0;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.56);
  filter: invert(37%) sepia(30%) saturate(1050%) hue-rotate(134deg) brightness(91%) contrast(90%);
  transition: opacity 150ms ease, transform 180ms ease;
}

body:has(.setup-shell) .image-tile.primary .image-drop-upload-icon {
  width: 64px;
  height: 64px;
}

body:has(.setup-shell) :is(#paymentTwintQrButton, .payment-qr-preview) {
  position: relative;
  overflow: hidden;
}

body:has(.setup-shell) .payment-qr-preview {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target,
body:has(.setup-shell) .image-drop-target.is-image-processing {
  border-color: rgba(15, 123, 128, 0.38) !important;
  background-color: #effafa !important;
  box-shadow: inset 0 0 0 2px rgba(15, 123, 128, 0.08) !important;
}

body:has(.setup-shell).is-image-file-drag-active .image-tile:not(.has-image) .image-tile-frame {
  background-color: #effafa !important;
  background-image: none !important;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied)::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  background: rgba(21, 151, 154, 0.14);
  pointer-events: none;
  content: "";
  animation: playframe-image-drop-occupied-overlay-in 180ms ease both;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied).is-file-drop-hover::after {
  background: rgba(15, 137, 142, 0.2);
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
  .logo-preview,
  .profile-image-preview,
  .modal-preview-image,
  #paymentTwintQrImage
),
body:has(.setup-shell).is-image-file-drag-active .image-tile:is(.has-image, .is-image-drop-occupied):not(.primary) .tile-preview,
body:has(.setup-shell).is-image-file-drag-active .image-tile.primary:is(.has-image, .is-image-drop-occupied).hero-fit-contain .tile-preview {
  animation: playframe-image-drop-occupied-image-in 180ms ease both !important;
}

body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:is(.has-image, .is-image-drop-occupied)::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  background: rgba(21, 151, 154, 0.14);
  pointer-events: none;
  content: "";
  animation: playframe-image-drop-occupied-overlay-out 220ms ease both;
}

body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
  .logo-preview,
  .profile-image-preview,
  .modal-preview-image,
  #paymentTwintQrImage
),
body:has(.setup-shell).is-image-file-drag-leaving .image-tile:is(.has-image, .is-image-drop-occupied):not(.primary) .tile-preview,
body:has(.setup-shell).is-image-file-drag-leaving .image-tile.primary:is(.has-image, .is-image-drop-occupied).hero-fit-contain .tile-preview {
  animation: playframe-image-drop-occupied-image-out 220ms ease both !important;
}

body:has(.setup-shell).is-image-file-drag-active :is(.contact-image-clear, .remove-image) {
  opacity: 0 !important;
  pointer-events: none !important;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target.is-file-drop-hover {
  border-color: rgba(15, 123, 128, 0.78) !important;
  background-color: #e4f7f6 !important;
  box-shadow:
    inset 0 0 0 2px rgba(15, 123, 128, 0.16),
    0 0 0 3px rgba(15, 123, 128, 0.08) !important;
}

body:has(.setup-shell) .image-drop-target :is(
  .placeholder-icon,
  .logo-placeholder,
  .profile-image-placeholder,
  .modal-preview-icon,
  .image-drop-current,
  #paymentTwintQrPreview > span
) {
  transition: opacity 180ms ease;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target:not(:is(.has-image, .is-image-drop-occupied)) :is(
  .placeholder-icon,
  .logo-placeholder,
  .profile-image-placeholder,
  .modal-preview-icon,
  .image-drop-current,
  #paymentTwintQrPreview > span
) {
  opacity: 0;
  transform: scale(1);
  animation: none;
}

body:has(.setup-shell) .image-drop-target.is-image-processing :is(
  .placeholder-icon,
  .tile-preview,
  .image-caption,
  .logo-placeholder,
  .logo-preview,
  .profile-image-placeholder,
  .profile-image-preview,
  .modal-preview-icon,
  .modal-preview-image,
  .image-drop-current,
  #paymentTwintQrImage,
  #paymentTwintQrPreview > span
) {
  animation: playframe-image-drop-current-out 180ms ease both;
}

body:has(.setup-shell).is-image-file-drag-active .image-drop-target .image-drop-upload-icon {
  animation: playframe-image-drop-icon-in 380ms linear(0, 0.409 7.4%, 0.72 15.2%, 0.942 23.6%, 1.021 28.1%, 1.079 32.8%, 1.111 36.6%, 1.132 40.7%, 1.142 45%, 1.141 49.7%, 1.12 58.1%, 1.021 82.9%, 1.005 91.1%, 1) both;
}

body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:not(.is-image-processing) .image-drop-upload-icon {
  animation: playframe-image-drop-icon-out 220ms ease both;
}

body:has(.setup-shell) .image-drop-target.is-image-processing .image-drop-upload-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: playframe-image-drop-icon-working 900ms ease-in-out infinite alternate;
}

@keyframes playframe-image-drop-current-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes playframe-image-drop-icon-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes playframe-image-drop-occupied-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes playframe-image-drop-occupied-overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes playframe-image-drop-occupied-image-in {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0.92;
    transform: scale(1);
  }
}

@keyframes playframe-image-drop-occupied-image-out {
  from {
    opacity: 0.92;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes playframe-image-drop-icon-out {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.56);
  }
}

@keyframes playframe-image-drop-icon-working {
  from {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.setup-shell) .image-drop-target,
  body:has(.setup-shell) .image-drop-upload-icon,
  body:has(.setup-shell).is-image-file-drag-active .image-drop-target :is(
    .placeholder-icon,
    .tile-preview,
    .image-caption,
    .logo-placeholder,
    .logo-preview,
    .profile-image-placeholder,
    .profile-image-preview,
    .modal-preview-icon,
    .modal-preview-image,
    .image-drop-current,
    #paymentTwintQrImage,
    #paymentTwintQrPreview > span
  ),
  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target :is(
    .placeholder-icon,
    .tile-preview,
    .image-caption,
    .logo-placeholder,
    .logo-preview,
    .profile-image-placeholder,
    .profile-image-preview,
    .modal-preview-icon,
    .modal-preview-image,
    .image-drop-current,
    #paymentTwintQrImage,
    #paymentTwintQrPreview > span
  ),
  body:has(.setup-shell).is-image-file-drag-active .image-drop-target .image-drop-upload-icon,
  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target .image-drop-upload-icon,
  body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied)::after,
  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:is(.has-image, .is-image-drop-occupied)::after,
  body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
    .logo-preview,
    .profile-image-preview,
    .modal-preview-image,
    #paymentTwintQrImage
  ),
  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
    .logo-preview,
    .profile-image-preview,
    .modal-preview-image,
    #paymentTwintQrImage
  ),
  body:has(.setup-shell).is-image-file-drag-active .image-tile:is(.has-image, .is-image-drop-occupied) .tile-preview,
  body:has(.setup-shell).is-image-file-drag-leaving .image-tile:is(.has-image, .is-image-drop-occupied) .tile-preview,
  body:has(.setup-shell) .image-drop-target.is-image-processing .image-drop-upload-icon {
    animation: none;
    transition: none;
  }

  body:has(.setup-shell).is-image-file-drag-active .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
    .logo-preview,
    .profile-image-preview,
    .modal-preview-image,
    #paymentTwintQrImage
  ),
  body:has(.setup-shell).is-image-file-drag-active .image-tile:is(.has-image, .is-image-drop-occupied):not(.primary) .tile-preview,
  body:has(.setup-shell).is-image-file-drag-active .image-tile.primary:is(.has-image, .is-image-drop-occupied).hero-fit-contain .tile-preview {
    opacity: 0.92;
    transform: scale(1);
  }

  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target:is(.has-image, .is-image-drop-occupied) :is(
    .logo-preview,
    .profile-image-preview,
    .modal-preview-image,
    #paymentTwintQrImage
  ),
  body:has(.setup-shell).is-image-file-drag-leaving .image-tile:is(.has-image, .is-image-drop-occupied) .tile-preview {
    opacity: 1;
    transform: scale(1);
  }

  body:has(.setup-shell).is-image-file-drag-active .image-drop-target .image-drop-upload-icon,
  body:has(.setup-shell) .image-drop-target.is-image-processing .image-drop-upload-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  body:has(.setup-shell).is-image-file-drag-leaving .image-drop-target .image-drop-upload-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.56);
  }
}

/* === CSS: z-playframe-smart-inputs.css [root] === */
/* Shared keyboard-friendly time and number controls. */
.smart-time-input[data-smart-time-enhanced="true"] {
  caret-color: transparent;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: center;
}

.smart-time-input[data-smart-time-enhanced="true"]::selection {
  background: Highlight;
  color: HighlightText;
}

body:has(.setup-shell) .calendar-stepper-field > input,
.calendar-time-input-wrap > input {
  padding-right: 36px !important;
}

body:has(.setup-shell) .calendar-stepper-buttons,
.calendar-time-stepper {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 32px;
  transform: none;
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(112, 127, 148, 0.17);
  border-radius: 0 7px 7px 0;
  background: rgba(247, 249, 251, 0.72);
  box-shadow: none;
}

body:has(.setup-shell) .calendar-stepper-field::after,
.calendar-time-input-wrap::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
}

body:has(.setup-shell) .calendar-stepper-field::after {
  border-color: var(--line-strong);
  border-radius: 8px;
}

body:has(.setup-shell) .calendar-stepper-field:focus-within::after {
  border-color: #8497aa;
  box-shadow: 0 0 0 1px rgba(72, 96, 119, 0.16);
}

.calendar-time-input-wrap::after {
  border-color: color-mix(in oklab, var(--text-strong) 30%, transparent);
  border-radius: 9px;
}

.calendar-time-input-wrap:has(> input:hover)::after {
  border-color: color-mix(in oklab, var(--text-strong) 46%, transparent);
}

.calendar-time-input-wrap:focus-within::after {
  border-color: color-mix(in oklab, var(--text-strong) 56%, var(--accent-mid));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--text-strong) 14%, transparent);
}

/* Public controls inherit the active offer palette instead of setup chrome colours. */
.public-page .calendar-time-stepper {
  border-left-color: color-mix(in oklab, var(--text-strong) 20%, transparent);
  background: color-mix(in oklab, var(--surface) 86%, var(--text-strong) 14%);
}

body:has(.setup-shell) .calendar-stepper-button,
.calendar-time-stepper button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  color: #66738a;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  font-weight: 750;
}

body:has(.setup-shell) .calendar-stepper-button + .calendar-stepper-button,
.calendar-time-stepper button + button {
  border-top: 1px solid rgba(112, 127, 148, 0.17) !important;
}

.public-page .calendar-time-stepper button {
  color: var(--text-strong);
}

.public-page .calendar-time-stepper button + button {
  border-top-color: color-mix(in oklab, var(--text-strong) 20%, transparent) !important;
}

body:has(.setup-shell) .calendar-stepper-button:hover,
body:has(.setup-shell) .calendar-stepper-button:focus-visible,
.calendar-time-stepper button:hover,
.calendar-time-stepper button:focus-visible {
  background: rgba(229, 238, 241, 0.88) !important;
  color: #263248;
  outline: none;
}

.public-page .calendar-time-stepper button:hover,
.public-page .calendar-time-stepper button:focus-visible {
  background: color-mix(in oklab, var(--accent-soft) 64%, var(--surface)) !important;
  color: var(--text-strong);
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  body:has(.setup-shell) .calendar-stepper-buttons,
  .calendar-time-stepper {
    display: none !important;
  }

  body:has(.setup-shell) .calendar-stepper-field > input,
  .calendar-time-input-wrap > input {
    padding-right: 12px !important;
  }
}

/* === CSS: z-playframe-support.css [root] === */
.playframe-support-launcher,
.playframe-support-panel {
  --support-strong: #172033;
  --support-text: #526078;
  --support-muted: #718096;
  --support-line: rgba(112, 127, 148, 0.2);
  --support-primary: #0f7b80;
  --support-primary-hover: #0b666a;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.playframe-support-launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1490;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(15, 123, 128, 0.3);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.15);
  color: var(--support-primary);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.playframe-support-launcher:hover,
.playframe-support-launcher:focus-visible {
  border-color: var(--support-primary);
  outline: 0;
  background: var(--support-primary);
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.18);
  color: #fff;
}

.playframe-support-launcher[aria-expanded="true"] {
  border-color: var(--support-primary);
  background: var(--support-primary);
  color: #fff;
}

.playframe-support-launcher img {
  width: 23px;
  height: 23px;
}

.playframe-support-launcher:hover img,
.playframe-support-launcher:focus-visible img,
.playframe-support-launcher[aria-expanded="true"] img {
  filter: brightness(0) invert(1);
}

body:has(.setup-shell) .playframe-support-launcher {
  bottom: calc(var(--footer-height, 74px) + max(68px, env(safe-area-inset-bottom)));
}

body:has(.setup-shell) .playframe-support-panel {
  bottom: calc(var(--footer-height, 74px) + max(68px, env(safe-area-inset-bottom)));
  max-height: calc(100dvh - var(--footer-height, 74px) - 82px);
}

.playframe-support-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1500;
  box-sizing: border-box;
  width: min(410px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 17px;
  border: 1px solid var(--support-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(23, 32, 51, 0.2);
  color: var(--support-text);
}

.playframe-support-panel[hidden] {
  display: none;
}

.playframe-support-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-right: 48px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--support-line);
}

.playframe-support-panel__close-dock {
  position: sticky;
  z-index: 4;
  top: 0;
  height: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.playframe-support-panel__header h2 {
  margin: 0;
  color: var(--support-strong);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.playframe-support-panel__header p {
  margin: 4px 0 0;
  color: var(--support-muted);
  font-size: 12px;
  line-height: 1.45;
}

.playframe-support-panel__close {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(23, 32, 51, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--support-text);
  cursor: pointer;
  pointer-events: auto;
}

.playframe-support-panel__close:hover,
.playframe-support-panel__close:focus-visible {
  border-color: rgba(15, 123, 128, 0.35);
  outline: 0;
  background: #f7fafb;
}

.playframe-support-panel__close img {
  width: 18px;
  height: 18px;
}

.playframe-support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding-top: 14px;
}

.playframe-support-form[hidden] {
  display: none;
}

.playframe-support-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.playframe-support-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--support-text);
  font-size: 12px;
  font-weight: 650;
}

.playframe-support-field.is-wide,
.playframe-support-actions,
.playframe-support-status {
  grid-column: 1 / -1;
}

.playframe-support-field small {
  color: var(--support-muted);
  font-size: 11px;
  font-weight: 550;
}

.playframe-support-field :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: #fff;
  color: var(--support-strong);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
}

.playframe-support-field textarea {
  min-height: 112px;
  max-height: 240px;
  resize: vertical;
  line-height: 1.45;
}

.playframe-support-field :is(input, select, textarea):focus {
  border-color: rgba(15, 123, 128, 0.52);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 123, 128, 0.1);
}

.playframe-support-file {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.playframe-support-file__picker {
  display: inline-flex;
  flex: 0 0 auto;
}

.playframe-support-file__picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.playframe-support-file__button {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--support-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.playframe-support-file__picker input:focus-visible + .playframe-support-file__button {
  border-color: rgba(15, 123, 128, 0.52);
  outline: 2px solid rgba(15, 123, 128, 0.2);
  outline-offset: 2px;
}

.playframe-support-file__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--support-muted);
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playframe-support-file__remove {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: #fff;
  color: #923333;
  cursor: pointer;
}

.playframe-support-file__remove[hidden] {
  display: none;
}

.playframe-support-file__remove:hover,
.playframe-support-file__remove:focus-visible {
  border-color: rgba(174, 57, 57, 0.34);
  outline: 0;
  background: #fff3f3;
}

.playframe-support-file__remove img {
  width: 16px;
  height: 16px;
}

.playframe-support-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.playframe-support-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: #fff;
  color: var(--support-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
}

.playframe-support-action.is-primary {
  border-color: var(--support-primary);
  background: var(--support-primary);
  color: #fff;
}

.playframe-support-action:hover,
.playframe-support-action:focus-visible {
  border-color: rgba(15, 123, 128, 0.45);
  outline: 0;
  background: #f4f9fa;
}

.playframe-support-action.is-primary:hover,
.playframe-support-action.is-primary:focus-visible {
  border-color: var(--support-primary-hover);
  background: var(--support-primary-hover);
}

.playframe-support-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.playframe-support-status {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid rgba(166, 118, 43, 0.2);
  border-radius: 8px;
  background: #fff9ed;
  color: #76531e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.playframe-support-status.is-success {
  border-color: rgba(54, 151, 94, 0.24);
  background: #f1fbf5;
  color: #276c43;
}

.playframe-support-status.is-error {
  border-color: rgba(174, 57, 57, 0.22);
  background: #fff3f3;
  color: #923333;
}

.playframe-support-success,
.playframe-support-error {
  display: grid;
  justify-items: start;
  gap: 9px;
  padding: 24px 2px 5px;
  outline: 0;
}

.playframe-support-success[hidden],
.playframe-support-error[hidden] {
  display: none;
}

.playframe-support-success__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid rgba(54, 151, 94, 0.25);
  border-radius: 50%;
  background: #f1fbf5;
  color: #277447;
  font-size: 20px;
  font-weight: 800;
}

.playframe-support-error__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid rgba(174, 57, 57, 0.24);
  border-radius: 50%;
  background: #fff3f3;
  color: #923333;
  font-size: 20px;
  font-weight: 800;
}

.playframe-support-success h3,
.playframe-support-success p,
.playframe-support-error h3,
.playframe-support-error p {
  margin: 0;
}

.playframe-support-success h3,
.playframe-support-error h3 {
  color: var(--support-strong);
  font-size: 17px;
  line-height: 1.3;
}

.playframe-support-success p,
.playframe-support-error p {
  color: var(--support-text);
  font-size: 13px;
  line-height: 1.5;
}

.playframe-support-success__number {
  font-weight: 700;
}

.playframe-support-result__actions {
  display: grid;
  width: 100%;
  gap: 8px;
  margin-top: 10px;
}

.playframe-support-action--large {
  width: 100%;
  min-height: 46px;
  text-align: center;
  text-decoration: none;
}

.landing-footer__support-button {
  appearance: none;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

.landing-footer__support-button:hover,
.landing-footer__support-button:focus-visible {
  border-bottom-color: currentColor;
  outline: 0;
}

.footer-support-button {
  appearance: none;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--footer-link, inherit);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 550;
}

.footer-support-button:hover,
.footer-support-button:focus-visible {
  border-bottom-color: currentColor;
  outline: 0;
}

@media (max-width: 600px) {
  .playframe-support-launcher {
    right: max(12px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
  }

  body:has(.setup-shell) .playframe-support-launcher {
    bottom: calc(var(--footer-height, 112px) + max(64px, env(safe-area-inset-bottom)));
  }

  body:has(.setup-shell) .playframe-support-panel {
    bottom: calc(var(--footer-height, 112px) + max(64px, env(safe-area-inset-bottom)));
    max-height: calc(100dvh - var(--footer-height, 112px) - 72px);
  }

  .playframe-support-panel {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 14px;
    border-radius: 10px;
  }

  .playframe-support-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .playframe-support-field.is-wide,
  .playframe-support-actions,
  .playframe-support-status {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .playframe-support-launcher {
    transition: none;
  }
}

/* === CSS: zz-anim-preview.css [core] === */
#slow-anim * {
  transition-duration: 2.5s !important;
}

/* === CSS: zz-playframe-map-attribution.css [root] === */
:is(.map-embed, .finder-map, .location-picker-map) .leaflet-control-attribution {
  display: block;
  max-width: calc(100% - 16px);
  margin: 0 !important;
  padding: 5px 26px 4px 8px;
  border: 1px solid rgba(112, 127, 148, 0.18);
  border-right: 0;
  border-bottom: 0;
  border-radius: 8px 0 0 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: -2px -2px 10px rgba(70, 82, 99, 0.06);
  color: #536174;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:is(.map-embed, .finder-map, .location-picker-map) .leaflet-control-attribution a {
  color: #34465f;
  text-decoration: none;
}

:is(.map-embed, .finder-map, .location-picker-map) .leaflet-control-attribution a:hover,
:is(.map-embed, .finder-map, .location-picker-map) .leaflet-control-attribution a:focus-visible {
  color: #08777c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 420px) {
  :is(.map-embed, .finder-map, .location-picker-map) .leaflet-control-attribution {
    max-width: calc(100% - 10px);
    padding: 4px 20px 3px 6px;
    border-top-left-radius: 7px;
    font-size: 8px;
  }
}

