/* Design studio tour (studio.js). The stage is drawn at a fixed size and scaled to fit. */
.studio-section { background: linear-gradient(180deg, var(--white) 0%, var(--canvas) 100%); }
.studio-viewport { position: relative; width: 100%; overflow: hidden; aspect-ratio: 1120 / 800; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(110% 80% at 12% 0%, #dff5ee 0%, rgba(223, 245, 238, 0) 58%), radial-gradient(80% 80% at 100% 100%, #e6ebf3 0%, rgba(230, 235, 243, 0) 60%), #f2f5f5; }
.studio-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; color: #1d2327; font: 400 14px/1.45 Inter, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; pointer-events: none; -webkit-user-select: none; user-select: none; }
.studio-stage *, .studio-stage *::before, .studio-stage *::after { box-sizing: border-box; }
.studio-stage p { margin: 0; }
.studio-stage code { background: none; border: 0; padding: 0; border-radius: 0; }

/* Window */
.st-window { position: absolute; inset: 24px 24px 72px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(19, 31, 41, .07), 0 2px 4px rgba(19, 31, 41, .04), 0 40px 90px -30px rgba(19, 31, 41, .38); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.st-chrome { flex: 0 0 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f2f4f5; border-bottom: 1px solid #e3e7e9; }
.st-chrome > i { width: 11px; height: 11px; border-radius: 50%; background: #dce1e4; }
.st-url { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 46%; max-width: 70%; height: 26px; margin: 0 auto; padding: 0 14px; transform: translateX(-24px); overflow: hidden; border: 1px solid #e3e7e9; border-radius: 8px; background: #fff; color: #5e7274; font-size: 12px; white-space: nowrap; }
.st-url svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-url span { overflow: hidden; text-overflow: ellipsis; transition: opacity .18s, filter .18s; }
.st-url span.is-swap { opacity: 0; filter: blur(3px); }
.st-scenes { position: relative; flex: 1; min-height: 0; }
.st-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.035); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s, visibility 0s 1s; }
.st-scene.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.st-scene.is-active.is-leaving { opacity: 0; transform: scale(.965); filter: blur(8px); }

/* Form editor */
.st-builder { display: flex; background: #f0f2f2; }
.st-rail { flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px; background: #1d2327; }
.st-rail b { width: 24px; height: 24px; margin-bottom: 6px; border: 2px solid #a7aaad; border-radius: 50%; }
.st-rail i { width: 20px; height: 20px; border-radius: 5px; background: #3c434a; }
.st-rail i.is-on { background: #46c8b2; box-shadow: 0 0 0 6px rgba(70, 200, 178, .18); }
.st-admin { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-head { display: flex; align-items: center; gap: 24px; padding: 14px 22px; background: #fff; border-bottom: 1px solid #e2e6e8; }
.st-title { display: grid; line-height: 1.2; }
.st-title small { color: #117563; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.st-title strong { color: #131f29; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.st-tabs { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 12px; background: #f1f4f4; }
.st-tab { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; color: #50626a; font-size: 13px; font-weight: 600; transition: background-color .3s, color .3s, box-shadow .3s; }
.st-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-tab em { font-style: normal; white-space: nowrap; }
.st-tab.is-on { background: #fff; color: #117563; box-shadow: 0 1px 2px rgba(19, 31, 41, .08), 0 4px 12px rgba(19, 31, 41, .06); }
.st-work { flex: 1; min-height: 0; display: flex; }
.st-panel { flex: 0 0 320px; min-height: 0; display: flex; flex-direction: column; background: #f6f8f8; border-right: 1px solid #e2e6e8; }
.st-cards-vp { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.st-cards-vp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(rgba(246, 248, 248, 0), #f6f8f8); }
.st-cards { position: relative; padding: 14px; will-change: transform; }
.st-cards > div { display: grid; gap: 12px; }
.st-cards > [hidden] { display: none; }
.st-card { display: grid; gap: 12px; padding: 14px; border: 1px solid #e2e8ea; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(19, 31, 41, .04); }
.st-card.is-enter { animation: st-in .6s var(--ease) both; }
.st-card header { display: grid; gap: 1px; }
.st-card header strong { color: #131f29; font-size: 14px; font-weight: 600; }
.st-card header small { color: #6b7c80; font-size: 12px; }
.st-looks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.st-look { display: grid; gap: 5px; color: #2b3a45; font-size: 10.5px; font-weight: 600; text-align: center; }
.st-mini { display: grid; align-content: start; gap: 4px; aspect-ratio: 4 / 5; padding: 8px 6px; border: 1px solid color-mix(in srgb, var(--t) 14%, var(--b)); border-radius: 9px; background: var(--b); transition: box-shadow .35s, transform .35s var(--ease); }
.st-mini i { height: 9px; border-radius: 4px; background: color-mix(in srgb, var(--t) 12%, var(--b)); }
.st-mini i:first-child { width: 72%; height: 5px; background: var(--t); opacity: .8; }
.st-mini b { width: 60%; height: 9px; margin-top: 3px; border-radius: 99px; background: var(--a); }
.st-mini-serif i:first-child { border-radius: 0; }
.st-mini-rounded { border-radius: 13px; }
.st-look.is-on .st-mini { transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #117563; }
.st-note { color: #6b7c80; font-size: 11.5px; line-height: 1.4; transition: color .3s; }
.st-note.is-custom { color: #117563; }
.st-colors { display: grid; gap: 8px; }
.st-color { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border: 1px solid #e2e8ea; border-radius: 10px; }
.st-color .st-dot { flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.st-color > span:last-child { display: flex; flex: 1; align-items: center; justify-content: space-between; }
.st-color small { color: #2b3a45; font-size: 12.5px; font-weight: 600; }
.st-color code, .st-hex code { color: #5e7274; font: 600 11.5px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.st-field { display: grid; gap: 7px; }
.st-label { display: flex; align-items: center; justify-content: space-between; color: #2b3a45; font-size: 12.5px; font-weight: 600; }
.st-label output { padding: 1px 7px; border-radius: 6px; background: #e6f8f2; color: #117563; font: 600 11.5px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.st-range { position: relative; height: 6px; margin: 6px 0; border-radius: 99px; background: #e2e8ea; }
.st-range i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #46c8b2, #117563); }
.st-range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid #117563; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(19, 31, 41, .2); transition: transform .2s, box-shadow .2s; }
.st-field.is-active .st-range b { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(70, 200, 178, .22), 0 2px 6px rgba(19, 31, 41, .2); }
.st-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-select { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 8px 0 10px; border: 1px solid #cfd9db; border-radius: 8px; background: #fff; color: #131f29; font-size: 13px; white-space: nowrap; }
.st-select svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #5e7274; stroke-width: 2; }
.st-toggle { display: flex; align-items: center; gap: 10px; color: #2b3a45; font-size: 13px; }
.st-switch { position: relative; flex: none; width: 36px; height: 20px; border-radius: 99px; background: #cfd9db; transition: background-color .3s; }
.st-switch b { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.st-toggle.is-on .st-switch { background: #117563; }
.st-toggle.is-on .st-switch b { transform: translateX(16px); }
.st-save { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #fff; border-top: 1px solid #e2e8ea; }
.st-status { display: flex; align-items: center; gap: 7px; color: #5e7274; font-size: 11.5px; line-height: 1.3; }
.st-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #46c8b2; transition: background-color .3s, box-shadow .3s; }
.st-status.is-unsaved::before { background: #e8a33c; }
.st-status.is-saved::before { box-shadow: 0 0 0 4px rgba(70, 200, 178, .25); }
.st-btn { position: relative; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: #e2e8ea; color: #4a5e60; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s, border-color .3s; }
.st-btn.is-ready { background: #117563; color: #fff; box-shadow: 0 6px 16px -4px rgba(17, 117, 99, .5); }
.st-btn.is-busy { background: #0d5f50; color: transparent; }
.st-btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: st-spin .7s linear infinite; }
.st-btn-ghost { height: 30px; padding: 0 12px; border: 1px solid #cfd9db; background: #fff; color: #117563; }
.st-btn-ghost.is-done { border-color: #46c8b2; background: #e6f8f2; }
.st-publish { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-publish li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px; border: 1px solid #e2e8ea; border-radius: 10px; color: #5e7274; font-size: 12px; }
.st-publish strong { grid-column: 1 / -1; color: #131f29; font-size: 12.5px; }
.st-publish li:last-child span { grid-column: 1 / -1; }
.st-publish code { overflow: hidden; padding: 6px 7px; border: 1px solid #e2e8ea; border-radius: 6px; background: #f3f6f6; color: #131f29; font: 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; transition: background-color .4s, border-color .4s; }
.st-publish code.is-flash { border-color: #46c8b2; background: #e6f8f2; }
.st-canvas { flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #edf1f1 radial-gradient(circle at 1px 1px, rgba(19, 31, 41, .08) 1px, transparent 0) 0 0 / 18px 18px; }
.st-canvas-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 0; }
.st-seg { display: flex; gap: 2px; padding: 3px; border: 1px solid #e2e8ea; border-radius: 10px; background: #fff; }
.st-seg b { padding: 5px 12px; border-radius: 7px; color: #5e7274; font-size: 12px; font-weight: 600; transition: background-color .3s, color .3s; }
.st-seg b.is-on { background: #131f29; color: #fff; }
.st-canvas-bar small { color: #7b8b8f; font-size: 11.5px; }
.st-preview { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 12px; }
.st-canvas.is-phone .bf { box-shadow: 0 0 0 9px #131f29, 0 0 0 10px #3a4650, 0 40px 60px -24px rgba(0, 0, 0, .55); }

/* Pop-ups, keys, caption and cursor */
.st-picker, .st-menu, .st-keys { position: absolute; z-index: 6; opacity: 0; transition: opacity .25s, transform .35s var(--ease); }
.st-picker { display: grid; gap: 10px; width: 224px; padding: 12px; transform: translateY(-6px) scale(.97); transform-origin: top left; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(19, 31, 41, .08), 0 24px 50px -12px rgba(19, 31, 41, .4); }
.st-picker.is-on, .st-menu.is-on, .st-keys.is-on { opacity: 1; transform: none; }
.st-sv { position: relative; height: 130px; border-radius: 8px; }
.st-hue { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.st-sv b, .st-hue b { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .3); }
.st-hue b { top: 50%; }
.st-hex { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid #e2e8ea; border-radius: 8px; }
.st-hex .st-dot { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.st-menu { min-width: 190px; display: grid; gap: 2px; padding: 5px; transform: translateY(-4px); border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(19, 31, 41, .08), 0 18px 40px -12px rgba(19, 31, 41, .35); }
.st-menu span { padding: 7px 10px; border-radius: 7px; color: #2b3a45; font-size: 13px; transition: background-color .15s, color .15s; }
.st-menu span.is-current { font-weight: 600; }
.st-menu span.is-hover { background: #e6f8f2; color: #117563; }
.st-keys { display: flex; align-items: center; gap: 4px; padding: 6px; transform: translateY(6px) scale(.9); border-radius: 10px; background: rgba(19, 31, 41, .94); color: #fff; }
.st-keys kbd { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 6px; background: #2b3a45; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35); font: 600 12px Inter, sans-serif; }
.st-keys i { font-size: 12px; font-style: normal; opacity: .6; }
.st-caption { position: absolute; left: 50%; bottom: 18px; z-index: 7; transform: translateX(-50%); white-space: nowrap; }
.st-caption span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 99px; background: #131f29; color: #fff; font: 600 15px/1.2 Inter, sans-serif; letter-spacing: -.01em; box-shadow: 0 12px 30px -12px rgba(19, 31, 41, .6); opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .3s, transform .45s var(--ease), filter .3s; }
.st-caption span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #46c8b2; box-shadow: 0 0 0 4px rgba(70, 200, 178, .25); }
.st-caption.is-on span { opacity: 1; transform: none; filter: none; }
.st-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 28px; height: 28px; margin: -3px 0 0 -5px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .3)); transition: opacity .3s; will-change: transform; }
.st-cursor svg { display: block; width: 28px; height: 28px; transform-origin: 5px 3px; transition: transform .15s; }
.st-cursor path { fill: #131f29; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.st-cursor.is-down svg { transform: scale(.82); }
.st-ripple { position: absolute; z-index: 8; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid #46c8b2; border-radius: 50%; animation: st-ripple .7s var(--ease) forwards; }
.studio-stage.is-fading > * { opacity: 0; transition: opacity .6s; }
.studio-stage.is-fadein .st-window { animation: st-in .9s var(--ease) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes st-spin { to { transform: rotate(1turn); } }
@keyframes st-ripple { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }

/* The booking form preview (mirrors the plugin's appearance settings) */
.bf-fit { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transform-origin: center; transition: transform .5s var(--ease); }
.bf { --bf-mute: color-mix(in srgb, var(--bf-tx) 74%, var(--bf-bg)); --bf-line: color-mix(in srgb, var(--bf-tx) 13%, var(--bf-bg)); --bf-card: color-mix(in srgb, var(--bf-tx) 4%, var(--bf-bg)); --bf-font: Inter, -apple-system, "Segoe UI", system-ui, sans-serif; width: var(--bf-w); padding: 24px; border: 1px solid var(--bf-line); border-radius: var(--bf-r); background: var(--bf-bg); color: var(--bf-tx); font-family: var(--bf-font); font-size: var(--bf-fs); line-height: 1.4; transition: background-color .8s var(--ease), color .8s, border-color .8s, box-shadow .8s var(--ease); }
.bf.is-dark { --bf-card: color-mix(in srgb, var(--bf-tx) 6%, var(--bf-bg)); }
.bf[data-font="serif"] { --bf-font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }
.bf[data-font="rounded"] { --bf-font: ui-rounded, "SF Pro Rounded", Nunito, "Segoe UI", system-ui, sans-serif; }
.bf[data-font="mono"] { --bf-font: ui-monospace, SFMono-Regular, Consolas, monospace; }
.bf[data-shadow="soft"] { box-shadow: 0 2px 6px rgba(19, 31, 41, .06), 0 18px 40px -12px rgba(19, 31, 41, .24); }
.bf[data-shadow="lifted"] { box-shadow: 0 4px 10px rgba(0, 0, 0, .12), 0 40px 80px -24px rgba(0, 0, 0, .55); }
.is-morph .bf, .is-morph .bf-card, .is-morph .bf-img, .is-morph .bf-next, .is-morph .bf-day, .is-morph .bf-slot { transition: all .8s var(--ease); }
.bf-head { margin-bottom: 16px; }
.bf-head.is-swap { animation: bf-swap .7s var(--ease); }
.bf-title { margin: 0 0 4px; font-size: 1.55em; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bf[data-font="serif"] .bf-title { font-size: 1.7em; font-weight: 500; letter-spacing: -.01em; }
.bf-intro { color: var(--bf-mute); font-size: .92em; }
.bf-steps { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--bf-mute); font-size: .8em; font-weight: 600; }
.bf-steps li { display: flex; flex: 1; align-items: center; gap: 7px; white-space: nowrap; }
.bf-steps li:last-child { flex: 0 0 auto; }
.bf-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--bf-line); }
.bf-steps b { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .95em; transition: background-color .4s, color .4s, border-color .4s; }
.bf-steps li.is-on { color: var(--bf-tx); }
.bf-steps li.is-on b { border-color: var(--bf-p); background: var(--bf-p); color: var(--bf-on); }
.bf-steps li.is-done b { border-color: transparent; background: color-mix(in srgb, var(--bf-p) 24%, var(--bf-bg)); color: var(--bf-p); }
.bf-services { display: grid; gap: 8px; }
.bf.is-grouped .bf-group + .bf-group { margin-top: 6px; }
.bf-cat { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .5s, margin .7s var(--ease); }
.bf-cat > div { display: flex; align-items: baseline; gap: 10px; min-height: 0; overflow: hidden; }
.bf-cat strong { font-size: 1em; font-weight: 600; white-space: nowrap; }
.bf-cat strong::before { content: ""; display: inline-block; width: 14px; height: 2px; margin: 0 8px 0 0; border-radius: 2px; background: var(--bf-p); vertical-align: middle; }
.bf-cat small { overflow: hidden; color: var(--bf-mute); font-size: .8em; text-overflow: ellipsis; white-space: nowrap; }
.bf.is-grouped .bf-cat { grid-template-rows: 1fr; margin: 2px 0 8px; opacity: 1; }
.bf-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.bf.is-grid .bf-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-canvas.is-phone .bf.is-grid .bf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-canvas.is-phone .bf-steps span, .st-canvas.is-phone .bf-foot > span:first-child { display: none; }
.bf-card { position: relative; display: flex; align-items: center; min-width: 0; padding: 10px 12px; border: 1px solid var(--bf-line); border-radius: var(--bf-cr); background: var(--bf-card); transition: background-color .8s, border-color .5s, box-shadow .5s, transform .4s var(--ease); }
.bf-img { flex: none; width: 0; height: 44px; margin-right: 0; overflow: hidden; border-radius: calc(var(--bf-cr) * .7); opacity: 0; transition: width .7s var(--ease), height .7s var(--ease), margin .7s var(--ease), opacity .5s; }
.bf-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bf.has-images .bf-img { width: 44px; margin-right: 12px; opacity: 1; }
.bf-txt { display: grid; flex: 1; min-width: 0; }
.bf-txt strong { overflow: hidden; font-size: .95em; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bf-txt small { color: var(--bf-mute); font-size: .8em; }
.bf-radio { flex: none; width: 16px; height: 16px; margin-left: 10px; border: 1.5px solid color-mix(in srgb, var(--bf-tx) 32%, var(--bf-bg)); border-radius: 50%; transition: border .3s; }
.bf.is-grid .bf-card { flex-direction: column; align-items: stretch; padding: 10px; }
.bf.is-grid .bf-img { width: 100%; height: 0; margin: 0; }
.bf.is-grid.has-images .bf-img { height: 76px; margin: 0 0 10px; }
.bf.is-grid .bf-txt { padding-right: 22px; }
.bf.is-grid .bf-radio { position: absolute; right: 10px; bottom: 13px; margin: 0; }
.bf-card.is-picked { border-color: var(--bf-p); box-shadow: 0 0 0 1px var(--bf-p), 0 14px 28px -14px var(--bf-p); transform: translateY(-2px); }
.bf-card.is-picked .bf-radio { border: 5px solid var(--bf-p); }
.bf-times { display: none; }
.bf.is-time .bf-services { display: none; }
.bf.is-time .bf-times { display: block; animation: st-in .6s var(--ease) both; }
.bf-sub { margin: 0 0 8px !important; color: var(--bf-mute); font-size: .8em; font-weight: 600; }
.bf-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.bf-day, .bf-slot { border: 1px solid var(--bf-line); border-radius: var(--bf-cr); background: var(--bf-card); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.bf-day { display: grid; justify-items: center; gap: 1px; padding: 8px 0; }
.bf-day small { color: var(--bf-mute); font-size: .72em; }
.bf-day b { font-size: 1.05em; }
.bf-day.is-off { opacity: .4; }
.bf-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bf-slot { padding: 9px 0; font-size: .86em; font-weight: 600; text-align: center; white-space: nowrap; }
.bf-day.is-picked, .bf-slot.is-picked { border-color: var(--bf-p); background: var(--bf-p); color: var(--bf-on); transform: translateY(-1px); }
.bf-day.is-picked small { color: inherit; opacity: .8; }
.bf-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bf-line); color: var(--bf-mute); font-size: .78em; }
.bf-next { display: inline-flex; align-items: center; height: 2.7em; padding: 0 1.3em; border-radius: var(--bf-cr); background: var(--bf-p); color: var(--bf-on); font-size: 1.18em; font-weight: 600; transition: background-color .8s, color .8s; }
.bf-next.is-pulse { animation: bf-pulse 1.4s var(--ease) infinite; }
@keyframes bf-swap { from { opacity: .15; filter: blur(6px); transform: translateY(4px); } }
@keyframes bf-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bf-p) 25%, transparent); } }

/* WordPress page editor */
.st-wp { display: flex; flex-direction: column; background: #fff; }
.wp-top { flex: 0 0 52px; display: flex; align-items: center; gap: 12px; padding-right: 12px; border-bottom: 1px solid #e0e0e0; color: #1e1e1e; font-size: 13px; }
.wp-logo { display: grid; place-items: center; width: 52px; height: 52px; background: #1e1e1e; color: #fff; font: 700 20px/1 Georgia, serif; }
.wp-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; background: #1e1e1e; color: #fff; font-size: 22px; line-height: 1; }
.wp-tool { width: 20px; height: 20px; border-radius: 4px; background: #e9e9e9; }
.wp-tool-sq { width: 24px; height: 24px; border: 1.5px solid #1e1e1e; background: none; }
.wp-doc { margin: 0 auto; padding: 6px 18px; border-radius: 4px; background: #f0f0f0; }
.wp-draft { color: #3858e9; }
.wp-publish, .wp-btn { display: inline-grid; place-items: center; height: 34px; padding: 0 14px; border-radius: 2px; background: #3858e9; color: #fff; font-weight: 500; }
.wp-body { position: relative; flex: 1; min-height: 0; display: flex; overflow: hidden; }
.wp-canvas { flex: 1; max-width: 660px; margin: 0 auto; padding: 56px 28px; color: #1e1e1e; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.wp-title { margin-bottom: 22px !important; font-size: 42px; font-weight: 600; line-height: 1.12; }
.wp-title span { color: #757575; }
.wp-title.is-filled span { color: #1e1e1e; }
.wp-title.is-typing span::after, .wp-block.is-focus .wp-typed::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 2px; background: #1e1e1e; vertical-align: -.12em; animation: st-blink 1s steps(2) infinite; }
.wp-p { margin-bottom: 18px !important; font-size: 18px; line-height: 1.6; }
.wp-block { min-height: 30px; color: #757575; font-size: 18px; line-height: 1.6; }
.wp-block.is-focus { color: #1e1e1e; }
.wp-block.is-focus .wp-ph { display: none; }
.wp-block.is-gone { display: none; }
.wp-menu { position: relative; z-index: 3; height: 0; }
.wp-menu span { position: absolute; left: 0; top: 4px; display: flex; align-items: center; gap: 10px; width: 260px; padding: 10px 12px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px #e0e0e0, 0 10px 24px -8px rgba(0, 0, 0, .25); color: #3858e9; font: 500 13px Inter, sans-serif; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease); }
.wp-menu span b, .wp-sc-label b { font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.wp-menu.is-on span { opacity: 1; transform: none; background: #f0f4ff; }
.wp-sc { display: none; padding: 14px 16px; border: 1px solid #1e1e1e; border-radius: 2px; background: #fff; font-family: Inter, sans-serif; }
.wp-sc.is-on { display: block; animation: st-in .5s var(--ease); }
.wp-sc-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.wp-sc-input { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border: 1px solid #949494; border-radius: 2px; color: #757575; font: 14px ui-monospace, SFMono-Regular, Consolas, monospace; transition: border-color .3s, box-shadow .3s; }
.wp-sc-input.is-pasted { border-color: #3858e9; box-shadow: 0 0 0 1px #3858e9; color: #1e1e1e; }
.wp-sc-input code { color: #1e1e1e; font: inherit; animation: st-flash 1.2s var(--ease); }
.wp-side { position: absolute; top: 0; right: 0; bottom: 0; width: 300px; padding: 18px; transform: translateX(102%); border-left: 1px solid #e0e0e0; background: #fff; color: #1e1e1e; font: 13px/1.45 Inter, sans-serif; transition: transform .55s var(--ease), box-shadow .55s; }
.wp-side.is-on { transform: none; box-shadow: -14px 0 30px -24px rgba(0, 0, 0, .4); }
.wp-side-actions { display: flex; gap: 8px; margin-bottom: 20px; }
.wp-cancel { display: grid; place-items: center; height: 34px; padding: 0 12px; border: 1px solid #3858e9; border-radius: 2px; color: #3858e9; }
.wp-side strong { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.wp-side p { margin-bottom: 16px !important; color: #757575; }
.wp-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #f0f0f0; }
.wp-row span { color: #757575; }
.wp-side-live { display: none; }
.wp-side.is-live .wp-side-ready { display: none; }
.wp-side.is-live .wp-side-live { display: block; animation: st-in .5s var(--ease) both; }
.wp-side-live em { color: #3858e9; font-style: normal; }
.wp-copy code { display: block; margin-bottom: 14px; padding: 8px 10px; overflow: hidden; border-radius: 2px; background: #f0f0f0; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
@keyframes st-blink { 50% { opacity: 0; } }
@keyframes st-flash { from { background: rgba(70, 200, 178, .4); } }

/* The finished booking page */
.st-site { display: flex; flex-direction: column; background: #181716; color: #f2efe8; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.site-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 26px; padding: 18px 34px; color: rgba(242, 239, 232, .75); font: 500 12px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.site-logo { margin-right: auto; color: #f6f1e7; font: 600 20px/1 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: .01em; text-transform: none; }
.site-cta { padding: 9px 16px; border-radius: 99px; background: #cbb491; color: #131f29; }
.site-hero { position: relative; overflow: hidden; flex: 1; min-height: 0; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 30px; padding: 0 34px 22px; }
.site-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(24, 23, 22, .55), rgba(24, 23, 22, .2) 45%, #181716 85%), linear-gradient(180deg, #181716 0%, rgba(24, 23, 22, 0) 22%, rgba(24, 23, 22, 0) 45%, #181716); }
.site-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.75) blur(3px); transform: scale(1.06); }
.site-copy, .site-form { position: relative; z-index: 2; }
.site-copy small { color: #cbb491; font: 600 12px Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.site-h { margin: 12px 0 14px !important; color: #f6f1e7; font-size: 56px; line-height: 1.02; letter-spacing: -.01em; }
.site-copy p:last-child { max-width: 300px; color: rgba(242, 239, 232, .74); font: 16px/1.6 Inter, sans-serif; }
.site-form { height: 100%; min-height: 0; display: grid; place-items: center; }

/* Narrow stage (phones): editor stacked, simpler chrome */
.is-narrow .st-window { inset: 10px 10px 60px; border-radius: 14px; }
.is-narrow .st-chrome { flex-basis: 36px; }
.is-narrow .st-url { min-width: 0; max-width: 80%; margin-left: 8px; transform: none; font-size: 11px; }
.is-narrow .st-rail { display: none; }
.is-narrow .st-head { gap: 10px; padding: 10px 12px; }
.is-narrow .st-title strong { font-size: 15px; }
.is-narrow .st-tab { padding: 0 9px; }
.is-narrow .st-tab:not(.is-on) em { display: none; }
.is-narrow .st-work { flex-direction: column-reverse; }
.is-narrow .st-panel { flex: 1 1 auto; border-right: 0; border-top: 1px solid #e2e6e8; }
.is-narrow .st-canvas { flex: 0 0 420px; }
.is-narrow .st-canvas-bar small { display: none; }
.is-narrow .st-preview { padding: 8px; }
.is-narrow .bf { padding: 18px; }
.is-narrow .bf.is-grid .bf-list { gap: 8px; }
.is-narrow .bf.is-grid.has-images .bf-img { height: 58px; }
.is-narrow .st-caption { bottom: 12px; }
.is-narrow .st-caption span { padding: 9px 16px 9px 12px; font-size: 14px; }
.is-narrow .wp-doc, .is-narrow .wp-draft, .is-narrow .wp-tool { display: none; }
.is-narrow .wp-publish { margin-left: auto; }
.is-narrow .wp-canvas { padding: 36px 18px; }
.is-narrow .wp-title { font-size: 30px; }
.is-narrow .wp-side { width: 88%; }
.is-narrow .site-nav { padding: 14px 18px; }
.is-narrow .site-nav span:not(.site-cta) { display: none; }
.is-narrow .site-hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 4px 16px 14px; }
.is-narrow .site-h { margin: 6px 0 0 !important; font-size: 34px; }
.is-narrow .site-copy p:last-child { display: none; }

/* Below the stage */
.studio-bar { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.studio-chapters { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.studio-chapters li { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.25; transition: color .3s; }
.studio-chapters li b { margin-right: 6px; color: var(--mint-deep); font-weight: 600; }
.studio-chapters li.is-current { color: var(--ink); }
.studio-track { height: 4px; overflow: hidden; border-radius: 99px; background: var(--line); }
.studio-track span { display: block; height: 100%; border-radius: inherit; background: var(--mint); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .6s var(--ease); }
.studio-toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--white); color: var(--ink); font: 600 14px/1 Inter, sans-serif; cursor: pointer; transition: border-color .2s; }
.studio-toggle:hover { border-color: var(--ink); }
.studio-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.studio-toggle .i-play, .studio-toggle.is-paused .i-pause { display: none; }
.studio-toggle.is-paused .i-play { display: block; }
.studio-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px auto 22px; padding: 0; max-width: 900px; list-style: none; }
.studio-points li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--text); font-size: 14.5px; }
.studio-section .free-note { justify-content: center; }

@media (max-width: 720px) {
	.studio-viewport { border-radius: 20px; margin-inline: calc(-1 * var(--gutter) + 8px); }
	.studio-bar { gap: 12px; }
	.studio-chapters { gap: 8px; }
	.studio-chapters li { font-size: 12px; }
	.studio-chapters li b { display: block; margin: 0; }
	.studio-toggle { padding: 0 12px; }
	.studio-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.studio-points li { font-size: 13.5px; padding: 7px 12px; }
}
