/* Mi Spot design system
   Brand: navy #0F1B33 · coral #FF5E62 · sun #FFB547 · sea #14B8A6 · sand #FFF8F1
   Business pages re-theme --p / --a / --soft with the business's own colours. */
:root {
  --navy: #0F1B33; --coral: #FF5E62; --sun: #FFB547; --sea: #14B8A6; --sand: #FFF8F1;
  --p: #0F1B33; --a: #FF5E62; --soft: #FFF0EC;
  --ink: #1E1B22; --mute: #7D7480; --line: #EEE8E6; --bg: #FAF7F5; --card: #fff; --r: 18px;
  --shadow: 0 1px 2px rgba(15,27,51,.04), 0 6px 24px rgba(15,27,51,.06);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.noscroll { overflow: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.muted { color: var(--mute); } .small { font-size: 13px; } .center { text-align: center; }
.wrap { max-width: 920px; margin: 0 auto; padding: 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- brand ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.ms-icon { flex: 0 0 auto; filter: drop-shadow(0 4px 10px rgba(255,94,98,.35)); }
.wordmark { font-weight: 500; font-size: 21px; letter-spacing: -.04em; line-height: 1; }
.wordmark b { font-weight: 800; background: linear-gradient(90deg, var(--coral), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brandlink { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.dashlabel { font-size: 12px; color: var(--mute); font-weight: 600; border-left: 1px solid var(--line); padding-left: 10px; }
.foot .wordmark { font-size: 16px; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.05); }
.topbar.glass { background: rgba(15,27,51,.55); color: #fff; border-color: rgba(255,255,255,.08); }
.topbar.glass.dark { background: color-mix(in srgb, var(--p) 80%, transparent); }
.langs { display: flex; gap: 3px; background: rgba(127,127,127,.12); padding: 3px; border-radius: 999px; }
.langs.inline { display: inline-flex; margin: 6px 0; }
.lang { border: 0; background: transparent; color: inherit; opacity: .7; border-radius: 999px; padding: 4px 9px; font: 700 11px var(--font); cursor: pointer; text-decoration: none; letter-spacing: .03em; }
.lang.on { opacity: 1; background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* ---------- home ---------- */
body[data-page=home] .topbar { position: fixed; left: 0; right: 0; }
.home-hero { position: relative; overflow: hidden; color: #fff; padding: 110px 16px 90px; background: radial-gradient(120% 90% at 10% 0%, #22345E 0%, var(--navy) 55%, #0A1226 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.b1 { width: 340px; height: 340px; background: var(--coral); top: -80px; right: -60px; }
.b2 { width: 280px; height: 280px; background: var(--sea); bottom: -60px; left: -80px; animation-delay: -5s; }
.b3 { width: 200px; height: 200px; background: var(--sun); top: 40%; left: 55%; opacity: .35; animation-delay: -9s; }
@keyframes float { 50% { transform: translate(20px, -25px) scale(1.08); } }
.hh-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; }
.eyebrow.light { color: var(--sun); background: rgba(255,181,71,.1); border-color: rgba(255,181,71,.25); }
.home-hero h1 { font-size: clamp(34px, 8vw, 58px); line-height: 1.05; margin: 18px 0 12px; font-weight: 800; letter-spacing: -.035em; }
.home-hero .lead { font-size: 17px; opacity: .85; margin: 0 auto 26px; max-width: 520px; }
.searchbar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 14px; max-width: 540px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.searchbar input { flex: 1; border: 0; outline: 0; font: 500 15px var(--font); color: var(--ink); min-width: 0; padding: 10px 0; }
.searchbar .btn { background: linear-gradient(135deg, var(--coral), #FF8A5B); }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; margin-top: -8px; }
.catchip { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: .15s; }
.catchip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.section-title { font-size: 20px; margin: 26px 0 14px; font-weight: 800; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.biz-card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.biz-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(15,27,51,.12); }
.biz-cover { position: relative; height: 150px; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--a) 70%, transparent), transparent 55%), linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 65%, #000)); }
.biz-cover .mono { position: absolute; font-size: 120px; font-weight: 800; opacity: .07; letter-spacing: -.05em; }
.biz-name { font-size: 21px; letter-spacing: 4px; text-transform: uppercase; font-weight: 300; }
.biz-sub { font-size: 10px; letter-spacing: 3.5px; color: var(--a); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--navy); }
.badge.ok { color: #0f766e; }
.biz-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.rating { font-weight: 700; color: #B7791F; white-space: nowrap; } .rating small { color: var(--mute); font-weight: 500; }
.price-from { color: var(--mute); } .price-from b { color: var(--ink); }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.how-card { position: relative; background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.how-n { position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 40px; color: var(--line); line-height: 1; }
.how-i { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: linear-gradient(135deg, #FFE7E3, #FFF3DC); margin-bottom: 10px; }
.how-card p { margin: 6px 0 0; }
.biz-section { margin-top: 40px; background: radial-gradient(100% 80% at 100% 0%, #22345E, var(--navy) 60%); color: #fff; padding: 40px 0 50px; border-radius: 32px 32px 0 0; }
.biz-section h2 { font-size: clamp(26px, 6vw, 38px); margin: 14px 0 6px; font-weight: 800; }
.biz-section .lead { opacity: .8; max-width: 560px; margin: 0 0 18px; }
.offer { display: inline-block; background: linear-gradient(90deg, rgba(255,94,98,.18), rgba(255,181,71,.18)); border: 1px solid rgba(255,181,71,.35); color: var(--sun); padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.offer.sm { font-size: 13px; margin: 6px 0 12px; color: #B45309; background: #FFF7E6; border-color: #FDE3B0; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.price-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px 18px; display: flex; flex-direction: column; }
.price-card.pop { background: #fff; color: var(--ink); border: 0; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.pop-tag { position: absolute; top: -11px; left: 18px; background: linear-gradient(90deg, var(--coral), var(--sun)); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.pc-name { font-weight: 700; opacity: .8; }
.pc-price { margin: 4px 0 12px; } .pc-price b { font-size: 38px; font-weight: 800; letter-spacing: -.04em; } .pc-price span { opacity: .6; font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.price-card li::before { content: "✓"; color: var(--sea); font-weight: 800; margin-right: 8px; }
.foot { padding: 18px 0 28px; border-top: 1px solid var(--line); margin-top: 30px; }
.biz-section + .foot { margin-top: 0; background: var(--navy); color: #fff; border: 0; }

/* ---------- business page ---------- */
.cover { position: relative; height: 210px; margin-top: -53px; overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(90% 120% at 15% 10%, color-mix(in srgb, var(--a) 55%, var(--p)), transparent 60%), radial-gradient(80% 100% at 90% 100%, color-mix(in srgb, var(--a) 35%, var(--p)), transparent 60%), var(--p); }
.cover-art .ring { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.r1 { width: 420px; height: 420px; right: -160px; top: -200px; } .r2 { width: 300px; height: 300px; left: -120px; bottom: -180px; } .r3 { width: 160px; height: 160px; right: 18%; bottom: -100px; border-color: color-mix(in srgb, var(--a) 50%, transparent) !important; }
.cover-inner { position: relative; padding-top: 36px; }
.cover-name { font-size: clamp(24px, 6.5vw, 42px); font-weight: 200; letter-spacing: .3em; padding-left: .3em; }
.cover-sub { color: var(--a); letter-spacing: .4em; font-size: 11px; margin-top: 6px; font-weight: 600; }
.bizhead { display: flex; gap: 14px; align-items: flex-end; margin-top: -42px; position: relative; padding-bottom: 4px; }
.avatar { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 24px; background: #fff; color: var(--p); display: flex; align-items: center; justify-content: center; font-weight: 300; font-size: 30px; letter-spacing: .05em; box-shadow: 0 10px 30px rgba(0,0,0,.15); border: 3px solid #fff;
  background-image: linear-gradient(135deg, var(--soft), #fff); font-family: Georgia, serif; }
.avatar.sm { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; box-shadow: none; border: 1px solid var(--line); }
.bh-main { min-width: 0; padding-bottom: 2px; }
.bh-main h1 { margin: 0; font-size: 22px; font-weight: 800; }
.verified { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--sea); color: #fff; font-size: 12px; align-items: center; justify-content: center; vertical-align: middle; }
.rating-line { text-decoration: none; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; margin-top: 2px; }
.stars { color: #F5A524; letter-spacing: 1px; }
.actions { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.act { flex: 0 0 auto; display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 13px; box-shadow: var(--shadow); }
.act:hover { border-color: var(--a); }
.claimbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #FFF4E5, #FFF0EE); border: 1px solid #FBDCC8; border-radius: 14px; padding: 12px 14px; margin-bottom: 4px; }
.claimbar .btn { background: linear-gradient(135deg, var(--coral), #FF8A5B); flex: 0 0 auto; }

/* tabs */
.tabs { display: flex; gap: 2px; overflow-x: auto; background: rgba(250,247,245,.92); backdrop-filter: blur(12px); padding: 6px 12px; position: sticky; top: 53px; z-index: 20; scrollbar-width: none; justify-content: safe center; border-bottom: 1px solid var(--line); }
.tabs.left { justify-content: flex-start; position: static; padding: 0; margin: 14px 0; background: transparent; border: 0; backdrop-filter: none; }
.tab { padding: 9px 14px; white-space: nowrap; text-decoration: none; color: var(--mute); font-weight: 700; font-size: 14px; border-radius: 999px; transition: .15s; }
.tab.on { color: #fff; background: var(--p); }

/* schedule */
.daystrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.daypill { flex: 0 0 auto; width: 56px; padding: 9px 0; text-align: center; border-radius: 16px; background: #fff; text-decoration: none; box-shadow: var(--shadow); transition: .15s; }
.daypill span { display: block; font-size: 11px; color: var(--mute); text-transform: capitalize; font-weight: 600; }
.daypill b { font-size: 19px; }
.daypill.on { background: var(--p); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--p) 35%, transparent); }
.daypill.on span { color: rgba(255,255,255,.75); }
.filters { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.fchip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--mute); }
.fchip.on { border-color: var(--a); color: var(--p); background: var(--soft); }
.sessions { display: flex; flex-direction: column; gap: 10px; }
.session { position: relative; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 14px 14px 14px 18px; box-shadow: var(--shadow); overflow: hidden; }
.session::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--a); }
.session.cat-barre::before, .drow.cat-barre { --cc: #8B7CF6; } .session.cat-mat::before, .drow.cat-mat { --cc: #14B8A6; }
.session.cat-barre::before { background: #8B7CF6; } .session.cat-mat::before { background: #14B8A6; }
.session.booked { background: var(--soft); outline: 2px solid var(--a); }
.s-time { width: 54px; flex: 0 0 auto; text-align: center; }
.s-time b { display: block; font-size: 18px; letter-spacing: -.02em; }
.s-time span { font-size: 12px; color: var(--mute); }
.s-main { flex: 1; min-width: 0; }
.s-name { font-weight: 800; font-size: 15.5px; }
.s-meta { font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.ava-sm { width: 20px; height: 20px; border-radius: 50%; background: var(--soft); color: var(--p); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.lvl { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.lvl.beg { background: #DCFCE7; color: #166534; } .lvl.adv { background: #FFE4E6; color: #BE123C; }
.bar { height: 5px; background: var(--line); border-radius: 5px; margin: 9px 0 4px; overflow: hidden; max-width: 240px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a), color-mix(in srgb, var(--a) 60%, var(--p))); border-radius: 5px; }
.s-left { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.s-left.hot { color: #C2410C; }
.pill-ok { background: var(--p); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.empty { text-align: center; padding: 44px 14px; color: var(--mute); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.wallet { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.wallet span { background: var(--soft); color: var(--p); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13px; }

/* buttons */
.btn { background: var(--a); color: #fff; border: 0; padding: 11px 18px; border-radius: 12px; font: 700 14px var(--font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .1s, filter .15s, box-shadow .15s; box-shadow: 0 4px 14px color-mix(in srgb, var(--a) 35%, transparent); }
.btn:hover { filter: brightness(.96); } .btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--p); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn.full { width: 100%; } .btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.right { margin-left: auto; }

/* plans */
.singles { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: #fff; border: 1px dashed var(--a); padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.plan { position: relative; background: #fff; border-radius: var(--r); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pop { outline: 2px solid var(--a); }
.plan .pop-tag { z-index: 2; }
.plan-cover { height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, var(--a))); }
.plan-cover.membership { background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 55%, var(--p))); }
.plan-cover span { font-family: Georgia, serif; font-style: italic; font-size: 28px; }
.plan-cover small { letter-spacing: .15em; font-size: 10px; text-transform: uppercase; opacity: .9; font-weight: 700; }
.plan-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-name { font-weight: 800; }
.plan-meta { font-size: 13px; color: var(--mute); flex: 1; }

/* info */
.desc { font-size: 16px; line-height: 1.6; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.card { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.card h4 { margin: 0 0 8px; } .card p { margin: 4px 0; }
.map { width: 100%; height: 180px; border: 0; border-radius: 12px; margin: 8px 0; }
.hours { width: 100%; font-size: 14px; } .hours td:first-child { text-transform: capitalize; color: var(--mute); } .hours td:last-child { text-align: right; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.member { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.member .ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--p)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.review { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.review p { margin: 6px 0; font-size: 14px; }

/* modal */
#modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.m-bg { position: absolute; inset: 0; background: rgba(15,27,51,.5); backdrop-filter: blur(3px); animation: fade .2s; }
.m-card { position: relative; background: #fff; width: 100%; max-width: 500px; max-height: 92vh; overflow: auto; border-radius: 24px 24px 0 0; padding: 20px; animation: up .28s cubic-bezier(.2,.9,.3,1.2); }
.m-card::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -8px auto 12px; }
@media (min-width: 600px) { #modal { align-items: center; } .m-card { border-radius: 24px; } .m-card::before { display: none; } }
@keyframes up { from { transform: translateY(60px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.m-card h3 { margin: 16px 0 6px; font-size: 17px; }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.m-title { font-weight: 800; }
.m-head .wordmark { font-size: 13px; }
.stepdots { display: flex; gap: 4px; } .stepdots i { width: 18px; height: 4px; border-radius: 4px; background: var(--line); } .stepdots i.on { background: var(--a); }
.m-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.room { background: linear-gradient(180deg, var(--soft), #fff); border-radius: 16px; padding: 14px; margin-top: 8px; border: 1px solid var(--line); }
.mirror { text-align: center; font-size: 12px; font-weight: 700; color: var(--p); border-bottom: 2px dashed color-mix(in srgb, var(--a) 50%, transparent); padding-bottom: 10px; margin-bottom: 12px; }
.spots { display: grid; gap: 8px; }
.spotbtn { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 2px 5px; cursor: pointer; display: flex; flex-direction: column; align-items: center; font: 800 13px var(--font); color: var(--p); transition: .12s; }
.spotbtn:not(:disabled):hover { border-color: var(--a); transform: translateY(-1px); }
.spotbtn svg { width: 100%; max-width: 44px; fill: var(--soft); stroke: var(--p); stroke-width: 1.3; }
.spotbtn.taken { opacity: .28; cursor: not-allowed; background: var(--line); }
.spotbtn.sel { border-color: var(--a); background: var(--a); color: #fff; transform: scale(1.06); box-shadow: 0 6px 16px color-mix(in srgb, var(--a) 45%, transparent); }
.spotbtn.sel svg { fill: rgba(255,255,255,.35); stroke: #fff; }
.spotsum { margin-top: 10px; font-size: 14px; color: var(--p); }
.fld { display: flex; flex-direction: column; gap: 5px; margin: 8px 0; font-size: 13px; color: var(--mute); font-weight: 600; flex: 1; }
.fld input, .fld textarea, .fld select, .tbl input, .tbl select { font: 500 15px var(--font); color: var(--ink); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%; transition: .15s; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 0; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.fld input.err { border-color: #DC2626; background: #FEF2F2; }
.fld input[type=color] { padding: 3px; height: 44px; }
.codein { letter-spacing: .6em; font-size: 22px !important; text-align: center; font-weight: 800 !important; }
.payopts { display: flex; flex-direction: column; gap: 8px; }
.payopt { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; transition: .12s; }
.payopt span { flex: 1; } .payopt b { font-size: 13px; color: var(--mute); }
.payopt input { accent-color: var(--a); }
.payopt.on { border-color: var(--a); background: var(--soft); }
.paybox { background: var(--soft); border-radius: 16px; padding: 18px; text-align: center; margin-top: 10px; }
.paybox .big { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--p); }
.sendto { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; margin: 6px 0; }
.planpick { display: flex; flex-direction: column; gap: 8px; }
.pp { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; }
.pp.on { border-color: var(--coral); background: #FFF5F2; }
.pp input { accent-color: var(--coral); } .pp > div:first-of-type { flex: 1; }
.pp-price { font-weight: 800; font-size: 20px; white-space: nowrap; text-align: right; } .pp-price small { font-size: 11px; color: var(--mute); font-weight: 600; display: block; }
.connect { display: flex; gap: 12px; align-items: center; border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px; margin: 8px 0; }
.connect.ok { border-style: solid; border-color: var(--sea); background: #F0FDFA; }
.sentoo-logo { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; background: #0B2B5C; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; letter-spacing: -.02em; }
.done { text-align: center; position: relative; }
.check { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 60%, var(--p))); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 8px auto 0; animation: pop .5s cubic-bezier(.2,.9,.3,1.4); box-shadow: 0 10px 30px color-mix(in srgb, var(--a) 45%, transparent); }
@keyframes pop { 0% { transform: scale(.2); } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: 40px; left: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: conf 1.1s ease-out forwards; }
.confetti i:nth-child(3n) { background: var(--coral); } .confetti i:nth-child(3n+1) { background: var(--sun); } .confetti i:nth-child(3n+2) { background: var(--sea); }
.confetti i:nth-child(1) { --x: -140px; --y: -10px; } .confetti i:nth-child(2) { --x: 130px; --y: -20px; } .confetti i:nth-child(3) { --x: -90px; --y: -60px; } .confetti i:nth-child(4) { --x: 100px; --y: -70px; }
.confetti i:nth-child(5) { --x: -40px; --y: -80px; } .confetti i:nth-child(6) { --x: 50px; --y: -90px; } .confetti i:nth-child(7) { --x: -160px; --y: 40px; } .confetti i:nth-child(8) { --x: 160px; --y: 30px; }
.confetti i:nth-child(9) { --x: -110px; --y: 70px; } .confetti i:nth-child(10) { --x: 120px; --y: 80px; } .confetti i:nth-child(11) { --x: 0; --y: -100px; } .confetti i:nth-child(12) { --x: -60px; --y: 90px; }
.confetti i:nth-child(13) { --x: 70px; --y: 100px; } .confetti i:nth-child(14) { --x: 180px; --y: -50px; }
@keyframes conf { 0% { opacity: 1; transform: translate(-50%, 20px) rotate(0); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(20px + var(--y))) rotate(320deg); } }
.wa { text-align: left; background: #EFE7DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23d9cfc4'/%3E%3C/svg%3E"); border-radius: 16px; padding: 12px; margin-top: 14px; }
.wa-h { font-size: 11px; color: #54656F; margin-bottom: 8px; font-weight: 700; }
.wa-b { background: #D9FDD3; border-radius: 10px 10px 10px 2px; padding: 9px 11px 18px; font-size: 14px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-t { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #53BDEB; }
.done .m-actions { justify-content: center; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 999px; opacity: 0; transition: .25s; z-index: 99; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* dashboard */
.dash-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.dash-head h2 { margin: 0; font-size: 22px; }
.dash .tabs.left .tab.on { background: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.stat { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.stat span { display: block; font-size: 12px; color: var(--mute); font-weight: 600; }
.stat b { font-size: 24px; color: var(--p); letter-spacing: -.03em; }
.dday { margin: 20px 0 8px; text-transform: capitalize; }
.drow { background: #fff; border-radius: 12px; padding: 11px 14px; margin-bottom: 6px; box-shadow: var(--shadow); border-left: 4px solid var(--cc, var(--a)); }
.drow summary { cursor: pointer; display: flex; gap: 8px; align-items: center; list-style: none; flex-wrap: wrap; }
.drow.flat { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cap { margin-left: auto; background: var(--soft); color: var(--p); padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.cap.full { background: var(--p); color: #fff; }
.att { padding-top: 8px; font-size: 13px; }
.form { display: flex; flex-direction: column; }
.two { display: flex; gap: 10px; flex-wrap: wrap; } .two .fld { min-width: 150px; }
.form > .btn { align-self: flex-start; margin-top: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--mute); font-weight: 700; padding: 6px 4px; font-size: 12px; }
.tbl td { padding: 4px; } .tbl input, .tbl select { padding: 8px; font-size: 13px; }
.tbl input[type=number] { width: 76px; }

@media (max-width: 600px) {
  .wordmark { font-size: 19px; }
  .tabs { justify-content: flex-start; }
  .dashlabel { display: none; }
  .tbl thead { display: none; } .tbl tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl td:first-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:last-child { grid-column: 1 / -1; }
  .session { flex-wrap: wrap; } .s-cta { width: 100%; } .s-cta .btn { width: 100%; }
  .claimbar { flex-direction: column; align-items: stretch; text-align: left; }
}
/* fixes */
.bizhead { align-items: flex-start; }
.bh-main { padding-top: 48px; }


/* ---------- v3 ---------- */
.loader { display: flex; gap: 6px; justify-content: center; padding: 60px 0; } .loader.sm { padding: 10px 0; justify-content: flex-start; }
.loader i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: bounce 1s infinite ease-in-out; } .loader i:nth-child(2) { animation-delay: .15s; background: var(--sun); } .loader i:nth-child(3) { animation-delay: .3s; background: var(--sea); }
@keyframes bounce { 50% { transform: translateY(-10px); opacity: .5; } }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hero-stats { display: flex; gap: 22px; justify-content: center; margin-top: 22px; font-size: 13px; opacity: .85; flex-wrap: wrap; } .hero-stats b { font-size: 18px; margin-right: 4px; }
.catchip small { opacity: .55; font-weight: 700; margin-left: 2px; }
.section-title small { font-size: 14px; font-weight: 600; } .section-title.sm { font-size: 16px; margin: 20px 0 10px; }
.note { background: #EFF6FF; border: 1px solid #DBEAFE; color: #1E3A8A; padding: 11px 14px; border-radius: 14px; font-size: 14px; margin-bottom: 12px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.svc-main { flex: 1; min-width: 0; } .svc-main b { display: block; }
.svc-price { font-weight: 800; white-space: nowrap; color: var(--p); } .svc-price small { font-weight: 600; color: var(--mute); font-size: 11px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; max-height: 260px; overflow: auto; padding: 2px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 0; font: 700 14px var(--font); cursor: pointer; color: var(--p); }
.slot.on { background: var(--a); border-color: var(--a); color: #fff; }
button.daypill { border: 0; font-family: var(--font); cursor: pointer; color: inherit; }
.m-card .daystrip { margin: 0 -4px; padding: 4px; }
.billtoggle { display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px; margin-bottom: 22px; flex-wrap: wrap; }
.billtoggle a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 13px; opacity: .8; }
.billtoggle a.on { background: #fff; color: var(--navy); opacity: 1; } .billtoggle small { color: var(--sea); font-weight: 800; }
.billtoggle.dark { background: var(--bg); border-color: var(--line); margin: 4px 0 12px; } .billtoggle.dark a.on { background: var(--navy); color: #fff; }
.pc-bill { opacity: .65; margin: -8px 0 12px; }
.narrow { max-width: 440px; margin: 30px auto; } .narrow-wrap { max-width: 640px; }
.join-head { text-align: center; padding: 24px 0 8px; } .join-head h1 { font-size: clamp(26px, 6vw, 36px); margin: 12px 0 6px; font-weight: 800; }
.eyebrow.dark { background: var(--soft); color: var(--coral); border-color: #FBD5CE; }
.claimed-biz { display: flex; gap: 12px; align-items: center; background: var(--bg); padding: 12px; border-radius: 14px; margin-bottom: 4px; }
.big-done { text-align: center; padding: 30px 20px; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.big-done h2 { margin: 6px 0 0; }
.summary { background: var(--bg); border-radius: 14px; padding: 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.summary div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; } .summary span { color: var(--mute); }
.sentoo-btn { background: #0B2B5C !important; color: #fff !important; box-shadow: 0 6px 18px rgba(11,43,92,.3) !important; border: 0 !important; }
.sentoo-btn.ghost { background: #fff !important; color: #0B2B5C !important; border: 1.5px solid #0B2B5C !important; box-shadow: none !important; }
.sentoo-mini { background: #fff; color: #0B2B5C; border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 800; }
.sentoo-btn.ghost .sentoo-mini { background: #0B2B5C; color: #fff; }
.paylinks { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.codebox { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: 600 12.5px ui-monospace, Consolas, monospace; word-break: break-all; color: var(--ink); }
.codebox.big { font-size: 22px; text-align: center; letter-spacing: .1em; margin: 10px 0; }
.hrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hrow .chk { flex: 1; min-width: 140px; text-transform: capitalize; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.hrow input[type=time] { font: 500 14px var(--font); padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 8px; }
.row-gap { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { width: 100%; font: 500 15px var(--font); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.card.claim { margin-bottom: 10px; } .card.claim.pending { border-left: 4px solid var(--sun); } .card.claim.approved { border-left: 4px solid var(--sea); } .card.claim.rejected { opacity: .55; }
.toast.bad { background: #B91C1C; }
.drow.flat a { text-decoration: none; }
.drow select { font: 600 12px var(--font); padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 600px) { .svc { flex-wrap: wrap; } .svc .btn { width: 100%; } .hero-stats { gap: 14px; } }

.paused { text-align: center; background: #fff; border-radius: var(--r); padding: 30px 18px; box-shadow: var(--shadow); margin-top: 8px; }
.paused-i { font-size: 38px; } .paused h3 { margin: 8px 0 4px; }
.claimbar.bad { background: linear-gradient(90deg, #FEF2F2, #FFF7ED); border-color: #FECACA; }

/* ---------- v4: back, bottom nav, search, photos ---------- */
.backbtn { flex: 0 0 auto; width: 38px; height: 38px; margin-right: 2px; border-radius: 12px; border: 0; background: rgba(127,127,127,.14); color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.backbtn:active { transform: scale(.94); }
.topbar .brandlink { margin-right: auto; }
.topbar { gap: 10px; }
#bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; justify-content: space-around; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
#bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--mute); font-size: 11px; font-weight: 700; padding: 4px 0; -webkit-tap-highlight-color: transparent; }
#bnav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#bnav a.on { color: var(--coral); }
body.noscroll #bnav { display: none !important; }
@media (max-width: 760px) { #bnav { display: flex; } body[data-page=home], body[data-page=biz], body[data-page=search], body[data-page=bookings] { padding-bottom: 72px; } .toast { bottom: 84px; } }
.quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.quick a { flex: 0 0 auto; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.quick.light { justify-content: flex-start; flex-wrap: nowrap; padding: 2px 0 4px; margin-top: 12px; }
.quick.light a { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.quick.light a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 600px) { .quick { flex-wrap: nowrap; justify-content: flex-start; margin: 14px -16px 0; padding: 0 16px; } }
.search-head { position: sticky; top: 59px; z-index: 20; background: rgba(250,247,245,.96); backdrop-filter: blur(12px); padding: 12px 16px 10px; border-bottom: 1px solid var(--line); }
.search-head > * { max-width: 888px; margin-left: auto; margin-right: auto; }
.searchbar.flat { box-shadow: var(--shadow); border: 1.5px solid var(--line); max-width: none; padding: 4px 6px 4px 14px; }
.searchbar.flat input { font-size: 16px; }
.searchbar .clear { text-decoration: none; color: var(--mute); padding: 8px 10px; font-weight: 700; }
.search-head .filters { display: flex; gap: 8px; align-items: center; margin: 10px auto 0; flex-wrap: nowrap; }
.search-head select { font: 600 13px var(--font); padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; min-width: 0; flex: 1; max-width: 220px; }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 2px; flex: 0 0 auto; }
.seg a { padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--mute); }
.seg a.on { background: var(--navy); color: #fff; }
.res-sum { font-size: 13px; color: var(--mute); font-weight: 600; margin: 4px 0 6px; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 760px) { .hscroll { grid-auto-columns: 260px; } }
.svc.res { text-decoration: none; color: inherit; transition: transform .12s; }
.svc.res:active { transform: scale(.99); }
.res-logo { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, var(--a))) center/cover; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.res-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
@media (max-width: 600px) { .svc.res { flex-wrap: nowrap; } }
.svc.hl { outline: 2px solid var(--a); background: var(--soft); }
.biz-cover.photo { background-size: cover; background-position: center; }
.biz-cover.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)); }
.card-logo { position: absolute; left: 12px; bottom: 10px; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid #fff; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.cover.photo { background-size: cover !important; background-position: center !important; height: 240px; }
.cover.photo .cover-art { display: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.avatar:has(img) { padding: 0; overflow: hidden; }
.photo-row { display: flex; gap: 12px; align-items: flex-end; margin: 6px 0 4px; }
.ph-cover { flex: 1; height: 110px; border-radius: 14px; background: var(--bg) center/cover; border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--mute); font-size: 13px; font-weight: 600; }
.ph-logo { width: 80px; height: 80px; flex: 0 0 auto; border-radius: 20px; background: var(--bg) center/cover; border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--mute); font-size: 12px; font-weight: 600; }
.ph-cover.has, .ph-logo.has { border-style: solid; }
.m-actions.left { justify-content: flex-start; }
label.btn { cursor: pointer; }
/* smoother touch on phones */
a, button { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
input, select, textarea { font-size: 16px; } /* prevents iPhone zoom on focus */

/* ---------- v5: categories, business button, footer ---------- */
@media (min-width: 761px) { .cats { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 760px) { .cats { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 30px; } }
.bizbtn { flex: 0 0 auto; text-decoration: none; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: inherit; white-space: nowrap; }
.topbar:not(.glass) .bizbtn { background: var(--soft); border-color: transparent; color: var(--coral); }
@media (max-width: 420px) { .bizbtn span { display: none; } .bizbtn { padding: 7px 10px; } }
.foot-grid { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.foot-links a { text-decoration: none; opacity: .85; } .foot-links a:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 761px) { .foot-grid { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- v6: wordmark, instructors, tour ---------- */
.wordmark { font-weight: 700; letter-spacing: -.03em; }
.wordmark b { margin-left: 0; }
a.who { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
a.who:hover { color: var(--p); text-decoration: underline; }
a.member { text-decoration: none; color: inherit; } .seeclasses { color: var(--a); font-weight: 700; margin-top: 4px; }
.ins-list { display: flex; flex-direction: column; gap: 8px; }
.ins { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.ins > div:nth-child(2) { flex: 1; min-width: 0; }
.ins-ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--sun)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex: 0 0 auto; }
.ins-ava.big { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 10px 30px rgba(255,94,98,.35); }
.ins-head { display: flex; gap: 16px; align-items: center; margin: 14px 0 12px; } .ins-head h1 { margin: 0; font-size: 26px; }
.star { font-size: 18px; }
.tourlink { display: inline-block; color: #fff; font-weight: 700; margin: 0 0 18px 6px; text-decoration: none; border-bottom: 2px solid var(--sun); }
.tour-hero { position: relative; color: #fff; padding: 30px 0 80px; background: radial-gradient(100% 80% at 0% 0%, #22345E, var(--navy) 60%, #0A1226); overflow: hidden; }
.tour-hero h1 { font-size: clamp(28px, 6.5vw, 44px); margin: 12px 0 6px; font-weight: 800; letter-spacing: -.03em; }
.tour-hero .lead { opacity: .8; max-width: 560px; margin: 0 0 22px; }
.tour { display: flex; gap: 34px; align-items: center; }
.phone { position: relative; flex: 0 0 auto; width: 260px; aspect-ratio: 390 / 844; border-radius: 38px; background: #0b0f1a; padding: 9px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2a3350; }
.phone .notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 12px; background: #0b0f1a; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; touch-action: pan-y; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 4.5s ease; }
.screen img.on { opacity: 1; transform: scale(1); }
.tour-side { flex: 1; min-width: 0; }
.tour-cap { min-height: 128px; } .tour-cap h3 { font-size: 24px; margin: 6px 0; letter-spacing: -.02em; } .tour-cap p { opacity: .8; margin: 0; font-size: 15px; line-height: 1.55; }
.tour-n { color: var(--sun); font-weight: 800; font-size: 13px; letter-spacing: .06em; }
.tour-dots { display: flex; gap: 6px; margin: 18px 0 14px; }
.tour-dots button { flex: 1; height: 5px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.18); cursor: pointer; overflow: hidden; }
.tour-dots button i { display: block; height: 100%; width: 0; background: var(--coral); }
.tour-dots button.on i { width: 100%; } .tour-dots button.run i { width: 0; animation: fill 4.5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.tour-ctl { display: flex; gap: 8px; margin-bottom: 18px; }
.tour-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .tour { flex-direction: column; gap: 18px; } .phone { width: min(68vw, 270px); }
  .tour-side { width: 100%; } .tour-cap { min-height: 120px; text-align: center; } .tour-ctl, .tour-cta { justify-content: center; }
}
.matrix-card { padding: 6px; overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.matrix th, .matrix td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix td:first-child, .matrix th:first-child { text-align: left; font-weight: 600; }
.matrix th { font-size: 15px; } .matrix .mp { font-size: 13px; color: var(--mute); font-weight: 600; } .matrix .mp small { font-weight: 500; }
.matrix .pop { background: #FFF5F2; } .matrix th.pop { border-radius: 12px 12px 0 0; }
.matrix .yes { color: var(--sea); font-weight: 800; font-size: 16px; } .matrix .no { color: #cfc8c6; }
.matrix .soon { font-size: 11px; font-weight: 700; color: #B45309; background: #FFF7E6; padding: 2px 7px; border-radius: 999px; }
.matrix tfoot td { border: 0; }

/* ---------- v7: room map, unit fields, legal ---------- */
.room2 { background: linear-gradient(180deg, var(--soft), #fff 60%); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-top: 6px; }
.room2 .front { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--p); text-transform: uppercase; letter-spacing: .06em; background: #fff; border: 1.5px dashed color-mix(in srgb, var(--a) 60%, transparent); border-radius: 12px; padding: 8px; }
.rowlbl { font-size: 11px; font-weight: 700; color: var(--mute); margin: 12px 2px 6px; text-transform: uppercase; letter-spacing: .05em; }
.machines { display: grid; gap: 8px; }
.mach { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 6px 2px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font: 800 13px var(--font); color: var(--p); transition: transform .12s, box-shadow .12s; }
.mach svg { width: 24px; height: 40px; }
.mach .frame { fill: #fff; stroke: var(--p); stroke-width: 1.6; } .mach .bar { stroke: var(--p); stroke-width: 2; stroke-linecap: round; }
.mach .carriage { fill: var(--soft); stroke: var(--p); stroke-width: 1.2; } .mach .rest { fill: var(--p); opacity: .5; }
.mach:not(:disabled):active { transform: scale(.95); }
.mach.taken { background: #EEE9E8; border-color: #EEE9E8; color: #B9AFAD; cursor: not-allowed; }
.mach.taken .frame, .mach.taken .carriage { fill: #E2DBDA; stroke: #C9C0BE; } .mach.taken .bar, .mach.taken .rest { stroke: #C9C0BE; fill: #C9C0BE; }
.mach.sel { background: var(--a); border-color: var(--a); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px color-mix(in srgb, var(--a) 45%, transparent); }
.mach.sel .frame { fill: rgba(255,255,255,.25); stroke: #fff; } .mach.sel .carriage { fill: #fff; stroke: #fff; } .mach.sel .bar { stroke: #fff; } .mach.sel .rest { fill: #fff; }
.legend { display: flex; gap: 14px; justify-content: center; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--mute); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 2px solid var(--line); background: #fff; }
.lg.taken { background: #EEE9E8; border-color: #E2DBDA; } .lg.sel { background: var(--a); border-color: var(--a); }
.svc-edit { display: flex; flex-direction: column; gap: 10px; }
.se { padding: 12px 14px; }
.se-top { display: flex; gap: 8px; align-items: flex-end; } .se-top .grow { flex: 1; }
.se-del { margin-bottom: 9px; }
.se-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0 10px; }
.unit { position: relative; display: flex; align-items: center; }
.unit input { padding-right: 52px !important; }
.unit em { position: absolute; right: 12px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--mute); pointer-events: none; }
.sticky-actions { position: sticky; bottom: 76px; background: rgba(250,247,245,.95); padding: 10px 0; backdrop-filter: blur(8px); }
@media (min-width: 761px) { .sticky-actions { bottom: 0; } }
.pp.off { opacity: .45; cursor: not-allowed; }
.legal { background: #fff; border-radius: var(--r); padding: 20px 22px 30px; margin-top: 16px; box-shadow: var(--shadow); line-height: 1.65; }
.legal h1 { margin: 0 0 4px; } .legal h3 { margin: 22px 0 4px; }

.demobar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(90deg, #EEF2FF, #F5F3FF); border: 1px solid #DDD6FE; color: #3730A3; border-radius: 14px; padding: 12px 14px; margin: 10px 0 4px; }
.tour-cta.demo2 { margin-top: 10px; }
