html{font-variant-numeric:lining-nums tabular-nums} .v4-options{border:1px solid var(--line);border-radius:14px;display:grid;gap:8px;padding:12px}.v4-options label{display:flex;align-items:center;gap:10px}.v4-options legend{font-weight:800;color:var(--primary)}.v4-table-art{width:min(100%,110px);height:85px}.v4-tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:thin;margin:0 0 18px;padding:6px 0}.v4-tab{display:flex;align-items:center;gap:7px;white-space:nowrap;flex:1;justify-content:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px;padding:12px;font:inherit;font-weight:700}.v4-tab span{display:grid;place-items:center;border-radius:9px;background:var(--soft);color:var(--primary);width:28px;height:28px;flex:none}.v4-tab.active{border-color:var(--primary);background:var(--soft);color:var(--primary)}.v4-inactive-step{display:none!important}.v4-step-controls{display:flex;justify-content:space-between;gap:10px}.v4-mobile-total,.v4-bottom-nav{display:none}.v4-portal{max-width:880px;margin:30px auto;display:grid;gap:18px}.v4-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.v4-progress{height:7px;border-radius:99px;background:var(--soft);overflow:hidden}.v4-progress>span{display:block;height:100%;background:linear-gradient(90deg,#7959ef,#28a8ad);transition:width .25s}.v4-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v4-type{display:grid;gap:8px;padding:16px;border:1px solid var(--line);background:var(--surface);border-radius:16px;color:var(--ink);text-align:start}.v4-type.active{outline:2px solid var(--primary);background:var(--soft)}.v4-art{width:54px;height:54px;background:var(--soft);border-radius:16px;display:grid;place-items:center;color:var(--primary)}.v4-art svg{width:35px;height:35px}.v4-illustrations{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.v4-illustrations .v4-art{width:100%;height:70px}.v4-form-grid .v3-field input[type=checkbox]{width:18px;min-height:0}.v4-portal .panel{animation:v3rise .3s ease both}.v4-portal .notice{line-height:1.5}.v4-portal input[type=checkbox]{width:18px;min-height:0;accent-color:#6545da}.v4-portal textarea{min-height:75px}.v4-portal .v3-card{min-width:0}.v4-preview{border-inline-start:5px solid var(--primary)}.v4-day{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:center}.v4-portal .v4-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.v4-portal .v4-actions .btn{flex:1}.v4-portal .v3-field input[type=file]{padding:6px}.v4-portal img{max-width:100%;max-height:160px;object-fit:cover;border-radius:10px}.v4-portal .v4-empty{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:16px}.v4-settings-section{display:grid;gap:12px}.v4-portal .v4-brand{background:linear-gradient(135deg,#302060,#6550d7,#16939b);color:white;padding:26px;border-radius:22px}.v4-brand h1{font-size:clamp(27px,5vw,42px)}.v4-brand p{color:#f5eaff}.v4-portal .v4-brand .badge{background:#ffffff25;color:white}@media(max-width:650px){.v4-form-grid{grid-template-columns:1fr}.v4-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-illustrations{grid-template-columns:repeat(5,minmax(0,1fr))}.v4-tab{flex:none;padding:8px 10px;font-size:12px}.v4-mobile-total{display:flex;position:fixed;z-index:9;bottom:0;inset-inline:0;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);gap:10px;align-items:center;box-shadow:0 -6px 20px #0001}.v4-mobile-total strong{margin-inline-start:auto}.v4-mobile-total .btn{min-height:40px}.v4-bottom-nav{position:fixed;bottom:0;inset-inline:0;display:flex;justify-content:space-around;z-index:9;background:var(--surface);border-top:1px solid var(--line);padding:7px 0 max(7px,env(safe-area-inset-bottom))}.v4-bottom-nav a{display:grid;justify-items:center;gap:2px;min-width:70px;color:var(--primary)}.v4-bottom-nav a span{font-size:23px;line-height:1}.v4-bottom-nav a small{font-weight:700}body[data-page=home],body[data-page=bookings],body[data-page=store]{padding-bottom:80px}.v4-portal .v4-day{grid-template-columns:1fr 1fr 1fr}.v4-day input{padding:6px;font-size:13px}.v4-portal{margin-block:16px}}@media(prefers-reduced-motion:reduce){.v4-portal .panel{animation:none}.v4-progress>span{transition:none}}
/* V4.1 — clean horizontal text, home and guide */
body{overflow-wrap:break-word;word-break:normal}
body :is(h1,h2,h3,p,span,label,a,button,small,strong){word-break:normal;overflow-wrap:normal}
body :is(.v4-portal,.store-main,.store-body,.v3-card) :is(p,h1,h2,h3,strong){overflow-wrap:break-word}
body :is(input,select,textarea){min-width:0;max-width:100%;font:inherit}
.v5-home-hero{min-height:0;padding:clamp(24px,5vw,56px)}
.v5-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.v5-hero-actions .v5-tour-btn{background:#fff;color:#4e37ba}
.v5-hero-actions .v5-hero-secondary{border:1px solid #ffffff75;background:#ffffff10;color:white}
.v5-tour-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px;margin:24px 0;box-shadow:var(--shadow)}
.v5-tour-banner>div{min-width:0;flex:1}
.v5-tour-banner>.btn{flex:none;white-space:normal}
body[data-page=home] #categories{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-page=home] .category{min-width:0;justify-content:flex-start;gap:10px;padding:14px}
body[data-page=home] .category span:last-child{line-height:1.4;min-width:0;white-space:normal}
body[data-page=home] .store-card{max-width:none;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr)}
body[data-page=home] .store-body{min-width:0;padding:22px}
body[data-page=home] .store-art{min-height:230px}
body[data-page=home] .store-body>.row{align-items:center;gap:8px}
body[data-page=home] .v3-filters{padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body[data-page=home] .v3-filters label{flex:0 1 auto}
body[data-page=home] .v3-filters select{width:auto;flex:0 1 165px}
input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;accent-color:#6545da;flex:none}
.v3-field:has(>input[type=checkbox]){display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:9px}
.v3-field:has(>input[type=checkbox])>span{flex:1;line-height:1.45}
.v5-policy{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:8px}
.v5-policy summary{cursor:pointer;font-weight:800;color:var(--primary)}
.v5-policy p{margin-top:8px}
.v5-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.v5-settings-grid>.panel{min-width:0}
.v5-theme-choices{display:flex;gap:8px;flex-wrap:wrap}
.v5-theme-choices .btn{flex:1 1 95px;white-space:normal}
.btn.selected,.v5-place.selected{outline:2px solid var(--primary);outline-offset:-2px;background:var(--soft);color:var(--primary)}
.v5-tour-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v5-tour-grid .v4-type{min-width:0;display:flex;align-items:center;gap:9px;line-height:1.35;padding:12px;font-size:15px;font-weight:700}
.v5-tour-grid .v4-art{width:44px;height:44px;flex:none;border-radius:12px}
.v5-tour-grid .v4-art svg{width:28px;height:28px}
.v5-tour-experience{border-top:5px solid var(--tour-accent,var(--primary))}
.v5-tour-business{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.v5-tour-type{font-weight:900;font-size:23px;min-width:0;flex:1}
.v5-tour-content{min-width:0}
.v5-tour-content textarea{width:100%;padding:12px;min-height:90px;border:1px solid var(--line);background:var(--field);color:var(--ink);border-radius:12px}
.v5-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v5-place{display:grid;justify-items:center;gap:10px;padding:14px 8px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--ink);font:inherit}
.v5-place .v4-art{color:var(--tour-accent,var(--primary))}
.v4-tabs .v4-tab{flex:1 0 auto;min-width:max-content;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.v4-tabs .v4-tab:disabled{opacity:.55}
.v4-portal .v4-type{min-width:0;overflow-wrap:normal}
.v4-settings-section{min-width:0}
@media(max-width:850px){.v5-tour-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page=home] #categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.v5-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v5-tour-grid .v4-type{padding:10px;gap:7px;font-size:13px}.v5-tour-grid .v4-art{width:35px;height:35px}.v5-tour-grid .v4-art svg{width:24px;height:24px}.v5-settings-grid{grid-template-columns:minmax(0,1fr)}.v5-tour-banner{flex-direction:column;align-items:stretch;padding:18px;gap:12px}.v5-tour-banner .btn{width:100%}.v5-hero-actions .btn{flex:1 1 130px}.v5-places{gap:7px}.v5-place{font-size:13px}.v5-place .v4-art{width:43px;height:43px}.v5-place .v4-art svg{width:27px;height:27px}body[data-page=home] .store-card{grid-template-columns:1fr}body[data-page=home] .store-art{min-height:160px}body[data-page=home] .store-body{padding:16px}body[data-page=home] .v3-filters label{flex:1 1 125px}body[data-page=home] .v3-filters select{flex:1 1 130px}body[data-page=home] .category{padding:11px;gap:8px;font-size:13px}body[data-page=home] .category .symbol{flex:none}.v4-portal>.panel{padding:17px}.v5-tour-experience .v4-tabs{margin-bottom:0}}

/* V4.2 account and independent previews */
.v6-type-link{align-items:flex-start!important;flex-wrap:wrap}.v6-type-link strong{flex:1;min-width:75px}.v6-type-link small{flex-basis:100%;color:var(--muted);font-size:12px}.v6-preview-hero{position:relative;overflow:hidden;min-height:180px;padding-inline-end:100px!important}.v6-preview-hero>.v4-art{position:absolute;inset-inline-end:22px;top:28px;width:75px;height:75px;background:#fff2;color:white!important}.v6-preview-hero>.v4-art svg{width:48px;height:48px}.login-card code{overflow-wrap:anywhere;direction:ltr;font-size:13px;background:var(--soft);padding:12px;border-radius:9px}.login-card>.v3-card{min-width:0}.v4-portal .v6-type-link{white-space:normal}.v4-portal .v5-tour-business>.v5-tour-type{word-break:normal;overflow-wrap:normal}@media(max-width:480px){.v6-preview-hero{padding-inline-end:75px!important}.v6-preview-hero>.v4-art{width:45px;height:45px;inset-inline-end:13px}.v6-preview-hero>.v4-art svg{width:30px;height:30px}.v6-type-link strong{min-width:0;flex-basis:100%}}

/* V4.3 unified business layout, based on the store booking page */
.v7-store-preview{max-width:1140px;gap:20px}.v7-store-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);gap:22px;align-items:stretch}.v7-store-header h1{margin:0;font-size:clamp(30px,4vw,42px)}.v7-store-header .badge{justify-self:start}.v7-cover{display:grid;place-items:center;min-height:180px;background:linear-gradient(135deg,#30234d,var(--preview-accent));border-radius:18px;color:white}.v7-cover .v4-art{width:100px;height:100px;background:#ffffff16;color:white!important;border-radius:25px}.v7-cover svg{width:68px;height:68px}.v7-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v7-meta>div{display:grid;gap:4px;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.v7-booking-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:18px;align-items:start}.v7-booking-steps{gap:14px;min-width:0}.v7-step-title{display:flex;align-items:center;gap:10px;font-size:22px}.v7-number{display:grid;place-items:center;flex:none;width:33px;height:33px;background:var(--soft);color:var(--preview-accent);border-radius:10px;font-weight:900;font-family:system-ui,sans-serif}.v7-services{display:grid;gap:10px}.v7-services>.btn{justify-content:flex-start;gap:12px;min-height:60px;white-space:normal}.v7-services .v4-art{width:42px;height:42px;flex:none}.v7-services .v4-art svg{width:27px;height:27px}.v7-floor{background:var(--floor);border-radius:14px;padding:14px;display:grid;gap:12px}.v7-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v7-place{display:grid;justify-items:center;gap:5px;background:var(--good-bg);border:1px solid var(--good-border);border-radius:13px;color:var(--good-text);padding:10px 5px;font:inherit;text-align:center;min-width:0}.v7-place .v4-art{color:inherit!important;background:transparent}.v7-place .v7-table-svg{width:100%;max-width:100px;height:68px}.v7-place.selected{background:var(--soft);color:var(--primary);outline:2px solid var(--primary);outline-offset:-2px}.v7-place:disabled{background:var(--disabled-bg);color:var(--disabled-text);opacity:1;border-color:var(--line)}.v7-summary{position:sticky;top:100px;min-width:0}.v7-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:14px}.v7-summary-row strong{text-align:end;min-width:0}.v7-summary-row:last-child{background:var(--soft);border-radius:12px;padding:12px;border-bottom:0}.v7-store-preview textarea{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--field);color:var(--ink)}.v7-auth-tabs{display:flex;gap:8px}.v7-auth-tabs button{flex:1}.v7-auth-form{display:grid;gap:12px}.v7-auth-form input{min-height:46px}.v7-auth-form .btn{margin-top:5px}.v7-auth-form input:disabled{opacity:.8}.v7-auth-note{font-size:13px;line-height:1.5}@media(max-width:800px){.v7-booking-layout{grid-template-columns:1fr}.v7-summary{position:static}}@media(max-width:540px){.v7-store-header{grid-template-columns:1fr;padding:16px;gap:12px}.v7-cover{grid-row:1;min-height:120px}.v7-cover .v4-art{width:64px;height:64px}.v7-cover svg{width:43px;height:43px}.v7-step-title{font-size:19px}.v7-place{font-size:12px}.v7-place .v7-table-svg{height:53px}.v7-floor{padding:9px}.v7-meta>div{padding:8px}.v7-summary-row{font-size:13px}}
