/* Nails Era - Minimal muted UI */

:root {
    --primary: #374151;
    --primary-dark: #1f2937;
    --accent: #9ca3af;
    --bg: #f9fafb;
    --surface: #ffffff;
    --text: #374151;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 12px;
    --bottom-nav-h: 64px;
}

* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { width: 0; height: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: hidden; }

body.app-body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Legacy full-page site animation — disabled; live anim is hero overlay only */
.site-bg-anim {
    display: none !important;
    pointer-events: none;
}
body.has-site-bg-anim .app-shell {
    position: relative;
    z-index: 1;
}
.site-bg-balls { position: absolute; inset: 0; }
.site-bg-balls .fb-ball {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: multiply;
    opacity: 0.9;
}
.site-bg-grain:not([hidden]) {
    display: block;
    position: absolute; inset: 0; z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
}

/* Surfaces inside welcome / auth / modal backgrounds */
.site-bg-surface {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.site-bg-surface.is-active { display: block; }
.site-bg-surface-balls { position: absolute; inset: 0; }
.site-bg-surface-balls .fb-ball {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: screen;
    opacity: 0.95;
}
.site-bg-surface-grain:not([hidden]) {
    display: block;
    position: absolute; inset: 0; z-index: 1;
    opacity: 0.06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    mix-blend-mode: overlay;
}
.auth-welcome-fs-bg.has-bg-anim .auth-welcome-orb,
.auth-welcome-fs-bg.has-bg-anim .auth-welcome-spark,
.auth-welcome-fs-bg.has-bg-anim .auth-welcome-ring {
    opacity: 0 !important;
    animation: none !important;
}
.auth-welcome-fs-bg.has-bg-anim .auth-wave-pattern { opacity: 0.12; }
.auth-wave-hero.has-bg-anim .auth-wave-pattern { opacity: 0.14; }
.auth-welcome-fs-stage,
.auth-wave-brand,
.auth-wave-curve {
    position: relative;
    z-index: 2;
}
.auth-wave-hero .auth-wave-brand { z-index: 2; }
.app-modal-overlay .site-bg-surface.is-modal-surface { opacity: 0.55; }
.offers-popup-overlay .site-bg-surface.is-modal-surface { opacity: 0.9; }

@media (prefers-reduced-motion: reduce) {
    .hero-overlay .site-bg-surface.is-hero-surface.is-active,
    .site-bg-surface.is-active { opacity: 0.55; }
}

h1, h2, h3, .navbar-brand, .section-head h2 { font-family: var(--font-display); }

/* Buttons - muted */
.btn-dark { background: var(--primary); border-color: var(--primary); }
.btn-dark:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-dark { color: var(--primary); border-color: var(--border); }
.btn-outline-dark:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.section-alt { background: #f3f4f6; }

/* Icon buttons on mobile - hide text */
@media (max-width: 991px) {
    .btn-mobile-icon .btn-text { display: none; }
    .btn-mobile-icon { padding: 10px 14px; }
}

.app-icon-btn {
    background: transparent; border: none; color: inherit;
    width: 40px; height: 40px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; cursor: pointer;
    pointer-events: auto;
    text-decoration: none !important;
    box-shadow: none;
}
.app-icon-btn i { pointer-events: none; }
.app-icon-btn:hover { background: rgba(0,0,0,0.05); }
.app-icon-btn:focus,
.app-icon-btn:focus-visible {
    outline: 2px solid rgba(17, 24, 39, 0.25);
    outline-offset: 2px;
    text-decoration: none !important;
}
.site-navbar .app-icon-btn.btn-link {
    text-decoration: none !important;
    box-shadow: none;
}

/* Loading */
.loading-screen {
    position: fixed; inset: 0; z-index: 12000;
    background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.45s, visibility 0.45s;
    overflow: hidden;
}
.loading-screen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-screen.is-branded-splash {
    background: var(--bg);
    pointer-events: auto;
}
.loading-screen .site-bg-surface.is-loading-surface {
    opacity: 1 !important; /* independent from gradient overlay slider */
    z-index: 0;
}
.loading-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(165deg,
            rgba(55, 65, 81, 0.28) 0%,
            rgba(156, 163, 175, 0.12) 32%,
            rgba(249, 250, 251, 0.35) 58%,
            rgba(31, 41, 55, 0.3) 100%),
        radial-gradient(ellipse 90% 70% at 50% 18%,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 72%);
    transition: background 0.45s ease, opacity 0.2s ease;
}
/* Default; JS sets opacity from Admin → Splash loading (gradient only) */
.loading-screen.is-branded-splash .loading-gradient-overlay {
    opacity: var(--loading-overlay-opacity, 0.55);
}
.loading-screen-boot .loading-gradient-overlay {
    opacity: 0 !important;
}
.loading-screen .loading-center-wrap {
    position: relative;
    z-index: 2;
}
/* Hide site chrome while branded splash covers the page */
body.loading-splash-open .chat-fab,
body.loading-splash-open .offers-fab,
body.loading-splash-open #offersFab {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.loading-logo { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; min-height: 64px; display: flex; align-items: center; justify-content: center; }
.loading-logo-img { max-width: 120px; max-height: 80px; object-fit: contain; }
.loading-emoji { font-size: 2.75rem; line-height: 1; display: inline-block; }
.loading-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--primary-dark); }
.loading-subtitle { color: var(--text-muted); font-size: 0.9rem; }
.loading-content { position: relative; z-index: 2; transition: opacity 0.35s, transform 0.35s; }
.loading-content.anim-pulse .loading-logo,
.loading-content.anim-pulse .loading-emoji {
    animation: loadingPulse 1.2s ease-in-out infinite;
}
.loading-content.anim-spinner .loading-logo::after {
    content: '';
    position: absolute;
    width: 72px; height: 72px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loadingSpin 0.9s linear infinite;
}
.loading-content.anim-spinner .loading-logo { position: relative; }
.loading-content.anim-fade .loading-logo,
.loading-content.anim-fade .loading-title,
.loading-content.anim-fade .loading-subtitle {
    animation: loadingFade 1.4s ease-in-out infinite;
}
.loading-bar-bottom {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: color-mix(in srgb, var(--border) 80%, transparent);
    z-index: 3;
}
.loading-bar-bottom .loading-bar-fill {
    height: 100%; background: var(--primary);
    animation: loadBar 2.5s ease forwards; width: 0;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }
@keyframes loadingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes loadingSpin { to { transform: rotate(360deg); } }
@keyframes loadingFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Loading auth */
.loading-auth {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px 16px 48px; z-index: 2; animation: fadeInUp 0.4s ease;
}
.loading-auth-card {
    width: min(340px, 100%); background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.1); text-align: center;
}
.loading-auth-avatar {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
    background: #f3f4f6; display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: var(--primary); font-size: 1.5rem;
}
.loading-auth-avatar img { width: 100%; height: 100%; object-fit: cover; }
.loading-auth-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; color: var(--primary-dark); }
.loading-auth-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.loading-auth-tabs { display: flex; gap: 4px; margin-bottom: 14px; background: #f3f4f6; border-radius: 10px; padding: 4px; }
.loading-auth-tab {
    flex: 1; border: none; background: transparent; padding: 8px 4px; font-size: 0.75rem;
    border-radius: 8px; cursor: pointer; color: var(--text-muted); font-weight: 500;
}
.loading-auth-tab.active { background: var(--surface); color: var(--primary-dark); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.loading-auth-form { text-align: left; }
.loading-auth-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.loading-auth-error { font-size: 0.75rem; color: #b91c1c; margin-top: 10px; margin-bottom: 0; text-align: center; }
.loading-content.fade-out { opacity: 0; transform: scale(0.98); transition: 0.35s; pointer-events: none; }

.app-profile-btn {
    border: none; background: transparent; padding: 0; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.app-header-actions .app-profile-btn,
.site-navbar .app-profile-btn { border: 1px solid var(--border); }
.header-auth-btn { white-space: nowrap; font-size: 0.75rem; padding: 4px 10px; }
.header-profile-img { width: 100%; height: 100%; object-fit: cover; }
.header-profile-initial {
    width: 34px; height: 34px; border-radius: 50%; background: var(--primary-dark); color: #fff;
    font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
}

/* Welcome toast - minimal bottom */
.welcome-toast {
    position: fixed; bottom: calc(var(--bottom-nav-h) + 12px + env(safe-area-inset-bottom)); left: 50%;
    transform: translateX(-50%); z-index: 800;
    background: rgba(55, 65, 81, 0.92); color: #fff;
    border-radius: 50px; padding: 8px 16px;
    font-size: 0.8rem; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    animation: slideUp 0.35s ease;
    max-width: 90vw;
}
.welcome-toast.hide { opacity: 0; transform: translateX(-50%) translateY(8px); transition: 0.35s; }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* App shell */
.app-shell { opacity: 0; transition: opacity 0.4s; padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
.app-shell.ready { opacity: 1; }

/* Header */
.app-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top));
}
.app-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.app-header-left { display: flex; align-items: center; gap: 10px; }
.app-logo-wrap { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; }
.app-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.app-header-title { font-weight: 600; font-size: 0.95rem; line-height: 1.2; color: var(--primary-dark); }
.app-header-sub { font-size: 0.7rem; color: var(--text-muted); }

.site-navbar { background: var(--surface) !important; border-bottom: 1px solid var(--border); box-shadow: none !important; }
@media (min-width: 992px) {
    .site-navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        width: 100%;
    }
    .top-bar.d-none.d-lg-block {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1031;
    }
    body.has-top-bar .site-navbar { top: 28px; }
    body.has-site-status .top-bar.d-none.d-lg-block { top: 36px; }
    body.has-site-status .site-navbar { top: 36px; }
    body.has-site-status.has-top-bar .site-navbar { top: 64px; }
    /* Offset content under fixed desktop nav (+ optional top bar / status) */
    .app-shell { padding-top: 64px; }
    body.has-top-bar .app-shell { padding-top: 92px; }
    body.has-site-status .app-shell { padding-top: 100px; }
    body.has-site-status.has-top-bar .app-shell { padding-top: 128px; }
}
.nav-logo { height: 32px; width: auto; }
.brand-fa { color: var(--primary); font-size: 1.1rem; }
.top-bar { background: var(--primary-dark); color: #fff; text-align: center; padding: 6px 16px; font-size: 0.8rem; }

/* Hero — full-bleed background */
.hero-section {
    position: relative;
    min-height: calc(100svh - 56px);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: #1a1f2a;
}
.hero-bg-image {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: #1a1f2a;
}
.hero-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0.5) 45%, rgba(15,23,42,0.72) 100%);
}
/* Selected live animation — clipped overlay inside hero only */
.hero-section.has-hero-bg-anim .hero-overlay,
.hero-overlay.has-bg-anim {
    isolation: isolate;
}
.hero-overlay .site-bg-surface.is-hero-surface {
    opacity: 0;
    z-index: 0;
    transition: opacity 0.35s ease;
}
.hero-overlay .site-bg-surface.is-hero-surface.is-active {
    opacity: 0.9;
}
.hero-overlay .site-bg-surface.is-hero-surface .site-bg-surface-balls .fb-ball {
    mix-blend-mode: screen;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 72px 24px 64px;
    max-width: 720px;
}
.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 5.75rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 14px;
    text-shadow: 0 2px 28px rgba(0,0,0,0.25);
}
.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 3.2vw, 1.5rem);
    color: rgba(255,255,255,0.88);
    margin: 0 0 32px;
    line-height: 1.35;
}
.hero-btns { display: flex; justify-content: center; }
.hero-cta {
    border: none;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover {
    background: #f9fafb;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.hero-badge { display: none; }
.tagline { font-family: var(--font-display); font-style: italic; color: var(--text-muted); font-size: 1.15rem; }
.hero-desc { max-width: 480px; margin: 0 auto; color: var(--text-muted); font-size: 0.95rem; }

/* Service cards */
.service-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; height: 100%; transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-card.featured { border-color: var(--primary); }
.service-thumb { width: 100%; height: 120px; object-fit: cover; }
.service-thumb.placeholder { background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; }
.service-body { padding: 12px; }
.service-price { font-weight: 600; color: var(--primary-dark); font-size: 0.95rem; }
.service-price-label { display: block; font-size: 0.65rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.category-title { font-size: 1.25rem; color: var(--primary-dark); }
.category-title i { color: var(--text-muted); margin-right: 8px; }

/* Gallery */
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; position: relative; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff; font-size: 0.8rem; }

.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-head h2 { font-size: 1.5rem; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px; background: #f9fafb; border-radius: 10px; border: 1px solid var(--border); }
.contact-item i { color: var(--text-muted); margin-top: 2px; width: 16px; text-align: center; }
.contact-item small { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item strong { font-size: 0.82rem; word-break: break-all; }

/* Bottom nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--border);
    display: flex; justify-content: space-around; align-items: center;
    overflow: visible;
}
.bottom-nav-item,
.bottom-nav-more-btn,
.bottom-nav button {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    text-decoration: none; color: var(--text-muted); font-size: 0.6rem;
    padding: 8px 4px; flex: 1; max-width: 72px; min-height: 50px;
    justify-content: center; border-radius: 8px;
    border: none !important; background: transparent; cursor: pointer;
    position: relative;
    box-shadow: none;
}
.bottom-nav-item:focus,
.bottom-nav-item:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.bottom-nav-item .nav-icon { font-size: 1.15rem; pointer-events: none; }
.bottom-nav-item .nav-label { pointer-events: none; }
.bottom-nav-item.active { color: var(--primary-dark); font-weight: 600; }
.bottom-nav-more {
    max-width: 72px;
    position: relative;
    overflow: visible;
    z-index: 2;
}
.bottom-nav-more-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    border: none; background: transparent; color: inherit; font-size: inherit;
    padding: 0; width: 100%; cursor: pointer;
}
.bottom-nav-more.is-open .bottom-nav-more-btn {
    color: var(--primary-dark);
    font-weight: 600;
}
.bottom-nav-more.is-open .bottom-nav-more-btn .nav-icon {
    transform: rotate(90deg);
}
.bottom-nav-more-btn .nav-icon {
    transition: transform 0.2s ease;
}
.bottom-more-fabs {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(50%);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    z-index: 1085;
    pointer-events: none;
}
.bottom-more-fabs:not([hidden]) {
    pointer-events: auto;
}
.bottom-more-fab {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none !important;
    cursor: pointer;
    background: var(--primary-dark, #1f2937);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px) scale(0.85);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-more.is-open .bottom-more-fab {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.bottom-nav-more.is-open .bottom-more-fab:nth-child(1) { transition-delay: 0.02s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(2) { transition-delay: 0.05s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(3) { transition-delay: 0.08s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(4) { transition-delay: 0.11s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(5) { transition-delay: 0.14s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(6) { transition-delay: 0.17s; }
.bottom-nav-more.is-open .bottom-more-fab:nth-child(7) { transition-delay: 0.2s; }
.bottom-more-fab:hover,
.bottom-more-fab:focus-visible {
    background: #111827;
    color: #fff;
    outline: none;
}
.bottom-more-fab:active { transform: scale(0.96); }
.bottom-more-fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: none;
}
.bottom-more-fab-label {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}
.bottom-more-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: default;
}
/* Keep More speed-dial above chat/offers FABs while open */
.bottom-nav.more-open {
    z-index: 1080;
}
body.bottom-more-open .chat-fab,
body.bottom-more-open .offers-fab {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.dropdown-menu-center {
    --bs-dropdown-min-width: 180px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
}
.bottom-notif-badge {
    top: 4px; right: 12px;
}

/* Floating chat — bottom-right corner */
.chat-fab {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 950;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
    border: none;
    background: var(--primary-dark);
    color: #fff;
    font-size: 1.25rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    cursor: pointer;
}
.chat-fab--br {
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
}
.chat-fab--bl {
    left: max(16px, env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
}
.chat-fab:active { transform: scale(0.96); }
.chat-fab-badge {
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    font-size: 0.6rem;
}
@media (min-width: 992px) {
    .chat-fab {
        bottom: max(24px, env(safe-area-inset-bottom, 0px)) !important;
        right: max(24px, env(safe-area-inset-right, 0px)) !important;
    }
}

.bottom-nav-book .bottom-book-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: -18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}
.bottom-nav-book .nav-label { margin-top: 2px; font-weight: 600; color: var(--primary-dark); }

/* Contact modal — compact & centered on desktop, near-full on mobile */
.contact-overlay {
    position: fixed; inset: 0; z-index: 10450;
    background: rgba(15, 23, 42, 0.55);
}
.contact-modal {
    position: fixed;
    z-index: 10460;
    inset: 12px;
    inset: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    display: flex;
    align-items: stretch;
    justify-content: center;
    pointer-events: none;
}
.contact-modal:not([hidden]) { pointer-events: auto; }
.contact-modal-panel {
    background: var(--bg, #faf8f6);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
@media (min-width: 992px) {
    .contact-modal {
        inset: 0;
        align-items: center;
        justify-content: center;
        padding: 32px 24px;
    }
    .contact-modal-panel {
        width: min(520px, calc(100vw - 48px));
        height: auto;
        max-height: min(86vh, 720px);
    }
}
.contact-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}
.contact-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-modal-body {
    overflow-y: auto;
    padding: 14px 16px 24px;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.studio-hours-highlight {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9a3412;
}
.booking-highlight-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 10px 12px;
}
.booking-highlight-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #166534;
    margin-bottom: 6px;
}
.appt-duration-highlight {
    background: #ecfeff;
    border: 1px solid #67e8f9;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #155e75;
}
.appt-duration-highlight.is-empty {
    background: #f9fafb;
    border-color: var(--border);
    color: var(--text-muted);
    font-weight: 500;
}
.account-menu { min-width: 220px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(15,23,42,0.12); padding: 0.35rem 0; overflow: hidden; }
.account-menu-rich .account-menu-head { background: linear-gradient(135deg, #f8fafc, #eef2ff); }
.account-menu .dropdown-item { font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 0; }
.account-menu .dropdown-item:active { background: #111827; }
.account-menu .dropdown-item.text-danger:active { background: #b91c1c; color: #fff !important; }
.app-header .dropdown,
.site-navbar .dropdown { position: relative; }
.app-header .dropdown-menu,
.site-navbar .dropdown-menu {
    z-index: 1080;
}

.contact-actions-card {
    margin-bottom: 8px;
    padding: 14px !important;
}
.contact-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.contact-action-btn:hover {
    border-color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: inherit;
    transform: translateY(-1px);
}
.contact-action-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 1rem;
    margin: 0;
}
.contact-action-icon.wa { background: #25d366; }
.contact-action-icon.mail { background: #2563eb; }
.contact-action-icon.ig { background: #e1306c; }
.contact-action-icon.fb { background: #1877f2; }
.contact-action-icon.tt { background: #010101; }
.contact-action-icon.yt { background: #ff0000; }
.contact-action-icon.tw { background: #111827; }
.contact-action-label { display: none; }
.contact-action-value.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.site-footer, .mobile-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 20px 0; color: var(--text-muted); }

/* Notifications */
.notif-badge { position: absolute; top: -2px; right: -2px; background: var(--primary-dark); color: #fff; font-size: 0.55rem; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.notif-toast { position: fixed; top: 80px; left: 16px; right: 16px; z-index: 10480; max-width: 360px; margin: 0 auto; }
/* Never show alert toasts over boot / welcome / splash */
body.auth-gate-open .notif-toast,
body.loading-splash-open .notif-toast,
body[data-site-state="boot"] .notif-toast,
body[data-site-state="auth"] .notif-toast,
body[data-site-state="loading"] .notif-toast {
    display: none !important;
}
.notif-toast-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 36px 14px 14px; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
/* Notif panel - centered on desktop admin style for public stays side */
.notif-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(360px, calc(100vw - 32px)); max-height: min(480px, 70vh); background: var(--surface); z-index: 10470; border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.notif-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 10460; }
.notif-panel[hidden],
.notif-overlay[hidden] { display: none !important; }
.modal-overlay-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* scroll lock + modal fx live in modal-fx.css */

.content-padded { padding-left: 16px; padding-right: 16px; }
@media (min-width: 992px) { .content-padded { padding-left: 24px; padding-right: 24px; } }
.app-section .container { padding-left: 16px; padding-right: 16px; }

/* Loading — brand + optional auth as one centered stack */
.loading-center-wrap {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; padding: 24px 16px 48px; text-align: center;
}
.loading-auth-bar {
    display: none; gap: 12px; justify-content: center; margin-top: 28px; z-index: 2;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.loading-auth-bar.visible {
    display: flex; opacity: 1; pointer-events: auto;
}
.loading-auth-icon {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    width: 72px; padding: 10px 6px; cursor: pointer; color: var(--primary-dark);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: transform 0.15s;
}
.loading-auth-icon i { font-size: 1.25rem; }
.loading-auth-icon span { font-size: 0.6rem; font-weight: 500; }
.loading-auth-icon:hover { transform: translateY(-2px); }

/* App modals — above nav (1031) and loading (9999) */
.app-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 10500; }
.app-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(380px, calc(100vw - 32px)); background: var(--surface);
    border: 1px solid var(--border); border-radius: 16px; z-index: 10510;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15); max-height: min(90vh, 560px); overflow: hidden;
    display: flex; flex-direction: column;
}
.app-modal-overlay[hidden],
.app-modal[hidden],
.auth-wave-modal[hidden] { display: none !important; }
.app-modal-sm { width: min(340px, calc(100vw - 32px)); }
.app-modal-header { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.app-modal-body { padding: 16px; overflow-y: auto; flex: 1; }
.app-modal-footer { padding: 12px 14px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }

/* —— Wave auth (Welcome / Sign in / Sign up) — full-page, not form cards —— */
.auth-wave-overlay { background: rgba(15, 23, 42, 0.62); z-index: 10600 !important; }
.auth-wave-modal {
    position: fixed;
    z-index: 10610 !important;
    inset: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100vw;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    pointer-events: auto !important;
    touch-action: manipulation;
}
.auth-wave-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 50;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(6px);
}
.auth-wave-close:hover { background: rgba(255, 255, 255, 0.35); }

.auth-wave-hero {
    position: relative;
    flex: 0 0 auto;
    height: 38%;
    min-height: 160px;
    max-height: 280px;
    background: var(--primary);
    overflow: hidden;
    transition: min-height 0.35s ease, height 0.35s ease;
}
.auth-wave-modal[data-auth-view="welcome"] .auth-wave-hero {
    height: 58%;
    min-height: 240px;
    max-height: 380px;
}
.auth-wave-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.55) 0 1.5px, transparent 2px),
        radial-gradient(circle at 72% 18%, rgba(255,255,255,0.4) 0 1px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.35) 0 1.5px, transparent 2px),
        radial-gradient(circle at 85% 55%, rgba(255,255,255,0.45) 0 1px, transparent 2px),
        repeating-linear-gradient(
            115deg,
            transparent 0 10px,
            rgba(255,255,255,0.07) 10px 11px
        ),
        repeating-linear-gradient(
            25deg,
            transparent 0 14px,
            rgba(255,255,255,0.05) 14px 15px
        );
    background-size: 120px 120px, 90px 90px, 140px 140px, 100px 100px, auto, auto;
}
.auth-wave-curve {
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -1px;
    height: 72px;
    background: #fff;
    border-radius: 55% 55% 0 0 / 100% 100% 0 0;
}
.auth-wave-brand {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}
.auth-wave-modal[data-auth-view="welcome"] .auth-wave-brand { top: 40%; }
.auth-wave-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}
.auth-wave-logo img { width: 100%; height: 100%; object-fit: cover; }
.auth-wave-brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

.auth-wave-sheet {
    flex: 1;
    min-height: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.auth-wave-sheet-inner {
    padding: 8px 28px 28px;
}
.auth-wave-title {
    font-family: var(--font-body);
    font-size: 1.85rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.auth-wave-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 16px;
    max-width: none;
}
.auth-wave-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0 0 16px;
}
.auth-wave-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1.5px solid #e5e7eb;
    padding: 10px 2px;
    margin-bottom: 14px;
    color: var(--text-muted);
}
.auth-wave-field:focus-within {
    border-bottom-color: var(--primary);
    color: var(--primary-dark);
}
.auth-wave-field i { width: 18px; text-align: center; flex-shrink: 0; font-size: 0.95rem; }
.auth-wave-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #111827;
    padding: 0;
    min-width: 0;
}
.auth-wave-field input::placeholder { color: #9ca3af; }
.auth-wave-eye {
    border: none;
    background: none;
    color: #9ca3af;
    padding: 4px;
    cursor: pointer;
    line-height: 1;
}
.auth-wave-eye:hover { color: var(--primary-dark); }
.auth-wave-choice {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: #374151;
}
.auth-wave-choice label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
}
.auth-wave-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 22px;
    flex-wrap: wrap;
}
.auth-wave-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}
.auth-wave-check input {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
}
.auth-wave-text-link {
    border: none;
    background: none;
    padding: 0;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.auth-wave-text-link:hover { color: var(--primary-dark); text-decoration: underline; }
.auth-wave-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
    transition: transform 0.15s ease, background 0.15s ease;
}
.auth-wave-primary-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.auth-wave-primary-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.auth-wave-primary-btn-link {
    text-decoration: none;
    margin-bottom: 12px;
}
.auth-wave-footer-prompt {
    text-align: center;
    margin: 18px 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.auth-wave-footer-prompt .auth-wave-text-link { font-size: inherit; }
.auth-wave-back { display: block; width: 100%; text-align: center; margin-top: 14px; }
.auth-wave-continue-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}
.auth-wave-continue-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}
.auth-wave-continue-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 40%, transparent);
    transition: transform 0.15s ease, background 0.15s ease;
}
.auth-wave-continue-btn:hover { background: var(--primary-dark); transform: scale(1.04); }
.auth-wave-guest-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    color: var(--text-muted);
}
.auth-wave-guest-link:hover { color: var(--primary); }
.auth-wave-center { text-align: center; }
.loading-screen-boot {
    background: transparent;
    pointer-events: none;
}
.loading-screen-boot.is-branded-splash {
    background: var(--bg);
    pointer-events: auto;
}
.loading-screen-boot .loading-bar-bottom { z-index: 10120; }
.loading-screen-boot[hidden] { display: none !important; }

.auth-wave-boot-bar {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 22%;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
    z-index: 2;
}
.auth-wave-boot-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #fff;
}
body.auth-gate-open .app-shell {
    pointer-events: none;
    filter: blur(4px);
    /* Keep shell below all overlays (filter creates a stacking context) */
    position: relative;
    z-index: 0;
}
body.auth-gate-open .auth-wave-overlay,
body.auth-gate-open .auth-wave-modal {
    z-index: 10600 !important;
}
.auth-wave-modal[data-auth-gate="1"] {
    z-index: 10610 !important;
}
.auth-wave-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}
.auth-wave-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 1.5px solid color-mix(in srgb, var(--primary) 35%, #d1d5db);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.auth-wave-secondary-btn:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, #fff);
    transform: translateY(-1px);
}

/* Auth always fills the viewport (desktop + mobile) — no floating cards */

.auth-modal-avatar {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px;
    background: #f3f4f6; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.auth-modal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.auth-error { font-size: 0.75rem; color: #b91c1c; margin-top: 10px; text-align: center; }
.auth-success {
    font-size: 0.8rem;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
}
.auth-or {
    display: flex; align-items: center; gap: 10px; margin: 4px 0 12px;
    color: #94a3b8; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: rgba(148,163,184,0.35); }
.auth-or span { flex-shrink: 0; }
.auth-check-email-icon {
    color: #64748b;
    margin: 4px 0 12px;
    font-size: 1.75rem;
    line-height: 1;
}
.auth-check-email-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}
.auth-check-email-body {
    margin: 0 0 10px;
}
.auth-check-email-addr {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    word-break: break-all;
}
.auth-check-email-tip {
    margin: 0 0 18px;
}
.auth-wave-modal.is-forms .auth-check-email-title,
.auth-wave-modal.is-forms .auth-check-email-addr {
    color: #111827 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.auth-wave-modal.is-forms #authCheckEmailPanel:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.auth-wave-modal.is-forms #authCheckEmailPanel .auth-wave-primary-btn {
    width: 100%;
    margin-top: 4px;
}
.notif-item.chat .notif-item-avatar { box-shadow: 0 0 0 2px #bfdbfe; }
.notif-panel-header { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notif-panel-actions { display: inline-flex; align-items: center; gap: 2px; }
.notif-toolbar-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px; background: transparent;
    color: #4b5563; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.85rem; transition: background 0.15s, color 0.15s;
}
.notif-toolbar-btn:hover { background: #f3f4f6; color: #111827; }
.notif-toolbar-btn.active { background: #e5e7eb; color: #111827; }
.notif-toolbar-btn.danger:hover { background: #fef2f2; color: #b91c1c; }
.notif-list { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.notif-item {
    display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left;
    padding: 12px; border-radius: 12px; border: 1px solid var(--border);
    background: #fff; cursor: pointer; position: relative;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.notif-item:hover {
    background: #f9fafb; border-color: #d1d5db;
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,0.06);
}
.notif-item:active { transform: translateY(0); }
.notif-item.is-selected { border-color: #93c5fd; background: #eff6ff; }
.notif-item-check {
    width: 18px; height: 18px; margin-top: 9px; flex-shrink: 0; accent-color: #1f2937;
}
.notif-panel.select-mode .notif-item-check { display: block; }
.notif-item-check { display: none; }
.notif-item-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
    background: #f3f4f6; display: block;
}
.notif-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.notif-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.notif-item-title { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.notif-item-time { font-size: 0.65rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.notif-item-msg {
    font-size: 0.75rem; color: var(--text-muted); line-height: 1.35;
    display: block; max-height: 7.5em; overflow: hidden;
}
.notif-item-delete {
    flex-shrink: 0; width: 30px; height: 30px; border: none; border-radius: 8px;
    background: transparent; color: #9ca3af; cursor: pointer; margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem;
    opacity: 0.7; transition: opacity 0.15s, background 0.15s, color 0.15s;
}
.notif-item:hover .notif-item-delete { opacity: 1; }
.notif-item-delete:hover { background: #fef2f2; color: #b91c1c; }

/* Animations */
.animate-on-load { opacity: 0; transform: translateY(12px); animation: fadeInUp 0.6s ease forwards; }
.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.35s}.delay-4{animation-delay:.5s}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

.scroll-animate { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }
.scroll-animate-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.4s; }
.scroll-animate-stagger.visible > * { opacity: 1; transform: translateY(0); }

.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 0.15rem rgba(55,65,81,0.1); }

@media (min-width: 992px) {
    .app-shell { padding-bottom: 0; }
    .hero-section { min-height: calc(100svh - 64px); }
    .notif-toast { left: auto; right: 24px; }
    .welcome-toast { bottom: 24px; }
}

/* Chat */
.chat-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 10480; }
.chat-panel.chat-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(400px, calc(100vw - 32px)); height: min(520px, calc(100vh - 48px));
    border-radius: 16px; z-index: 10490;
}
.chat-panel {
    background: var(--surface); border: 1px solid var(--border);
    display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.chat-media-notice {
    display: block;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    padding: 8px 14px;
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    font-size: 0.75rem;
    color: #1e40af;
    line-height: 1.35;
}
.chat-media-notice[hidden] { display: none !important; }
.chat-panel-header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    position: relative;
    z-index: 5;
    overflow: visible;
}
.chat-panel-header p { font-size: 0.7rem; }
.chat-messages-wrap {
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chat-messages-wrap .chat-messages { flex: 1; min-height: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.chat-messages,
.chat-inbox-list {
    scrollbar-width: thin;
    scrollbar-color: #9ca3af transparent;
}
.chat-messages::-webkit-scrollbar,
.chat-inbox-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.chat-messages::-webkit-scrollbar-button,
.chat-inbox-list::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}
.chat-messages::-webkit-scrollbar-track,
.chat-inbox-list::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb,
.chat-inbox-list::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 20px;
    border: 1px solid transparent;
    background-clip: padding-box;
}
.chat-messages::-webkit-scrollbar-thumb:hover,
.chat-inbox-list::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
.chat-scroll-top-btn { display: none !important; }
.chat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 14px;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
}
.chat-msg:hover {
    transform: translateY(-1px);
}
.msg-admin.chat-msg:hover {
    background: #e8eaed;
    box-shadow: 0 4px 14px rgba(15,23,42,0.1);
}
.msg-customer.chat-msg:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(15,23,42,0.28);
}
.msg-deleted, .msg-deleted-inline {
    font-style: italic; opacity: 0.75; display: flex; align-items: center;
}
.chat-msg-deleted {
    background: #f3f4f6 !important; color: #6b7280 !important;
    border: 1px dashed #d1d5db;
}
.msg-customer.chat-msg-deleted {
    background: rgba(255,255,255,0.18) !important; color: rgba(255,255,255,0.85) !important;
    border-color: rgba(255,255,255,0.35);
}
.msg-deleted-inline { margin-top: 4px; font-size: 0.7rem; opacity: 0.8; }
.chat-msg .msg-text {
    padding: 0 2px; word-break: break-word;
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.msg-text .msg-line { display: block; margin: 2px 0; }
.msg-text .msg-call-wrap { align-self: stretch; }
.msg-badge {
    display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
    border-radius: 999px; padding: 5px 11px; margin: 5px 4px 5px 0;
    font-size: 0.72rem; font-weight: 650; line-height: 1.25; max-width: 100%;
}
.msg-badge i { font-size: 0.7rem; opacity: 0.9; }
.msg-badge-time {
    background: #fff7ed; color: #9a3412; border: 1px solid #fdba74;
}
.msg-badge-success {
    background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7;
}
.msg-badge-warn {
    background: #fffbeb; color: #b45309; border: 1px solid #fcd34d;
}
.msg-badge-danger {
    background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5;
}
.msg-badge-info {
    background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd;
}
/* Keep readable on dark admin bubbles */
.msg-admin .msg-badge-time { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.msg-admin .msg-badge-success { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.msg-admin .msg-badge-warn { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.msg-admin .msg-badge-danger { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.msg-admin .msg-badge-info { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.msg-call-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 10px; }
.msg-call-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #111827; color: #fff !important; text-decoration: none !important;
    border-radius: 999px; padding: 9px 18px; font-weight: 650; font-size: 0.8rem;
    border: none; min-width: 140px;
}
.msg-call-btn:hover { background: #374151; color: #fff !important; }
.msg-call-btn.msg-wa-btn { background: #25d366; }
.msg-call-btn.msg-wa-btn:hover { background: #1da851; color: #fff !important; }
.notif-item-msg .msg-badge { font-size: 0.68rem; padding: 4px 9px; margin: 3px 3px 3px 0; }
.notif-toast-inner .msg-badge { font-size: 0.72rem; }
.notif-toast-inner .msg-call-wrap { margin-top: 8px; }
/* legacy highlight classes → badges */
.msg-hl {
    display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
    padding: 5px 11px; margin: 5px 4px 5px 0; font-size: 0.72rem; font-weight: 650;
}
.msg-hl-time { background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; }
.msg-hl-status { background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.chat-day-stamp { text-align: center; margin: 10px 0 6px; }
.chat-day-stamp span {
    display: inline-block; font-size: 0.68rem; color: var(--text-muted); font-weight: 500;
    background: #f3f4f6; padding: 5px 14px; border-radius: 20px;
}
.msg-meta {
    display: flex; align-items: center; justify-content: flex-end; gap: 6px;
    margin-top: 5px; min-height: 16px; flex-wrap: wrap;
}
.msg-datetime {
    font-size: 0.62rem; line-height: 1.2; white-space: nowrap; opacity: 0.9;
}
.msg-admin .msg-datetime { color: var(--text-muted); opacity: 0.95; }
.msg-customer .msg-datetime { color: rgba(255,255,255,0.88); }
.msg-action-btn {
    border: none; background: transparent; padding: 2px; line-height: 1;
    font-size: 0.72rem; cursor: pointer; opacity: 0.75; color: inherit;
}
.msg-action-btn:hover { opacity: 1; }
.msg-customer .msg-action-btn { color: rgba(255,255,255,0.9); }
.msg-admin .msg-action-btn { color: #6b7280; }
.chat-msg:hover .msg-action-btn { opacity: 1; }
.msg-remove-media {
    position: absolute; top: 4px; right: 4px; z-index: 2;
    width: 22px; height: 22px; border-radius: 50%; background: rgba(15,23,42,0.72); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; opacity: 0.9;
}
.chat-media-wrap { position: relative; display: inline-block; }

.page-scroll-top-btn { display: none !important; }

/* Inbox list (Instagram-style) */
.chat-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-inbox-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.chat-inbox-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 12px 14px; border: none; background: transparent; text-align: left; cursor: pointer;
    border-bottom: 1px solid var(--border); position: relative;
    transition: background 0.18s ease, transform 0.18s ease, padding-left 0.18s ease;
}
.chat-inbox-item:hover, .chat-inbox-item.unread { background: #f9fafb; }
.chat-inbox-item:hover { padding-left: 18px; }
.chat-inbox-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-inbox-meta { flex: 1; min-width: 0; }
.chat-inbox-time { font-size: 0.65rem; color: var(--text-muted); flex-shrink: 0; }
.chat-inbox-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; flex-shrink: 0;
}
.chat-inbox-badge {
    background: #ef4444; color: #fff; font-size: 0.6rem; min-width: 16px; height: 16px;
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.chat-inbox-footer { padding: 10px 12px; border-top: 1px solid var(--border); }

.fullscreen-section {
    position: fixed; inset: 0; z-index: 850; background: var(--bg);
    display: flex; flex-direction: column;
}
.fullscreen-section-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top));
    background: var(--surface); border-bottom: 1px solid var(--border);
}
.fullscreen-section-body { flex: 1; overflow-y: auto; padding: 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

.site-status-screen {
    position: fixed; inset: 0; z-index: 9950; background: linear-gradient(160deg, #f9fafb 0%, #e5e7eb 100%);
    overflow-y: auto; padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
    display: flex; align-items: flex-start; justify-content: center;
}
.site-status-screen[hidden] { display: none !important; }
.site-status-inner { width: min(420px, 100%); text-align: center; padding-top: 40px; }
.site-status-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px; background: #1f2937; color: #fff;
    font-size: 0.75rem; font-weight: 600; margin-bottom: 12px;
}
.status-countdown { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.countdown-digits { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; color: var(--primary-dark); }

.chat-media-thumb { max-width: 140px; max-height: 140px; object-fit: cover; border-radius: 10px; cursor: pointer; display: block; }
.chat-thumb-btn { border: none; background: transparent; padding: 0; cursor: pointer; display: block; }
.chat-pending-media {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border); background: #f9fafb;
}
.chat-pending-media img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
/* Image preview — zoom / pan / pinch */
.media-preview-overlay {
    position: fixed; inset: 0; z-index: 10650;
    background: rgba(8,12,20,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.media-preview-shell {
    position: fixed; inset: 0; z-index: 10651;
    display: flex; flex-direction: column;
    pointer-events: none;
}
.media-preview-shell[hidden],
.media-preview-overlay[hidden] { display: none !important; }
.media-preview-close {
    position: absolute; top: max(12px, env(safe-area-inset-top)); right: 14px;
    z-index: 3; pointer-events: auto;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(15,23,42,0.55); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.05rem;
}
.media-preview-close:hover { background: rgba(15,23,42,0.8); }
.media-preview-stage {
    flex: 1; min-height: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; touch-action: none; cursor: grab;
    pointer-events: auto; padding: 48px 16px 72px;
}
.media-preview-stage.is-dragging { cursor: grabbing; }
.media-preview-img {
    max-width: min(92vw, 880px);
    max-height: min(72vh, 720px);
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 8px;
    transform-origin: center center;
    user-select: none; -webkit-user-select: none;
    will-change: transform;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.media-preview-zoom-bar {
    position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 3; pointer-events: auto;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 999px;
    background: rgba(15,23,42,0.72); color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
}
.media-preview-zoom-bar i { font-size: 0.75rem; opacity: 0.8; }
.media-preview-zoom-bar input[type=range] {
    width: min(180px, 42vw); height: 4px; cursor: pointer;
    accent-color: #e5e7eb;
}

.parallax-layer { will-change: transform; transition: transform 0.05s linear; }
.hero-bg-image.parallax-layer { transform: scale(1.08); }
.scroll-animate { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-animate.visible, .scroll-animate.in-view { opacity: 1; transform: translateY(0); }
.scroll-animate-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.scroll-animate-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-animate-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.scroll-animate-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.scroll-animate-stagger.visible > * { opacity: 1; transform: translateY(0); }

.instagram-card {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
    aspect-ratio: 1; position: relative; background: #f3f4f6;
}
.instagram-card img { width: 100%; height: 100%; object-fit: cover; }
.instagram-card .ig-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 0.7rem;
}
.msg-highlight { animation: msgPulse 1.2s ease; }
@keyframes msgPulse { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 3px rgba(55,65,81,0.25); } }
.chat-recent-list {
    border-bottom: 1px solid var(--border); max-height: 88px; overflow-x: auto; overflow-y: hidden;
    display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; padding: 6px 10px 8px; align-items: stretch;
}
.chat-recent-head { display: none; }
.chat-recent-item {
    flex: 0 0 auto; min-width: 100px; max-width: 140px; border: 1px solid var(--border);
    border-radius: 10px; background: #f9fafb; padding: 6px 8px; cursor: pointer; text-align: left;
}
.chat-recent-item:hover { background: #f3f4f6; }
.msg-ticks { display: inline-flex; align-items: center; text-align: right; font-size: 0.5rem; margin-top: 0; opacity: 0.65; line-height: 1; }
.msg-ticks i { font-size: 0.5rem; }
.msg-customer { align-self: flex-end; background: var(--primary-dark); color: #fff; border-bottom-right-radius: 4px; }
.msg-admin { align-self: flex-start; background: #f3f4f6; border-bottom-left-radius: 4px; }
.msg-customer a { color: #fff; }
.chat-media { max-width: 100%; border-radius: 8px; margin-bottom: 4px; display: block; }
.chat-media-loading { padding: 12px 16px; background: rgba(0,0,0,0.06); border-radius: 8px; font-size: 0.8rem; color: var(--text-muted); }
.chat-msg-pending { opacity: 0.75; }
.msg-ticks .read { color: #60a5fa; }
.chat-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); align-items: center; }
.chat-attach-btn { cursor: pointer; color: var(--text-muted); padding: 4px 8px; margin: 0; }
.chat-mic-btn {
    width: 36px; height: 36px; border-radius: 50%; border: none; flex-shrink: 0;
    background: #f3f4f6; color: var(--primary-dark); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    touch-action: none; user-select: none; -webkit-user-select: none;
}
.chat-mic-btn:hover { background: #e5e7eb; }
.chat-mic-btn.recording {
    background: #dc2626; color: #fff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
    animation: chatMicPulse 1s ease infinite;
}
@keyframes chatMicPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.12); }
}
.chat-recording-bar {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    background: #fef2f2; border-top: 1px solid #fecaca; color: #991b1b; font-size: 0.8rem;
}
.chat-rec-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
    animation: chatRecBlink 1s step-end infinite;
}
@keyframes chatRecBlink { 50% { opacity: 0.25; } }
.chat-audio-wrap {
    position: relative; display: flex; align-items: center; gap: 8px;
    min-width: 180px; max-width: 100%;
}
.chat-audio-icon { opacity: 0.85; flex-shrink: 0; }
.chat-audio {
    width: 100%; max-width: 220px; height: 36px;
}
.msg-customer .chat-audio { filter: none; }
.msg-admin .chat-audio-icon { color: #6b7280; }
.msg-customer .chat-audio-icon { color: rgba(255,255,255,0.9); }

/* Reviews */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; height: 100%; }
.review-stars { color: #f59e0b; margin-bottom: 6px; font-size: 0.85rem; }
.review-img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-top: 8px; }
.star-rating { display: flex; gap: 4px; }
.star-btn { background: none; border: none; color: #d1d5db; padding: 0; font-size: 1.2rem; cursor: pointer; }
.star-btn.active { color: #f59e0b; }

.h-card-review {
    width: min(200px, 64vw);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .h-card-review { width: 180px; }
}
.h-card-review .review-media {
    width: 100%;
    aspect-ratio: 1;
    background: #f3f4f6;
    overflow: hidden;
}
.h-card-review .review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.h-card-review .review-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    background: linear-gradient(145deg, #f8f5f2, #efe8e2);
}
.h-card-review .review-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.h-card-review .review-stars { margin-bottom: 2px; font-size: 0.75rem; }
.h-card-review .review-name { font-weight: 600; font-size: 0.9rem; }
.h-card-review .review-comment {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact form toggle */
.contact-form-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 18px;
    max-width: 320px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.contact-toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.contact-toggle-btn.active {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.section-head.reviews-head {
    text-align: left;
    margin-bottom: 16px;
}
.section-head.reviews-head .section-label { display: block; }
@media (max-width: 575px) {
    .section-head.reviews-head { text-align: center; }
    .section-head.reviews-head .btn { width: 100%; }
}

.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.slot-btn {
    border: 1px solid var(--border); background: #fff; border-radius: 10px;
    padding: 8px 12px; font-size: 0.8rem; cursor: pointer; color: var(--text);
}
.slot-btn.active, .slot-btn:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }

@media (max-width: 991px) {
    .display-4 { font-size: 2rem; }
    .hero-btns .btn { min-width: 48px; }
    .app-shell, .container { max-width: 100%; overflow-x: hidden; }
}

/* Large screens — side whitespace */
@media (min-width: 1200px) {
    .site-content.container,
    .container.site-content,
    .app-section > .container {
        max-width: 1080px;
    }
}
@media (min-width: 1400px) {
    .site-content.container,
    .container.site-content,
    .app-section > .container {
        max-width: 1140px;
    }
}

.hero-about {
    max-width: 34rem;
    margin: 0 auto 28px;
    color: rgba(255,255,255,0.82);
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.55;
}
.hero-about:empty { display: none; margin: 0; }

/* Horizontal card tracks */
.h-scroll-wrap {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px;
    margin: 0 -4px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    cursor: grab;
    touch-action: pan-x;
}
.h-scroll-wrap.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.h-scroll-wrap::-webkit-scrollbar { width: 0; height: 0; }
.h-scroll-wrap > * { scroll-snap-align: start; flex: 0 0 auto; }
.h-scroll-empty { flex: 1 1 100%; text-align: center; padding: 24px 8px; }

/* Center gallery & reviews tracks when content is shorter than the row */
#galleryContainer.h-scroll-wrap,
#reviewsContainer.h-scroll-wrap,
.reviews-track.h-scroll-wrap {
    justify-content: center;
}
#galleryContainer.h-scroll-wrap.is-overflow,
#reviewsContainer.h-scroll-wrap.is-overflow,
.reviews-track.h-scroll-wrap.is-overflow {
    justify-content: flex-start;
}

.h-card-service {
    width: min(220px, 72vw);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.h-card-service:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,23,42,0.08); }
.h-card-service.featured { border-color: var(--primary); }
.h-card-service .service-thumb { height: 130px; }
.h-card-gallery {
    width: min(160px, 56vw);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1;
    position: relative;
}
@media (min-width: 992px) {
    .h-card-gallery { width: 148px; }
}
.h-card-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center; }
.h-card-gallery .overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 0.75rem;
}
.h-card-ig {
    width: min(180px, 62vw);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1;
    position: relative;
    display: block;
    text-decoration: none;
    background: #f3f4f6;
}
.h-card-ig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-card-ig .ig-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 0.7rem;
}
/* Profile cards — hanging avatar layout (team + owner) */
.profile-section {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(55, 65, 81, 0.08), transparent 70%),
        #f3f4f6;
}
.owner-profile-wrap {
    display: flex;
    justify-content: center;
    padding-top: 48px;
}
.team-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px 24px;
    padding-top: 40px;
    justify-items: center;
}
.profile-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    text-align: center;
    background: var(--surface);
    border-radius: 20px;
    padding: 56px 28px 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}
.profile-card.is-owner {
    max-width: 400px;
    padding: 64px 32px 32px;
}
.profile-card-avatar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow:
        0 0 0 4px var(--surface),
        0 10px 28px rgba(55, 65, 81, 0.28);
}
.profile-card.is-owner .profile-card-avatar {
    width: 112px;
    height: 112px;
}
.profile-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-card-avatar .team-avatar-fallback,
.profile-card-avatar .owner-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #e5e7eb, #f3f4f6);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.profile-card-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 6px;
    line-height: 1.2;
}
.profile-card.is-owner .profile-card-name { font-size: 1.65rem; }
.profile-card-role {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.profile-card-role .role-em {
    color: var(--text);
    font-weight: 500;
}
.profile-card-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 18px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.profile-card-location i { font-size: 0.75rem; opacity: 0.85; }
.profile-card-bio {
    margin: 0 0 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.profile-card.is-owner .profile-card-bio {
    -webkit-line-clamp: 5;
}
.profile-card-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 22px;
}
.profile-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.profile-social:hover {
    transform: translateY(-2px);
    color: #fff;
    filter: brightness(1.06);
}
.profile-social.ig { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); box-shadow: 0 6px 14px rgba(221, 42, 123, 0.35); }
.profile-social.fb { background: #1877f2; box-shadow: 0 6px 14px rgba(24, 119, 242, 0.35); }
.profile-social.tt { background: #111827; box-shadow: 0 6px 14px rgba(17, 24, 39, 0.3); }
.profile-social.yt { background: #ff0000; box-shadow: 0 6px 14px rgba(255, 0, 0, 0.3); }
.profile-social.tw { background: #111827; box-shadow: 0 6px 14px rgba(17, 24, 39, 0.3); }
.profile-social.wa { background: #25d366; box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35); }
.profile-social:not(.ig):not(.fb):not(.tt):not(.yt):not(.tw):not(.wa) {
    background: var(--primary);
    box-shadow: 0 6px 14px rgba(55, 65, 81, 0.28);
}
.profile-card-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.profile-card-actions .profile-btn {
    flex: 1;
    max-width: 150px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.profile-card-actions .profile-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #fff;
}
.profile-btn-message {
    background: linear-gradient(90deg, #4b5563, #1f2937);
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.28);
}
.profile-btn-book {
    background: linear-gradient(90deg, #6b7280, #374151);
    box-shadow: 0 8px 18px rgba(55, 65, 81, 0.28);
}
.profile-card.is-owner .profile-btn-book {
    background: linear-gradient(90deg, #9ca3af, #4b5563);
    box-shadow: 0 8px 18px rgba(75, 85, 99, 0.3);
}
@media (max-width: 575px) {
    .profile-card { max-width: 320px; padding: 52px 22px 24px; }
    .profile-card-avatar { width: 88px; height: 88px; }
    .profile-card.is-owner .profile-card-avatar { width: 100px; height: 100px; }
    .profile-card-actions { flex-direction: column; align-items: stretch; }
    .profile-card-actions .profile-btn { max-width: none; }
}

.services-toolbar {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.filter-chips.minimal {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: 100%;
}
.filter-chips.minimal .filter-chip {
    border: none; background: transparent; color: var(--text-muted);
    font-size: 0.78rem; font-weight: 500; padding: 6px 10px;
    border-radius: 8px; cursor: pointer;
}
.filter-chips.minimal .filter-chip:hover { color: var(--text); background: rgba(15,23,42,0.04); }
.filter-chips.minimal .filter-chip.active {
    color: var(--primary-dark); background: rgba(15,23,42,0.07);
}
.service-search-wrap { width: min(420px, 100%); }
.service-search-input {
    width: 100%;
    border-radius: 10px; font-size: 0.85rem; padding: 8px 12px; text-align: center;
}
.service-suggest {
    margin: -6px 0 12px; padding: 10px 12px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.service-suggest-cat { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 8px 0 4px; }
.service-suggest-cat:first-child { margin-top: 0; }
.service-suggest-item {
    display: flex; justify-content: space-between; gap: 8px; align-items: center;
    padding: 6px 8px; border-radius: 8px; font-size: 0.85rem; cursor: pointer;
}
.service-suggest-item:hover { background: #f3f4f6; }

.compact-card { padding: 14px 16px; }
.compact-form .form-label { font-size: 0.75rem; margin-bottom: 3px; color: var(--text-muted); }
.compact-form .form-control-sm { font-size: 0.85rem; }
.form-control.profile-locked,
input.profile-locked,
textarea.profile-locked {
    background: #f3f4f6 !important;
    color: #4b5563;
    cursor: default;
    border-style: dashed;
}
.profile-locked-note {
    background: #f9fafb;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    padding: 6px 10px;
}
.book-svc-list {
    max-height: 88px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px 6px;
    background: #fafafa;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    scrollbar-width: thin;
}
.book-svc-list::-webkit-scrollbar { width: 6px; }
.book-svc-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }
.book-svc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.2;
}
.book-svc-row:hover { background: #f3f4f6; }
.book-svc-row .form-check-input {
    margin: 0;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}
.book-svc-row .form-check-label {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}
.book-svc-row .svc-meta { color: var(--text-muted); white-space: nowrap; font-size: 0.7rem; }
.selected-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
    margin-top: 10px;
}
.selected-svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.selected-svc-chip button {
    border: none;
    background: rgba(255,255,255,0.28);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.selected-svc-chip button:hover { background: rgba(255,255,255,0.45); }
.service-book-btn {
    margin-top: 8px; width: 100%; font-size: 0.75rem; padding: 6px 10px;
    border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--primary-dark);
    cursor: pointer; font-weight: 600;
}
.service-book-btn:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }

/* Public category cards — services + popularity data */
.category-card {
    flex: 0 0 min(280px, 82vw); width: min(280px, 82vw);
    border: 1px solid var(--border); border-radius: 16px; background: #fff;
    padding: 14px; display: flex; flex-direction: column; gap: 10px; cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    scroll-snap-align: start;
}
.category-card:hover {
    transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: #d1d5db;
}
.category-card.is-popular { border-color: #fbbf24; background: linear-gradient(180deg, #fffbeb 0%, #fff 48%); }
.category-card-top { display: flex; align-items: flex-start; gap: 10px; }
.category-card-icon {
    width: 42px; height: 42px; border-radius: 12px; background: #111827; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.category-card-title {
    font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.25;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.category-card-badge {
    font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    background: #f59e0b; color: #111827; border-radius: 999px; padding: 2px 7px;
}
.category-card-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.category-card-services {
    list-style: none; margin: 0; padding: 0; border-top: 1px solid #f3f4f6; padding-top: 8px;
    display: flex; flex-direction: column; gap: 4px; min-height: 96px;
}
.category-card-services li {
    display: flex; justify-content: space-between; gap: 8px;
    font-size: 0.78rem; color: #374151; line-height: 1.3;
}
.category-card-services em {
    font-style: normal; font-weight: 700; color: #9a3412; font-size: 0.7rem; flex-shrink: 0;
}
.category-card-services .more { color: var(--text-muted); font-size: 0.72rem; }
.category-card-cta {
    margin-top: auto; font-size: 0.75rem; font-weight: 700; color: #111827;
    display: inline-flex; align-items: center; gap: 6px;
}

.profile-pinned-appt { margin-bottom: 12px; }
.profile-edit-avatar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    background: #f9fafb;
}
.profile-edit-avatar-img,
.profile-edit-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}
.profile-edit-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.4rem;
}
.profile-edit-avatar-meta { min-width: 0; flex: 1; }
.profile-edit-avatar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.profile-pin-head {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-muted); margin-bottom: 6px;
}
.profile-pin-card {
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
    font-size: 0.82rem;
}
.profile-pin-card strong { display: block; margin-bottom: 4px; }
.profile-pin-status {
    display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    background: #10b981; color: #fff; border-radius: 999px; padding: 2px 8px; margin-bottom: 6px;
}
.profile-pin-when { font-weight: 650; color: #9a3412; margin: 4px 0 6px; line-height: 1.35; }

/* Member appointments dock — left panel (desktop) / bottom sheet (mobile) */
:root {
    --appt-panel-w: min(320px, calc(100vw - 28px));
    --appt-panel-max-h: min(72vh, 640px);
}
.appt-dock-tab {
    position: fixed; left: 0; top: 42%; transform: translateY(-50%);
    z-index: 1035; display: none; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 8px 12px 10px; border: 1px solid var(--border); border-left: 0;
    border-radius: 0 12px 12px 0; background: #fff; color: #111827; cursor: pointer;
    box-shadow: 4px 0 18px rgba(15, 23, 42, 0.1); font-size: 0.7rem; font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s;
}
.appt-dock-tab:hover { background: #f9fafb; box-shadow: 6px 0 22px rgba(15, 23, 42, 0.14); }
.appt-dock-tab.is-live { color: #065f46; background: #ecfdf5; border-color: #a7f3d0; }
.appt-dock-tab-label { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.04em; }
.appt-dock-tab-badge {
    min-width: 18px; height: 18px; border-radius: 999px; background: #ef4444; color: #fff;
    font-size: 0.65rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.appt-dock-tab[hidden], .appt-overlay[hidden], .appt-panel[hidden] { display: none !important; }
.appt-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); z-index: 1038;
}
.appt-panel {
    position: fixed; z-index: 1039; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(15, 23, 42, 0.16);
    width: var(--appt-panel-w); max-height: var(--appt-panel-max-h);
    /* Mobile default: bottom sheet */
    left: 50%; bottom: calc(var(--bottom-nav-h, 64px) + 10px + env(safe-area-inset-bottom, 0px));
    top: auto; transform: translateX(-50%);
    border-radius: 16px 16px 14px 14px;
    animation: apptPanelIn 0.22s ease;
}
@keyframes apptPanelIn {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.appt-panel-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
    padding: 12px 12px 10px; border-bottom: 1px solid var(--border);
}
.appt-panel-title { display: block; font-size: 0.95rem; }
.appt-panel-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.appt-panel-actions { display: inline-flex; gap: 2px; flex-shrink: 0; }
.appt-panel-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px; background: transparent;
    color: #4b5563; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.appt-panel-btn:hover { background: #f3f4f6; color: #111827; }
.appt-panel-body { flex: 1; overflow-y: auto; padding: 10px 12px; overscroll-behavior: contain; }
.appt-panel-footer { padding: 10px 12px 12px; border-top: 1px solid var(--border); }
.appt-section { margin-bottom: 14px; }
.appt-section-title {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-muted); margin: 0 0 8px; display: flex; align-items: center; gap: 6px;
}
.appt-section-title .dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); animation: apptPulse 1.4s ease infinite;
}
@keyframes apptPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
.appt-card {
    border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
    background: #fff; font-size: 0.82rem;
}
.appt-card.is-running {
    background: linear-gradient(135deg, #ecfdf5, #fff);
    border-color: #a7f3d0;
}
.appt-card.is-pending { background: #fffbeb; border-color: #fde68a; }
.appt-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.appt-card-status {
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    border-radius: 999px; padding: 2px 8px; background: #e5e7eb; color: #374151; white-space: nowrap;
}
.appt-card.is-running .appt-card-status { background: #10b981; color: #fff; }
.appt-card.is-pending .appt-card-status { background: #f59e0b; color: #fff; }
.appt-card strong { display: block; line-height: 1.3; }
.appt-card-when { font-weight: 650; color: #9a3412; margin: 4px 0; line-height: 1.35; }
.appt-card.is-running .appt-card-when { color: #065f46; }
.appt-card-meta { font-size: 0.72rem; color: var(--text-muted); }

@media (min-width: 992px) {
    .appt-dock-tab { display: inline-flex; }
    .appt-dock-tab.is-open { transform: translateY(-50%) translateX(-120%); opacity: 0; pointer-events: none; }
    .appt-panel {
        left: 16px; top: 88px; bottom: auto; transform: none;
        max-height: calc(100vh - 112px); height: auto;
        border-radius: 16px;
        animation: apptPanelInDesk 0.22s ease;
    }
    @keyframes apptPanelInDesk {
        from { opacity: 0; transform: translateX(-10px); }
        to { opacity: 1; transform: translateX(0); }
    }
    .appt-overlay { background: transparent; pointer-events: none; }
    body.appt-panel-open .appt-overlay { display: none !important; }
}
@media (max-width: 991.98px) {
    .appt-dock-tab {
        display: inline-flex; flex-direction: row; top: auto; bottom: calc(var(--bottom-nav-h, 64px) + 76px + env(safe-area-inset-bottom, 0px));
        left: 12px; transform: none; border-radius: 999px; border: 1px solid var(--border);
        padding: 10px 12px; writing-mode: horizontal-tb;
    }
    .appt-dock-tab-label { writing-mode: horizontal-tb; transform: none; }
    .appt-dock-tab.is-open { display: none !important; }
}
.chat-tickets-toggle {
    width: 100%; border: none; background: transparent; text-align: left;
    padding: 8px 12px; font-size: 0.78rem; color: var(--primary-dark); font-weight: 600; cursor: pointer;
}
.chat-tickets-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 0.65rem; margin-left: 4px;
}
.chat-tickets-list { padding: 0 10px 10px; display: flex; flex-direction: column; gap: 6px; max-height: 140px; overflow-y: auto; }
.chat-ticket-item {
    background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 0.75rem;
}
.chat-ticket-item .tt-type { font-weight: 600; text-transform: uppercase; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.04em; }

.img-preview-slot {
    width: 100%; min-height: 88px; border: 1px dashed var(--border); border-radius: 10px;
    background: #f9fafb; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.img-preview-slot img { max-width: 100%; max-height: 120px; object-fit: cover; display: block; }
.img-preview-ph { color: var(--text-muted); font-size: 0.8rem; display: inline-flex; align-items: center; gap: 6px; }

.site-toast {
    position: fixed; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(10px);
    z-index: 10750; max-width: min(420px, calc(100vw - 24px));
    background: #1f2937; color: #fff; border-radius: 12px;
    padding: 12px 16px; font-size: 0.88rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.site-toast.error { background: #b91c1c; }
.site-toast.auth-mail { background: #166534; }
@media (min-width: 992px) {
    .site-toast { bottom: 28px; }
}

.studio-hours-line {
    font-size: 0.9rem; color: var(--text-muted);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 16px; line-height: 1.45;
}

/* Page scroll: allow vertical scroll; keep horizontal bleed controlled */
html, body.app-body { overflow-y: auto; overflow-x: hidden; }

/* Member offers shown as popup after load */
#offersSection { display: none !important; }

/* —— Full-screen welcome + phone-friendly auth —— */
.auth-wave-modal.is-welcome,
.auth-wave-modal[data-auth-view="welcome"] {
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent;
    overflow: hidden;
}
.auth-wave-modal.is-welcome .auth-wave-overlay,
.auth-wave-overlay.auth-wave-overlay {
    background: transparent;
}
body.auth-gate-open .auth-wave-overlay {
    background: transparent !important;
    backdrop-filter: none;
}

.auth-welcome-fs {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    min-height: 100dvh;
    height: 100%;
    overflow: hidden;
    background: transparent;
}
.auth-welcome-fs[hidden] { display: none !important; }

/* Full-bleed animated background */
.auth-welcome-fs-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--primary-dark, #1f2937);
}
.auth-welcome-fs-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 15%, color-mix(in srgb, var(--primary) 75%, #fff) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, color-mix(in srgb, var(--primary) 55%, #000) 0%, transparent 50%),
        linear-gradient(160deg, var(--primary) 0%, var(--primary-dark, #1f2937) 55%, #0f172a 100%);
}
.auth-welcome-fs-bg .auth-wave-pattern {
    opacity: 0.35;
    animation: authWelcomePatternDrift 28s linear infinite;
}
.auth-welcome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: soft-light;
}
.auth-welcome-orb-1 {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    left: -10%;
    top: -8%;
    background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, transparent 70%);
    animation: authWelcomeFloat 14s ease-in-out infinite;
}
.auth-welcome-orb-2 {
    width: min(36vw, 320px);
    height: min(36vw, 320px);
    right: -6%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
    animation: authWelcomeFloat 18s ease-in-out infinite reverse;
}
.auth-welcome-orb-3 {
    width: min(28vw, 240px);
    height: min(28vw, 240px);
    left: 40%;
    bottom: -8%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, #fff) 0%, transparent 70%);
    animation: authWelcomeFloat 12s ease-in-out infinite 1s;
}
.auth-welcome-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 12px rgba(255,255,255,0.7);
    pointer-events: none;
    animation: authWelcomeSpark 5s ease-in-out infinite;
}
.auth-welcome-spark-1 { left: 18%; top: 22%; animation-delay: 0s; }
.auth-welcome-spark-2 { left: 72%; top: 18%; width: 4px; height: 4px; animation-delay: 1.2s; }
.auth-welcome-spark-3 { left: 58%; top: 68%; animation-delay: 2.1s; }
.auth-welcome-spark-4 { left: 28%; top: 74%; width: 5px; height: 5px; animation-delay: 3s; }
.auth-welcome-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    pointer-events: none;
    animation: authWelcomeRing 10s ease-out infinite;
}
.auth-welcome-ring-1 {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
}
.auth-welcome-ring-2 {
    width: min(78vw, 680px);
    height: min(78vw, 680px);
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    animation-delay: 2.5s;
    opacity: 0.6;
}

@keyframes authWelcomeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.06); }
}
@keyframes authWelcomeSpark {
    0%, 100% { opacity: 0.25; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.25); }
}
@keyframes authWelcomeRing {
    0% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.86); }
    70% { opacity: 0; transform: translate(-50%, -50%) scale(1.12); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes authWelcomePatternDrift {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 120px 80px, -90px 60px, 70px -100px, -60px 40px, 40px 20px, -30px 50px; }
}
@keyframes authWelcomeCardIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Centered stage: brand + card */
.auth-welcome-fs-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vh, 36px);
    padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}
.auth-welcome-fs-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: #fff;
}
.auth-welcome-fs-tag {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.88;
    font-weight: 500;
}
.auth-welcome-fs .auth-wave-boot-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(200px, 46vw);
    margin: 0 auto;
}

/* Centered card */
.auth-welcome-fs-sheet {
    flex: 0 0 auto;
    width: min(320px, calc(100vw - 36px));
    padding: 20px 18px 16px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    margin: 0;
    position: relative;
    z-index: 2;
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.45) inset;
    animation: authWelcomeCardIn 0.55s ease both;
}
.auth-welcome-fs .auth-wave-title {
    text-align: center;
    margin: 0 0 6px;
    font-size: 1.4rem;
    padding-bottom: 0;
}
.auth-welcome-fs .auth-wave-title::after { display: none !important; }
.auth-welcome-fs .auth-wave-sub {
    text-align: center;
    margin: 0 auto 14px;
    max-width: 26ch;
    font-size: 0.86rem;
    line-height: 1.35;
    text-wrap: balance;
}
.auth-welcome-panel { margin: 0; }
.auth-welcome-fs .auth-wave-primary-btn,
.auth-welcome-fs .auth-wave-secondary-btn {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 0.92rem;
    border-radius: 999px;
}
.auth-welcome-fs .auth-wave-primary-btn {
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 30%, transparent);
}
.auth-welcome-fs .auth-wave-guest-link {
    margin-top: 12px;
    min-height: auto;
    font-size: 0.84rem;
}
.auth-welcome-fs .auth-wave-logo {
    width: 64px; height: 64px; font-size: 1.5rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.auth-welcome-fs .auth-wave-brand-name {
    font-size: clamp(1.25rem, 5vw, 1.7rem);
    text-shadow: 0 2px 18px rgba(0,0,0,0.2);
}

.auth-forms-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    color: #111827;
}
.auth-forms-screen[hidden] { display: none !important; }
.auth-forms-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--primary-dark, #1f2937);
}
.auth-forms-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 18% 12%, color-mix(in srgb, var(--primary) 72%, #fff) 0%, transparent 55%),
        radial-gradient(ellipse 65% 45% at 88% 78%, color-mix(in srgb, var(--primary) 50%, #000) 0%, transparent 52%),
        linear-gradient(165deg, var(--primary) 0%, var(--primary-dark, #1f2937) 58%, #0f172a 100%);
}
.auth-forms-bg .auth-wave-pattern { opacity: 0.28; }
.auth-forms-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: max(52px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.auth-forms-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-align: center;
}
.auth-forms-brand .auth-forms-logo {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.auth-forms-brand .auth-forms-brand-name {
    font-size: 1.15rem;
    text-shadow: 0 2px 14px rgba(0,0,0,0.22);
}
.auth-forms-card {
    flex: 0 0 auto;
    width: min(360px, calc(100vw - 32px));
    max-height: min(78dvh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    margin: 0;
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.45) inset;
}
.auth-forms-card .auth-wave-sheet-inner {
    max-width: none;
    margin: 0;
    width: 100%;
    padding: 18px 18px max(16px, env(safe-area-inset-bottom));
    color: #111827;
}
.auth-wave-modal.is-forms {
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}
.auth-wave-modal.is-forms[hidden],
.auth-wave-modal.is-welcome[hidden],
.auth-wave-modal[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
.auth-wave-modal.is-forms .auth-wave-title,
.auth-wave-modal.is-forms .auth-wave-sub,
.auth-wave-modal.is-forms .auth-wave-hint,
.auth-wave-modal.is-forms .auth-wave-footer-prompt,
.auth-wave-modal.is-forms label {
    color: inherit;
    opacity: 1;
    visibility: visible;
}
.auth-wave-modal.is-forms .auth-wave-title {
    color: #111827 !important;
    font-size: 1.35rem;
    margin: 0 0 4px;
    padding-bottom: 8px;
    position: relative;
}
.auth-wave-modal.is-forms .auth-wave-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
}
.auth-wave-modal.is-forms .auth-wave-sub,
.auth-wave-modal.is-forms .auth-wave-hint {
    color: #6b7280 !important;
    max-width: none;
    margin: 0 0 14px;
    font-size: 0.84rem;
    line-height: 1.4;
}
.auth-wave-modal.is-forms .auth-wave-field {
    margin-bottom: 10px;
    padding: 8px 2px;
}
.auth-wave-modal.is-forms .auth-wave-field input {
    color: #111827 !important;
    -webkit-text-fill-color: #111827;
    opacity: 1 !important;
    caret-color: #111827;
    font-size: 0.92rem;
}
.auth-wave-modal.is-forms .auth-wave-primary-btn {
    padding: 12px 18px;
    font-size: 0.95rem;
    margin-top: 4px;
}
.auth-wave-modal.is-forms .auth-wave-secondary-btn {
    width: 100%;
    margin-top: 8px;
}
.auth-wave-modal.is-forms .auth-wave-footer-prompt { margin-top: 12px; font-size: 0.82rem; }
.auth-wave-modal.is-forms .auth-wave-row { margin: 4px 0 12px; }
.auth-wave-modal.is-forms .auth-modal-form:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.auth-wave-modal.is-forms .auth-wave-close {
    background: rgba(15, 23, 42, 0.4);
    color: #fff;
    z-index: 50;
    pointer-events: auto;
}
.auth-wave-modal.is-forms #authCheckEmailPanel .auth-wave-primary-btn { width: 100%; }
.auth-wave-modal.is-forms .auth-check-email-title,
.auth-wave-modal.is-forms .auth-check-email-addr { color: #111827 !important; }

/* Compact welcome card overrides */
.auth-welcome-fs-sheet {
    width: min(320px, calc(100vw - 36px)) !important;
    padding: 20px 18px 16px !important;
    border-radius: 18px !important;
}
.auth-welcome-fs .auth-wave-title {
    font-size: 1.4rem !important;
    margin: 0 0 6px !important;
    padding-bottom: 0 !important;
}
.auth-welcome-fs .auth-wave-title::after { display: none !important; }
.auth-welcome-fs .auth-wave-sub {
    font-size: 0.86rem !important;
    margin: 0 auto 14px !important;
    max-width: 24ch !important;
    line-height: 1.35 !important;
    text-wrap: balance;
}
.auth-welcome-fs .auth-wave-logo { width: 64px; height: 64px; font-size: 1.5rem; }
.auth-welcome-fs .auth-wave-brand-name { font-size: clamp(1.25rem, 5vw, 1.7rem); }
.auth-welcome-fs-tag { font-size: 0.85rem; }
.auth-welcome-fs .auth-wave-primary-btn,
.auth-welcome-fs .auth-wave-secondary-btn {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 0.92rem;
    border-radius: 999px;
}
.auth-welcome-fs .auth-wave-guest-link {
    margin-top: 12px !important;
    min-height: 0 !important;
    padding: 4px 0;
}
.auth-welcome-fs-stage {
    gap: clamp(14px, 3vh, 22px);
    padding: max(48px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}
.auth-wave-modal.is-forms .auth-wave-sub {
    text-wrap: balance;
    max-width: 34ch;
}
.auth-wave-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 40px;
    height: 40px;
    z-index: 50;
    pointer-events: auto;
}
.auth-wave-guest-link { min-height: 44px; }

.guest-contact-modal {
    z-index: 10720 !important;
    width: min(400px, calc(100vw - 24px));
}
#guestContactOverlay { z-index: 10710 !important; }
.guest-contact-close {
    position: static !important;
    width: 32px;
    height: 32px;
    background: #f3f4f6 !important;
    color: #374151 !important;
}
.guest-contact-modal .auth-wave-field { margin-bottom: 10px; }

@media (max-width: 767.98px) {
    .auth-welcome-fs-stage {
        justify-content: center;
        padding-bottom: max(18px, env(safe-area-inset-bottom));
        gap: 14px;
    }
    .auth-welcome-fs-sheet {
        width: min(320px, calc(100vw - 32px)) !important;
        max-width: 340px;
        padding: 18px 16px max(16px, env(safe-area-inset-bottom)) !important;
        border-radius: 18px !important;
    }
    .auth-welcome-fs .auth-wave-cta-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .auth-forms-card {
        width: min(340px, calc(100vw - 28px));
    }
    .guest-contact-modal {
        left: 0; right: 0; top: auto; bottom: 0;
        transform: none;
        width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
}
@media (min-width: 768px) {
    .auth-welcome-fs,
    .auth-wave-modal.is-welcome #authWelcomeScreen {
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 100dvh;
    }
    .auth-welcome-fs-sheet {
        width: min(320px, calc(100vw - 48px)) !important;
        padding: 20px 18px 16px !important;
        border-radius: 18px !important;
    }
    .auth-welcome-fs-stage { gap: 18px; }
}
@media (min-width: 992px) {
    .auth-welcome-fs-sheet {
        width: min(320px, 26vw) !important;
    }
}

/* Content protection (Site Settings / Developer toggle) */
body.content-protection-on,
body.content-protection-on *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
body.content-protection-on input,
body.content-protection-on textarea,
body.content-protection-on select,
body.content-protection-on [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}
body.content-protection-on img,
body.content-protection-on picture,
body.content-protection-on video,
body.content-protection-on svg,
body.content-protection-on canvas {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none;
}
