:root {
  color-scheme: light;
  --ink: #17182f;
  --muted: #6d7187;
  --line: #e8e9f1;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --primary: #6659f4;
  --primary-dark: #5043d6;
  --accent: #20bfae;
  --danger: #dc4760;
  --warning: #e59b28;
  --success: #159982;
  --shadow-sm: 0 2px 8px rgba(31, 32, 64, .06);
  --shadow-md: 0 16px 44px rgba(31, 32, 64, .11);
  --shadow-lg: 0 30px 80px rgba(31, 32, 64, .16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --sidebar: 252px;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.boot-screen { min-height: 100vh; display: grid; place-content: center; gap: 2px; justify-items: center; color: var(--muted); font-size: .82rem; font-weight: 750; }
.boot-logo { width: 230px; height: 230px; display: block; object-fit: contain; filter: drop-shadow(0 20px 38px rgba(56, 70, 168, .14)); }
.boot-logo-small { width: 180px; height: 180px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.16rem; letter-spacing: .035em; }
.brand-symbol { position: relative; flex: 0 0 auto; width: 42px; height: 42px; display: block; overflow: hidden; border-radius: 50%; filter: drop-shadow(0 6px 11px rgba(44, 89, 186, .2)); }
.brand-symbol img { position: absolute; width: 80px; max-width: none; left: -19px; top: -8px; }
.brand-name { color: transparent; background: linear-gradient(105deg, #994fbd 3%, #725fc9 44%, #08cce8 96%); -webkit-background-clip: text; background-clip: text; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 12px; background: transparent; cursor: pointer; font-weight: 700; font-size: .9rem; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .icon-btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(102, 89, 244, .2); outline-offset: 2px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #806ef8); box-shadow: 0 8px 20px rgba(102, 89, 244, .22); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), #6855ed); box-shadow: 0 10px 25px rgba(102, 89, 244, .3); }
.btn-secondary { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #d7d8e5; background: #fcfcff; }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: #f0effa; }
.btn-danger { color: var(--danger); background: #fff2f5; }
.btn-sm { min-height: 34px; padding: 6px 11px; border-radius: 9px; font-size: .8rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.icon { width: 19px; height: 19px; display: inline-block; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.field { display: grid; gap: 7px; }
.field:is(fieldset) { min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field-label { font-size: .8rem; font-weight: 750; color: #4d5065; }
.field > small { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 44px; border: 1px solid #dedfe9; border-radius: 11px; padding: 10px 12px; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9cad9; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-full { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--primary); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafafe; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-error { padding: 11px 13px; border-radius: 10px; color: #a62941; background: #fff0f3; font-size: .84rem; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix input { padding-left: 34px; }

.landing { min-height: 100vh; overflow: hidden; background: #fbfbfe; }
.landing-nav { width: min(1200px, calc(100% - 40px)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.landing-nav-actions { display: flex; align-items: center; gap: 10px; }
.language-select { min-height: 38px; padding: 7px 28px 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; }
.hero { position: relative; width: min(1200px, calc(100% - 40px)); min-height: 680px; margin: 24px auto 0; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 106, 248, .14), transparent 67%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; color: #584bda; background: #efedff; font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(32, 191, 174, .13); }
.hero h1 { max-width: 720px; margin: 23px 0 22px; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.075em; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--primary), #8a69ec 48%, var(--accent)); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 630px; font-size: 1.12rem; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 34px; }
.hero-actions .btn { min-height: 50px; padding-inline: 22px; border-radius: 14px; }
.trust-row { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .82rem; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 30px; height: 30px; display: grid; place-items: center; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: .65rem; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: #f59e72; }
.avatar-stack span:nth-child(2) { background: #6659f4; }
.avatar-stack span:nth-child(3) { background: #20bfae; }
.product-window { position: relative; padding: 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.7); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); transform: rotate(1deg); }
.product-window::after { content: ""; position: absolute; width: 110px; height: 110px; left: -45px; bottom: -38px; border-radius: 35px; background: linear-gradient(135deg, #2bcab8, #5d51e9); opacity: .22; filter: blur(2px); z-index: -1; transform: rotate(-18deg); }
.window-bar { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 11px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ddddea; }
.window-canvas { min-height: 470px; display: grid; grid-template-columns: 105px 1fr; overflow: hidden; border-radius: 19px; background: #f7f7fb; }
.window-side { padding: 20px 13px; color: #fff; background: #17182f; }
.window-logo { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #7767f9, #21c6b4); margin-bottom: 32px; }
.window-line { height: 7px; margin: 15px 0; border-radius: 5px; background: rgba(255,255,255,.14); }
.window-line.active { background: rgba(129,113,255,.8); }
.window-main { padding: 24px 20px; }
.window-title { width: 46%; height: 18px; margin-bottom: 8px; border-radius: 6px; background: #2b2d45; }
.window-subtitle { width: 30%; height: 7px; margin-bottom: 25px; border-radius: 4px; background: #dfe0e9; }
.window-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.window-card { height: 84px; padding: 13px; border: 1px solid #ececf3; border-radius: 13px; background: #fff; box-shadow: 0 4px 12px rgba(30,31,60,.04); }
.window-card b, .window-card i { display: block; border-radius: 4px; background: #dedfea; }
.window-card b { width: 35%; height: 8px; margin-bottom: 17px; }
.window-card i { width: 55%; height: 17px; background: #6c5ef3; }
.window-calendar { height: 255px; margin-top: 14px; padding: 15px; border: 1px solid #ececf3; border-radius: 14px; background: #fff; }
.window-calendar-head { width: 34%; height: 10px; margin-bottom: 18px; border-radius: 5px; background: #303147; }
.window-calendar-grid { height: 195px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.window-day { position: relative; border-radius: 8px; background: #fafafe; }
.window-event { position: absolute; left: 4px; right: 4px; height: 34px; top: var(--top); border-left: 3px solid var(--event); border-radius: 5px; background: color-mix(in srgb, var(--event) 12%, white); }
.features-section { width: min(1200px, calc(100% - 40px)); margin: 60px auto 110px; }
.section-kicker { color: var(--primary); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.section-heading { max-width: 650px; margin: 10px 0 35px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.055em; line-height: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 230px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; color: var(--primary); background: #efedff; }
.feature-card:nth-child(2) .feature-icon { color: #c97520; background: #fff2df; }
.feature-card:nth-child(3) .feature-icon { color: #118c7f; background: #e4f8f4; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.16rem; letter-spacing: -.025em; }
.feature-card p { color: var(--muted); line-height: 1.65; font-size: .9rem; }
.landing-footer { width: min(1200px, calc(100% - 40px)); min-height: 150px; margin: -45px auto 0; display: flex; align-items: center; justify-content: flex-end; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .85fr) minmax(500px, 1.15fr); background: #fff; }
.auth-panel { position: relative; display: grid; align-content: center; gap: 28px; padding: clamp(36px, 7vw, 110px); }
.auth-brand { position: absolute; top: 30px; left: clamp(36px, 7vw, 110px); }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { margin: 22px 0 8px; font-size: 2.35rem; letter-spacing: -.055em; }
.auth-card > p { margin-bottom: 28px; color: var(--muted); line-height: 1.6; }
.auth-form { display: grid; gap: 15px; }
.auth-switch { margin-top: 22px; text-align: center; color: var(--muted); font-size: .88rem; }
.auth-copyright { width: min(440px, 100%); margin: 0; color: #8b8da1; font-size: .72rem; line-height: 1.5; }
.link-button { padding: 0; border: 0; color: var(--primary); background: none; cursor: pointer; font-weight: 750; }
.auth-visual { position: relative; display: grid; place-items: center; min-height: 100vh; padding: 50px; overflow: hidden; background: #17182f; }
.auth-visual::before, .auth-visual::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(2px); }
.auth-visual::before { left: -190px; top: -220px; background: radial-gradient(circle, rgba(109,93,252,.48), transparent 68%); }
.auth-visual::after { right: -190px; bottom: -200px; background: radial-gradient(circle, rgba(31,195,174,.36), transparent 68%); }
.auth-quote { position: relative; z-index: 1; width: min(600px, 90%); color: #fff; }
.auth-quote blockquote { margin: 0 0 30px; font-size: clamp(1.7rem, 3vw, 3.1rem); line-height: 1.18; letter-spacing: -.05em; font-weight: 650; }
.auth-quote footer { display: flex; align-items: center; gap: 13px; color: #b8bad1; font-size: .88rem; }
.auth-quote footer span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7969f8, #25bfaf); font-weight: 800; }
.platform-setup .auth-visual { align-content: center; gap: 18px; }
.auth-showcase-logo { position: relative; z-index: 1; width: min(450px, 78%); filter: drop-shadow(0 30px 70px rgba(0, 180, 235, .16)); }
.auth-security-note { position: relative; z-index: 1; width: min(500px, 80%); display: grid; gap: 5px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; color: #fff; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.auth-security-note strong { font-size: .88rem; }
.auth-security-note span { color: #aaaec6; font-size: .76rem; line-height: 1.55; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; z-index: 20; display: flex; flex-direction: column; padding: 24px 17px 18px; color: #cacbdb; background: #17182f; }
.dashboard-brand { display: block; width: fit-content; border-radius: 10px; }
.dashboard-brand:focus-visible { outline: 2px solid #9185ff; outline-offset: 4px; }
.sidebar .wordmark { padding: 0 9px; color: #fff; }
.nav-list { display: grid; align-content: start; gap: 4px; min-height: 0; flex: 1 1 auto; margin-top: 35px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.nav-divider { height: 1px; margin: 7px 10px; background: rgba(255,255,255,.08); }
.nav-link { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: #aeb0c5; font-size: .88rem; font-weight: 650; transition: .15s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-link.active { color: #fff; background: linear-gradient(100deg, rgba(110,94,247,.32), rgba(110,94,247,.12)); box-shadow: inset 3px 0 #7868f8; }
.nav-link.active .icon { color: #9185ff; }
.sidebar-bottom { flex: 0 0 auto; margin-top: 12px; }
.trial-card { margin: 0 3px 13px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.045); }
.trial-card strong { display: block; color: #fff; font-size: .8rem; }
.trial-card p { margin: 5px 0 10px; color: #8f92aa; font-size: .72rem; line-height: 1.45; }
.trial-meter { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.trial-meter i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, #7666f7, #29c4b3); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.07); }
.avatar { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #7666f7, #24b9aa); font-size: .78rem; font-weight: 850; }
.avatar img, .public-team-avatar img { width: 100%; height: 100%; max-width: 100%; display: block; border-radius: inherit; object-fit: cover; object-position: center; }
.sidebar-user-info { min-width: 0; flex: 1; }
.sidebar-user-info strong, .sidebar-user-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-info strong { color: #f4f4f8; font-size: .78rem; }
.sidebar-user-info span { color: #85889f; font-size: .67rem; margin-top: 2px; }
.sidebar-user button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #8f92a8; background: transparent; cursor: pointer; }
.sidebar-user button:hover { color: #fff; background: rgba(255,255,255,.07); }

.main-shell { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 15; height: 70px; display: flex; align-items: center; gap: 18px; padding: 0 clamp(20px, 3vw, 42px); border-bottom: 1px solid rgba(228,229,238,.9); background: rgba(246,247,251,.88); backdrop-filter: blur(15px); }
.mobile-menu { display: none; }
.topbar-business { min-width: 0; }
.topbar-business strong, .topbar-business span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-business strong { font-size: .86rem; }
.topbar-business span { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.topbar .language-select { background: rgba(255,255,255,.7); }
.topbar-notifications { position: relative; }
.notification-trigger { position: relative; width: 38px; height: 38px; color: #55576c; background: rgba(255,255,255,.72); }
.notification-trigger:hover { color: var(--primary); border-color: #d6d2fa; background: #fff; }
.notification-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #f6f7fb; border-radius: 999px; color: #fff; background: #e14f6a; font-size: .52rem; font-weight: 900; line-height: 1; }
.notification-popover { position: absolute; z-index: 50; top: calc(100% + 10px); right: 0; width: min(370px, calc(100vw - 28px)); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 22px 65px rgba(27,28,54,.18); }
.notification-popover-head { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.notification-popover-head strong { font-size: .82rem; }
.notification-popover-head button { padding: 4px; border: 0; color: var(--primary); background: transparent; font-size: .63rem; font-weight: 800; cursor: pointer; }
.notification-popover > a { display: block; padding: 11px 15px; color: var(--primary); border-top: 1px solid var(--line); background: #faf9ff; font-size: .69rem; font-weight: 800; text-align: center; }
.notification-item { width: 100%; display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 15px; border: 0; border-bottom: 1px solid #efeff5; color: var(--text); background: #fff; text-align: left; cursor: pointer; }
.notification-item:hover, .notification-item.unread { background: #f7f5ff; }
.notification-item .message-dot { margin-top: 4px; }
.notification-item.unread .message-dot { background: var(--primary); box-shadow: 0 0 0 3px #ebe8ff; }
.notification-item strong, .notification-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-item strong { font-size: .7rem; }
.notification-item small { margin-top: 4px; color: var(--muted); font-size: .59rem; }
.notification-empty { margin: 0; padding: 22px 15px; color: var(--muted); font-size: .72rem; text-align: center; }
.loading-block.compact { min-height: 90px; }
.platform-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 11px; border: 1px solid #dcd8ff; border-radius: 9px; color: #5748dc; background: #f0eeff; font-size: .72rem; font-weight: 800; }
.impersonation-banner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px clamp(20px, 3vw, 42px); color: #3e357f; border-bottom: 1px solid #dfdafc; background: linear-gradient(90deg, #f2efff, #edfafd); }
.impersonation-banner div { min-width: 0; }
.impersonation-banner strong, .impersonation-banner span { display: block; }
.impersonation-banner strong { font-size: .82rem; }
.impersonation-banner span { margin-top: 3px; color: #716a99; font-size: .7rem; }
.content { width: min(1450px, 100%); margin: 0 auto; padding: 32px clamp(20px, 3vw, 42px) 70px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 27px; }
.page-head h1 { margin-bottom: 7px; font-size: 1.85rem; letter-spacing: -.045em; }
.page-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.metric-card { position: relative; min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.metric-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -35px; top: -35px; border-radius: 50%; background: var(--metric-tint, #f0eeff); }
.metric-card > * { position: relative; z-index: 1; }
.metric-card-link { appearance: none; width: 100%; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.metric-card-link:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--metric) 42%, var(--line)); box-shadow: var(--shadow-md); }
.metric-card-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--metric) 28%, transparent); outline-offset: 2px; }
.metric-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 11px; color: var(--metric, var(--primary)); background: var(--metric-tint, #f0eeff); }
.metric-card span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .74rem; font-weight: 650; }
.metric-card strong { font-size: 1.65rem; letter-spacing: -.045em; }
.metric-card small { position: relative; z-index: 1; display: block; margin-top: 7px; color: var(--muted); font-size: .68rem; }
.performance-panel { margin-top: 17px; scroll-margin-top: 92px; overflow: hidden; }
.performance-head { align-items: flex-start; }
.panel-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.report-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.report-actions > span { color: var(--muted); font-size: .66rem; font-weight: 750; }
.report-actions select { min-height: 34px; padding: 5px 28px 5px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: .7rem; }
.performance-body { display: grid; grid-template-columns: minmax(290px, .52fr) minmax(420px, 1.48fr); gap: 25px; align-items: center; }
.performance-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.performance-summary > div { min-height: 84px; display: grid; align-content: center; gap: 6px; padding: 13px 14px; border: 1px solid #ececf3; border-radius: 13px; background: #fafafd; }
.performance-summary span { color: var(--muted); font-size: .64rem; line-height: 1.35; }
.performance-summary strong { font-size: .98rem; letter-spacing: -.025em; }
.performance-change.positive strong { color: #11816d; }
.performance-change.negative strong { color: #c54d62; }
.performance-chart { min-width: 0; }
.performance-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: #ececf3; stroke-width: 1; }
.chart-grid text { fill: #9597a8; font-size: 9px; text-anchor: end; }
.chart-grid .day-label { text-anchor: middle; }
.chart-area { fill: color-mix(in srgb, var(--primary) 9%, transparent); }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-line.booked { stroke: var(--primary); }
.chart-line.paid { stroke: var(--accent); }
.chart-legend { display: flex; justify-content: flex-end; gap: 17px; margin-top: -3px; color: var(--muted); font-size: .65rem; font-weight: 700; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 16px; height: 3px; border-radius: 3px; background: var(--primary); }
.chart-legend i.paid { background: var(--accent); }
.performance-empty { min-height: 210px; display: grid; place-content: center; justify-items: center; gap: 9px; color: var(--muted); text-align: center; font-size: .74rem; }
.performance-empty .icon { width: 30px; height: 30px; color: var(--accent); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 17px; margin-top: 17px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.panel-head { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #efeff4; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: .98rem; letter-spacing: -.02em; }
.panel-body { padding: 20px; }
.booking-list { display: grid; }
.booking-row { display: grid; grid-template-columns: 62px minmax(150px, 1.4fr) minmax(110px, 1fr) 100px; gap: 15px; align-items: center; min-height: 74px; padding: 11px 20px; border-bottom: 1px solid #f0f0f5; }
.booking-row:last-child { border-bottom: 0; }
.booking-date { text-align: center; }
.booking-date strong, .booking-date span { display: block; }
.booking-date strong { font-size: 1.08rem; }
.booking-date span { color: var(--muted); font-size: .66rem; text-transform: uppercase; }
.booking-person { min-width: 0; }
.booking-person strong, .booking-person span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-person strong { font-size: .85rem; }
.booking-person span { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.status-pill { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; border-radius: 999px; color: #157765; background: #e7f7f3; font-size: .68rem; font-weight: 750; text-transform: capitalize; }
.status-pill.pending { color: #9a6818; background: #fff4df; }
.status-pill.cancelled, .status-pill.failed, .status-pill.suspended { color: #b13a50; background: #ffedf1; }
.status-pill.no_show { color: #9c3c20; background: #fff0e8; }
.status-pill.completed, .status-pill.paid { color: #4d47b5; background: #efedff; }
.activity-list { display: grid; gap: 18px; }
.activity-item { display: grid; grid-template-columns: 10px 1fr; gap: 12px; font-size: .78rem; }
.activity-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #e8f9f6; }
.activity-item strong { display: block; margin-bottom: 4px; font-size: .77rem; }
.activity-item span { color: var(--muted); font-size: .68rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.toolbar-search { position: relative; min-width: 240px; flex: 1; max-width: 420px; }
.toolbar-search .icon { position: absolute; left: 12px; top: 11px; color: var(--muted); }
.toolbar-search input { width: 100%; min-height: 42px; padding: 9px 12px 9px 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.toolbar select { min-height: 42px; padding: 8px 31px 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.data-table th { padding: 12px 15px; color: #797c91; background: #fbfbfd; font-size: .68rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 14px 15px; border-top: 1px solid #efeff4; vertical-align: middle; }
.data-table tr:hover td { background: #fdfdff; }
.table-primary { font-weight: 750; }
.table-secondary { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; }
.empty-state { min-height: 230px; display: grid; place-content: center; justify-items: center; padding: 35px; text-align: center; color: var(--muted); }
.empty-state .feature-icon { margin-bottom: 12px; }
.platform-organizations { margin-top: 17px; overflow: hidden; }
.platform-organizations .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.panel-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.platform-filters { display: flex; align-items: center; gap: 8px; }
.platform-filters .toolbar-search { min-width: 210px; }
.platform-filters select { min-height: 42px; padding: 8px 31px 8px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: #fff; }
.platform-row-actions { display: flex; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.platform-detail { display: grid; gap: 20px; }
.platform-detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 17px; background: linear-gradient(135deg, #f0edff, #ecfbfa); }
.platform-detail-hero h3 { margin: 13px 0 5px; font-size: 1.55rem; letter-spacing: -.045em; }
.platform-detail-hero p { margin: 0; color: var(--muted); font-size: .72rem; }
.detail-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.detail-stat-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.detail-stat-grid strong, .detail-stat-grid span { display: block; }
.detail-stat-grid strong { font-size: 1.15rem; }
.detail-stat-grid span { margin-top: 3px; color: var(--muted); font-size: .67rem; }
.platform-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform-detail-grid section, .platform-detail-section { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.platform-detail h4 { margin: 0 0 12px; font-size: .83rem; }
.detail-lines { display: grid; gap: 8px; }
.detail-lines > span { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .73rem; }
.detail-lines b { color: var(--ink); font-weight: 700; }
.platform-admin-actions { position: sticky; bottom: -22px; display: flex; justify-content: flex-end; gap: 9px; margin: 0 -22px -22px; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 15px; }
.entity-card { position: relative; min-height: 190px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.entity-card-top { display: flex; align-items: flex-start; gap: 13px; }
.entity-color { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--entity, var(--primary)); font-weight: 850; }
.service-entity-visual { overflow: hidden; }
.service-entity-visual img { width: 100%; height: 100%; object-fit: cover; }
.entity-main { min-width: 0; flex: 1; }
.entity-main h3 { margin: 1px 0 5px; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entity-main p { color: var(--muted); font-size: .74rem; line-height: 1.5; }
.entity-card-actions { display: flex; align-items: center; gap: 2px; }
.entity-menu { border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.entity-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #efeff4; color: var(--muted); font-size: .72rem; }
.entity-meta span { display: inline-flex; align-items: center; gap: 6px; }
.avatar-lg { width: 48px; height: 48px; border-radius: 15px; }
.staff-photo-editor > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: center; }
.staff-photo-preview { width: 66px; height: 66px; border-radius: 50%; }
.service-image-editor-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 13px; align-items: center; }
.service-image-preview { width: 112px; height: 82px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; color: #fff; background: var(--primary); }
.service-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.service-image-controls { min-width: 0; display: grid; gap: 7px; }
.service-image-controls small { color: var(--muted); font-size: .62rem; line-height: 1.45; }
.customer-note { display: block; max-width: 260px; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.customer-note.empty { color: var(--muted); font-style: italic; }

.calendar-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 13px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.calendar-toolbar > strong { text-align: center; text-transform: capitalize; }
.calendar-filter { display: flex; justify-content: flex-end; margin: -7px 0 10px; }
.calendar-filter .field { width: min(330px, 100%); }
.calendar-feed-panel { display: grid; gap: 15px; }
.calendar-feed-panel > p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.calendar-feed-url { margin-top: 14px; }
.calendar-navigation, .calendar-view-toggle { display: flex; align-items: center; gap: 6px; }
.calendar-view-toggle { justify-content: flex-end; }
.calendar-shell { display: grid; grid-template-columns: 58px repeat(7, minmax(110px, 1fr)); min-width: 900px; }
.calendar-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.calendar-time, .calendar-day-head { min-height: 56px; display: grid; place-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.calendar-day-head { position: sticky; top: 0; z-index: 2; background: #fff; }
.calendar-day-head.today { color: var(--primary); background: var(--primary-soft); }
.calendar-day-head strong { display: block; color: var(--ink); font-size: .9rem; text-align: center; }
.calendar-column { position: relative; min-height: 720px; border-left: 1px solid #f0f0f4; background: repeating-linear-gradient(to bottom, transparent 0, transparent 59px, #f0f0f4 60px); }
.calendar-labels { min-height: 720px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 59px, #f0f0f4 60px); }
.calendar-labels span { display: block; height: 60px; padding: 5px 7px; color: var(--muted); font-size: .62rem; }
.calendar-event-card { position: absolute; left: 5px; right: 5px; top: var(--event-top); height: var(--event-height); min-height: 28px; padding: 6px 7px; overflow: hidden; border-left: 3px solid var(--event-color, var(--primary)); border-radius: 7px; color: #39345e; background: color-mix(in srgb, var(--event-color, var(--primary)) 12%, white); font-size: .63rem; cursor: pointer; }
.calendar-event-card strong { display: block; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-event-card small { display: block; margin-top: 2px; overflow: hidden; color: #716d8d; font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -5px 0 13px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); font-size: .68rem; }
.calendar-legend strong { color: var(--ink); }
.calendar-legend span, .service-name-with-color { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i, .service-name-with-color i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--legend-color, var(--service-color, var(--primary))); }
.calendar-month { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.calendar-month-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #fafafe; }
.calendar-month-weekdays, .calendar-month-grid { min-width: 760px; }
.calendar-month-weekdays span { padding: 10px; color: var(--muted); font-size: .68rem; font-weight: 750; text-align: center; text-transform: capitalize; }
.calendar-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-month-day { min-width: 0; min-height: 145px; padding: 8px; border-right: 1px solid #eeeef4; border-bottom: 1px solid #eeeef4; background: #fff; }
.calendar-month-day:nth-child(7n) { border-right: 0; }
.calendar-month-day.outside { background: #fafafe; opacity: .58; }
.calendar-month-day.today { box-shadow: inset 0 0 0 2px var(--primary); }
.calendar-month-day header { min-height: 23px; display: flex; justify-content: flex-end; color: var(--muted); font-size: .7rem; }
.calendar-month-day.today header strong { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); }
.calendar-month-day > div { display: grid; gap: 4px; }
.calendar-month-event { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 5px; padding: 5px 6px; overflow: hidden; border: 0; border-left: 3px solid var(--event-color, var(--primary)); border-radius: 6px; color: #39345e; background: color-mix(in srgb, var(--event-color, var(--primary)) 12%, white); cursor: pointer; text-align: left; }
.calendar-month-event span { font-size: .58rem; font-weight: 800; }
.calendar-month-event strong { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-month-event small { grid-column: 2; overflow: hidden; color: var(--muted); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-more { color: var(--muted); font-size: .58rem; text-align: center; }

.website-layout { display: grid; grid-template-columns: minmax(430px, 1.08fr) minmax(420px, .92fr); gap: 18px; align-items: start; }
.website-builder .panel-body { padding: 0; }
.builder-block { position: relative; padding: 25px; border-bottom: 1px solid var(--line); }
.builder-block:last-child { border-bottom: 0; }
.builder-step { position: absolute; right: 24px; top: 25px; color: #d0d1dd; font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.builder-block-head { padding-right: 40px; margin-bottom: 17px; }
.builder-block-head h3 { font-size: 1rem; }
.builder-block-head p { margin: 5px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.template-choice { position: relative; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 15px; background: #fff; cursor: pointer; text-align: left; box-shadow: var(--shadow-sm); transition: transform .15s, border .15s, box-shadow .15s; }
.template-choice:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.template-choice.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,89,244,.1); }
.template-choice.selected::after { content: "✓"; position: absolute; right: 9px; top: 9px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-size: .7rem; font-weight: 900; }
.template-swatch { position: relative; height: 122px; overflow: hidden; padding: 13px; color: var(--text-color); background: var(--surface-color); }
.template-swatch i, .template-swatch b, .template-swatch span, .template-swatch em { display: block; }
.thumb-nav { width: 54%; height: 6px; opacity: .3; background: var(--text-color); }
.thumb-copy { position: absolute; left: 13px; top: 42px; width: 53%; }
.thumb-copy b { width: 85%; height: 10px; border-radius: 3px; background: var(--primary-color); }
.thumb-copy span { width: 100%; height: 4px; margin-top: 8px; opacity: .22; background: var(--text-color); }
.thumb-copy em { width: 39px; height: 13px; margin-top: 13px; border-radius: var(--template-radius); background: var(--accent-color); }
.thumb-visual { position: absolute; right: 12px; top: 28px; width: 36%; height: 78px; border-radius: var(--template-radius); background: var(--primary-color); opacity: .14; }
.thumb-motif { position: absolute; right: 13px; bottom: 10px; z-index: 1; color: var(--primary-color); font-size: .64rem; font-weight: 900; letter-spacing: .12em; }
.template-thumb-editorial .thumb-copy { top: 31px; width: 45%; }
.template-thumb-editorial .thumb-copy b { height: 17px; border-radius: 0; }
.template-thumb-editorial .thumb-visual { top: 16px; height: 94px; border-radius: 0; background: var(--accent-color); opacity: .32; }
.template-thumb-editorial .thumb-motif { right: 17px; bottom: 15px; color: var(--text-color); font-family: Georgia, serif; letter-spacing: .05em; }
.template-thumb-organic .thumb-copy { left: 26px; top: 36px; width: 60%; }
.template-thumb-organic .thumb-visual { right: -16px; top: 15px; width: 48%; height: 112px; border-radius: 60px 0 0 60px; }
.template-thumb-organic .thumb-motif { right: 9px; bottom: 13px; color: var(--primary-color); }
.template-thumb-industrial { background: var(--primary-color); color: #fff; }
.template-thumb-industrial .thumb-nav, .template-thumb-industrial .thumb-copy span { background: #fff; }
.template-thumb-industrial .thumb-copy b { background: #fff; transform: skewX(-9deg); }
.template-thumb-industrial .thumb-copy em { border-radius: 0; background: var(--accent-color); transform: skewX(-9deg); }
.template-thumb-industrial .thumb-visual { border: 2px solid var(--accent-color); border-radius: 0; background: color-mix(in srgb, var(--primary-color) 85%, white); transform: skewX(-7deg); }
.template-thumb-industrial .thumb-motif { right: 10px; bottom: 8px; color: var(--accent-color); font-size: .75rem; transform: skewX(-7deg); }
.template-thumb-dynamic .thumb-copy { top: 47px; }
.template-thumb-dynamic .thumb-visual { right: -8px; top: 18px; width: 51%; height: 104px; border-radius: 65% 0 0 28%; background: var(--accent-color); opacity: .65; }
.template-thumb-dynamic .thumb-motif { right: 7px; bottom: 11px; color: var(--primary-color); transform: rotate(-6deg); }
.template-thumb-minimal { border: 1px solid #111; }
.template-thumb-minimal .thumb-nav, .template-thumb-minimal .thumb-copy span { opacity: 1; background: #111; }
.template-thumb-minimal .thumb-copy b { border-radius: 0; background: #111; }
.template-thumb-minimal .thumb-copy em { border: 1px solid #111; border-radius: 0; background: transparent; }
.template-thumb-minimal .thumb-visual { border: 1px solid #111; border-radius: 0; background: transparent; }
.template-thumb-minimal .thumb-motif { color: #111; font-size: .58rem; letter-spacing: .2em; }
.template-thumb-maison .thumb-copy b { width: 88%; height: 20px; border-radius: 0; background: var(--text-color); }
.template-thumb-maison .thumb-visual { top: 12px; right: 8px; width: 48%; height: 122px; border-radius: 0; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); }
.template-thumb-maison .thumb-motif { left: 12px; right: auto; color: var(--accent-color); }
.template-thumb-sanctuary .thumb-copy { left: 25%; width: 50%; text-align: center; }
.template-thumb-sanctuary .thumb-visual { top: 70px; right: 25%; width: 50%; height: 70px; border-radius: 60px 60px 18px 18px; background: var(--primary-color); }
.template-thumb-paddock { background-image: linear-gradient(color-mix(in srgb, var(--text-color) 10%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text-color) 10%, transparent) 1px, transparent 1px); background-size: 14px 14px; }
.template-thumb-paddock .thumb-copy b { height: 19px; border-radius: 0; transform: skewX(-8deg); }
.template-thumb-paddock .thumb-visual { border: 1px solid var(--accent-color); border-radius: 0; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.template-thumb-paddock .thumb-motif { color: var(--accent-color); }
.template-thumb-aurelia .thumb-visual { border: 5px solid white; border-radius: 50% 50% 8px 8px; outline: 1px solid var(--accent-color); }
.template-thumb-aurelia .thumb-copy b { background: var(--primary-color); }
.template-thumb-nocturne .thumb-copy b { height: 18px; font-family: Georgia, serif; background: var(--text-color); }
.template-thumb-nocturne .thumb-visual { border: 1px solid var(--accent-color); border-radius: 50% 50% 3px 3px; background: var(--primary-color); }
.template-thumb-kinetic .thumb-copy b { height: 18px; transform: rotate(-4deg); }
.template-thumb-kinetic .thumb-visual { border-radius: 32% 68% 40% 60%; background: var(--accent-color); transform: rotate(7deg); }
.template-info { min-height: 113px; padding: 11px 12px 12px; border-top: 1px solid var(--line); }
.template-info strong, .template-info span { display: block; }
.template-info strong { font-size: .8rem; }
.template-info span { margin-top: 3px; color: var(--primary); font-size: .61rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.template-info p { margin: 7px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.45; }
.premium-label { display: inline-flex; margin-left: 7px; padding: 2px 6px; border-radius: 999px; color: #6a4c16; background: #f7e7b9; font: 800 .48rem/1.4 Manrope, sans-serif; letter-spacing: .07em; text-transform: uppercase; vertical-align: 2px; }
.palette-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.palette-choice { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; text-align: left; }
.palette-choice:hover { border-color: var(--primary); }
.palette-choice > span { display: grid; grid-template-columns: repeat(4, 1fr); height: 23px; overflow: hidden; border-radius: 6px; }
.palette-choice > span::before { content: ""; background: linear-gradient(90deg, var(--palette-1) 0 25%, var(--palette-2) 25% 50%, var(--palette-3) 50% 75%, var(--palette-4) 75%); }
.palette-choice > span::before { grid-column: 1 / -1; }
.palette-choice b { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.color-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.color-field { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 11px; }
.color-field > span { font-size: .7rem; font-weight: 700; }
.color-field input { width: 32px; height: 32px; padding: 2px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.color-field code { color: var(--muted); font-size: .6rem; }
.asset-field { align-content: start; }
.content-language-tabs { display: flex; gap: 6px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.content-language-tab { min-width: max-content; display: grid; gap: 2px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; font-size: .67rem; font-weight: 750; cursor: pointer; }
.content-language-tab small { font-size: .48rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.content-language-tab.active { color: var(--primary); border-color: var(--primary); background: #f4f2ff; box-shadow: 0 0 0 2px rgba(102,89,244,.08); }
.translation-help { margin: 9px 0 15px; color: var(--muted); font-size: .65rem; line-height: 1.5; }
.localized-content-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.localized-content-panel[hidden] { display: none; }
.shared-website-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.shared-website-fields > .checkbox { grid-column: 1 / -1; }
.content-editor-block { background: linear-gradient(180deg, #fbfaff 0%, #fff 100%); }
.section-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.section-editor-card { display: grid; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(36,37,70,.035); }
.section-editor-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-editor-card > header strong { font-size: .8rem; }
.section-editor-card > header span { color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.section-editor-card textarea { min-height: 112px; }
.section-editor-assets { grid-column: 1 / -1; }
.section-editor-assets .field-grid { margin-top: 4px; }
.asset-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.asset-input-row .btn, .asset-help-row .btn { min-height: 42px; cursor: pointer; white-space: nowrap; }
.asset-help-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asset-help-row small { max-width: 72%; }
.social-editor { display: grid; gap: 12px; margin-top: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fafafe; }
.social-editor > div:first-child strong, .social-editor > div:first-child small { display: block; }
.social-editor > div:first-child strong { font-size: .78rem; }
.social-editor > div:first-child small { margin-top: 4px; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.btn.is-loading { opacity: .58; pointer-events: none; }
.section-toggle-list { display: grid; gap: 8px; }
.section-toggle { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafafe; cursor: pointer; }
.section-toggle strong, .section-toggle small { display: block; }
.section-toggle strong { font-size: .76rem; }
.section-toggle small { margin-top: 3px; color: var(--muted); font-size: .62rem; line-height: 1.4; }
.section-toggle .switch { flex: 0 0 42px; }
.section-toggle .switch i { position: absolute; inset: 0; border-radius: 999px; background: #d9dae4; transition: .2s; }
.section-toggle .switch i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: .2s; }
.section-toggle .switch input:checked + i { background: var(--accent); }
.section-toggle .switch input:checked + i::after { transform: translateX(18px); }
.website-preview-shell { position: sticky; top: 90px; padding: 12px; border-radius: 22px; background: #25263c; box-shadow: var(--shadow-md); }
.browser-chrome { height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.browser-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #62647c; }
.browser-chrome span { width: 45%; height: 16px; margin: auto; display: grid; place-items: center; border-radius: 5px; color: #999bb1; background: #36384e; font-size: .48rem; }
.website-preview { min-height: 650px; padding: 30px; border-radius: 13px; color: var(--preview-text, #1c1d31); background: var(--preview-surface, #f5f4ff); overflow: hidden; transition: .2s; }
.preview-nav { display: flex; align-items: center; justify-content: space-between; }
.preview-logo { font-weight: 850; color: var(--preview-primary, var(--primary)); }
.preview-nav-links { display: flex; gap: 6px; }
.preview-nav-links i { width: 24px; height: 4px; opacity: .35; background: var(--preview-text); }
.preview-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center; margin: 65px 0 48px; }
.preview-hero h2 { margin-bottom: 13px; color: var(--preview-primary, var(--primary)); font-family: var(--preview-font, inherit); font-size: 2.3rem; line-height: 1.03; letter-spacing: -.055em; }
.preview-motif { display: inline-block; margin-bottom: 10px; color: var(--preview-accent); font-size: .55rem; font-weight: 900; letter-spacing: .18em; }
.preview-hero p { color: var(--preview-text); opacity: .65; font-size: .75rem; line-height: 1.6; }
.preview-hero b { display: block; width: 64px; height: 22px; margin-top: 17px; border-radius: var(--preview-radius); background: var(--preview-accent); }
.preview-hero-image { min-height: 150px; border-radius: var(--preview-radius); background: color-mix(in srgb, var(--preview-primary) 18%, white); }
.preview-hero-image.has-image, .preview-gallery i.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.preview-section { margin: 24px 0; }
.preview-about { display: grid; grid-template-columns: 35% 1fr; gap: 12px; align-items: center; }
.preview-about > i { height: 74px; border-radius: var(--preview-radius); background: var(--preview-primary); opacity: .13; }
.preview-about b, .preview-about span { display: block; height: 6px; margin: 7px 0; border-radius: 4px; background: var(--preview-text); opacity: .25; }
.preview-about b { width: 55%; opacity: .7; }
.preview-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-service { min-height: 86px; padding: 12px; border-radius: var(--preview-radius, 12px); background: rgba(255,255,255,.82); box-shadow: 0 5px 16px rgba(30,31,60,.05); }
.preview-service i, .preview-service b, .preview-service span { display: block; border-radius: 4px; }
.preview-service i { width: 25px; height: 25px; margin-bottom: 16px; background: var(--preview-accent, var(--accent)); opacity: .22; }
.preview-service b { width: 72%; height: 6px; background: var(--preview-primary, var(--primary)); opacity: .65; }
.preview-service span { width: 48%; height: 4px; margin-top: 8px; background: var(--preview-text); opacity: .2; }
.preview-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 7px; margin: 24px 0; }
.preview-gallery i { min-height: 67px; border-radius: var(--preview-radius); background: color-mix(in srgb, var(--preview-accent) 24%, white); }
.preview-gallery i:first-child { background: color-mix(in srgb, var(--preview-primary) 22%, white); }
.preview-team { display: flex; justify-content: center; gap: 17px; margin: 28px 0; }
.preview-team > div { display: grid; justify-items: center; gap: 6px; }
.preview-team i { width: 36px; height: 36px; border-radius: 50%; background: var(--preview-primary); opacity: .22; }
.preview-team b { width: 39px; height: 4px; background: var(--preview-text); opacity: .3; }
.preview-contact { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px; border-radius: var(--preview-radius); color: white; background: var(--preview-primary); }
.preview-contact b { width: 31%; height: 7px; background: white; opacity: .8; }
.preview-contact span { width: 57px; height: 18px; background: var(--preview-accent); }
.preview-template-atelier { font-family: Georgia, serif; }
.preview-template-atelier .preview-hero { grid-template-columns: .82fr 1.18fr; }
.preview-template-atelier .preview-hero-image, .preview-template-atelier .preview-service, .preview-template-atelier .preview-contact { border-radius: 0; }
.preview-template-serene .preview-hero { text-align: center; }
.preview-template-serene .preview-hero-image { border-radius: 90px 90px 18px 18px; }
.preview-template-velocity { color: var(--preview-text); border: 9px solid var(--preview-primary); }
.preview-template-velocity .preview-hero h2 { text-transform: uppercase; font-style: italic; }
.preview-template-velocity .preview-hero-image, .preview-template-velocity .preview-service, .preview-template-velocity .preview-contact { border-radius: 0; }
.preview-template-coast .preview-hero-image { border-radius: 70% 30% 55% 45%; background: var(--preview-accent); opacity: .65; }
.preview-template-mono { border: 1px solid var(--preview-text); }
.preview-template-mono .preview-hero-image, .preview-template-mono .preview-service, .preview-template-mono .preview-contact { border: 1px solid var(--preview-text); border-radius: 0; box-shadow: none; background: transparent; color: var(--preview-text); }
.preview-template-maison { font-family: Georgia, serif; }
.preview-template-maison .preview-hero { grid-template-columns: .68fr 1.32fr; }
.preview-template-maison .preview-hero h2 { font-size: 2.8rem; font-weight: 400; line-height: .85; }
.preview-template-maison .preview-hero-image, .preview-template-maison .preview-service, .preview-template-maison .preview-contact { border-radius: 0; }
.preview-template-sanctuary { background-image: radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--preview-accent) 22%, transparent), transparent 36%); }
.preview-template-sanctuary .preview-hero { grid-template-columns: 1fr; text-align: center; }
.preview-template-sanctuary .preview-hero-image { width: 72%; min-height: 120px; margin: auto; border-radius: 90px 90px 32px 32px; }
.preview-template-paddock { background-image: linear-gradient(color-mix(in srgb, var(--preview-text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--preview-text) 7%, transparent) 1px, transparent 1px); background-size: 22px 22px; }
.preview-template-paddock .preview-hero h2 { color: var(--preview-text); text-transform: uppercase; font-style: italic; }
.preview-template-paddock .preview-hero-image { border: 1px solid var(--preview-accent); border-radius: 0; clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.preview-template-paddock .preview-service, .preview-template-paddock .preview-contact { border-radius: 2px; }
.preview-template-aurelia .preview-hero h2 { font-family: Georgia, serif; font-weight: 400; }
.preview-template-aurelia .preview-hero-image { border: 7px solid #fff; border-radius: 50% 50% 12px 12px; outline: 1px solid color-mix(in srgb, var(--preview-primary) 18%, transparent); }
.preview-template-nocturne { background-image: radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--preview-accent) 20%, transparent), transparent 28%); }
.preview-template-nocturne .preview-hero h2 { color: var(--preview-text); font-family: Georgia, serif; font-weight: 400; }
.preview-template-nocturne .preview-hero-image { border: 1px solid var(--preview-accent); border-radius: 50% 50% 4px 4px; }
.preview-template-kinetic .preview-hero h2 { font-size: 2.6rem; text-transform: uppercase; transform: rotate(-2deg); }
.preview-template-kinetic .preview-hero-image { border-radius: 32% 68% 40% 60%; background: var(--preview-accent); transform: rotate(4deg); }

.payment-grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 16px; }
.payment-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.payment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.provider-logo { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #635bff; font-weight: 850; font-size: .76rem; }
.provider-logo.paypal { color: #063a75; background: #ffc439; }
.provider-logo.bank_transfer { color: #176f63; background: #dff5f1; }
.provider-logo.cash { color: #166747; background: #ddf7e9; }
.payment-head > div { min-width: 0; flex: 1; }
.payment-head strong, .payment-head span { display: block; }
.payment-head span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.payment-card p { min-height: 44px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.payment-discount-badge { width: fit-content; margin: 0 0 15px; padding: 6px 9px; border-radius: 8px; color: #5548bd; background: #f1efff; font-size: .64rem; }
.payment-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.billing-profile-panel, .invoices-panel { margin-top: 18px; }
.billing-logo-field { display: grid; gap: 8px; }
.billing-logo-editor { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.billing-logo-preview { width: 150px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #cfd1df; border-radius: 12px; color: var(--muted); background: #fafaff; font-size: .72rem; }
.billing-logo-preview img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.table-actions { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.invoice-sheet { display: grid; gap: 24px; padding: 8px; color: #191a2f; background: #fff; }
.invoice-sheet > header { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(230px, 1fr); gap: 30px; align-items: start; padding-bottom: 22px; border-bottom: 2px solid #191a2f; }
.invoice-sheet > header > div { display: grid; gap: 5px; }
.invoice-sheet > header > div:last-child { justify-items: end; text-align: right; }
.invoice-sheet header span, .invoice-meta span { color: var(--muted); font-size: .65rem; }
.invoice-sheet header h2 { margin: 4px 0 0; font-size: 1.45rem; }
.invoice-logo { width: 120px; max-height: 58px; margin-bottom: 8px; object-fit: contain; object-position: left center; }
.invoice-meta { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.invoice-meta > div { display: grid; gap: 4px; }
.invoice-sheet table { width: 100%; border-collapse: collapse; }
.invoice-sheet th, .invoice-sheet td { padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: .72rem; text-align: right; }
.invoice-sheet th:first-child, .invoice-sheet td:first-child { text-align: left; }
.invoice-totals { width: min(330px, 100%); display: grid; gap: 8px; justify-self: end; }
.invoice-totals > span, .invoice-totals > strong { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: .72rem; }
.invoice-totals > strong { padding-top: 11px; border-top: 2px solid #191a2f; font-size: .88rem; }
.switch { position: relative; width: 42px; height: 24px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #d9dae4; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }

.settings-stack { display: grid; gap: 17px; }
.settings-panel { padding: 0; overflow: hidden; }
.settings-section { display: grid; grid-template-columns: minmax(180px, .34fr) minmax(400px, .66fr); gap: 35px; padding: 26px; border-bottom: 1px solid var(--line); }
.settings-section:last-child { border-bottom: 0; }
.settings-copy h3 { margin-bottom: 7px; font-size: .95rem; }
.settings-copy p { color: var(--muted); font-size: .76rem; line-height: 1.55; }
.settings-copy .btn { margin-top: 14px; }
.notification-preferences { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 10px; }
.notification-preferences > .btn { grid-column: 1 / -1; justify-self: end; }
.notification-channel { display: grid; align-content: start; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.notification-channel.locked { background: #f7f7fa; opacity: .72; }
.notification-channel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.notification-channel header strong, .notification-channel header small { display: block; }
.notification-channel header strong { font-size: .78rem; }
.notification-channel header small, .notification-channel p { margin: 4px 0 0; color: var(--muted); font-size: .61rem; line-height: 1.45; }
.delivery-errors { display: grid; gap: 6px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.delivery-errors strong { font-size: .72rem; }
.delivery-errors span { padding: 8px 9px; border-radius: 8px; color: #8f3246; background: #fff2f5; font-size: .62rem; line-height: 1.4; }
.mini-list { display: grid; gap: 8px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.mini-row > .btn { flex: 0 0 auto; }
.mini-row-main { min-width: 0; flex: 1; }
.mini-row-main strong, .mini-row-main span { display: block; }
.mini-row-main strong { font-size: .8rem; }
.mini-row-main span { margin-top: 3px; color: var(--muted); font-size: .68rem; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(20,21,42,.55); backdrop-filter: blur(5px); animation: fade-in .15s ease; }
.modal { width: min(590px, 100%); max-height: min(820px, calc(100vh - 40px)); overflow-y: auto; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); animation: modal-in .2s ease; }
.modal.modal-wide { width: min(820px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); }
.modal-head h2 { margin: 0; font-size: 1.08rem; letter-spacing: -.025em; }
.modal-body { padding: 22px; }
.toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 9px; pointer-events: none; }
.toast { min-width: 250px; max-width: 380px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #d8eee9; border-radius: 12px; color: #176f63; background: #effaf7; box-shadow: var(--shadow-md); font-size: .8rem; font-weight: 650; animation: toast-in .25s ease; }
.toast.error { color: #a83249; border-color: #f3d7dd; background: #fff1f4; }
.loading-block { min-height: 260px; display: grid; place-content: center; }
.spinner { width: 28px; height: 28px; border: 3px solid #e2e1f4; border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }

.demo-badge { display: inline-flex; margin-left: 8px; padding: 2px 6px; border-radius: 999px; color: #5948d8; background: #efedff; font-size: .56rem; font-weight: 850; letter-spacing: .08em; vertical-align: 2px; }
.platform-billing-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.platform-billing-summary div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; background: #fff; }
.platform-billing-summary span { color: var(--muted); font-size: .68rem; }
.platform-billing-summary strong { font-size: .9rem; }
.platform-settings-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.platform-settings-grid > .panel:only-child { grid-column: 1 / -1; }
.settings-callout { display: grid; gap: 4px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #dfdcff; border-radius: 12px; color: #403879; background: #f5f3ff; }
.settings-callout strong { font-size: .82rem; }
.settings-callout span { font-size: .68rem; line-height: 1.5; }
.form-section-title { margin: 25px 0 12px; font-size: .84rem; }
.billing-plan-settings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.billing-plan-settings section { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fafafe; }
.billing-plan-settings header { display: flex; justify-content: space-between; align-items: center; }
.billing-plan-settings header strong { font-size: .78rem; }
.billing-plan-settings header span { color: var(--muted); font-size: .65rem; }
.form-actions-between { justify-content: space-between; }
.compact-metrics { margin-bottom: 18px; }
.compact-metrics .metric-card { min-height: 126px; }
.platform-subscription-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 7px; margin-top: 14px; }
.platform-subscription-form select, .platform-subscription-form input { min-width: 0; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #fff; font: inherit; font-size: .7rem; }
.subscription-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px; overflow: hidden; background: linear-gradient(135deg, #fff 42%, #f0eeff); }
.subscription-hero h2 { margin: 8px 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.055em; }
.subscription-hero p { max-width: 680px; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.subscription-current { min-width: 190px; display: grid; justify-items: end; gap: 8px; text-align: right; }
.subscription-current strong { font-size: .76rem; }
.subscription-current small { color: var(--muted); }
.subscription-policy { margin-top: 12px; font-weight: 700; color: #4e4699 !important; }
.subscription-payment-actions { display: grid; gap: 8px; }
.subscription-bank-request { display: grid; gap: 7px; margin: 18px 0; }
.subscription-transfer-panel { margin-top: 20px; }
.subscription-invoices { margin-top: 20px; }
.admin-subscription-panel { margin: 16px 0; border-color: #cfc9ff; box-shadow: 0 16px 42px rgba(80, 65, 205, .09); }
.admin-subscription-panel .panel-head { background: linear-gradient(135deg, #faf9ff, #f0edff); }
.admin-subscription-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; }
.admin-subscription-form .btn { min-height: 43px; }
.admin-subscription-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.admin-subscription-note .icon { flex: 0 0 auto; width: 16px; height: 16px; }
.message-inbox { overflow: hidden; }
.message-list { display: grid; }
.message-row { width: 100%; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: #fff; text-align: left; cursor: pointer; }
.message-row:last-child { border-bottom: 0; }
.message-row:hover { background: #faf9ff; }
.message-row.unread { background: #f6f4ff; }
.message-row div { min-width: 0; }
.message-row strong, .message-row p, .message-row small { display: block; }
.message-row p { display: -webkit-box; margin: 6px 0; overflow: hidden; color: var(--muted); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.message-row small { color: var(--muted); }
.message-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 999px; background: #d7d7e3; }
.message-row.unread .message-dot { background: var(--primary); box-shadow: 0 0 0 4px #ebe8ff; }
.message-detail { display: grid; gap: 18px; }
.message-detail-time { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; }
.message-detail-body { margin: 0; padding: 16px; border-radius: 13px; color: var(--text); background: #f7f6fc; font-size: .86rem; line-height: 1.65; white-space: pre-wrap; }
.message-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.message-detail-grid span { display: grid; gap: 5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); font-size: .76rem; }
.message-detail-grid b { color: var(--muted); font-size: .6rem; letter-spacing: .04em; text-transform: uppercase; }
.message-detail-grid .message-detail-reason { grid-column: 1 / -1; white-space: pre-wrap; }
.announcement-admin-panel { margin-bottom: 18px; }
.announcement-admin-panel .mini-row-main span { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.announcement-style-badge { flex: 0 0 auto; min-width: 86px; padding: 6px 9px; border-radius: 999px; color: #5548ba; background: #efedff; font-size: .58rem; font-weight: 850; text-align: center; }
.announcement-style-badge.ticker { color: #117363; background: #e8f8f4; }
.announcement-style-badge.floating { color: #9a5e16; background: #fff2dc; }
.announcement-empty { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: .75rem; }
.usage-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 16px 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--line); }
.usage-strip div { display: grid; gap: 6px; padding: 16px 18px; background: #fff; }
.usage-strip span { color: var(--muted); font-size: .67rem; }
.usage-strip strong { font-size: 1.1rem; }
.inline-notice { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 13px 15px; border: 1px solid #dddaf8; border-radius: 12px; color: #554b9e; background: #f5f3ff; font-size: .75rem; line-height: 1.5; }
.inline-notice .icon { flex: 0 0 auto; }
.inline-notice.success { color: #147565; border-color: #cdebe4; background: #edfaf7; }
.inline-notice.warning { color: #8b5b17; border-color: #f0dfbd; background: #fff8e8; }
.inline-notice.care-notice { color: #126c61; border-color: #bce8df; background: #effbf8; }
.care-count { font-size: .86rem; }
.care-count.positive { color: #127362; }
.care-count.danger { color: #b13a50; }
.care-risk { display: block; width: fit-content; margin-top: 4px; padding: 3px 6px; border-radius: 999px; color: #a23148; background: #ffedf1; font-size: .55rem; font-weight: 800; white-space: nowrap; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.pricing-card { display: flex; flex-direction: column; min-height: 400px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.pricing-card.current { border-color: #8d82f8; box-shadow: 0 18px 44px rgba(102,89,244,.12); }
.pricing-card header { display: flex; justify-content: space-between; gap: 12px; min-height: 70px; }
.pricing-card h3 { margin-top: 8px; font-size: 1.65rem; letter-spacing: -.05em; }
.pricing-card h3 small { margin-left: 4px; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: 0; }
.current-plan-badge { height: fit-content; padding: 5px 8px; border-radius: 999px; color: #5948d8; background: #efedff; font-size: .58rem; font-weight: 800; }
.pricing-card ul { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.pricing-card li { display: flex; align-items: center; gap: 8px; color: #62647a; font-size: .7rem; }
.pricing-card li .icon { width: 14px; height: 14px; color: var(--accent); }
.plan-limits { display: grid; gap: 7px; margin: auto 0 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; }
.plan-limits span { display: flex; justify-content: space-between; gap: 10px; }
.plan-limits b { color: var(--text); }

.booking-site { --book-primary: var(--primary); --book-accent: var(--accent); --book-surface: #f5f4ff; --book-text: #1c1d31; min-height: 100vh; color: var(--book-text); background: var(--book-surface); scroll-behavior: smooth; }
.booking-topbar { position: sticky; top: 0; z-index: 20; width: min(1240px, calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid color-mix(in srgb, var(--book-text) 12%, transparent); background: color-mix(in srgb, var(--book-surface) 88%, transparent); backdrop-filter: blur(18px); }
.public-announcement-banner { width: min(1160px, calc(100% - 40px)); min-height: 58px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 12px; padding: 12px 20px; border: 1px solid color-mix(in srgb, var(--book-primary) 18%, transparent); border-radius: 14px; color: var(--book-text); background: color-mix(in srgb, var(--book-accent) 16%, white); font-size: .75rem; line-height: 1.45; text-align: center; }
.public-announcement-banner strong { color: var(--book-primary); }
.public-announcement-ticker { width: 100%; overflow: hidden; color: #fff; background: var(--book-primary); }
.public-announcement-ticker > div { width: max-content; display: flex; animation: announcement-scroll 24s linear infinite; }
.public-announcement-ticker span { min-width: 100vw; display: block; padding: 10px 6vw; font-size: .72rem; line-height: 1.4; text-align: center; }
.public-floating-announcements { position: fixed; z-index: 35; right: 22px; bottom: 22px; width: min(370px, calc(100vw - 28px)); display: grid; gap: 10px; }
.public-announcement-floating { position: relative; padding: 19px 46px 18px 20px; border: 1px solid color-mix(in srgb, var(--book-primary) 16%, transparent); border-radius: 18px; color: var(--book-text); background: color-mix(in srgb, var(--book-surface) 82%, white); box-shadow: 0 22px 65px color-mix(in srgb, var(--book-primary) 20%, transparent); backdrop-filter: blur(16px); animation: announcement-in .25s ease-out; }
.public-announcement-floating > button { position: absolute; top: 9px; right: 9px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--book-text); background: color-mix(in srgb, var(--book-text) 7%, transparent); cursor: pointer; }
.public-announcement-floating > button .icon { width: 15px; height: 15px; }
.public-announcement-floating strong { display: block; color: var(--book-primary); font-size: .86rem; }
.public-announcement-floating p { margin: 7px 0 0; font-size: .73rem; line-height: 1.55; white-space: pre-wrap; }
.booking-brand { flex: 0 0 auto; font-weight: 900; font-size: 1.08rem; letter-spacing: -.02em; color: var(--book-primary); }
.booking-brand img { width: auto; max-width: 160px; max-height: 44px; }
.public-navigation { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2vw, 28px); }
.public-navigation a { position: relative; padding: 8px 0; color: color-mix(in srgb, var(--book-text) 72%, transparent); font-size: .76rem; font-weight: 700; }
.public-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--book-accent); transition: right .18s; }
.public-navigation a:hover::after { right: 0; }
.public-nav-actions { display: flex; align-items: center; gap: 9px; }
.public-nav-actions .language-select { color: var(--book-text); border-color: color-mix(in srgb, var(--book-text) 15%, transparent); background: transparent; }
.public-book-button, .public-primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 17px; border-radius: 999px; color: #fff; background: var(--book-primary); font-size: .76rem; font-weight: 800; }
.public-hero { position: relative; width: min(1240px, calc(100% - 40px)); min-height: 650px; margin: auto; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(330px, .88fr); gap: clamp(35px, 7vw, 100px); align-items: center; padding: 65px 0 90px; overflow: hidden; }
.public-hero-copy { position: relative; z-index: 2; }
.public-kicker, .public-section-heading > span { display: inline-flex; align-items: center; gap: 8px; color: var(--book-primary); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.public-kicker::before, .public-section-heading > span::before { content: ""; width: 24px; height: 2px; background: var(--book-accent); }
.public-hero h1 { max-width: 760px; margin: 21px 0 19px; color: var(--book-primary); font-size: clamp(3.2rem, 6vw, 6.3rem); line-height: .91; letter-spacing: -.075em; }
.public-hero-copy > p { max-width: 590px; margin: 0; color: color-mix(in srgb, var(--book-text) 67%, transparent); font-size: clamp(.95rem, 1.4vw, 1.14rem); line-height: 1.72; }
.public-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 29px; }
.public-primary-action { min-height: 48px; padding-inline: 22px; background: var(--book-accent); }
.public-secondary-action { min-height: 48px; display: inline-flex; align-items: center; padding: 10px 20px; border: 1px solid color-mix(in srgb, var(--book-text) 24%, transparent); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.booking-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; color: color-mix(in srgb, var(--book-text) 65%, transparent); font-size: .74rem; }
.public-hero-image { position: relative; min-height: 470px; margin: 0; overflow: hidden; border-radius: 35% 35% 12px 12px; box-shadow: 0 35px 75px color-mix(in srgb, var(--book-primary) 20%, transparent); }
.public-hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.public-hero-art { position: relative; min-height: 470px; }
.public-hero-art b { position: absolute; inset: 11% 7% 5% 15%; border-radius: 36% 36% 15px 15px; background: linear-gradient(145deg, color-mix(in srgb, var(--book-primary) 84%, white), var(--book-primary)); box-shadow: 0 35px 80px color-mix(in srgb, var(--book-primary) 22%, transparent); }
.public-hero-art i { position: absolute; z-index: 2; border-radius: 50%; background: var(--book-accent); }
.public-hero-art i:nth-child(1) { width: 105px; height: 105px; left: 3%; top: 2%; opacity: .7; }
.public-hero-art i:nth-child(2) { width: 48px; height: 48px; right: 2%; top: 21%; }
.public-hero-art i:nth-child(3) { width: 145px; height: 145px; right: -4%; bottom: -2%; opacity: .24; }
.public-content { overflow: hidden; }
.public-section { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: clamp(75px, 10vw, 135px) 0; }
.public-section-heading { max-width: 650px; }
.public-section-heading h2, .contact-section h2 { margin: 15px 0 10px; color: var(--book-primary); font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: .98; letter-spacing: -.06em; }
.public-section-heading p { color: color-mix(in srgb, var(--book-text) 62%, transparent); line-height: 1.65; }
.about-section { display: grid; grid-template-columns: 95px minmax(240px, .7fr) minmax(320px, 1.3fr); gap: clamp(25px, 5vw, 75px); align-items: start; }
.about-marker span { display: block; color: var(--book-accent); font-size: .75rem; font-weight: 900; }
.about-marker i { display: block; width: 1px; height: 110px; margin: 12px 0 0 7px; background: color-mix(in srgb, var(--book-text) 18%, transparent); }
.about-copy { margin: 25px 0 0; color: color-mix(in srgb, var(--book-text) 78%, transparent); font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.7; white-space: pre-line; }
.booking-section { display: grid; grid-template-columns: minmax(230px, .45fr) minmax(500px, 1fr); gap: clamp(30px, 6vw, 85px); align-items: start; }
.booking-card { min-height: 600px; padding: clamp(22px, 4vw, 36px); border: 1px solid rgba(255,255,255,.8); border-radius: 26px; background: rgba(255,255,255,.89); box-shadow: 0 25px 70px rgba(30,31,60,.12); backdrop-filter: blur(14px); }
.template-atelier .booking-card, .template-mono .booking-card { border-radius: 4px; }
.template-velocity .booking-card { border-radius: 12px; }
.gallery-section .public-section-heading, .team-section .public-section-heading { margin-bottom: 36px; }
.public-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery-item { position: relative; grid-column: span 4; grid-row: span 2; margin: 0; overflow: hidden; border-radius: 22px; background: color-mix(in srgb, var(--book-primary) 12%, white); }
.gallery-item:nth-child(6n + 1), .gallery-item:nth-child(6n + 5) { grid-column: span 7; }
.gallery-item:nth-child(6n + 2), .gallery-item:nth-child(6n + 6) { grid-column: span 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.58); font-size: .68rem; backdrop-filter: blur(8px); }
.public-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.public-team-card { min-width: 0; min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--book-text) 10%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--book-surface) 60%, white); }
.public-team-avatar { flex: 0 0 78px; width: 78px; height: 78px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-radius: 50%; color: #fff; background: var(--member-color, var(--book-primary)); font-size: 1.05rem; font-weight: 900; }
.public-team-card h3 { width: 100%; margin: auto 0 6px; padding-top: 28px; overflow-wrap: anywhere; font-size: 1.05rem; }
.public-team-card p { width: 100%; margin: 0; overflow-wrap: anywhere; color: color-mix(in srgb, var(--book-text) 60%, transparent); font-size: .76rem; line-height: 1.55; }
.contact-section { width: min(1160px, calc(100% - 40px)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; padding-inline: clamp(25px, 5vw, 65px); border-radius: 30px; color: #fff; background: var(--book-primary); }
.contact-section h2 { color: #fff; }
.contact-section p { color: rgba(255,255,255,.68); line-height: 1.65; }
.public-social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font-size: .68rem; font-weight: 750; transition: .18s; }
.social-link:hover { color: var(--book-primary); background: #fff; transform: translateY(-2px); }
.social-link > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--book-primary); background: var(--book-accent); font-size: .52rem; font-weight: 900; }
.contact-section .section-kicker { color: var(--book-accent); }
.contact-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: center; }
.contact-details > * { min-height: 105px; display: grid; align-content: center; padding: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); }
.contact-details small, .contact-details span { color: rgba(255,255,255,.62); font-size: .65rem; }
.contact-details strong { margin: 5px 0 2px; font-size: .8rem; }
.public-footer { width: min(1160px, calc(100% - 40px)); min-height: 130px; margin: 45px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid color-mix(in srgb, var(--book-text) 14%, transparent); font-size: .72rem; }
.public-footer span { color: color-mix(in srgb, var(--book-text) 55%, transparent); }
.public-footer a { color: var(--book-primary); font-weight: 800; }
.public-footer-meta { display: grid; justify-items: end; gap: 5px; text-align: right; }
.public-copyright { font-size: .66rem; }
.confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

.booking-manage-page { min-height: 100vh; padding: 28px 18px 70px; color: #191a2f; background: radial-gradient(circle at 10% 5%, #e4e1ff, transparent 30%), radial-gradient(circle at 90% 90%, #dff8f3, transparent 32%), #f5f6fb; }
.booking-manage-header { width: min(760px, 100%); min-height: 64px; margin: 0 auto 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.booking-manage-header > a { color: #5f50e5; font-size: 1rem; font-weight: 900; }
.booking-manage-card { width: min(680px, 100%); margin: auto; padding: clamp(25px, 5vw, 46px); border: 1px solid rgba(255,255,255,.85); border-radius: 25px; background: rgba(255,255,255,.93); box-shadow: 0 28px 85px rgba(35,36,70,.13); }
.booking-manage-card > img { width: auto; max-width: 165px; max-height: 58px; margin-bottom: 24px; }
.booking-manage-card h1 { margin: 11px 0 24px; font-size: clamp(2rem, 6vw, 3.5rem); line-height: .98; letter-spacing: -.06em; }
.booking-manage-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -12px 0 18px; color: #77798c; font-size: .7rem; }
.manage-cancellation-reason { padding: 12px 14px; border-radius: 11px; color: #686a7d; background: #f7f7fa; font-size: .74rem; line-height: 1.55; }
.manage-booking-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 22px; border: 1px solid #e5e6ef; border-radius: 15px; overflow: hidden; background: #e5e6ef; }
.manage-booking-summary > div { min-height: 90px; display: grid; align-content: center; gap: 5px; padding: 15px; background: #fff; }
.manage-booking-summary span { color: #77798c; font-size: .65rem; }
.manage-booking-summary strong { font-size: .8rem; }
.booking-manage-card form { display: grid; gap: 12px; margin: 20px 0 12px; }
.manage-deadline { margin: 0; color: #77798c; font-size: .67rem; }
.booking-manage-card > .btn { margin-top: 10px; }

/* Editorial beauty template */
.template-atelier { font-family: Georgia, "Times New Roman", serif; }
.template-atelier .booking-topbar { border-bottom: 1px solid var(--book-text); }
.template-atelier .public-navigation a, .template-atelier .language-select, .template-atelier .public-book-button { font-family: Arial, sans-serif; letter-spacing: .04em; }
.template-atelier .public-hero { grid-template-columns: .82fr 1.18fr; }
.template-atelier .public-hero h1, .template-atelier .public-section-heading h2, .template-atelier .contact-section h2 { font-weight: 400; letter-spacing: -.045em; }
.template-atelier .public-hero-image, .template-atelier .public-hero-art b, .template-atelier .public-team-card, .template-atelier .gallery-item, .template-atelier .contact-section, .template-atelier .contact-details > * { border-radius: 0; }
.template-atelier .public-hero-art b { background: color-mix(in srgb, var(--book-accent) 38%, white); }
.template-atelier .public-primary-action, .template-atelier .public-secondary-action, .template-atelier .public-book-button { border-radius: 0; }

/* Organic wellness template */
.template-serene .booking-topbar { border: 0; }
.template-serene .public-hero { width: min(1080px, calc(100% - 40px)); text-align: center; grid-template-columns: 1fr; padding-top: 95px; }
.template-serene .public-hero-copy { width: min(820px, 100%); margin: auto; }
.template-serene .public-hero h1 { margin-inline: auto; }
.template-serene .public-hero-copy > p, .template-serene .booking-contact, .template-serene .public-hero-actions { justify-content: center; margin-inline: auto; }
.template-serene .public-hero-image, .template-serene .public-hero-art { width: min(720px, 90%); min-height: 360px; margin: auto; }
.template-serene .public-hero-image { border-radius: 180px 180px 26px 26px; }
.template-serene .public-hero-art b { inset: 5% 13% 0; border-radius: 190px 190px 28px 28px; }
.template-serene .public-section { border-radius: 38px; }
.template-serene .booking-section, .template-serene .about-section, .template-serene .team-section { padding-inline: clamp(25px, 5vw, 58px); background: color-mix(in srgb, var(--book-primary) 6%, white); }

/* Industrial automotive template */
.template-velocity .booking-topbar { width: 100%; padding-inline: max(20px, calc((100% - 1240px) / 2)); color: #fff; border: 0; background: var(--book-primary); }
.template-velocity .booking-brand, .template-velocity .public-navigation a, .template-velocity .public-nav-actions .language-select { color: #fff; }
.template-velocity .public-nav-actions .language-select { border-color: rgba(255,255,255,.3); }
.template-velocity .public-book-button { border-radius: 0; color: var(--book-primary); background: var(--book-accent); }
.template-velocity .public-hero { width: 100%; min-height: 620px; padding-inline: max(20px, calc((100% - 1240px) / 2)); color: #fff; background: var(--book-primary); }
.template-velocity .public-hero h1 { color: #fff; text-transform: uppercase; font-style: italic; transform: skewX(-4deg); }
.template-velocity .public-kicker, .template-velocity .public-hero-copy > p, .template-velocity .booking-contact { color: rgba(255,255,255,.75); }
.template-velocity .public-hero-art b, .template-velocity .public-hero-image { border: 3px solid var(--book-accent); border-radius: 0; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.template-velocity .public-primary-action, .template-velocity .public-secondary-action { border-radius: 0; transform: skewX(-5deg); }
.template-velocity .public-secondary-action { color: #fff; border-color: rgba(255,255,255,.5); }
.template-velocity .public-team-card, .template-velocity .gallery-item, .template-velocity .contact-section, .template-velocity .contact-details > * { border-radius: 4px; }
.template-velocity .public-section-heading h2 { text-transform: uppercase; font-style: italic; }

/* Dynamic activities template */
.template-coast .public-hero::before { content: ""; position: absolute; right: -12%; top: 3%; width: 60%; aspect-ratio: 1; border-radius: 55% 45% 63% 37%; background: var(--book-accent); opacity: .18; }
.template-coast .public-hero-image, .template-coast .public-hero-art b { border-radius: 61% 39% 46% 54%; }
.template-coast .public-hero h1 { transform: rotate(-1.2deg); }
.template-coast .public-team-card:nth-child(even), .template-coast .gallery-item:nth-child(even) { transform: translateY(20px); }

/* Precise professional template */
.template-mono .booking-topbar, .template-mono .public-section, .template-mono .public-footer { border-color: var(--book-text); }
.template-mono .public-book-button, .template-mono .public-primary-action, .template-mono .public-secondary-action, .template-mono .booking-card, .template-mono .public-team-card, .template-mono .gallery-item, .template-mono .contact-section, .template-mono .contact-details > * { border-radius: 0; box-shadow: none; }
.template-mono .public-hero { grid-template-columns: 1.2fr .8fr; border-bottom: 1px solid var(--book-text); }
.template-mono .public-hero-art b { border: 1px solid var(--book-text); border-radius: 0; background: transparent; box-shadow: none; }
.template-mono .public-hero-art i { border-radius: 0; background: var(--book-accent); }
.template-mono .about-section { border-bottom: 1px solid var(--book-text); }

/* Premium · Maison Privée */
.template-maison { font-family: Georgia, "Times New Roman", serif; }
.template-maison .booking-topbar { min-height: 96px; border-bottom: 1px solid color-mix(in srgb, var(--book-text) 42%, transparent); }
.template-maison .public-hero { grid-template-columns: .68fr 1.32fr; min-height: 780px; }
.template-maison .public-hero h1 { max-width: 620px; font-size: clamp(4.2rem, 8vw, 8.7rem); font-weight: 400; line-height: .82; letter-spacing: -.07em; }
.template-maison .public-hero-image { min-height: 650px; border-radius: 0; box-shadow: none; }
.template-maison .public-hero-art b { inset: 0; border-radius: 0; background: linear-gradient(145deg, var(--book-primary), color-mix(in srgb, var(--book-accent) 55%, white)); }
.template-maison .public-primary-action, .template-maison .public-secondary-action, .template-maison .public-book-button, .template-maison .gallery-item, .template-maison .public-team-card, .template-maison .contact-section, .template-maison .contact-details > *, .template-maison .booking-card { border-radius: 0; }
.template-maison .public-section-heading h2, .template-maison .contact-section h2 { font-weight: 400; }
.template-maison .gallery-item:nth-child(odd) { transform: translateY(28px); }

/* Premium · The Sanctuary */
.template-sanctuary { background: radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--book-accent) 24%, transparent), transparent 34%), var(--book-surface); }
.template-sanctuary .booking-topbar { top: 18px; width: min(1160px, calc(100% - 40px)); padding: 0 24px; border: 1px solid color-mix(in srgb, var(--book-primary) 12%, transparent); border-radius: 999px; background: color-mix(in srgb, white 78%, transparent); box-shadow: 0 14px 50px color-mix(in srgb, var(--book-primary) 10%, transparent); }
.template-sanctuary .public-hero { min-height: 760px; grid-template-columns: 1fr; text-align: center; }
.template-sanctuary .public-hero-copy { width: min(920px, 100%); margin: auto; }
.template-sanctuary .public-hero h1 { margin-inline: auto; font-family: Georgia, serif; font-weight: 400; }
.template-sanctuary .public-hero-copy > p, .template-sanctuary .booking-contact, .template-sanctuary .public-hero-actions { justify-content: center; margin-inline: auto; }
.template-sanctuary .public-hero-art, .template-sanctuary .public-hero-image { width: min(780px, 90%); min-height: 330px; margin: 10px auto 0; }
.template-sanctuary .public-hero-image, .template-sanctuary .public-hero-art b { border-radius: 220px 220px 80px 80px; }
.template-sanctuary .public-section { border-radius: 54px; }
.template-sanctuary .booking-section, .template-sanctuary .team-section { padding-inline: clamp(28px, 5vw, 70px); background: color-mix(in srgb, white 70%, transparent); box-shadow: 0 35px 100px color-mix(in srgb, var(--book-primary) 8%, transparent); }

/* Premium · Paddock Black */
.template-paddock { background-color: var(--book-surface); background-image: linear-gradient(color-mix(in srgb, var(--book-text) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--book-text) 5%, transparent) 1px, transparent 1px); background-size: 42px 42px; }
.template-paddock .booking-topbar { width: 100%; padding-inline: max(20px, calc((100% - 1240px) / 2)); color: var(--book-text); border-color: color-mix(in srgb, var(--book-text) 20%, transparent); background: color-mix(in srgb, var(--book-surface) 92%, transparent); }
.template-paddock .booking-brand, .template-paddock .public-navigation a, .template-paddock .public-nav-actions .language-select { color: var(--book-text); }
.template-paddock .public-hero { width: min(1380px, 100%); min-height: 720px; padding-inline: max(20px, calc((100% - 1240px) / 2)); }
.template-paddock .public-hero h1 { color: var(--book-text); font-size: clamp(4rem, 8vw, 8.8rem); text-transform: uppercase; font-style: italic; }
.template-paddock .public-kicker, .template-paddock .public-hero-copy > p, .template-paddock .booking-contact { color: color-mix(in srgb, var(--book-text) 72%, transparent); }
.template-paddock .public-hero-art b, .template-paddock .public-hero-image { border: 1px solid var(--book-accent); border-radius: 2px; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); box-shadow: 20px 20px 0 color-mix(in srgb, var(--book-accent) 22%, transparent); }
.template-paddock .public-primary-action, .template-paddock .public-book-button { color: var(--book-primary); border-radius: 2px; background: var(--book-accent); }
.template-paddock .public-secondary-action { color: var(--book-text); border-radius: 2px; }
.template-paddock .public-section-heading h2 { color: var(--book-text); text-transform: uppercase; font-style: italic; }
.template-paddock .about-copy, .template-paddock .public-section-heading p { color: color-mix(in srgb, var(--book-text) 72%, transparent); }
.template-paddock .public-team-card, .template-paddock .gallery-item, .template-paddock .contact-section, .template-paddock .contact-details > *, .template-paddock .booking-card { border-radius: 2px; }

/* Premium · Aurelia Clinic */
.template-aurelia .booking-topbar { padding-inline: 20px; border: 1px solid color-mix(in srgb, var(--book-primary) 13%, transparent); border-top: 0; background: #fff; }
.template-aurelia .public-hero { min-height: 720px; grid-template-columns: 1.04fr .96fr; }
.template-aurelia .public-hero h1, .template-aurelia .public-section-heading h2, .template-aurelia .contact-section h2 { font-family: Georgia, serif; font-weight: 400; }
.template-aurelia .public-hero-image { min-height: 560px; border-radius: 48% 48% 18px 18px; border: 12px solid #fff; outline: 1px solid color-mix(in srgb, var(--book-primary) 14%, transparent); }
.template-aurelia .public-hero-art b { border: 12px solid #fff; outline: 1px solid color-mix(in srgb, var(--book-primary) 14%, transparent); }
.template-aurelia .about-section { padding-inline: clamp(25px, 5vw, 65px); border: 1px solid color-mix(in srgb, var(--book-primary) 12%, transparent); background: #fff; }
.template-aurelia .booking-card, .template-aurelia .public-team-card { box-shadow: 0 24px 70px color-mix(in srgb, var(--book-primary) 8%, transparent); }

/* Premium · Nocturne Society */
.template-nocturne { background: radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--book-accent) 18%, transparent), transparent 26%), var(--book-surface); }
.template-nocturne .booking-topbar { color: var(--book-text); border-color: color-mix(in srgb, var(--book-text) 18%, transparent); }
.template-nocturne .booking-brand, .template-nocturne .public-navigation a, .template-nocturne .public-nav-actions .language-select { color: var(--book-text); }
.template-nocturne .public-hero { min-height: 800px; grid-template-columns: .9fr 1.1fr; }
.template-nocturne .public-hero h1 { color: var(--book-text); font-family: Georgia, serif; font-size: clamp(4.3rem, 8vw, 8.2rem); font-weight: 400; }
.template-nocturne .public-kicker, .template-nocturne .public-hero-copy > p, .template-nocturne .booking-contact { color: color-mix(in srgb, var(--book-text) 67%, transparent); }
.template-nocturne .public-hero-image, .template-nocturne .public-hero-art b { min-height: 610px; border: 1px solid color-mix(in srgb, var(--book-accent) 55%, transparent); border-radius: 50% 50% 10px 10px; filter: saturate(.72) contrast(1.06); }
.template-nocturne .public-secondary-action { color: var(--book-text); }
.template-nocturne .public-section-heading h2, .template-nocturne .about-copy { color: var(--book-text); }
.template-nocturne .public-team-card { color: var(--book-text); background: color-mix(in srgb, var(--book-text) 6%, transparent); }
.template-nocturne .gallery-item { border: 1px solid color-mix(in srgb, var(--book-accent) 35%, transparent); }

/* Premium · Kinetic House */
.template-kinetic .public-hero { min-height: 740px; overflow: visible; }
.template-kinetic .public-hero::before, .template-kinetic .public-hero::after { content: ""; position: absolute; z-index: 0; border-radius: 38% 62% 62% 38%; background: var(--book-accent); opacity: .16; transform: rotate(22deg); }
.template-kinetic .public-hero::before { width: 38vw; height: 38vw; right: -16vw; top: -8vw; }
.template-kinetic .public-hero::after { width: 19vw; height: 19vw; left: 34%; bottom: -8vw; }
.template-kinetic .public-hero h1 { font-size: clamp(4rem, 8vw, 8.6rem); text-transform: uppercase; transform: rotate(-2deg); }
.template-kinetic .public-hero-image, .template-kinetic .public-hero-art b { border-radius: 34% 66% 32% 68%; transform: rotate(3deg); }
.template-kinetic .public-primary-action { transform: rotate(-2deg); }
.template-kinetic .public-team-card:nth-child(odd), .template-kinetic .gallery-item:nth-child(odd) { transform: rotate(-1.3deg); }
.template-kinetic .public-team-card:nth-child(even), .template-kinetic .gallery-item:nth-child(even) { transform: rotate(1.3deg) translateY(16px); }
.booking-progress { display: flex; gap: 7px; margin-bottom: 27px; }
.booking-progress i { height: 4px; flex: 1; border-radius: 4px; background: #e5e5ec; }
.booking-progress i.done { background: var(--book-accent); }
.booking-step h2 { margin-bottom: 5px; font-size: 1.55rem; letter-spacing: -.045em; }
.booking-step > p { margin-bottom: 23px; color: #77798c; font-size: .83rem; }
.service-options { display: grid; gap: 10px; }
.service-option { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 13px; border: 1px solid #e5e5ed; border-radius: 14px; background: #fff; cursor: pointer; text-align: left; transition: .15s; }
.service-option:hover, .service-option.selected { transform: translateY(-1px); border-color: var(--book-primary); box-shadow: 0 8px 20px rgba(30,31,60,.07); }
.service-option-icon, .service-option-image { width: 76px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: #fff; background: var(--service-color, var(--book-primary)); font-weight: 800; }
.service-option-image img { width: 100%; height: 100%; object-fit: cover; }
.service-option-main { min-width: 0; }
.service-option-main strong, .service-option-main span, .service-option-main small { display: block; }
.service-option-main strong { font-size: .86rem; }
.service-option-main .service-option-description { display: -webkit-box; margin-top: 5px; overflow: hidden; color: #707383; font-size: .7rem; line-height: 1.45; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.service-option-main small { margin-top: 5px; color: #9496a5; font-size: .64rem; }
.service-option-price { font-size: .8rem; font-weight: 800; }
.booking-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 27px; }
.booking-actions .btn-primary { background: var(--book-primary); }
.staff-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 15px 0; }
.staff-option { display: grid; justify-items: center; gap: 7px; padding: 12px 7px; border: 1px solid #e4e4ec; border-radius: 12px; background: #fff; cursor: pointer; text-align: center; font-size: .7rem; }
.staff-option.selected { border-color: var(--book-primary); box-shadow: inset 0 0 0 1px var(--book-primary); }
.staff-option .avatar { width: 37px; height: 37px; border-radius: 50%; background: var(--staff-color, var(--book-primary)); }
.staff-option .staff-any { color: #fff; }
.staff-option .staff-any .icon { width: 18px; height: 18px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 230px; overflow-y: auto; padding: 2px; }
.slot-button { min-height: 50px; display: grid; place-content: center; gap: 2px; border: 1px solid #e1e1ea; border-radius: 10px; background: #fff; cursor: pointer; }
.slot-button strong { font-size: .78rem; }
.slot-button span { color: #858797; font-size: .61rem; font-weight: 650; }
.slot-button:hover span, .slot-button.selected span { color: rgba(255,255,255,.8); }
.slot-button:hover, .slot-button.selected { color: #fff; border-color: var(--book-primary); background: var(--book-primary); }
.slot-groups { max-height: 330px; display: grid; gap: 9px; overflow-y: auto; padding: 2px; }
.slot-group { overflow: hidden; border: 1px solid #e1e1ea; border-radius: 12px; background: #fff; }
.slot-group > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #ececf2; background: #fafafe; }
.slot-group > header strong { color: var(--book-primary); font-size: .8rem; }
.slot-group > header span { color: #858797; font-size: .61rem; font-weight: 700; }
.slot-provider-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #ececf2; }
.slot-provider { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 9px; padding: 10px; border: 0; color: var(--book-text); background: #fff; cursor: pointer; text-align: left; }
.slot-provider > .avatar { width: 34px; height: 34px; border-radius: 50%; }
.slot-provider > span { min-width: 0; }
.slot-provider strong, .slot-provider small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-provider strong { font-size: .7rem; }
.slot-provider small { margin-top: 3px; color: #858797; font-size: .58rem; }
.slot-provider > .icon { width: 16px; height: 16px; color: transparent; }
.slot-provider:hover { background: color-mix(in srgb, var(--book-primary) 6%, white); }
.slot-provider.selected { color: #fff; background: var(--book-primary); }
.slot-provider.selected small { color: rgba(255,255,255,.78); }
.slot-provider.selected > .icon { color: #fff; }
.waitlist-offer { display: grid; justify-items: start; gap: 9px; padding: 16px; border: 1px dashed color-mix(in srgb, var(--book-primary) 35%, #dfe0e9); border-radius: 12px; background: color-mix(in srgb, var(--book-primary) 4%, white); }
.waitlist-offer p { margin: 0; }
.waitlist-offer small { max-width: 560px; color: #77798c; font-size: .64rem; line-height: 1.5; }
.availability-help { margin: 0 0 16px; line-height: 1.55; }
.availability-grid { display: grid; gap: 8px; }
.availability-row { display: grid; grid-template-columns: minmax(145px, 1.1fr) minmax(105px, .75fr) minmax(105px, .75fr) minmax(155px, 1.2fr); gap: 10px; align-items: end; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fafafe; }
.availability-day { min-height: 44px; display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 750; text-transform: capitalize; }
.availability-day input { width: 18px; height: 18px; accent-color: var(--primary); }
.availability-page { display: grid; gap: 17px; }
.availability-panel { overflow: hidden; }
.availability-panel-head { align-items: end; }
.schedule-scope { width: min(330px, 100%); }
.weekly-schedule { display: grid; gap: 9px; }
.schedule-day { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 15px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fafafe; }
.schedule-day > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; align-self: start; min-height: 40px; }
.schedule-day > header > span { color: var(--muted); font-size: .63rem; font-weight: 750; }
.schedule-day-toggle { display: flex; align-items: center; gap: 9px; text-transform: capitalize; cursor: pointer; }
.schedule-day-toggle input { width: 18px; height: 18px; accent-color: var(--primary); }
.schedule-day-toggle strong { font-size: .78rem; }
.schedule-day-ranges { display: grid; gap: 7px; }
.schedule-range { display: grid; grid-template-columns: minmax(95px, .8fr) minmax(95px, .8fr) minmax(140px, 1.25fr) 34px; gap: 7px; align-items: end; }
.schedule-day:not(:has(.schedule-location)) .schedule-range { grid-template-columns: minmax(95px, 1fr) minmax(95px, 1fr) 34px; }
.schedule-remove { width: 34px; height: 40px; color: var(--muted); }
.schedule-add { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; font-size: .65rem; }
.schedule-add .icon { width: 13px; height: 13px; }
.schedule-add:disabled { opacity: .35; cursor: default; }
.availability-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.availability-team-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 14px; }
.availability-team-card > div strong, .availability-team-card > div span { display: block; }
.availability-team-card > div strong { font-size: .78rem; }
.availability-team-card > div span { margin-top: 3px; color: var(--muted); font-size: .64rem; }
.closures-layout { display: grid; grid-template-columns: minmax(250px, .38fr) minmax(360px, .62fr); gap: 20px; align-items: start; }
.closure-form { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fafafe; }
.closure-list { display: grid; gap: 8px; }
.closure-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.closure-row .feature-icon { width: 37px; height: 37px; margin: 0; }
.closure-row > div strong, .closure-row > div span { display: block; }
.closure-row > div strong { font-size: .75rem; }
.closure-row > div span { margin-top: 4px; color: var(--muted); font-size: .63rem; }
.empty-inline { min-height: 125px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; font-size: .7rem; }
.empty-inline .icon { width: 22px; height: 22px; }
.field-compact { gap: 4px; }
.field-compact > span { font-size: .68rem; }
.field-compact input, .field-compact select { min-height: 40px; padding-block: 7px; }
.booking-summary { display: grid; gap: 12px; margin: 20px 0; padding: 16px; border-radius: 13px; background: #f8f8fb; }
.payment-method-options { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; }
.payment-method-options legend { margin-bottom: 7px; font-size: .72rem; font-weight: 750; }
.payment-method-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 12px 13px; border: 1px solid #e2e2eb; border-radius: 12px; background: #fff; cursor: pointer; transition: .15s; }
.payment-method-option:has(input:checked) { border-color: var(--book-primary); box-shadow: inset 0 0 0 1px var(--book-primary); }
.payment-method-option input { accent-color: var(--book-primary); }
.payment-method-option span { display: grid; gap: 3px; }
.payment-method-option strong { font-size: .76rem; }
.payment-method-option small { color: #27816e; font-size: .61rem; }
.payment-method-option > b { font-size: .75rem; }
.booking-policy-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 16px; padding: 13px 14px; border: 1px solid #e2dfff; border-radius: 12px; color: #4b4478; background: #f7f5ff; font-size: .7rem; line-height: 1.55; white-space: pre-wrap; }
.booking-policy-note .icon { width: 17px; height: 17px; color: var(--book-primary); }
.booking-terms { display: grid; gap: 10px; padding: 13px 14px; border: 1px solid #e5e5ed; border-radius: 12px; background: #fafafe; }
.booking-terms summary { cursor: pointer; font-size: .72rem; font-weight: 800; }
.booking-terms details p, .booking-terms > p { margin: 10px 0; color: #686a7d; font-size: .68rem; line-height: 1.65; white-space: pre-wrap; }
.booking-terms a { display: inline-flex; align-items: center; gap: 5px; color: var(--book-primary); font-size: .68rem; font-weight: 750; }
.booking-terms a .icon { width: 13px; height: 13px; }
.invoice-details-request { display: grid; gap: 11px; padding: 13px 14px; border: 1px solid #e4e4ec; border-radius: 12px; background: #fff; }
.invoice-customer-fields { padding-top: 12px; border-top: 1px solid #ececf2; }
.invoice-customer-fields[hidden] { display: none; }
.confirmation-price { min-width: 210px; display: flex; justify-content: space-between; gap: 20px; margin: 0 0 13px; padding: 11px 14px; border-radius: 10px; background: #f7f7fa; font-size: .76rem; }
.confirmation-price span { color: #77798c; }
.summary-row { display: flex; justify-content: space-between; gap: 15px; font-size: .77rem; }
.summary-row span { color: #77798c; }
.summary-row.total { padding-top: 12px; border-top: 1px solid #e5e5eb; font-size: .9rem; font-weight: 800; }
.confirmation { min-height: 470px; display: grid; place-content: center; justify-items: center; text-align: center; }
.confirmation-icon { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--book-accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--book-accent) 30%, transparent); }
.confirmation-icon.pending { color: #865b14; background: #ffe3a9; box-shadow: 0 12px 30px rgba(185,124,25,.18); }
.confirmation h2 { margin-bottom: 10px; font-size: 2rem; }
.confirmation p { max-width: 380px; color: #77798c; line-height: 1.6; }
.reference-box { margin: 14px 0 20px; padding: 10px 15px; border: 1px dashed #cbccd7; border-radius: 10px; font-family: ui-monospace, monospace; font-size: .84rem; }
.payment-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bank-instructions { max-width: 430px; margin-top: 16px; padding: 14px; border-radius: 11px; background: #f2f7f6; text-align: left; font-size: .76rem; line-height: 1.7; }
.public-terms-section { width: min(1160px, calc(100% - 40px)); margin: 28px auto 0; padding: 22px 25px; border: 1px solid color-mix(in srgb, var(--book-text) 13%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--book-surface) 86%, white); }
.public-terms-section summary { cursor: pointer; color: var(--book-text); font-weight: 800; }
.public-terms-section p { margin: 14px 0; color: color-mix(in srgb, var(--book-text) 65%, transparent); font-size: .75rem; line-height: 1.7; white-space: pre-wrap; }
.public-terms-section a { color: var(--book-primary); font-size: .72rem; font-weight: 800; }
.manage-terms { margin: 14px 0; }
.manage-invoice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; align-items: center; margin: 16px 0; padding: 15px; border: 1px solid #dceee9; border-radius: 13px; background: #f3fbf8; }
.manage-invoice > span, .manage-invoice > strong, .manage-invoice > small { display: block; grid-column: 1; }
.manage-invoice > span, .manage-invoice > small { color: #64766f; font-size: .62rem; }
.manage-invoice > strong { font-size: .86rem; }
.manage-invoice > .btn { grid-column: 2; grid-row: 1 / span 3; }
.customer-invoice-sheet { display: none; }
.auth-terms { display: grid; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafe; }
.auth-terms summary { cursor: pointer; font-size: .71rem; font-weight: 800; }
.auth-terms details p { max-height: 160px; margin: 10px 0; overflow-y: auto; color: var(--muted); font-size: .65rem; line-height: 1.6; white-space: pre-wrap; }
.auth-terms details a { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-size: .66rem; font-weight: 750; }
.auth-terms details a .icon { width: 13px; height: 13px; }

@media print {
  body.invoice-print-mode { background: #fff !important; }
  body.invoice-print-mode * { visibility: hidden !important; }
  body.invoice-print-mode .invoice-sheet, body.invoice-print-mode .invoice-sheet * { visibility: visible !important; }
  body.invoice-print-mode .invoice-sheet { position: absolute; inset: 0; width: 100%; display: grid; padding: 24px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }
@keyframes announcement-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  .public-announcement-ticker > div { width: 100%; animation: none; }
  .public-announcement-ticker span { min-width: 100%; }
  .public-announcement-ticker span[aria-hidden="true"] { display: none; }
  .public-announcement-floating { animation: none; }
}

@media (max-width: 1100px) {
  :root { --sidebar: 220px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
  .payment-grid { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
  .website-layout { grid-template-columns: 1fr; }
  .website-preview-shell { position: relative; top: 0; }
  .hero { gap: 35px; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .product-window { width: min(580px, 100%); margin: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; transform: translateX(-105%); width: 252px; box-shadow: var(--shadow-lg); transition: transform .2s; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .mobile-menu { display: inline-grid; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .performance-body { grid-template-columns: 1fr; }
  .public-navigation { display: none; }
  .public-hero, .template-atelier .public-hero, .template-mono .public-hero,
  .template-maison .public-hero, .template-sanctuary .public-hero, .template-paddock .public-hero,
  .template-aurelia .public-hero, .template-nocturne .public-hero, .template-kinetic .public-hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 65px; }
  .template-velocity .public-hero { padding-inline: 26px; }
  .public-hero-image, .public-hero-art { width: min(620px, 100%); min-height: 380px; margin-inline: auto; }
  .booking-section, .about-section, .contact-section { grid-template-columns: 1fr; }
  .about-marker { display: none; }
  .public-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-section { grid-template-columns: 1fr; gap: 15px; }
  .settings-section .mini-row { flex-wrap: wrap; }
  .settings-section .mini-row > .btn { width: 100%; }
  .platform-organizations .panel-head { align-items: stretch; flex-direction: column; }
  .platform-settings-grid { grid-template-columns: 1fr; }
  .localized-content-panel, .shared-website-fields { grid-template-columns: 1fr; }
  .billing-plan-settings { grid-template-columns: 1fr; }
  .platform-filters { width: 100%; }
  .platform-filters .toolbar-search { max-width: none; }
  .availability-row { grid-template-columns: 1fr 1fr 1fr; }
  .availability-day { grid-column: 1 / -1; }
  .availability-panel-head { align-items: stretch; flex-direction: column; }
  .schedule-scope { width: 100%; }
  .availability-team-grid, .closures-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .landing-nav { width: calc(100% - 28px); }
  .landing-nav .btn-secondary { display: none; }
  .hero { width: calc(100% - 28px); margin-top: 0; min-height: auto; }
  .hero h1 { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; }
  .window-canvas { grid-template-columns: 75px 1fr; }
  .window-metrics { grid-template-columns: 1fr 1fr; }
  .window-card:last-child { display: none; }
  .features-section { width: calc(100% - 28px); }
  .landing-footer { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; justify-content: center; padding: 32px 0; }
  .auth-panel { padding: 100px 24px 35px; }
  .auth-brand { left: 24px; }
  .topbar { padding-inline: 14px; }
  .topbar-business span, .topbar .btn span, .topbar .language-select { display: none; }
  .platform-badge { display: none; }
  .impersonation-banner { align-items: flex-start; flex-direction: column; }
  .impersonation-banner .btn { width: 100%; }
  .content { padding-inline: 14px; }
  .calendar-toolbar { grid-template-columns: 1fr auto; }
  .calendar-toolbar > strong { grid-column: 1 / -1; grid-row: 1; }
  .calendar-navigation { grid-column: 1; grid-row: 2; }
  .calendar-view-toggle { grid-column: 2; grid-row: 2; }
  .page-head { align-items: stretch; flex-direction: column; }
  .page-actions .btn { flex: 1; }
  .performance-head { align-items: stretch; flex-direction: column; }
  .report-actions { justify-content: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { min-height: 125px; padding: 15px; }
  .metric-card strong { font-size: 1.35rem; }
  .booking-row { grid-template-columns: 48px 1fr auto; padding-inline: 13px; }
  .booking-row > :nth-child(3) { display: none; }
  .card-grid, .payment-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .invoice-sheet > header, .invoice-meta { grid-template-columns: 1fr; }
  .invoice-sheet > header > div:last-child { justify-items: start; text-align: left; }
  .manage-invoice { grid-template-columns: 1fr; }
  .manage-invoice > .btn { grid-column: 1; grid-row: auto; margin-top: 7px; }
  .field-full { grid-column: auto; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .template-grid { grid-template-columns: 1fr; }
  .palette-options, .color-grid { grid-template-columns: 1fr 1fr; }
  .asset-input-row { grid-template-columns: 1fr; }
  .staff-photo-editor > div { grid-template-columns: 1fr; }
  .service-image-editor-row { grid-template-columns: 1fr; }
  .service-image-preview { width: 100%; height: 150px; }
  .asset-help-row { align-items: flex-start; flex-direction: column; }
  .asset-help-row small { max-width: none; }
  .builder-block { padding: 22px 16px; }
  .website-preview { min-height: 430px; padding: 25px 18px; }
  .preview-hero { margin: 55px auto 35px; }
  .preview-hero h2 { font-size: 1.6rem; }
  .booking-topbar { width: calc(100% - 24px); min-height: 70px; }
  .booking-brand { max-width: 150px; }
  .public-nav-actions .language-select { width: 112px; min-height: 39px; }
  .public-book-button { display: none; }
  .service-option { grid-template-columns: 62px minmax(0, 1fr); }
  .service-option-icon, .service-option-image { width: 62px; height: 58px; }
  .service-option-price { grid-column: 2; }
  .public-hero, .template-serene .public-hero, .template-maison .public-hero,
  .template-sanctuary .public-hero, .template-aurelia .public-hero,
  .template-nocturne .public-hero, .template-kinetic .public-hero { width: calc(100% - 28px); padding-block: 45px 58px; }
  .template-paddock .public-hero { width: 100%; padding: 45px 18px 58px; }
  .template-velocity .public-hero { width: 100%; padding-inline: 14px; }
  .public-hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .public-hero-image, .public-hero-art, .template-serene .public-hero-image, .template-serene .public-hero-art,
  .template-maison .public-hero-image, .template-sanctuary .public-hero-image,
  .template-nocturne .public-hero-image, .template-nocturne .public-hero-art { width: 100%; min-height: 300px; }
  .template-sanctuary .booking-topbar { top: 8px; width: calc(100% - 18px); padding-inline: 14px; }
  .template-maison .public-hero h1, .template-paddock .public-hero h1,
  .template-nocturne .public-hero h1, .template-kinetic .public-hero h1 { font-size: clamp(2.8rem, 15vw, 4.7rem); }
  .template-maison .gallery-item:nth-child(odd), .template-kinetic .gallery-item:nth-child(n),
  .template-kinetic .public-team-card:nth-child(n) { transform: none; }
  .public-section, .contact-section { width: calc(100% - 28px); padding-block: 65px; }
  .booking-section, .about-section, .contact-section { gap: 26px; }
  .public-section-heading h2, .contact-section h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .public-gallery { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .public-gallery .gallery-item { grid-column: 1 / -1; grid-row: auto; }
  .public-team-grid, .contact-details { grid-template-columns: 1fr; }
  .public-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 28px; }
  .public-footer-meta { justify-items: start; text-align: left; }
  .booking-card { min-height: 520px; padding: 20px 15px; border-radius: 18px; }
  .staff-options, .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-provider-list { grid-template-columns: 1fr; }
  .public-announcement-banner { width: calc(100% - 24px); margin-top: 10px; }
  .public-floating-announcements { right: 14px; bottom: 14px; }
  .availability-row { grid-template-columns: 1fr 1fr; }
  .availability-row .field:last-child { grid-column: 1 / -1; }
  .schedule-day { grid-template-columns: 1fr; }
  .schedule-day-ranges, .schedule-add { grid-column: 1; }
  .schedule-range, .schedule-day:not(:has(.schedule-location)) .schedule-range { grid-template-columns: 1fr 1fr 34px; }
  .schedule-location { grid-column: 1 / -2; }
  .availability-team-grid { grid-template-columns: 1fr; }
  .availability-team-card { grid-template-columns: auto minmax(0, 1fr); }
  .availability-team-card .btn { grid-column: 1 / -1; width: 100%; }
  .closure-form { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 9px; align-items: end; }
  .modal { max-height: calc(100vh - 18px); border-radius: 20px 20px 10px 10px; }
  .platform-filters { align-items: stretch; flex-direction: column; }
  .platform-filters .toolbar-search { min-width: 0; }
  .detail-stat-grid, .platform-detail-grid { grid-template-columns: 1fr 1fr; }
  .platform-admin-actions { flex-direction: column-reverse; }
  .platform-admin-actions .btn { width: 100%; }
  .subscription-hero { align-items: flex-start; flex-direction: column; }
  .subscription-current { min-width: 0; justify-items: start; text-align: left; }
  .usage-strip { grid-template-columns: 1fr 1fr; }
  .platform-billing-summary { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .platform-subscription-form, .admin-subscription-form { grid-template-columns: 1fr; }
  .message-detail-grid { grid-template-columns: 1fr; }
  .message-detail-grid .message-detail-reason { grid-column: auto; }
  .notification-preferences, .manage-booking-summary { grid-template-columns: 1fr; }
}
