:root {
    --mw-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mw-bg: #f7f3ef;
    --mw-bg-soft: #fbf8f4;
    --mw-surface: rgba(255, 255, 255, 0.84);
    --mw-surface-soft: #fbf5ed;
    --mw-surface-solid: #ffffff;
    --mw-surface-muted: #f5efe8;
    --mw-text: #231f20;
    --mw-muted: #756a6d;
    --mw-text-soft: #6f6365;
    --mw-text-muted: #988b8d;
    --mw-primary: #9b5c7a;
    --mw-primary-dark: #733f5c;
    --mw-primary-soft: #f3dfeb;
    --mw-accent: #d7a86e;
    --mw-accent-soft: #fbedd9;
    --mw-success: #2f9461;
    --mw-warning: #b7791f;
    --mw-danger: #c94747;
    --mw-info: #3b82a0;
    --mw-border: rgba(73, 55, 62, 0.12);
    --mw-border-strong: rgba(73, 55, 62, 0.18);
    --mw-shadow-sm: 0 10px 28px rgba(54, 39, 46, 0.08);
    --mw-shadow-md: 0 20px 55px rgba(54, 39, 46, 0.12);
    --mw-shadow-lg: 0 28px 80px rgba(54, 39, 46, 0.18);
    --mw-shadow-soft: 0 14px 36px rgba(54, 39, 46, 0.09);
    --mw-shadow-strong: 0 30px 80px rgba(54, 39, 46, 0.18);
    --mw-radius-sm: 12px;
    --mw-radius-md: 18px;
    --mw-radius-lg: 26px;
    --mw-radius-xl: 34px;
    --mw-radius-2xl: 42px;
    --mw-sidebar-width: 292px;
    --mw-topbar-height: 88px;
}

html {
    font-size: 14px;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

*:where(:not(.mw76-root):not(.mw76-root *)) {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--mw-font-sans);
    color: var(--mw-text);
    background: var(--mw-bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

    a:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-primary-dark);
    }

:where(:not(.mw76-root):not(.mw76-root *))::selection {
    color: #ffffff;
    background: var(--mw-primary);
}

.app-body:where(:not(.mw76-root):not(.mw76-root *)) {
    background: radial-gradient(circle at top left, rgba(215, 168, 110, 0.22), transparent 34rem), radial-gradient(circle at top right, rgba(155, 92, 122, 0.22), transparent 36rem), linear-gradient(135deg, #fbf7f1 0%, #f5eee8 45%, #f8f1f5 100%);
}

.public-body:where(:not(.mw76-root):not(.mw76-root *)) {
    background: radial-gradient(circle at 12% 12%, rgba(215, 168, 110, 0.24), transparent 28rem), radial-gradient(circle at 86% 4%, rgba(155, 92, 122, 0.22), transparent 32rem), linear-gradient(135deg, #fffaf4 0%, #f7eff4 100%);
}

/* App Shell */

.app-shell:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    min-height: 100vh;
}

.app-sidebar:where(:not(.mw76-root):not(.mw76-root *)) {
    position: sticky;
    top: 0;
    width: var(--mw-sidebar-width);
    height: 100vh;
    flex: 0 0 var(--mw-sidebar-width);
    padding: 18px 0 18px 18px;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--mw-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)), linear-gradient(135deg, rgba(155, 92, 122, 0.12), rgba(215, 168, 110, 0.12));
    box-shadow: var(--mw-shadow-md);
    backdrop-filter: blur(24px);
}

    .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::before {
        content: "";
        position: absolute;
        inset: -90px auto auto -90px;
        width: 190px;
        height: 190px;
        border-radius: 999px;
        background: rgba(215, 168, 110, 0.28);
        filter: blur(22px);
        pointer-events: none;
    }

    .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::after {
        content: "";
        position: absolute;
        right: -90px;
        bottom: -90px;
        width: 190px;
        height: 190px;
        border-radius: 999px;
        background: rgba(155, 92, 122, 0.22);
        filter: blur(24px);
        pointer-events: none;
    }

.app-main:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
}

.app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: var(--mw-topbar-height);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px clamp(18px, 3vw, 42px);
    background: rgba(247, 243, 239, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
}

.app-topbar-left:where(:not(.mw76-root):not(.mw76-root *)),
.app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
    justify-content: flex-end;
}

.app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 3px;
    color: var(--mw-text-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.28rem, 2.2vw, 1.78rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.app-content:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 28px clamp(18px, 3vw, 42px) 36px;
}

.app-footer:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1480px;
    margin: auto auto 0;
    padding: 18px clamp(18px, 3vw, 42px) 26px;
    color: var(--mw-text-muted);
    font-size: 0.88rem;
}

    .app-footer a:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-text-soft);
    }

.app-footer-separator:where(:not(.mw76-root):not(.mw76-root *)) {
    opacity: 0.55;
}

/* Brand */

.app-brand:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--mw-text);
    text-decoration: none;
}

    .app-brand:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-text);
    }

.app-brand-mark:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 24%), linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    box-shadow: 0 16px 34px rgba(155, 92, 122, 0.28);
}

.app-brand-copy:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.1;
}

.app-brand-name:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.app-brand-subtitle:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 3px;
    color: var(--mw-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

/* Navigation */

.app-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
    padding: 0 2px 18px 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(155, 92, 122, 0.3) transparent;
}

    .app-nav:where(:not(.mw76-root):not(.mw76-root *))::-webkit-scrollbar {
        width: 7px;
    }

    .app-nav:where(:not(.mw76-root):not(.mw76-root *))::-webkit-scrollbar-track {
        background: transparent;
    }

    .app-nav:where(:not(.mw76-root):not(.mw76-root *))::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(155, 92, 122, 0.24);
    }

.app-nav-section:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-nav-section-muted:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: auto;
}

.app-nav-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 10px 6px;
    color: var(--mw-text-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.app-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: var(--mw-text-soft);
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

    .app-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-primary-dark);
        background: rgba(255, 255, 255, 0.68);
        transform: translateX(2px);
    }

    .app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-primary-dark);
        border-color: rgba(155, 92, 122, 0.16);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)), linear-gradient(135deg, rgba(155, 92, 122, 0.16), rgba(215, 168, 110, 0.15));
        box-shadow: 0 14px 34px rgba(89, 61, 72, 0.1);
    }

        .app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *))::before {
            content: "";
            position: absolute;
            left: -7px;
            width: 4px;
            height: 22px;
            border-radius: 999px;
            background: linear-gradient(180deg, var(--mw-primary), var(--mw-accent));
            box-shadow: 0 8px 18px rgba(155, 92, 122, 0.28);
        }

.app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 10px;
    color: var(--mw-primary-dark);
    font-size: 0.73rem;
    font-weight: 900;
    background: rgba(155, 92, 122, 0.1);
}

.app-nav-link.is-active .app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
}

.app-nav-link .badge:where(:not(.mw76-root):not(.mw76-root *)),
.app-nav-link .rounded-pill:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-left: auto;
}

/* Sidebar Card */

.app-sidebar-card:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 18px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 23px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(54, 35, 48, 0.94), rgba(115, 63, 92, 0.92)), linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    box-shadow: 0 18px 42px rgba(72, 46, 58, 0.2);
}

.app-sidebar-card-glow:where(:not(.mw76-root):not(.mw76-root *)) {
    position: absolute;
    right: -44px;
    top: -48px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: rgba(215, 168, 110, 0.42);
    filter: blur(8px);
}

.app-sidebar-card-label:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.app-sidebar-card-title:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.app-sidebar-card-text:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* User */

.app-user-chip:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--mw-shadow-sm);
    backdrop-filter: blur(20px);
}

.app-user-avatar:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
}

.app-user-meta:where(:not(.mw76-root):not(.mw76-root *)) {
    padding-right: 3px;
    line-height: 1.1;
}

.app-user-name:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 180px;
    overflow: hidden;
    color: var(--mw-text);
    font-size: 0.88rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-user-role:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 4px;
    color: var(--mw-text-muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.app-logout-button:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid rgba(155, 92, 122, 0.14);
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--mw-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

    .app-logout-button:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        background: #ffffff;
        box-shadow: var(--mw-shadow-md);
        transform: translateY(-1px);
    }

/* Mobile */

.app-icon-button:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(155, 92, 122, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--mw-shadow-sm);
}

    .app-icon-button span:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--mw-primary-dark);
    }

.app-mobile-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 240, 0.96)), linear-gradient(135deg, rgba(155, 92, 122, 0.14), rgba(215, 168, 110, 0.14));
}

    .app-mobile-nav .offcanvas-header:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 20px;
        border-bottom: 1px solid var(--mw-border);
    }

    .app-mobile-nav .offcanvas-body:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 8px 18px 24px;
    }

    .app-mobile-nav .app-nav:where(:not(.mw76-root):not(.mw76-root *)) {
        margin-top: 10px;
        overflow: visible;
    }

/* Public Shell */

.public-shell:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.public-header:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 20px clamp(18px, 5vw, 64px) 0;
}

.public-navbar:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--mw-shadow-sm);
    backdrop-filter: blur(20px);
}

.public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 10px 12px;
    color: var(--mw-text-soft);
    font-size: 0.92rem;
    font-weight: 800;
}

.public-content:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px clamp(18px, 5vw, 64px);
}

.public-footer:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 1180px;
    width: 100%;
    margin: auto auto 0;
    padding: 24px clamp(18px, 5vw, 64px) 32px;
    color: var(--mw-text-muted);
    font-size: 0.9rem;
}

/* Bootstrap Premium Overrides */

.container:where(:not(.mw76-root):not(.mw76-root *)),
.container-fluid:where(:not(.mw76-root):not(.mw76-root *)) {
    --bs-gutter-x: 1.6rem;
}

.card:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.74) !important;
    border-radius: var(--mw-radius-lg) !important;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mw-shadow-sm) !important;
    backdrop-filter: blur(18px);
}

.card-header:where(:not(.mw76-root):not(.mw76-root *)) {
    border-bottom: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-lg) var(--mw-radius-lg) 0 0 !important;
    background: rgba(255, 255, 255, 0.62);
}

.card-body:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
}

.shadow-sm:where(:not(.mw76-root):not(.mw76-root *)) {
    box-shadow: var(--mw-shadow-sm) !important;
}

.border-0:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.74) !important;
}

.bg-light:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: rgba(255, 255, 255, 0.48) !important;
}

.text-muted:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-muted) !important;
}

.text-dark:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text) !important;
}

.btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 40px;
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

    .btn:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        transform: translateY(-1px);
    }

.btn-sm:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 34px;
    padding-inline: 14px;
    font-size: 0.82rem;
}

.btn-lg:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 50px;
    padding-inline: 24px;
}

.btn-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: transparent !important;
    color: #ffffff !important;
    background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.32), transparent 22%), linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
    box-shadow: 0 14px 30px rgba(155, 92, 122, 0.25);
}

    .btn-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
    .btn-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
        background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.36), transparent 22%), linear-gradient(135deg, var(--mw-primary-dark), #5e3149) !important;
        box-shadow: 0 18px 40px rgba(155, 92, 122, 0.32);
    }

.btn-outline-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(155, 92, 122, 0.34) !important;
    color: var(--mw-primary-dark) !important;
    background: rgba(255, 255, 255, 0.56);
}

    .btn-outline-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
    .btn-outline-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
        border-color: transparent !important;
        color: #ffffff !important;
        background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
        box-shadow: 0 14px 30px rgba(155, 92, 122, 0.22);
    }

.btn-outline-success:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(47, 148, 97, 0.35) !important;
    color: #24724a !important;
    background: rgba(255, 255, 255, 0.56);
}

    .btn-outline-success:hover:where(:not(.mw76-root):not(.mw76-root *)),
    .btn-outline-success:focus:where(:not(.mw76-root):not(.mw76-root *)) {
        color: #ffffff !important;
        background: var(--mw-success) !important;
    }

.btn-outline-secondary:where(:not(.mw76-root):not(.mw76-root *)),
.btn-light:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(73, 55, 62, 0.12) !important;
    color: var(--mw-text-soft) !important;
    background: rgba(255, 255, 255, 0.62) !important;
}

    .btn-outline-secondary:hover:where(:not(.mw76-root):not(.mw76-root *)),
    .btn-light:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        color: var(--mw-text) !important;
        background: #ffffff !important;
        box-shadow: var(--mw-shadow-sm);
    }

.btn-link:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary);
    font-weight: 850;
    text-decoration: none;
}

.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 44px;
    border: 1px solid rgba(73, 55, 62, 0.14);
    border-radius: 15px;
    color: var(--mw-text);
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: none;
}

textarea.form-control:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 110px;
}

.form-control:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-check-input:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:active:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn-link.nav-link:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(155, 92, 122, 0.45);
    box-shadow: 0 0 0 0.14rem rgba(255, 255, 255, 0.9), 0 0 0 0.31rem rgba(155, 92, 122, 0.22);
}

.form-label {
    color: var(--mw-text);
    font-size: 0.88rem;
    font-weight: 850;
}

.form-text {
    color: var(--mw-text-muted);
}

.form-check-input {
    border-color: rgba(155, 92, 122, 0.34);
}

    .form-check-input:checked {
        border-color: var(--mw-primary);
        background-color: var(--mw-primary);
    }

.input-group-text {
    border-color: rgba(73, 55, 62, 0.14);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.64);
    color: var(--mw-text-soft);
    font-weight: 800;
}

.table {
    margin-bottom: 0;
    color: var(--mw-text);
    vertical-align: middle;
}

    .table > :not(caption) > * > *:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 1rem 0.95rem;
        border-bottom-color: rgba(73, 55, 62, 0.08);
        background: transparent;
    }

    .table thead th {
        color: var(--mw-text-muted);
        font-size: 0.75rem;
        font-weight: 900;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        white-space: nowrap;
    }

.table-hover > tbody > tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

    .table-hover > tbody > tr:hover > *:where(:not(.mw76-root):not(.mw76-root *)) {
        background-color: rgba(255, 255, 255, 0.64);
    }

.table-responsive {
    border-radius: 20px;
}

.badge:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 999px;
    padding: 0.48em 0.72em;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.bg-success:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-success) !important;
}

.bg-secondary:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: #8e8386 !important;
}

.bg-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-primary) !important;
}

.bg-warning:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-warning) !important;
}

.bg-danger:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-danger) !important;
}

.bg-info:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-info) !important;
}

.bg-primary-subtle:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-primary-soft) !important;
}

.text-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark) !important;
}

.alert {
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 20px;
    box-shadow: var(--mw-shadow-sm);
}

.alert-success {
    color: #145c38;
    background: rgba(228, 246, 237, 0.88);
}

.alert-danger {
    color: #8d2c2c;
    background: rgba(254, 235, 235, 0.88);
}

.alert-info {
    color: #23576a;
    background: rgba(232, 246, 251, 0.88);
}

.alert-warning {
    color: #745016;
    background: rgba(255, 246, 226, 0.88);
}

.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mw-shadow-lg);
    backdrop-filter: blur(22px);
}

.modal-header,
.modal-footer {
    border-color: var(--mw-border);
}

.dropdown-menu:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mw-shadow-md);
    backdrop-filter: blur(22px);
}

.dropdown-item:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 12px;
    font-weight: 750;
}

    .dropdown-item:hover:where(:not(.mw76-root):not(.mw76-root *)) {
        background: var(--mw-primary-soft);
        color: var(--mw-primary-dark);
    }

.pagination {
    gap: 6px;
}

.page-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 38px;
    border: 1px solid rgba(73, 55, 62, 0.1);
    border-radius: 999px !important;
    color: var(--mw-text-soft);
    background: rgba(255, 255, 255, 0.65);
    font-weight: 850;
}

    .page-link:hover {
        color: var(--mw-primary-dark);
        background: #ffffff;
    }

.page-item.active .page-link {
    border-color: transparent;
    background: var(--mw-primary);
}

/* Reusable Page Polish */

.page-hero,
.mw-page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--mw-radius-xl);
    background: radial-gradient(circle at 88% 18%, rgba(215, 168, 110, 0.24), transparent 18rem), radial-gradient(circle at 12% 8%, rgba(155, 92, 122, 0.18), transparent 16rem), rgba(255, 255, 255, 0.78);
    box-shadow: var(--mw-shadow-sm);
    backdrop-filter: blur(20px);
}

    .page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
    .page-hero h2:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-page-hero h2:where(:not(.mw76-root):not(.mw76-root *)) {
        margin-bottom: 6px;
        font-weight: 900;
        letter-spacing: -0.045em;
    }

    .page-hero p:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-page-hero p:where(:not(.mw76-root):not(.mw76-root *)) {
        max-width: 720px;
        color: var(--mw-text-soft);
    }

.empty-state:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 56px 24px;
    border: 1px dashed rgba(155, 92, 122, 0.24);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
}

    .empty-state h5:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-empty-state h5:where(:not(.mw76-root):not(.mw76-root *)) {
        font-weight: 900;
    }

/* Validation */

.field-validation-error:where(:not(.mw76-root):not(.mw76-root *)),
.text-danger:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-danger) !important;
}

.validation-summary-errors {
    padding: 14px 16px;
    border: 1px solid rgba(201, 71, 71, 0.16);
    border-radius: 18px;
    color: var(--mw-danger);
    background: rgba(254, 235, 235, 0.78);
}

    .validation-summary-errors ul {
        margin-bottom: 0;
    }

/* Responsive */

@media (max-width: 991.98px) {
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        min-height: 78px;
    }

    .app-content:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-top: 20px;
    }

    .app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)) {
        display: none;
    }

    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
        gap: 8px;
    }

    .app-logout-button:where(:not(.mw76-root):not(.mw76-root *)) {
        min-height: 40px;
        padding-inline: 13px;
        font-size: 0.82rem;
    }
}

@media (max-width: 767.98px) {
    .app-content:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-inline: 14px;
    }

    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-inline: 14px;
    }

    .app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 1.15rem;
    }

    .app-user-chip:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-right: 7px;
    }

    .app-footer:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-wrap: wrap;
        padding-inline: 14px;
    }

    .public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
    .public-footer:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
        justify-content: space-between;
    }

    .table > :not(caption) > * > *:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 0.82rem 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .app-topbar-right .app-user-chip:where(:not(.mw76-root):not(.mw76-root *)) {
        display: none;
    }

    .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: auto;
    }

    .d-flex.justify-content-between.align-items-center:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: flex-start !important;
        gap: 14px;
    }
}

/* Motion Safety */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Owner Dashboard Premium */

.mw-dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 36px;
    background: radial-gradient(circle at 92% 12%, rgba(215, 168, 110, 0.34), transparent 22rem), radial-gradient(circle at 8% 4%, rgba(155, 92, 122, 0.24), transparent 18rem), linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
    box-shadow: 0 26px 80px rgba(75, 53, 64, 0.14);
    backdrop-filter: blur(24px);
}

    .mw-dashboard-hero::before {
        content: "";
        position: absolute;
        inset: 18px;
        border: 1px solid rgba(255, 255, 255, 0.52);
        border-radius: 28px;
        pointer-events: none;
    }

.mw-dashboard-hero-glow {
    position: absolute;
    right: -90px;
    top: -120px;
    width: 310px;
    height: 310px;
    border-radius: 999px;
    background: rgba(155, 92, 122, 0.16);
    filter: blur(18px);
    pointer-events: none;
}

.mw-center-avatar {
    display: inline-grid;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 26px;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    background: radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.46), transparent 24%), linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    box-shadow: 0 24px 48px rgba(155, 92, 122, 0.27);
}

.mw-hero-kicker,
.mw-section-kicker,
.mw-panel-label {
    color: var(--mw-primary-dark);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mw-hero-title {
    color: var(--mw-text);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 0.96;
}

.mw-hero-text {
    max-width: 760px;
    color: var(--mw-text-soft);
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    line-height: 1.8;
}

.mw-soft-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(155, 92, 122, 0.14);
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    font-weight: 850;
}

.mw-hero-panel {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.64)), linear-gradient(135deg, rgba(155, 92, 122, 0.12), rgba(215, 168, 110, 0.14));
    box-shadow: 0 22px 58px rgba(75, 53, 64, 0.14);
}

    .mw-hero-panel::after {
        content: "";
        position: absolute;
        right: -58px;
        bottom: -64px;
        width: 160px;
        height: 160px;
        border-radius: 999px;
        background: rgba(215, 168, 110, 0.2);
        filter: blur(12px);
        pointer-events: none;
    }

.mw-pending-orb {
    display: inline-grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border-radius: 22px;
    color: var(--mw-text-soft);
    background: rgba(255, 255, 255, 0.72);
    font-size: 1.55rem;
    font-weight: 950;
    box-shadow: var(--mw-shadow-sm);
}

    .mw-pending-orb.has-pending {
        color: #ffffff;
        background: radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.42), transparent 24%), linear-gradient(135deg, var(--mw-danger), var(--mw-warning));
        box-shadow: 0 20px 44px rgba(201, 71, 71, 0.26);
    }

.mw-mini-metric {
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(73, 55, 62, 0.1);
    border-radius: 24px;
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .mw-mini-metric:hover {
        color: var(--mw-text);
        background: #ffffff;
        box-shadow: var(--mw-shadow-md);
        transform: translateY(-3px);
    }

    .mw-mini-metric.danger {
        border-color: rgba(201, 71, 71, 0.14);
    }

    .mw-mini-metric.warning {
        border-color: rgba(183, 121, 31, 0.16);
    }

.mw-mini-metric-value {
    font-size: 2.1rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
}

.mw-mini-metric.danger .mw-mini-metric-value {
    color: var(--mw-danger);
}

.mw-mini-metric.warning .mw-mini-metric-value {
    color: var(--mw-warning);
}

.mw-mini-metric-label {
    color: var(--mw-text-soft);
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.35;
}

.mw-good-state,
.mw-attention-state {
    padding: 13px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 850;
}

.mw-good-state {
    color: #145c38;
    background: rgba(228, 246, 237, 0.78);
}

.mw-attention-state {
    color: #7c341b;
    background: rgba(255, 237, 213, 0.82);
}

.mw-action-card {
    position: relative;
    display: flex;
    min-height: 150px;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(73, 55, 62, 0.1);
    border-radius: 26px;
    color: var(--mw-text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

    .mw-action-card::after {
        content: "";
        position: absolute;
        right: -46px;
        top: -50px;
        width: 120px;
        height: 120px;
        border-radius: 999px;
        background: rgba(155, 92, 122, 0.08);
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .mw-action-card:hover {
        color: var(--mw-text);
        border-color: rgba(155, 92, 122, 0.16);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--mw-shadow-md);
        transform: translateY(-4px);
    }

        .mw-action-card:hover::after {
            transform: scale(1.18);
            opacity: 1;
        }

    .mw-action-card.primary {
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.55);
        background: radial-gradient(circle at 88% 8%, rgba(215, 168, 110, 0.42), transparent 14rem), linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark));
        box-shadow: 0 20px 50px rgba(155, 92, 122, 0.24);
    }

        .mw-action-card.primary:hover {
            color: #ffffff;
        }

        .mw-action-card.primary .mw-action-text {
            color: rgba(255, 255, 255, 0.76);
        }

        .mw-action-card.primary .mw-action-icon {
            color: var(--mw-primary-dark);
            background: rgba(255, 255, 255, 0.9);
        }

.mw-action-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 17px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    font-size: 0.92rem;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(155, 92, 122, 0.18);
}

.mw-action-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.mw-action-title {
    font-size: 1.02rem;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.mw-action-text {
    color: var(--mw-text-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.mw-context-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mw-context-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(73, 55, 62, 0.08);
}

    .mw-context-item:first-child {
        border-top: 1px solid rgba(73, 55, 62, 0.08);
    }

    .mw-context-item span {
        color: var(--mw-text-muted);
        font-size: 0.84rem;
        font-weight: 800;
    }

    .mw-context-item strong {
        max-width: 62%;
        text-align: right;
        font-size: 0.9rem;
        font-weight: 900;
    }

.mw-list-action {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(73, 55, 62, 0.09);
    border-radius: 22px;
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

    .mw-list-action:hover {
        color: var(--mw-text);
        border-color: rgba(155, 92, 122, 0.16);
        background: #ffffff;
        box-shadow: var(--mw-shadow-sm);
        transform: translateX(3px);
    }

    .mw-list-action.urgent {
        border-color: rgba(201, 71, 71, 0.14);
    }

    .mw-list-action.warning {
        border-color: rgba(183, 121, 31, 0.16);
    }

.mw-list-action-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 15px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    font-size: 0.82rem;
    font-weight: 950;
}

.mw-list-action span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.mw-list-action strong {
    font-size: 0.94rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.mw-list-action small {
    color: var(--mw-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
}

.mw-list-action .badge:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-left: auto;
}

@media (max-width: 1199.98px) {
    .mw-dashboard-hero {
        padding: 28px;
    }

    .mw-hero-panel {
        margin-top: 4px;
    }
}

@media (max-width: 767.98px) {
    .mw-dashboard-hero {
        border-radius: 28px;
        padding: 22px;
    }

        .mw-dashboard-hero::before {
            display: none;
        }

    .mw-center-avatar {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-radius: 20px;
        font-size: 1.4rem;
    }

    .mw-hero-title {
        font-size: 1.75rem;
    }

    .mw-hero-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .mw-action-card {
        min-height: auto;
    }

    .mw-context-item {
        flex-direction: column;
        gap: 5px;
    }

        .mw-context-item strong {
            max-width: 100%;
            text-align: left;
        }
}

/* Phase 67 Operational Polish */

.mw-page-hero,
.mw-public-flow-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--mw-radius-xl);
    background: radial-gradient(circle at 90% 12%, rgba(215, 168, 110, 0.2), transparent 16rem), linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58));
    box-shadow: var(--mw-shadow-sm);
    backdrop-filter: blur(18px);
}

.mw-page-kicker {
    margin-bottom: 8px;
    color: var(--mw-primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.mw-page-hero p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--mw-text-soft);
    line-height: 1.6;
}

.mw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.mw-panel,
.mw-side-panel,
.mw-auth-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mw-shadow-sm);
    backdrop-filter: blur(18px);
}

.mw-panel-body {
    padding: 24px;
}

.mw-narrow-panel {
    max-width: 760px;
}

.mw-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.mw-panel-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-form-section h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.12rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.mw-panel-header p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-form-section p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 6px 0 0;
    color: var(--mw-text-soft);
    line-height: 1.55;
}

.mw-form-section {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mw-border);
}

.mw-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mw-side-panel {
    padding: 24px;
}

.mw-side-icon,
.mw-empty-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    font-size: 0.86rem;
    font-weight: 950;
}

.mw-mini-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.mw-mini-list span,
.mw-copy-box,
.mw-contact-card,
.mw-mini-fact,
.mw-callout {
    border: 1px solid var(--mw-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    padding: 13px 14px;
}

.mw-note {
    border: 1px solid rgba(59, 130, 160, 0.18);
    border-radius: 20px;
    background: rgba(232, 244, 248, 0.82);
    color: #24556a;
    padding: 16px 18px;
    box-shadow: var(--mw-shadow-sm);
}

.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 54px 22px;
    text-align: center;
}

.mw-empty-state.compact:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 34px 18px;
}

.mw-table {
    margin-bottom: 0;
}

.mw-table thead th {
    color: var(--mw-text-muted);
    border-bottom-color: var(--mw-border);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-table tbody td {
    border-color: rgba(73, 55, 62, 0.08);
    padding-top: 16px;
    padding-bottom: 16px;
}

.mw-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mw-identity strong,
.mw-identity small {
    display: block;
}

.mw-identity small,
.mw-meta-line {
    color: var(--mw-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.mw-avatar {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    place-items: center;
    border-radius: 15px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    font-weight: 950;
}

.mw-status,
.mw-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.mw-count-pill {
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
}

.mw-status-success { color: #145c38; background: rgba(228, 246, 237, 0.9); }
.mw-status-warning { color: #7c4a08; background: rgba(255, 244, 214, 0.95); }
.mw-status-danger { color: #8a2626; background: rgba(255, 231, 231, 0.95); }
.mw-status-info { color: #24556a; background: rgba(232, 244, 248, 0.95); }
.mw-status-muted { color: var(--mw-text-soft); background: rgba(241, 238, 234, 0.95); }

.mw-service-group {
    padding: 18px;
    border: 1px solid var(--mw-border);
    border-radius: 24px;
    background: rgba(251, 248, 244, 0.74);
}

.mw-service-group + .mw-service-group {
    margin-top: 18px;
}

.mw-service-group-header {
    margin-bottom: 16px;
}

.mw-service-group-header h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 950;
}

.mw-service-group-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-text-muted);
    font-size: 0.84rem;
}

.mw-check-card,
.mw-service-card,
.mw-slot-card,
.mw-booking-card,
.mw-hour-card,
.mw-metric-card {
    height: 100%;
    border: 1px solid var(--mw-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    padding: 18px;
    box-shadow: 0 8px 22px rgba(54, 39, 46, 0.06);
}

.mw-service-card-head,
.mw-hour-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mw-service-card h4:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
}

.mw-service-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 46px;
    margin: 12px 0;
    color: var(--mw-text-soft);
    line-height: 1.5;
}

.mw-service-facts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mw-service-facts span,
.mw-service-facts strong {
    border-radius: 14px;
    background: rgba(243, 223, 235, 0.66);
    padding: 8px 10px;
}

.mw-upload-preview {
    overflow: hidden;
    border: 1px solid var(--mw-border);
    border-radius: 22px;
    background: rgba(251, 248, 244, 0.8);
}

.mw-logo-preview {
    padding: 18px;
}

.mw-cover-preview {
    min-height: 150px;
}

.mw-upload-placeholder {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    color: var(--mw-text-muted);
    font-size: 0.88rem;
}

.mw-brand-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mw-border);
    border-radius: 20px;
    background: rgba(251, 248, 244, 0.9);
}

.mw-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.mw-hour-card.is-inactive {
    opacity: 0.68;
}

.mw-day-name {
    display: block;
    font-weight: 950;
}

.mw-hour-time {
    color: var(--mw-primary-dark);
    font-weight: 950;
}

.mw-row-muted {
    opacity: 0.72;
}

.mw-public-hero {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mw-shadow-md);
}

.mw-public-cover {
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.mw-public-cover.empty {
    display: grid;
    min-height: 210px;
    place-items: center;
    color: var(--mw-text-muted);
    background: linear-gradient(135deg, var(--mw-surface-muted), var(--mw-primary-soft));
}

.mw-explore-card {
    display: flex;
    flex-direction: column;
}

.mw-explore-card-cover {
    display: block;
    min-height: 150px;
    height: 150px;
    flex: 0 0 150px;
}

.mw-explore-card-body {
    flex: 1 1 auto;
}

.mw-explore-card-actions {
    padding-top: 4px;
}

.mw-public-hero-body {
    padding: 28px;
}

.mw-public-logo {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border: 4px solid #fff;
    border-radius: 28px;
    background: #fff;
    object-fit: cover;
    box-shadow: var(--mw-shadow-sm);
}

.mw-public-logo.empty {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    font-size: 2rem;
    font-weight: 950;
}

.mw-auth-card {
    padding: 30px;
}

.mw-auth-card h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 10px 0 8px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.mw-auth-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    font-size: 1.35rem;
    font-weight: 950;
}

@media (max-width: 767.98px) {
    .mw-page-hero,
    .mw-public-flow-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .mw-hero-actions {
        justify-content: flex-start;
    }

    .mw-panel-body,
    .mw-side-panel,
    .mw-auth-card {
        padding: 20px;
    }

    .mw-public-cover {
        min-height: 210px;
    }

    .mw-public-hero-body {
        padding: 22px;
    }
}

/* Beauty Center Experience Refresh */

:root {
    --mw-bg: #fbfaf7;
    --mw-bg-soft: #f5f0ea;
    --mw-surface: rgba(255, 255, 255, 0.92);
    --mw-surface-solid: #ffffff;
    --mw-surface-muted: #f7f2ee;
    --mw-text: #252225;
    --mw-text-soft: #625d62;
    --mw-text-muted: #8a8088;
    --mw-primary: #9f4f73;
    --mw-primary-dark: #743554;
    --mw-primary-soft: #f6dce8;
    --mw-accent: #bc8a4e;
    --mw-accent-soft: #f7ead9;
    --mw-success: #2f7c57;
    --mw-warning: #a56b1f;
    --mw-danger: #b94b52;
    --mw-info: #357c91;
    --mw-border: rgba(55, 46, 51, 0.12);
    --mw-border-strong: rgba(55, 46, 51, 0.2);
    --mw-shadow-sm: 0 8px 22px rgba(45, 37, 42, 0.08);
    --mw-shadow-md: 0 18px 44px rgba(45, 37, 42, 0.12);
    --mw-shadow-lg: 0 30px 72px rgba(45, 37, 42, 0.16);
    --mw-radius-sm: 6px;
    --mw-radius-md: 8px;
    --mw-radius-lg: 8px;
    --mw-radius-xl: 8px;
}

*:where(:not(.mw76-root):not(.mw76-root *)) {
    letter-spacing: 0 !important;
}

body {
    background-color: var(--mw-bg);
}

.app-body:where(:not(.mw76-root):not(.mw76-root *)),
.public-body:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(251, 250, 247, 0.95)),
        linear-gradient(135deg, #fbf7f2 0%, #f7edf2 45%, #eef7f4 100%);
}

.app-sidebar:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 14px 0 14px 14px;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)),
.public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
.app-user-chip:where(:not(.mw76-root):not(.mw76-root *)),
.app-logout-button:where(:not(.mw76-root):not(.mw76-root *)),
.app-icon-button:where(:not(.mw76-root):not(.mw76-root *)),
.card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(255, 255, 255, 0.86) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: var(--mw-shadow-sm) !important;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::before,
.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::after,
.app-sidebar-card-glow:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero-glow:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *))::before,
.mw-hero-panel:where(:not(.mw76-root):not(.mw76-root *))::after,
.mw-action-card:where(:not(.mw76-root):not(.mw76-root *))::after {
    display: none !important;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 18px 14px;
    border: 1px solid var(--mw-border);
}

.app-brand-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-center-avatar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-action-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-list-action-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    box-shadow: 0 12px 24px rgba(159, 79, 115, 0.2);
}

.app-brand-subtitle:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
}

.app-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 14px;
    margin-top: 24px;
}

.app-nav-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-section-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-label:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    text-transform: uppercase;
}

.app-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    border-radius: 8px;
    color: var(--mw-text-soft);
}

.app-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(246, 220, 232, 0.5);
    transform: translateX(2px);
}

.app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(159, 79, 115, 0.22);
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
    box-shadow: 0 14px 28px rgba(159, 79, 115, 0.24);
}

.app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *))::before {
    display: none;
}

.app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 6px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    width: 32px;
    height: 28px;
    flex-basis: 32px;
    font-size: 0.68rem;
    line-height: 1;
}

.app-nav-link.is-active .app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.9);
}

.app-sidebar-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(43, 34, 40, 0.94), rgba(116, 53, 84, 0.92)),
        linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
}

.app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
    background: rgba(251, 250, 247, 0.86);
    border-bottom-color: var(--mw-border);
}

.app-content:where(:not(.mw76-root):not(.mw76-root *)) {
    padding-top: 24px;
}

.mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow: hidden;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8)),
        linear-gradient(135deg, rgba(159, 79, 115, 0.14), rgba(188, 138, 78, 0.14), rgba(53, 124, 145, 0.1)) !important;
}

.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)),
.app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    line-height: 1.05;
}

.mw-hero-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.mw-hero-text:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero p:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-soft);
}

.card-header:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px 8px 0 0 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 238, 0.76));
}

.mw-panel-body:where(:not(.mw76-root):not(.mw76-root *)),
.card-body:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
}

.mw-panel-header {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mw-border);
}

.btn:where(:not(.mw76-root):not(.mw76-root *)),
.badge:where(:not(.mw76-root):not(.mw76-root *)),
.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)),
.input-group-text:where(:not(.mw76-root):not(.mw76-root *)),
.alert:where(:not(.mw76-root):not(.mw76-root *)),
.mw-status:where(:not(.mw76-root):not(.mw76-root *)),
.mw-count-pill:where(:not(.mw76-root):not(.mw76-root *)),
.mw-soft-pill:where(:not(.mw76-root):not(.mw76-root *)),
.mw-good-state:where(:not(.mw76-root):not(.mw76-root *)),
.mw-attention-state:where(:not(.mw76-root):not(.mw76-root *)),
.mw-note:where(:not(.mw76-root):not(.mw76-root *)),
.mw-callout:where(:not(.mw76-root):not(.mw76-root *)),
.mw-contact-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-mini-fact:where(:not(.mw76-root):not(.mw76-root *)),
.mw-copy-box:where(:not(.mw76-root):not(.mw76-root *)),
.mw-service-group:where(:not(.mw76-root):not(.mw76-root *)),
.mw-check-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-service-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-slot-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-booking-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hour-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-metric-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-mini-metric:where(:not(.mw76-root):not(.mw76-root *)),
.mw-action-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-list-action:where(:not(.mw76-root):not(.mw76-root *)),
.mw-upload-preview:where(:not(.mw76-root):not(.mw76-root *)),
.mw-brand-logo-box:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px !important;
}

.btn:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
    box-shadow: 0 12px 24px rgba(159, 79, 115, 0.24);
}

.btn-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary-dark), #5b2840) !important;
}

.btn-outline-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-outline-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
}

.table-responsive {
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
}

.table thead th,
.mw-table thead th {
    color: var(--mw-primary-dark);
    background: rgba(246, 220, 232, 0.32);
}

.table > :not(caption) > * > *:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table tbody td:where(:not(.mw76-root):not(.mw76-root *)) {
    border-bottom-color: rgba(55, 46, 51, 0.08);
}

.table-hover > tbody > tr:hover > *:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: rgba(247, 234, 217, 0.5);
}

.form-label {
    color: var(--mw-text);
}

.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: rgba(255, 255, 255, 0.94);
}

.form-control:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-check-input:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:active:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn-link.nav-link:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    box-shadow: 0 0 0 0.18rem rgba(159, 79, 115, 0.18);
}

.mw-service-card,
.mw-booking-card,
.mw-slot-card,
.mw-hour-card,
.mw-metric-card,
.mw-mini-metric,
.mw-action-card,
.mw-list-action {
    border-color: var(--mw-border);
    background: rgba(255, 255, 255, 0.76);
}

.mw-action-card.primary:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark)) !important;
}

.mw-action-card:hover,
.mw-list-action:hover,
.mw-mini-metric:hover {
    border-color: rgba(159, 79, 115, 0.24);
    background: #ffffff;
    box-shadow: var(--mw-shadow-md);
}

.mw-public-cover.empty {
    color: var(--mw-primary-dark);
    background:
        linear-gradient(135deg, rgba(246, 220, 232, 0.72), rgba(247, 234, 217, 0.8)),
        var(--mw-surface-muted);
}

.mw-public-logo,
.mw-public-logo.empty {
    border-radius: 8px;
}

.list-group-item {
    background: transparent;
    border-color: var(--mw-border);
}

@media (max-width: 991.98px) {
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        min-height: 74px;
    }

    .app-user-chip:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-right: 7px;
    }
}

@media (max-width: 575.98px) {
    .public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: stretch;
    }

    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-wrap: wrap;
    }

    .mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 1.72rem;
    }
}

/* Executive UI Refinement */

:root {
    --mw-font-sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mw-font-display: "Playfair Display", Georgia, serif;
    --mw-bg: #f6f8fb;
    --mw-bg-soft: #eef3f7;
    --mw-surface: rgba(255, 255, 255, 0.9);
    --mw-surface-solid: #ffffff;
    --mw-surface-muted: #edf3f6;
    --mw-text: #172026;
    --mw-text-soft: #55636d;
    --mw-text-muted: #7d8a93;
    --mw-primary: #146c74;
    --mw-primary-dark: #0b4650;
    --mw-primary-soft: #dff3f2;
    --mw-accent: #c06a7c;
    --mw-accent-soft: #f9e4e8;
    --mw-success: #247b55;
    --mw-warning: #a7681d;
    --mw-danger: #b74752;
    --mw-info: #2d7895;
    --mw-border: rgba(23, 32, 38, 0.1);
    --mw-border-strong: rgba(23, 32, 38, 0.18);
    --mw-shadow-sm: 0 12px 28px rgba(22, 44, 52, 0.08);
    --mw-shadow-md: 0 22px 52px rgba(22, 44, 52, 0.12);
    --mw-shadow-lg: 0 36px 84px rgba(22, 44, 52, 0.16);
    --mw-radius-sm: 8px;
    --mw-radius-md: 8px;
    --mw-radius-lg: 8px;
    --mw-radius-xl: 8px;
}

body {
    color: var(--mw-text);
    background: var(--mw-bg);
}

.app-body:where(:not(.mw76-root):not(.mw76-root *)),
.public-body:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        linear-gradient(135deg, rgba(20, 108, 116, 0.06), rgba(192, 106, 124, 0.08) 45%, rgba(36, 123, 85, 0.05)),
        linear-gradient(180deg, #f9fbfc 0%, #eef3f7 100%);
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)),
.public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
.app-topbar:where(:not(.mw76-root):not(.mw76-root *)),
.app-user-chip:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-hero:where(:not(.mw76-root):not(.mw76-root *)),
.card:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: var(--mw-shadow-sm) !important;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)),
.app-topbar:where(:not(.mw76-root):not(.mw76-root *)),
.public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-hero:where(:not(.mw76-root):not(.mw76-root *)),
.card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    backdrop-filter: blur(22px) saturate(145%);
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 252, 0.86)),
        linear-gradient(135deg, rgba(20, 108, 116, 0.12), rgba(192, 106, 124, 0.1)) !important;
}

.app-brand-mark:where(:not(.mw76-root):not(.mw76-root *)),
.app-user-avatar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-center-avatar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-action-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-list-action-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-avatar:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary), #1d8c88 52%, var(--mw-accent)) !important;
    box-shadow: 0 14px 28px rgba(20, 108, 116, 0.2);
}

.app-brand-name:where(:not(.mw76-root):not(.mw76-root *)),
.app-page-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card h1:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    font-weight: 800;
    letter-spacing: 0 !important;
}

.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)) {
    font-family: var(--mw-font-display);
    font-weight: 800;
}

.app-brand-subtitle:where(:not(.mw76-root):not(.mw76-root *)),
.app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)),
.app-nav-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-section-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-label:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark) !important;
}

.app-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px;
    color: var(--mw-text-soft);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.app-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(223, 243, 242, 0.72);
    transform: translateX(3px);
}

.app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(20, 108, 116, 0.22);
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
    box-shadow: 0 16px 32px rgba(20, 108, 116, 0.24);
}

.app-nav-link.is-active .app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.94);
}

.app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
    border-bottom: 1px solid rgba(23, 32, 38, 0.08);
    background: rgba(246, 248, 251, 0.84) !important;
}

.public-navbar:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 1240px;
}

.public-content:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 1240px;
}

.mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.86) !important;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7)),
        linear-gradient(135deg, rgba(20, 108, 116, 0.14), rgba(192, 106, 124, 0.13), rgba(36, 123, 85, 0.08)) !important;
    box-shadow: var(--mw-shadow-md) !important;
}

.mw-page-hero,
.mw-public-flow-hero {
    align-items: center;
    min-height: 176px;
}

.mw-page-hero p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-text:where(:not(.mw76-root):not(.mw76-root *)),
.card-text:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-header p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-form-section p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state p:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-soft) !important;
}

.btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    border-radius: 8px !important;
    font-weight: 800;
    box-shadow: none;
}

.btn-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 0 !important;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
    box-shadow: 0 14px 28px rgba(20, 108, 116, 0.22);
}

.btn-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, #07343c, #0f5f67) !important;
    box-shadow: 0 18px 34px rgba(20, 108, 116, 0.28);
}

.btn-outline-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(20, 108, 116, 0.32) !important;
    color: var(--mw-primary-dark) !important;
    background: rgba(255, 255, 255, 0.7);
}

.btn-outline-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-outline-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
}

.btn-outline-danger:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(183, 71, 82, 0.32) !important;
    color: var(--mw-danger) !important;
    background: rgba(255, 255, 255, 0.7);
}

.btn-outline-danger:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-outline-danger:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    color: #ffffff !important;
    background: var(--mw-danger) !important;
}

.btn-outline-warning:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(167, 104, 29, 0.32) !important;
    color: #7a4a11 !important;
    background: rgba(255, 255, 255, 0.7);
}

.btn-outline-warning:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-outline-warning:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    color: #ffffff !important;
    background: var(--mw-warning) !important;
}

.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)),
.input-group-text:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 46px;
    border-color: rgba(23, 32, 38, 0.12);
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.94);
}

.form-control:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-check-input:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn:active:focus:where(:not(.mw76-root):not(.mw76-root *)),
.btn-link.nav-link:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(20, 108, 116, 0.42);
    box-shadow: 0 0 0 0.18rem rgba(20, 108, 116, 0.16);
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--mw-text);
    font-size: 0.84rem;
    font-weight: 800;
}

.table-responsive:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow: auto;
    border: 1px solid var(--mw-border);
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.table thead th,
.mw-table thead th {
    color: var(--mw-primary-dark);
    background: rgba(223, 243, 242, 0.62);
}

.table > :not(caption) > * > *:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table tbody td:where(:not(.mw76-root):not(.mw76-root *)) {
    border-bottom-color: rgba(23, 32, 38, 0.08);
}

.table-hover > tbody > tr:hover > *:where(:not(.mw76-root):not(.mw76-root *)) {
    background: rgba(223, 243, 242, 0.36);
}

.mw-panel-body:where(:not(.mw76-root):not(.mw76-root *)),
.card-body:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: clamp(20px, 2.4vw, 32px);
}

.mw-panel-header {
    align-items: center;
    margin-bottom: 20px;
}

.mw-action-card,
.mw-list-action,
.mw-check-card,
.mw-service-card,
.mw-slot-card,
.mw-booking-card,
.mw-hour-card,
.mw-metric-card,
.mw-mini-metric {
    border-color: rgba(23, 32, 38, 0.1);
    background: rgba(255, 255, 255, 0.76);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mw-action-card:hover,
.mw-list-action:hover,
.mw-check-card:hover,
.mw-service-card:hover,
.mw-slot-card:hover,
.mw-booking-card:hover,
.mw-hour-card:hover,
.mw-metric-card:hover,
.mw-mini-metric:hover {
    border-color: rgba(20, 108, 116, 0.22);
    background: #ffffff;
    box-shadow: var(--mw-shadow-md);
    transform: translateY(-3px);
}

.mw-action-card.primary:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
    box-shadow: 0 18px 42px rgba(20, 108, 116, 0.24);
}

.mw-status-success:where(:not(.mw76-root):not(.mw76-root *)),
.bg-success:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-success) !important;
}

.mw-status-warning:where(:not(.mw76-root):not(.mw76-root *)),
.bg-warning:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: #f5c45b !important;
}

.mw-status-danger:where(:not(.mw76-root):not(.mw76-root *)),
.bg-danger:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-danger) !important;
}

.mw-status-info:where(:not(.mw76-root):not(.mw76-root *)),
.bg-info:where(:not(.mw76-root):not(.mw76-root *)) {
    background-color: var(--mw-info) !important;
}

.mw-count-pill,
.mw-soft-pill {
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
}

.mw-login-page {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    min-height: min(720px, calc(100vh - 230px));
    padding: clamp(8px, 2vw, 24px) 0;
}

.mw-login-showcase {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 8px;
    background:
        radial-gradient(circle at 78% 18%, rgba(215, 168, 110, 0.34), transparent 18rem),
        linear-gradient(135deg, rgba(45, 24, 35, 0.96), rgba(91, 38, 61, 0.78));
    box-shadow: var(--mw-shadow-lg);
}

.mw-login-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 42, 49, 0.9), rgba(6, 42, 49, 0.42) 58%, rgba(192, 106, 124, 0.22)),
        linear-gradient(180deg, transparent, rgba(6, 42, 49, 0.72));
}

.mw-login-showcase::after {
    content: "";
    position: absolute;
    inset: auto -18% -28% 22%;
    height: 46%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 60%);
    animation: mw-float-glow 8s ease-in-out infinite;
}

.mw-login-showcase-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(28px, 5vw, 58px);
    color: #ffffff;
}

.mw-login-showcase .mw-page-kicker:where(:not(.mw76-root):not(.mw76-root *)) {
    color: rgba(255, 255, 255, 0.82) !important;
}

.mw-login-showcase h1:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-family: var(--mw-font-display);
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 0.98;
}

.mw-login-showcase p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.72;
}

.mw-login-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 34px;
}

.mw-login-metrics div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.mw-login-metrics strong,
.mw-login-metrics span {
    display: block;
}

.mw-login-metrics strong {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
}

.mw-login-metrics span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
}

.mw-login-orbit {
    position: absolute;
    top: 34px;
    right: 34px;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    animation: mw-spin 18s linear infinite;
}

.mw-login-orbit span {
    position: absolute;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ffffff;
}

.mw-login-orbit span:nth-child(1) {
    top: -6px;
    left: 50%;
}

.mw-login-orbit span:nth-child(2) {
    right: 8px;
    bottom: 18px;
    background: var(--mw-accent);
}

.mw-login-orbit span:nth-child(3) {
    left: 12px;
    bottom: 24px;
    background: #7dd8d2;
}

.mw-login-form-wrap {
    display: flex;
    align-items: center;
}

.mw-login-form-wrap .mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    padding: clamp(26px, 4vw, 42px);
    box-shadow: var(--mw-shadow-lg) !important;
}

.mw-auth-card {
    position: relative;
    overflow: hidden;
}

.mw-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--mw-primary), var(--mw-accent), var(--mw-success));
}

.mw-auth-card .btn-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 48px;
}

.alert:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid transparent;
    border-radius: 8px !important;
}

.alert-success {
    border-color: rgba(36, 123, 85, 0.18);
    color: #175239;
    background: rgba(225, 245, 236, 0.9);
}

.alert-danger {
    border-color: rgba(183, 71, 82, 0.18);
    color: #7e2530;
    background: rgba(252, 231, 234, 0.92);
}

.alert-info {
    border-color: rgba(45, 120, 149, 0.18);
    color: #1f5870;
    background: rgba(226, 244, 249, 0.92);
}

.mw-reveal {
    opacity: 0;
    transform: translateY(18px);
}

.mw-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes mw-float-glow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-5%, -6%, 0) scale(1.08);
    }
}

@keyframes mw-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .mw-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .mw-login-page {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mw-login-showcase {
        min-height: 440px;
    }

    .mw-login-form-wrap {
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .app-content:where(:not(.mw76-root):not(.mw76-root *)),
    .public-content:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-inline: 16px;
    }

    .mw-page-hero,
    .mw-public-flow-hero,
    .mw-dashboard-hero {
        min-height: auto;
    }

    .mw-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-login-showcase {
        min-height: 380px;
    }

    .mw-login-metrics {
        grid-template-columns: 1fr;
    }

    .mw-login-orbit {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 575.98px) {
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-direction: column;
    }

    .app-topbar-left:where(:not(.mw76-root):not(.mw76-root *)),
    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
        justify-content: space-between;
    }

    .public-navbar:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-direction: column;
        align-items: stretch;
    }

    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
        justify-content: space-between;
    }
}

/* Beauty Care Experience Layer */

:root {
    --mw-font-sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mw-font-display: "Playfair Display", Georgia, serif;
    --mw-bg: #f8f6f3;
    --mw-bg-soft: #efe9e4;
    --mw-surface: rgba(255, 255, 255, 0.88);
    --mw-surface-solid: #ffffff;
    --mw-surface-muted: #f4eee9;
    --mw-text: #211d21;
    --mw-text-soft: #625961;
    --mw-text-muted: #8a7d84;
    --mw-primary: #8f4565;
    --mw-primary-dark: #5b263d;
    --mw-primary-soft: #f8e7ef;
    --mw-accent: #c9925a;
    --mw-accent-soft: #fbefd9;
    --mw-success: #2f7d62;
    --mw-warning: #b26b2c;
    --mw-danger: #b74752;
    --mw-info: #2b7f8c;
    --mw-border: rgba(45, 36, 42, 0.1);
    --mw-border-strong: rgba(45, 36, 42, 0.18);
    --mw-shadow-sm: 0 14px 34px rgba(54, 39, 46, 0.08);
    --mw-shadow-md: 0 22px 58px rgba(54, 39, 46, 0.13);
    --mw-shadow-lg: 0 36px 86px rgba(54, 39, 46, 0.17);
    --mw-radius-sm: 8px;
    --mw-radius-md: 8px;
    --mw-radius-lg: 8px;
    --mw-radius-xl: 8px;
}

body {
    background:
        linear-gradient(135deg, rgba(143, 69, 101, 0.07), rgba(201, 146, 90, 0.08) 42%, rgba(43, 127, 140, 0.06)),
        linear-gradient(180deg, #fbfaf8 0%, #f1ece7 100%);
}

.app-body:where(:not(.mw76-root):not(.mw76-root *)),
.public-body:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        linear-gradient(135deg, rgba(143, 69, 101, 0.08), rgba(201, 146, 90, 0.08) 42%, rgba(43, 127, 140, 0.06)),
        linear-gradient(180deg, #fbfaf8 0%, #f1ece7 100%);
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)),
.public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
.app-topbar:where(:not(.mw76-root):not(.mw76-root *)),
.app-user-chip:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-hero:where(:not(.mw76-root):not(.mw76-root *)),
.card:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.84) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: var(--mw-shadow-sm) !important;
}

.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::before,
.app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::after,
.app-sidebar-card-glow:where(:not(.mw76-root):not(.mw76-root *)) {
    display: none;
}

.app-brand-mark:where(:not(.mw76-root):not(.mw76-root *)),
.app-user-avatar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-center-avatar:where(:not(.mw76-root):not(.mw76-root *)),
.mw-side-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-action-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-list-action-icon:where(:not(.mw76-root):not(.mw76-root *)),
.mw-avatar:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary) 58%, var(--mw-accent)) !important;
    box-shadow: 0 15px 30px rgba(143, 69, 101, 0.24);
}

.app-brand-name:where(:not(.mw76-root):not(.mw76-root *)),
.app-page-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card h1:where(:not(.mw76-root):not(.mw76-root *)) {
    letter-spacing: 0 !important;
}

.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-login-showcase h1:where(:not(.mw76-root):not(.mw76-root *)) {
    font-family: var(--mw-font-display);
}

.app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)),
.app-nav-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-section-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-hero-kicker:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-label:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark) !important;
}

.app-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(248, 231, 239, 0.78);
}

.app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(143, 69, 101, 0.22);
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
    box-shadow: 0 16px 34px rgba(143, 69, 101, 0.24);
}

.app-nav-link.is-active .app-nav-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.94);
}

.mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-flow-hero:where(:not(.mw76-root):not(.mw76-root *)),
.mw-dashboard-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(255, 255, 255, 0.88) !important;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.76)),
        linear-gradient(135deg, rgba(143, 69, 101, 0.15), rgba(201, 146, 90, 0.13), rgba(43, 127, 140, 0.08)) !important;
    box-shadow: var(--mw-shadow-md) !important;
}

.btn:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px !important;
}

.btn-primary:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary)) !important;
    box-shadow: 0 14px 30px rgba(143, 69, 101, 0.24);
}

.btn-primary:hover:where(:not(.mw76-root):not(.mw76-root *)),
.btn-primary:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    background: linear-gradient(135deg, #491d31, #773653) !important;
    box-shadow: 0 18px 36px rgba(143, 69, 101, 0.3);
}

.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)),
.input-group-text:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px !important;
}

.table-responsive:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid var(--mw-border);
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.table thead th,
.mw-table thead th {
    color: var(--mw-primary-dark);
    background: rgba(248, 231, 239, 0.72);
}

.table > :not(caption) > * > *:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table tbody td:where(:not(.mw76-root):not(.mw76-root *)) {
    border-bottom-color: rgba(45, 36, 42, 0.08);
}

.table-hover > tbody > tr {
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.table-hover > tbody > tr:hover > *:where(:not(.mw76-root):not(.mw76-root *)) {
    background: rgba(251, 239, 217, 0.56);
}

.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    overflow: hidden;
    min-height: 214px;
    border: 1px dashed rgba(143, 69, 101, 0.3);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62)),
        linear-gradient(135deg, rgba(248, 231, 239, 0.86), rgba(251, 239, 217, 0.66), rgba(229, 244, 246, 0.5));
}

.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *))::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-100%);
    animation: mw-empty-sheen 4.8s ease-in-out infinite;
}

.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *))::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(340px, 70%);
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(143, 69, 101, 0.18), rgba(201, 146, 90, 0.2), transparent);
    transform: translateX(-50%);
}

.mw-empty-state > *:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
}

.mw-empty-icon {
    animation: mw-empty-float 3.2s ease-in-out infinite;
}

.mw-empty-state h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state h5:where(:not(.mw76-root):not(.mw76-root *)) {
    font-family: var(--mw-font-display);
    font-size: 1.28rem;
    letter-spacing: 0 !important;
}

.mw-empty-state p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 520px;
}

.text-center.text-muted.py-5:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    min-height: 168px;
    padding: 56px 20px !important;
    border: 1px dashed rgba(143, 69, 101, 0.26);
    border-radius: 8px;
    color: var(--mw-text-soft) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62)),
        linear-gradient(135deg, rgba(248, 231, 239, 0.76), rgba(251, 239, 217, 0.58));
    overflow: hidden;
}

.text-center.text-muted.py-5::before {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary), var(--mw-accent));
    box-shadow: 0 15px 30px rgba(143, 69, 101, 0.22);
    animation: mw-empty-float 3.2s ease-in-out infinite;
}

.mw-login-orbit {
    display: none;
}

.mw-login-showcase:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        radial-gradient(circle at 78% 18%, rgba(215, 168, 110, 0.34), transparent 18rem),
        linear-gradient(135deg, rgba(45, 24, 35, 0.96), rgba(91, 38, 61, 0.78)) !important;
}

.mw-login-showcase::after {
    inset: auto 8% 8% auto;
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
    animation: mw-line-drift 5.6s ease-in-out infinite;
}

.mw-reveal:where(:not(.mw76-root):not(.mw76-root *)),
.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    will-change: transform, opacity;
}

@keyframes mw-empty-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes mw-empty-sheen {
    0%,
    52% {
        transform: translateX(-100%);
    }

    78%,
    100% {
        transform: translateX(100%);
    }
}

@keyframes mw-line-drift {
    0%,
    100% {
        transform: translateX(-18px);
        opacity: 0.4;
    }

    50% {
        transform: translateX(18px);
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mw-empty-icon,
    .text-center.text-muted.py-5::before,
    .mw-empty-state::before,
    .mw-login-showcase::after {
        animation: none !important;
    }
}

/* Phase 67.1: shared shell and navigation polish */

.app-topbar-left > div:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 0;
}

.app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow-wrap: anywhere;
}

.app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow-wrap: anywhere;
}

.app-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 16px;
    padding-bottom: 12px;
}

.app-nav-section:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 5px;
}

.app-nav-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 5px;
}

.app-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 40px;
}

.app-nav-link span:not(.app-nav-icon):not(.badge):not(.rounded-pill):where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 0;
}

.app-sidebar-card:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 14px;
    padding: 14px;
}

.app-sidebar-card-label:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 8px;
}

.app-sidebar-card-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 4px;
}

.app-sidebar-card-text:where(:not(.mw76-root):not(.mw76-root *)) {
    font-size: 0.78rem;
    line-height: 1.45;
}

.public-context-label:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(143, 69, 101, 0.14);
    border-radius: 8px;
    color: var(--mw-primary-dark);
    background: rgba(248, 231, 239, 0.72);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-mobile-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    width: min(88vw, 340px);
}

.app-mobile-nav .offcanvas-body:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow-y: auto;
}

.app-mobile-nav .app-nav:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 14px;
    padding-bottom: 8px;
}

.app-mobile-nav .app-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 44px;
}

@media (max-width: 1199.98px) {
    .app-sidebar:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 272px;
        flex-basis: 272px;
    }

    .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 20px 16px;
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .app-sidebar-card-text:where(:not(.mw76-root):not(.mw76-root *)) {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        gap: 12px;
        padding-block: 14px;
    }

    .app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 1.22rem;
        line-height: 1.18;
    }

    .app-page-eyebrow:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-wrap: wrap;
    }

    .public-context-label:where(:not(.mw76-root):not(.mw76-root *)) {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

.mw-gallery-admin-grid,
.mw-public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.mw-gallery-admin-card {
    overflow: hidden;
}

.mw-gallery-admin-thumb,
.mw-public-gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.mw-gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mw-owner-list-thumb,
.mw-public-service-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
    margin-bottom: 1rem;
}

.mw-owner-list-thumb.is-placeholder,
.mw-public-service-thumb.is-placeholder,
.mw-availability-media-placeholder {
    display: grid;
    place-items: center;
    color: var(--mw-text-soft);
    font-size: .85rem;
    font-weight: 700;
}

.mw-avatar-image {
    object-fit: cover;
}

.mw-profile-image-preview,
.mw-profile-image-placeholder {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
}

.mw-profile-image-placeholder {
    display: grid;
    place-items: center;
    color: var(--mw-text-soft);
    font-size: 3rem;
    font-weight: 800;
}

.mw-availability-media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}

.mw-availability-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 220px));
    gap: .75rem;
    align-items: stretch;
}

.mw-availability-card-grid.is-compact {
    grid-template-columns: repeat(auto-fill, minmax(132px, 160px));
}

.mw-availability-select-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: .35rem;
    padding: .55rem;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 8px;
    background: #fff;
    color: var(--mw-text);
    text-align: start;
    box-shadow: none;
}

.mw-availability-select-card:hover,
.mw-availability-select-card:focus {
    border-color: rgba(155, 92, 122, .45);
    box-shadow: 0 0 0 .16rem rgba(155, 92, 122, .16);
}

.mw-availability-select-card.is-selected {
    border-color: var(--mw-primary);
    box-shadow: 0 0 0 2px rgba(155, 92, 122, .22);
}

.mw-availability-select-card.is-selected::after {
    content: "Selected";
    display: inline-flex;
    width: fit-content;
    margin-top: .15rem;
    padding: .18rem .45rem;
    border-radius: 999px;
    background: rgba(155, 92, 122, .11);
    color: var(--mw-primary-dark);
    font-size: .72rem;
    font-weight: 800;
}

[dir="rtl"] .mw-availability-select-card.is-selected::after {
    content: "محدد";
}

.mw-availability-select-card img:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-select-card .mw-availability-media-placeholder:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
}

.mw-availability-select-card.is-specialist img:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-select-card.is-specialist .mw-availability-media-placeholder:where(:not(.mw76-root):not(.mw76-root *)) {
    aspect-ratio: 1 / 1;
}

.mw-availability-select-card .mw-card-title {
    display: block;
    margin-top: .15rem;
    color: var(--mw-text);
    font-size: .9rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mw-availability-select-card small {
    color: var(--mw-text-muted);
    font-size: .78rem;
    line-height: 1.3;
}

.mw-info-badge {
    display: inline-flex;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: .45rem .75rem;
    border: 1px solid rgba(120, 83, 97, .12);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
}

.mw-info-badge strong {
    font-size: .85rem;
}

.mw-info-badge span {
    color: var(--mw-text-muted);
    font-size: .76rem;
}

.mw-availability-media-card {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    padding: .5rem;
    background: #fff;
}

.mw-availability-media-card.is-selected {
    border-color: var(--mw-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}

.mw-availability-media-card img:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-media-placeholder:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
}

.mw-availability-media-card.compact img:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-media-card.compact .mw-availability-media-placeholder:where(:not(.mw76-root):not(.mw76-root *)) {
    aspect-ratio: 1 / 1;
}

.mw-availability-media-card span {
    display: block;
    margin-top: .5rem;
    font-size: .875rem;
    font-weight: 700;
}

.mw-slot-media-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: .5rem;
}

.mw-slot-specialist-row {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.mw-focal-editor {
    padding: .85rem;
    border: 1px solid rgba(120, 83, 97, .12);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
}

.mw-focal-previews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.mw-focal-previews > div {
    min-width: 0;
}

.mw-focal-previews span {
    display: block;
    margin-bottom: .35rem;
    color: var(--mw-text-muted);
    font-size: .75rem;
    font-weight: 800;
}

.mw-focal-previews img:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
}

.mw-focal-previews > div:first-child img:where(:not(.mw76-root):not(.mw76-root *)) {
    aspect-ratio: 4 / 3;
}

.mw-public-gallery-placeholder {
    min-height: 180px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    background: #f8fafc;
    color: var(--mw-text-soft);
    font-weight: 750;
}

@media (max-width: 575.98px) {
    .app-topbar-left:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: flex-start;
    }

    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)) {
        gap: 10px;
    }

    .app-logout-button:where(:not(.mw76-root):not(.mw76-root *)) {
        min-height: 38px;
        padding-inline: 13px;
    }

    .public-navbar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

/* Phase 67.3: public booking flow polish */

.mw-booking-flow-page {
    overflow-x: clip;
}

.mw-booking-flow-hero,
.mw-confirm-hero {
    margin-bottom: 22px;
}

.mw-booking-salon-name {
    color: var(--mw-primary-dark);
    font-size: 1.02rem;
    font-weight: 850;
}

.mw-booking-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mw-booking-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    color: var(--mw-text-soft);
    background: rgba(255, 255, 255, 0.7);
}

.mw-booking-step span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.mw-booking-step strong {
    min-width: 0;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.mw-booking-step.is-active {
    border-color: rgba(143, 69, 101, 0.24);
    color: var(--mw-primary-dark);
    background: rgba(248, 231, 239, 0.82);
}

.mw-booking-callout {
    line-height: 1.55;
}

.mw-booking-handoff {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(43, 127, 140, 0.16);
    border-radius: 8px;
    background: rgba(229, 244, 246, 0.72);
}

.mw-booking-handoff h6:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 4px;
    color: var(--mw-primary-dark);
    font-weight: 900;
}

.mw-booking-handoff p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text-soft);
    font-size: 0.9rem;
}

.mw-slot-grid {
    align-items: stretch;
}

.mw-public-slot-card {
    border: 1px solid rgba(143, 69, 101, 0.14);
}

.mw-public-slot-card:hover {
    border-color: rgba(143, 69, 101, 0.28);
}

.mw-slot-time {
    color: var(--mw-text);
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.15;
}

.mw-confirm-panel {
    max-width: 980px;
}

.mw-confirm-summary {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(143, 69, 101, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
        linear-gradient(135deg, rgba(248, 231, 239, 0.78), rgba(251, 239, 217, 0.58));
}

.mw-confirm-summary-main {
    margin-bottom: 20px;
}

.mw-confirm-summary-main h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 2px 0 8px;
    color: var(--mw-text);
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 900;
}

.mw-confirm-service {
    color: var(--mw-primary-dark);
    font-size: 1rem;
    font-weight: 850;
}

.mw-confirm-fact {
    height: 100%;
    padding: 14px;
    border: 1px solid rgba(45, 36, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-confirm-fact span,
.mw-confirm-fact small {
    display: block;
    color: var(--mw-text-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.mw-confirm-fact strong {
    display: block;
    margin-top: 4px;
    color: var(--mw-text);
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.mw-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .mw-booking-steps {
        grid-template-columns: 1fr;
    }

    .mw-booking-step {
        padding: 10px 12px;
    }

    .mw-booking-flow-page .mw-panel-body {
        padding: 18px;
    }

    .mw-slot-time {
        font-size: 1.16rem;
    }

    .mw-confirm-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 100%;
    }
}

@media (max-width: 575.98px) {
    .mw-booking-flow-page .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        white-space: normal;
    }

    .mw-booking-flow-page .d-flex {
        min-width: 0;
    }
}

/* Phase 67.5: owner dashboard setup polish */

.mw-owner-hero-actions,
.mw-owner-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.mw-owner-hero-actions {
    justify-content: flex-start;
}

.mw-owner-readiness {
    min-height: 100%;
}

.mw-readiness-score {
    display: inline-grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(143, 69, 101, 0.24);
}

.mw-setup-progress {
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: rgba(45, 36, 42, 0.08);
}

.mw-setup-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mw-primary-dark), var(--mw-primary), var(--mw-accent));
}

.mw-owner-setup-card {
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--mw-shadow-sm);
}

.mw-owner-section-header {
    margin-bottom: 22px;
}

.mw-owner-section-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-section-header h4:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 4px;
    color: var(--mw-text);
    font-weight: 900;
}

.mw-owner-section-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text-soft);
}

.mw-setup-checklist {
    display: grid;
    gap: 12px;
}

.mw-setup-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-setup-item.is-complete {
    border-color: rgba(47, 125, 98, 0.2);
    background: rgba(225, 245, 236, 0.48);
}

.mw-setup-item.is-pending {
    border-color: rgba(178, 107, 44, 0.2);
}

.mw-setup-item-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    font-size: 0.78rem;
    font-weight: 900;
}

.mw-setup-item.is-complete .mw-setup-item-icon {
    color: #ffffff;
    background: var(--mw-success);
}

.mw-setup-item-body h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1rem;
    font-weight: 900;
}

.mw-setup-item-body p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.mw-setup-item-action {
    display: flex;
    justify-content: flex-end;
}

.mw-owner-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mw-owner-stat {
    padding: 14px;
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.mw-owner-stat span,
.mw-owner-stat strong {
    display: block;
}

.mw-owner-stat span {
    color: var(--mw-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.mw-owner-stat strong {
    margin-top: 4px;
    color: var(--mw-text);
    font-size: 1.5rem;
    font-weight: 900;
}

.mw-soft-pill.warning {
    color: #7a4a11;
    background: rgba(255, 244, 214, 0.86);
}

@media (max-width: 991.98px) {
    .mw-setup-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mw-setup-item-action {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .mw-owner-hero-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-section-header .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-setup-item-action .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-setup-item {
        grid-template-columns: 1fr;
    }

    .mw-setup-item-action {
        grid-column: auto;
    }

    .mw-setup-item-icon {
        width: 38px;
        height: 38px;
    }

    .mw-owner-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 67.6A: admin index tables and empty states */

.mw-management-table-wrap {
    border-color: rgba(45, 36, 42, 0.1);
}

.mw-management-table {
    min-width: 760px;
}

.mw-management-table thead th {
    vertical-align: middle;
}

.mw-management-table tbody td {
    vertical-align: middle;
}

.mw-management-table .mw-identity {
    min-width: 180px;
}

.mw-table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

form.mw-table-actions {
    display: inline-flex;
}

.mw-filter-panel .mw-panel-body {
    padding-block: 22px;
}

.mw-filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.mw-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 118px;
}

.mw-empty-state .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 2px;
}

.mw-status {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .mw-management-table-wrap:where(:not(.mw76-root):not(.mw76-root *)) {
        margin-inline: -4px;
        border-radius: 8px !important;
    }

    .mw-management-table {
        min-width: 720px;
    }

    .mw-table-actions {
        justify-content: flex-start;
    }

    .mw-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 140px;
    }
}

@media (max-width: 575.98px) {
    .mw-filter-actions {
        width: 100%;
    }

    .mw-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-basis: 100%;
    }
}

/* Phase 67.6B: management create/edit/detail forms */

.mw-management-form .form-label,
.mw-detail-card .form-label {
    color: var(--mw-text);
    font-weight: 800;
}

.mw-management-form .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-management-form .form-select:where(:not(.mw76-root):not(.mw76-root *)),
.mw-detail-card .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-detail-card .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 44px;
}

.mw-management-form textarea.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-detail-card textarea.form-control:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 112px;
}

.mw-management-form .form-text,
.mw-detail-card .form-text {
    color: var(--mw-text-muted);
    line-height: 1.5;
}

.mw-management-form .validation-summary-errors,
.mw-detail-card .validation-summary-errors {
    margin-bottom: 20px;
    border-radius: 8px;
}

.mw-management-form .field-validation-error,
.mw-management-form span[data-valmsg-for],
.mw-detail-card .field-validation-error,
.mw-detail-card span[data-valmsg-for] {
    display: block;
    margin-top: 6px;
    font-weight: 700;
}

.mw-detail-card {
    overflow: hidden;
}

.mw-detail-card .list-group-item {
    border-color: var(--mw-border);
}

.mw-detail-card .mw-form-section {
    margin-bottom: 20px;
}

@media (max-width: 575.98px) {
    .mw-management-form .mw-panel-body,
    .mw-detail-card .mw-panel-body {
        padding: 18px;
    }

    .mw-form-actions {
        width: 100%;
    }

    .mw-form-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 100%;
    }
}

/* Phase 67.6C: status badges and workflow actions */

.mw-status {
    border: 1px solid transparent;
    line-height: 1.1;
}

.mw-status-success {
    border-color: rgba(20, 92, 56, 0.14);
}

.mw-status-warning {
    border-color: rgba(124, 74, 8, 0.16);
}

.mw-status-danger {
    border-color: rgba(138, 38, 38, 0.16);
}

.mw-status-info {
    border-color: rgba(36, 85, 106, 0.14);
}

.mw-status-muted {
    border-color: rgba(98, 84, 93, 0.12);
}

.mw-workflow-panel {
    position: sticky;
    top: 18px;
}

.mw-workflow-actions,
.mw-request-action-form {
    display: grid;
    gap: 10px;
}

.mw-request-action-form {
    padding: 10px;
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
}

.mw-request-action-form + .mw-request-action-form {
    margin-top: 10px;
}

.mw-request-action-form.is-approve {
    border-color: rgba(20, 92, 56, 0.14);
}

.mw-request-action-form.is-reject {
    border-color: rgba(138, 38, 38, 0.14);
}

.mw-workflow-inline-actions {
    max-width: 360px;
}

.mw-notification-row.is-unread > td {
    background: rgba(255, 244, 214, 0.3);
}

.mw-notification-row.is-unread td:first-child {
    box-shadow: inset 3px 0 0 rgba(245, 196, 91, 0.9);
}

.mw-notification-row.is-read {
    color: var(--mw-text-soft);
}

@media (max-width: 991.98px) {
    .mw-workflow-panel {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .mw-workflow-inline-actions {
        max-width: none;
        width: 100%;
    }

    .mw-workflow-inline-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-request-action-form .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-workflow-form .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 67.6D: final detail, calendar, print, and mobile QA polish */

.mw-calendar-filter .mw-panel-body {
    padding-block: 22px;
}

.mw-calendar-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 112px;
}

.mw-booking-card {
    height: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.mw-booking-card .mw-status {
    flex: 0 0 auto;
}

.mw-detail-card,
.mw-management-table-wrap,
.mw-panel {
    min-width: 0;
}

.mw-management-table td,
.mw-management-table th {
    overflow-wrap: anywhere;
}

.mw-management-table .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-workflow-inline-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    white-space: normal;
}

@media (max-width: 767.98px) {
    .mw-calendar-actions {
        width: 100%;
    }

    .mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 148px;
    }

    .mw-booking-card {
        border-radius: 8px;
    }

    .mw-panel-header {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-table-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-basis: 100%;
    }

    .mw-management-table-wrap {
        max-width: 100%;
    }
}

/* Phase 67.6D.1: scoped request and customer wording polish */

.mw-request-panel {
    max-width: 840px;
}

.mw-request-form-actions {
    align-items: center;
    flex-wrap: wrap;
}

.mw-request-form-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    white-space: normal;
}

.mw-request-panel textarea:where(:not(.mw76-root):not(.mw76-root *)),
.mw-request-panel input:where(:not(.mw76-root):not(.mw76-root *)),
.mw-request-panel .form-text:where(:not(.mw76-root):not(.mw76-root *)),
.mw-request-panel .field-validation-error:where(:not(.mw76-root):not(.mw76-root *)),
.mw-request-panel span[data-valmsg-for]:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-bookings-table .fw-semibold:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-bookings-table .text-muted:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-availability-table .fw-semibold:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow-wrap: anywhere;
}

.mw-request-panel .validation-summary-valid.alert {
    display: none;
}

@media (max-width: 575.98px) {
    .mw-request-form-actions {
        width: 100%;
    }

    .mw-request-form-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 100%;
    }
}

/* Phase 67.2: public explore and salon profile polish */

.mw-explore-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 244, 0.9)),
        radial-gradient(circle at top right, rgba(190, 108, 94, 0.14), transparent 42%);
    box-shadow: var(--mw-shadow-soft);
}

.mw-explore-hero-copy h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 10px;
    color: var(--mw-text);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.mw-explore-hero-copy p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 680px;
    margin: 0;
    color: var(--mw-text-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.mw-explore-hero-panel {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 18px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-explore-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mw-explore-step span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--mw-primary-soft);
    color: var(--mw-primary);
    font-weight: 800;
}

.mw-explore-step strong {
    color: var(--mw-text);
    line-height: 1.35;
}

.mw-explore-filter-panel .mw-panel-body {
    padding: 22px;
}

.mw-explore-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(132px, 0.75fr)) minmax(210px, 0.9fr);
    gap: 14px;
    align-items: end;
}

.mw-explore-filter-field,
.mw-explore-filter-actions {
    min-width: 0;
}

.mw-explore-filter-actions {
    display: flex;
    gap: 10px;
}

.mw-explore-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    flex: 1 1 0;
    min-height: 44px;
    white-space: normal;
}

.mw-explore-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: var(--mw-text-muted);
    font-size: 0.88rem;
}

.mw-explore-active-filters strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(120, 83, 97, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--mw-text);
    overflow-wrap: anywhere;
}

.mw-explore-results-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--mw-text-muted);
}

.mw-explore-results-summary div {
    display: grid;
    gap: 2px;
}

.mw-explore-results-summary strong {
    color: var(--mw-text);
}

.mw-explore-empty-state p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 520px;
}

.mw-salon-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
}

.mw-salon-card-cover {
    min-height: 168px;
    background-color: #f5ebe7;
    background-position: center;
    background-size: cover;
}

.mw-salon-card-cover.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 250, 247, 0.98), rgba(241, 224, 218, 0.95)),
        repeating-linear-gradient(45deg, rgba(120, 83, 97, 0.04) 0, rgba(120, 83, 97, 0.04) 8px, transparent 8px, transparent 18px);
}

.mw-salon-card-cover.is-empty span {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--mw-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
}

.mw-salon-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.mw-salon-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
    min-width: 0;
}

.mw-salon-card-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 3px solid #fff;
    border-radius: 8px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(46, 31, 38, 0.12);
}

.mw-salon-card-logo.is-empty,
.mw-public-salon-logo.is-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mw-primary);
    color: #fff;
    font-weight: 800;
}

.mw-salon-card-title {
    min-width: 0;
}

.mw-salon-card-title h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 4px;
    font-size: 1.1rem;
    line-height: 1.25;
}

.mw-salon-card-title h2 a:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mw-salon-card-title h2 a:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary);
}

.mw-salon-card-location,
.mw-salon-card-address,
.mw-salon-card-guidance {
    color: var(--mw-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mw-salon-card-description {
    display: -webkit-box;
    min-height: 4.7em;
    margin-bottom: 14px;
    color: var(--mw-text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
}

.mw-salon-card-address {
    margin-bottom: 14px;
}

.mw-salon-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.mw-salon-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--mw-text);
    font-size: 0.82rem;
    font-weight: 800;
}

.mw-salon-card-guidance {
    margin-top: auto;
    padding-top: 2px;
}

.mw-salon-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.mw-salon-card-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    white-space: normal;
}

.mw-public-salon-page {
    display: grid;
    gap: 24px;
}

.mw-public-salon-hero {
    overflow: hidden;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--mw-shadow-soft);
}

.mw-public-salon-cover {
    min-height: 260px;
    background-color: #f4e8e2;
    background-position: center;
    background-size: cover;
}

.mw-public-salon-cover.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 250, 247, 0.98), rgba(239, 220, 213, 0.95)),
        repeating-linear-gradient(45deg, rgba(120, 83, 97, 0.05) 0, rgba(120, 83, 97, 0.05) 10px, transparent 10px, transparent 22px);
}

.mw-public-salon-cover.is-empty span {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--mw-primary);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.mw-public-salon-hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 24px;
    align-items: start;
    padding: 24px;
}

.mw-public-salon-hero-main {
    display: flex;
    gap: 18px;
    min-width: 0;
}

.mw-public-salon-logo {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border: 4px solid #fff;
    border-radius: 8px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 14px 34px rgba(46, 31, 38, 0.14);
}

.mw-public-salon-title {
    min-width: 0;
}

.mw-public-salon-title h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 10px;
    color: var(--mw-text);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.mw-public-salon-title p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-salon-about:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.mw-public-salon-location {
    display: inline-flex;
    max-width: 100%;
    margin-top: 4px;
    padding: 7px 11px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--mw-text);
    font-size: 0.9rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mw-public-salon-hero-aside {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 247, 0.76);
}

.mw-public-salon-status {
    color: var(--mw-primary);
    font-weight: 800;
    line-height: 1.35;
}

.mw-public-salon-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-public-salon-stats span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--mw-text);
    font-size: 0.82rem;
    font-weight: 800;
}

.mw-public-salon-cta-note {
    color: var(--mw-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.mw-public-salon-guidance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mw-public-salon-guidance > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.mw-public-salon-guidance strong,
.mw-public-salon-guidance span {
    display: block;
}

.mw-public-salon-guidance strong {
    margin-bottom: 5px;
    color: var(--mw-text);
}

.mw-public-salon-guidance span {
    color: var(--mw-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.mw-public-salon-section .mw-panel-header h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: 1.25rem;
}

.mw-public-salon-section .mw-panel-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-text-muted);
    font-size: 0.92rem;
}

.mw-public-salon-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.mw-public-salon-info {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
}

.mw-public-salon-info span,
.mw-service-list-facts small {
    display: block;
    margin-bottom: 4px;
    color: var(--mw-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mw-public-salon-info strong {
    display: block;
    color: var(--mw-text);
    overflow-wrap: anywhere;
}

.mw-public-salon-hours {
    display: grid;
    gap: 10px;
}

.mw-public-salon-hours > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(120, 83, 97, 0.1);
}

.mw-public-salon-hours > div:last-child {
    border-bottom: 0;
}

.mw-public-salon-hours span {
    color: var(--mw-text);
    font-weight: 800;
}

.mw-public-salon-hours strong {
    padding: 5px 9px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--mw-text);
    font-size: 0.86rem;
    white-space: nowrap;
}

.mw-public-salon-side-cta {
    margin-top: 18px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 250, 247, 0.85);
}

.mw-public-salon-side-cta p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 12px;
    color: var(--mw-text);
    font-weight: 800;
}

.mw-service-list-section {
    margin-top: 0;
}

.mw-service-list-groups {
    display: grid;
    gap: 24px;
}

.mw-service-list-group {
    min-width: 0;
}

.mw-service-list-group-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.mw-service-list-group-header h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.12rem;
}

.mw-service-list-group-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 3px 0 0;
    color: var(--mw-text-muted);
    font-size: 0.9rem;
}

.mw-service-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mw-service-list-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.mw-service-list-card h4:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 6px;
    color: var(--mw-text);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.mw-service-list-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    display: -webkit-box;
    margin: 0;
    color: var(--mw-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
}

.mw-service-list-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.mw-service-list-facts span {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 8px;
    background: #fff;
}

.mw-service-list-facts strong {
    display: block;
    color: var(--mw-text);
    overflow-wrap: anywhere;
}

.mw-service-list-card .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    white-space: normal;
}

@media (max-width: 1199.98px) {
    .mw-explore-filter-form {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mw-explore-filter-field.is-wide,
    .mw-explore-filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 991.98px) {
    .mw-explore-hero,
    .mw-public-salon-hero-body,
    .mw-public-salon-guidance {
        grid-template-columns: 1fr;
    }

    .mw-public-salon-hero-aside {
        max-width: none;
    }

    .mw-public-salon-cover {
        min-height: 220px;
    }
}

@media (max-width: 767.98px) {
    .mw-explore-filter-form,
    .mw-public-salon-info-grid,
    .mw-service-list-grid {
        grid-template-columns: 1fr;
    }

    .mw-explore-filter-field.is-wide,
    .mw-explore-filter-actions {
        grid-column: auto;
    }

    .mw-public-salon-hero-main {
        flex-direction: column;
    }

    .mw-public-salon-logo {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
}

@media (max-width: 575.98px) {
    .mw-explore-hero,
    .mw-public-salon-hero-body {
        padding: 20px;
    }

    .mw-explore-filter-actions,
    .mw-salon-card-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .mw-explore-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-salon-card-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-salon-hero-aside .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-salon-card-cover {
        min-height: 142px;
    }

    .mw-public-salon-cover {
        min-height: 180px;
    }

    .mw-public-salon-hours > div {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Phase 67.4: customer dashboard and appointments polish */

.mw-customer-dashboard-hero,
.mw-appointment-hero,
.mw-customer-calendar-hero,
.mw-customer-notification-hero {
    min-width: 0;
}

.mw-customer-dashboard-actions,
.mw-appointment-hero-actions {
    flex-wrap: wrap;
}

.mw-customer-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 18px;
    margin-bottom: 18px;
}

.mw-customer-dashboard-card {
    min-width: 0;
    height: 100%;
}

.mw-customer-dashboard-profile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mw-customer-dashboard-profile > div,
.mw-appointment-card-details > div,
.mw-appointment-request-facts > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-customer-dashboard-profile span,
.mw-appointment-card-details span,
.mw-appointment-request-facts span,
.mw-appointment-request-notes span {
    display: block;
    margin-bottom: 5px;
    color: var(--mw-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mw-customer-dashboard-profile strong,
.mw-appointment-card-details strong,
.mw-appointment-request-facts strong {
    display: block;
    color: var(--mw-text);
    overflow-wrap: anywhere;
}

.mw-appointment-card-details small,
.mw-appointment-request-facts small {
    display: block;
    margin-top: 3px;
    color: var(--mw-text-muted);
    overflow-wrap: anywhere;
}

.mw-customer-dashboard-next {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 244, 0.9)),
        radial-gradient(circle at top right, rgba(190, 108, 94, 0.14), transparent 42%);
}

.mw-customer-dashboard-next-actions,
.mw-appointment-actions,
.mw-customer-notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mw-customer-dashboard-next-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-appointment-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-notification-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    white-space: normal;
}

.mw-customer-dashboard-metrics {
    margin-top: 0;
}

.mw-customer-dashboard-metric {
    min-width: 0;
}

.mw-appointment-filter .mw-panel-body,
.mw-appointment-request-filter .mw-panel-body,
.mw-customer-notification-filter .mw-panel-body {
    padding-block: 22px;
}

.mw-appointment-list-panel,
.mw-customer-calendar-panel,
.mw-appointment-request-panel {
    min-width: 0;
}

.mw-appointment-group + .mw-appointment-group {
    margin-top: 28px;
}

.mw-appointment-group-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.mw-appointment-group-header h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.12rem;
}

.mw-appointment-group-header span {
    color: var(--mw-text-muted);
    font-size: 0.9rem;
}

.mw-appointment-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mw-appointment-card,
.mw-appointment-request-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(46, 31, 38, 0.07);
}

.mw-appointment-card.is-next {
    border-color: rgba(124, 74, 8, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 214, 0.48));
}

.mw-appointment-card.is-past {
    background: rgba(255, 255, 255, 0.66);
}

.mw-appointment-card-kicker {
    margin-bottom: 12px;
    color: var(--mw-primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mw-appointment-card-head,
.mw-customer-calendar-card-head,
.mw-appointment-request-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.mw-appointment-card-time {
    color: var(--mw-text);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.mw-appointment-card-date {
    margin-top: 4px;
    color: var(--mw-text-muted);
    font-size: 0.9rem;
}

.mw-appointment-card-details,
.mw-customer-calendar-card-details,
.mw-appointment-request-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.mw-customer-calendar-card {
    min-width: 0;
}

.mw-customer-calendar-card-details > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-appointment-request-list {
    display: grid;
    gap: 14px;
}

.mw-appointment-request-card-head h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0 0 4px;
    color: var(--mw-text);
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.mw-appointment-request-card-head p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text-muted);
    font-size: 0.9rem;
}

.mw-appointment-request-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mw-appointment-request-notes > div {
    min-width: 0;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 250, 247, 0.72);
}

.mw-appointment-request-notes p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-notification-message:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-notification-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.mw-customer-notification-table td,
.mw-customer-notification-table th {
    overflow-wrap: anywhere;
}

.mw-customer-notification-title {
    font-weight: 800;
    color: var(--mw-text);
}

.mw-customer-notification-message {
    min-width: 220px;
    color: var(--mw-text-muted);
    line-height: 1.5;
}

.mw-customer-notification-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.mw-customer-notification-summary > div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.mw-customer-notification-summary span {
    display: block;
    color: var(--mw-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mw-customer-notification-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--mw-text);
    font-size: 1.45rem;
    line-height: 1;
}

.mw-customer-notification-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.mw-customer-notification-list {
    display: grid;
    gap: 12px;
}

.mw-customer-notification-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
}

.mw-customer-notification-card.is-unread {
    border-color: rgba(155, 92, 122, 0.3);
    background: rgba(255, 250, 247, 0.96);
}

.mw-customer-notification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
}

.mw-customer-notification-content {
    min-width: 0;
}

.mw-customer-notification-card-head,
.mw-customer-notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.mw-customer-notification-card-head time:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-notification-meta:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-muted);
    font-size: 0.86rem;
}

.mw-customer-notification-card h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 10px 0 6px;
    color: var(--mw-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.mw-customer-notification-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mw-customer-notification-meta {
    justify-content: flex-start;
    margin-top: 12px;
}

.mw-unread-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #9b5c7a;
}

@media (max-width: 991.98px) {
    .mw-customer-dashboard-grid,
    .mw-appointment-card-grid,
    .mw-appointment-card-details,
    .mw-customer-calendar-card-details,
    .mw-appointment-request-facts,
    .mw-appointment-request-notes,
    .mw-customer-notification-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .mw-customer-dashboard-profile {
        grid-template-columns: 1fr;
    }

    .mw-appointment-group-header,
    .mw-appointment-card-head,
    .mw-customer-calendar-card-head,
    .mw-appointment-request-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-appointment-actions,
    .mw-customer-dashboard-next-actions,
    .mw-customer-notification-actions {
        width: 100%;
    }

    .mw-customer-notification-card {
        grid-template-columns: 1fr;
    }

    .mw-customer-notification-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-appointment-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-customer-dashboard-next-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-customer-notification-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 100%;
    }
}

@media (max-width: 575.98px) {
    .mw-appointment-card,
    .mw-appointment-request-card {
        padding: 14px;
    }

    .mw-customer-dashboard-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-appointment-hero-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Localization shell controls */

/* Phase 68.9A: receptionist today dashboard */

.mw-receptionist-today-hero {
    min-width: 0;
}

.mw-today-context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mw-today-context span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--mw-text-soft);
    font-size: 0.84rem;
    font-weight: 800;
}

.mw-today-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.mw-today-summary-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--mw-shadow-sm);
}

.mw-today-summary-card strong {
    display: block;
    margin-top: 12px;
    color: var(--mw-text);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.mw-today-summary-card small {
    display: block;
    margin-top: 10px;
    color: var(--mw-text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.mw-attention-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mw-request-attention-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mw-request-attention-header,
.mw-customer-search-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mw-request-attention-header h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1rem;
    font-weight: 900;
}

.mw-request-attention-list,
.mw-customer-search-results {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.mw-request-attention-card,
.mw-customer-search-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.mw-request-attention-card > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mw-request-attention-card p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-search-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 8px 0 10px;
    color: var(--mw-text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mw-request-attention-card dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 6px 12px;
    margin: 0;
    color: var(--mw-text-soft);
    font-size: 0.88rem;
}

.mw-request-attention-card dt {
    color: var(--mw-text-muted);
    font-weight: 800;
}

.mw-request-attention-card dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.mw-customer-search {
    max-width: 780px;
}

.mw-customer-search-card-header strong {
    min-width: 0;
    color: var(--mw-text);
    overflow-wrap: anywhere;
}

.mw-customer-search-actions,
.mw-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-card-badges {
    margin-bottom: 12px;
}

.mw-receptionist-today-panel {
    min-width: 0;
}

.mw-today-groups {
    display: grid;
    gap: 26px;
}

.mw-today-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mw-today-actions form {
    display: inline-flex;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .mw-today-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mw-attention-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .mw-today-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mw-request-attention-grid,
    .mw-request-attention-card dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .mw-request-attention-header,
    .mw-customer-search-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-today-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-today-actions form:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-today-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

.mw-language-switcher:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mw-language-label:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-muted);
    font-size: 0.74rem;
    font-weight: 850;
}

.mw-language-options:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(155, 92, 122, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: var(--mw-shadow-sm);
}

.mw-language-form:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
}

.mw-language-button:where(:not(.mw76-root):not(.mw76-root *)) {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    color: var(--mw-text-soft);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.mw-language-button:hover:where(:not(.mw76-root):not(.mw76-root *)),
.mw-language-button.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-primary-dark));
}

[dir="rtl"] body:where(:not(.mw76-root):not(.mw76-root *)) {
    text-align: right;
}

[dir="rtl"] .app-sidebar:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 18px 18px 18px 0;
}

[dir="rtl"] .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::before {
    inset: -90px -90px auto auto;
}

[dir="rtl"] .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *))::after,
[dir="rtl"] .app-sidebar-card-glow:where(:not(.mw76-root):not(.mw76-root *)) {
    right: auto;
    left: -90px;
}

[dir="rtl"] .app-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    transform: translateX(-2px);
}

[dir="rtl"] .app-nav-link.is-active:where(:not(.mw76-root):not(.mw76-root *))::before {
    right: -7px;
    left: auto;
}

[dir="rtl"] .app-nav-link .badge:where(:not(.mw76-root):not(.mw76-root *)),
[dir="rtl"] .app-nav-link .rounded-pill:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .app-user-meta:where(:not(.mw76-root):not(.mw76-root *)) {
    padding-right: 0;
    padding-left: 3px;
}

[dir="rtl"] .offcanvas-start:where(:not(.mw76-root):not(.mw76-root *)) {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

[dir="rtl"] .offcanvas-start.show:not(.hiding):where(:not(.mw76-root):not(.mw76-root *)),
[dir="rtl"] .offcanvas-start.showing:where(:not(.mw76-root):not(.mw76-root *)) {
    transform: none;
}

[dir="rtl"] .dropdown-menu:where(:not(.mw76-root):not(.mw76-root *)) {
    text-align: right;
}

@media (max-width: 767.98px) {
    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-wrap: wrap;
    }

    .mw-language-switcher:where(:not(.mw76-root):not(.mw76-root *)) {
        order: 3;
        width: 100%;
        justify-content: flex-end;
    }
}
.mw-review-reply {
    margin-top: 1rem;
    padding: 1rem;
    border-inline-start: 4px solid var(--mw-primary, #7c3aed);
    background: rgba(124, 58, 237, 0.06);
    border-radius: 8px;
}

.mw-review-reply strong {
    display: block;
    margin-bottom: 0.35rem;
}

.mw-review-reply p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 0.35rem;
}

.mw-review-reply small {
    color: var(--mw-muted, #6b7280);
}

/* Phase 68.13X Step 1: release-readiness UX shell polish */

.app-page-subtitle:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 760px;
    margin: 5px 0 0;
    color: var(--mw-text-soft);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.public-navbar:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px;
}

.public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)) {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.public-navbar-actions .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.public-navbar-actions .public-nav-link:hover:where(:not(.mw76-root):not(.mw76-root *)),
.public-navbar-actions .public-nav-link:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.72);
}

.public-footer:where(:not(.mw76-root):not(.mw76-root *)) {
    align-items: flex-start;
    border-top: 1px solid rgba(120, 83, 97, 0.12);
}

.public-footer-brand:where(:not(.mw76-root):not(.mw76-root *)) {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.public-footer-brand strong:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    font-weight: 950;
}

.public-footer-brand span:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-muted);
    line-height: 1.5;
}

.public-footer-links:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
}

.public-footer-links a:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-soft);
    font-size: 0.9rem;
    font-weight: 800;
}

.mw-landing-hero {
    align-items: center;
    min-height: min(56vh, 520px);
    padding: clamp(28px, 5vw, 58px);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 249, 0.78)),
        radial-gradient(circle at 88% 18%, rgba(47, 148, 97, 0.16), transparent 18rem),
        radial-gradient(circle at 12% 88%, rgba(215, 168, 110, 0.22), transparent 20rem);
}

.mw-landing-hero-copy {
    min-width: 0;
}

.mw-landing-hero .mw-page-kicker {
    color: #287154;
}

.mw-landing-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 860px;
    font-size: 3.35rem;
    line-height: 1.02;
}

.mw-landing-hero p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 720px;
    font-size: 1.05rem;
}

.mw-landing-actions {
    min-width: min(100%, 260px);
    flex-direction: column;
    align-items: stretch;
}

.mw-landing-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    justify-content: center;
    white-space: normal;
}

.mw-landing-quick-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.mw-landing-path {
    display: flex;
    min-width: 0;
    min-height: 132px;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(73, 55, 62, 0.1);
    border-radius: 8px;
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--mw-shadow-sm);
    text-decoration: none;
}

.mw-landing-path:hover,
.mw-landing-path:focus {
    color: var(--mw-text);
    border-color: rgba(47, 148, 97, 0.22);
    background: #ffffff;
    box-shadow: var(--mw-shadow-md);
    transform: translateY(-1px);
}

.mw-landing-path.primary {
    border-color: rgba(47, 148, 97, 0.2);
}

.mw-landing-path .mw-side-icon {
    margin-bottom: 0;
    border-radius: 8px;
}

.mw-landing-path strong,
.mw-landing-path small {
    display: block;
}

.mw-landing-path strong {
    margin-bottom: 6px;
    font-size: 1.02rem;
    font-weight: 950;
}

.mw-landing-path small {
    color: var(--mw-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.mw-landing-card {
    border-radius: 8px;
}

.mw-landing-card .mw-panel-body {
    min-height: 100%;
}

.mw-auth-secondary-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(120, 83, 97, 0.12);
}

.mw-auth-secondary-links a:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text-soft);
    font-size: 0.9rem;
    font-weight: 850;
}

.mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)),
.card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-salon-guidance > div:where(:not(.mw76-root):not(.mw76-root *)),
.mw-service-list-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-appointment-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-appointment-request-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-today-summary-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px !important;
}

.mw-filter-panel .row:where(:not(.mw76-root):not(.mw76-root *)),
.mw-calendar-filter .row:where(:not(.mw76-root):not(.mw76-root *)),
.mw-appointment-filter .row:where(:not(.mw76-root):not(.mw76-root *)),
.mw-customer-notification-filter .row:where(:not(.mw76-root):not(.mw76-root *)) {
    row-gap: 14px;
}

.table-responsive {
    border: 1px solid rgba(73, 55, 62, 0.08);
    background: rgba(255, 255, 255, 0.62);
}

[dir="rtl"] .public-footer-links:where(:not(.mw76-root):not(.mw76-root *)) {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .mw-landing-hero {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-landing-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mw-landing-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 190px;
    }

    .mw-landing-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 2.55rem;
    }

    .mw-landing-quick-paths {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .public-footer-links:where(:not(.mw76-root):not(.mw76-root *)) {
        justify-content: flex-start;
    }

    .public-navbar-actions .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        text-align: center;
    }

    .mw-landing-path {
        min-height: 0;
    }

    .mw-landing-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .public-navbar-actions .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-landing-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-basis: 100%;
        width: 100%;
    }

    .mw-landing-hero {
        padding: 22px;
    }

    .mw-landing-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 1.9rem;
    }
}

/* Phase 68.13X Step 2: critical workflow body polish */

.mw-report-hero {
    align-items: center;
    border-radius: 8px;
}

.mw-report-filter:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 8px !important;
}

.mw-report-filter-body {
    padding: 22px;
}

.mw-report-note {
    border-inline-start: 4px solid var(--mw-info);
    border-radius: 8px;
}

.mw-report-card,
.mw-report-metric-card {
    overflow: hidden;
}

.mw-report-card .card-body:where(:not(.mw76-root):not(.mw76-root *)),
.mw-report-metric-card .card-body:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 22px;
}

.mw-report-card h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-report-card .h5:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    font-weight: 950;
}

.mw-report-metric-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(47, 148, 97, 0.1) !important;
}

.mw-report-metric-card .h4,
.mw-report-metric-card .display-6 {
    color: var(--mw-text);
    font-weight: 950;
}

.mw-report-card .progress {
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(73, 55, 62, 0.08);
}

.mw-report-card .progress-bar {
    border-radius: 999px;
}

.mw-inline-operation-form {
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.mw-prewrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.mw-detail-card .row > [class*="col-"] > .text-muted.small:first-child:where(:not(.mw76-root):not(.mw76-root *)),
.mw-appointment-card-details span:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-salon-info span:where(:not(.mw76-root):not(.mw76-root *)),
.mw-service-list-facts small:where(:not(.mw76-root):not(.mw76-root *)) {
    letter-spacing: 0.04em;
}

.mw-calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 120px;
}

.mw-appointment-list-panel .mw-panel-header {
    align-items: center;
}

.mw-appointment-card {
    border-color: rgba(73, 55, 62, 0.1);
}

.mw-appointment-card.is-next {
    border-inline-start: 4px solid var(--mw-success);
}

.mw-appointment-card.is-past {
    opacity: 0.92;
}

.mw-appointment-card-time {
    overflow-wrap: anywhere;
}

.mw-appointment-actions form {
    display: inline-flex;
    margin: 0;
}

.mw-appointment-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-workflow-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    white-space: normal;
}

.mw-slot-card,
.mw-public-slot-card,
.mw-availability-select-card,
.mw-customer-search-card,
.mw-request-attention-card,
.mw-service-card,
.mw-review-card {
    border-radius: 8px;
}

.mw-filter-panel,
.mw-appointment-filter,
.mw-calendar-filter {
    border-radius: 8px;
}

.mw-filter-panel .form-label,
.mw-appointment-filter .form-label,
.mw-calendar-filter .form-label {
    margin-bottom: 6px;
}

.mw-empty-state h2:where(:not(.mw76-root):not(.mw76-root *)) {
    overflow-wrap: anywhere;
}

[dir="rtl"] .mw-appointment-card.is-next,
[dir="rtl"] .mw-report-note {
    border-inline-start-width: 4px;
}

@media (max-width: 991.98px) {
    .mw-report-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-report-hero .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-inline-operation-form {
        padding: 14px;
    }
}

@media (max-width: 767.98px) {
    .mw-calendar-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-appointment-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-appointment-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-appointment-actions form:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-calendar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-appointment-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 100%;
    }

    .mw-report-filter-body:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-report-card .card-body:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-report-metric-card .card-body:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 18px;
    }
}

/* Phase 68.13X Step 3A.1: premium public entry, login, and shell polish */

.mw-public-shell {
    background:
        radial-gradient(circle at 14% 8%, rgba(215, 168, 110, 0.22), transparent 26rem),
        radial-gradient(circle at 88% 0%, rgba(155, 92, 122, 0.18), transparent 28rem),
        linear-gradient(180deg, #fffaf4 0%, var(--mw-bg) 54%, #fbf6ee 100%);
}

.mw-public-nav {
    padding: 12px 14px;
    border-color: rgba(120, 83, 97, 0.12);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mw-shadow-soft);
}

.mw-public-brand .app-brand-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-mark:where(:not(.mw76-root):not(.mw76-root *)),
.mw-auth-brand-mark:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.58), transparent 24%),
        linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary) 58%, var(--mw-accent));
}

.mw-public-nav-actions,
.mw-public-nav-links {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-public-nav-links {
    padding: 4px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 999px;
    background: rgba(251, 245, 237, 0.76);
}

.mw-public-nav-links .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 38px;
    padding-inline: 14px;
    border-radius: 999px;
}

.mw-public-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-top: 1px solid rgba(120, 83, 97, 0.12);
}

.mw-landing-hero:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    overflow: hidden;
    min-height: auto;
    margin-bottom: clamp(28px, 5vw, 56px);
    padding: clamp(28px, 5vw, 66px);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--mw-radius-2xl) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(215, 168, 110, 0.26), transparent 19rem),
        radial-gradient(circle at 10% 88%, rgba(155, 92, 122, 0.18), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 246, 236, 0.78));
    box-shadow: var(--mw-shadow-strong);
}

.mw-landing-hero::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(120, 83, 97, 0.08);
    border-radius: calc(var(--mw-radius-2xl) - 10px);
    pointer-events: none;
}

.mw-landing-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
}

.mw-landing-copy,
.mw-auth-card {
    min-width: 0;
}

.mw-landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--mw-primary-dark);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mw-landing-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mw-primary), var(--mw-accent));
}

.mw-landing-title {
    max-width: 820px;
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(2.55rem, 5vw, 5.1rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: 0;
}

.mw-landing-subtitle {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--mw-muted);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.72;
}

.mw-landing-actions {
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    margin-top: 30px;
}

.mw-landing-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 152px;
    justify-content: center;
}

.mw-landing-panel {
    position: relative;
}

.mw-landing-panel::before {
    content: "";
    position: absolute;
    inset: 28px -12px -16px 26px;
    border-radius: var(--mw-radius-2xl);
    background: linear-gradient(135deg, rgba(155, 92, 122, 0.16), rgba(215, 168, 110, 0.16));
    transform: rotate(3deg);
}

.mw-landing-panel-card {
    position: relative;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--mw-radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--mw-shadow-strong);
    backdrop-filter: blur(20px);
}

.mw-landing-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mw-border);
}

.mw-landing-panel-head span {
    color: var(--mw-text);
    font-size: 1.12rem;
    font-weight: 950;
}

.mw-landing-panel-head strong {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding-inline: 12px;
    border-radius: 999px;
    color: #6f4511;
    background: var(--mw-accent-soft);
    font-size: 0.78rem;
}

.mw-landing-booking-flow {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.mw-landing-booking-flow div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-sm);
    background: linear-gradient(135deg, #ffffff, var(--mw-surface-soft));
}

.mw-landing-booking-flow span,
.mw-step-badge {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 950;
    background: linear-gradient(135deg, var(--mw-primary), var(--mw-accent));
    box-shadow: 0 12px 28px rgba(155, 92, 122, 0.22);
}

.mw-landing-booking-flow strong {
    color: var(--mw-text);
    font-size: 0.96rem;
}

.mw-landing-panel-soft {
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--mw-radius-md);
    color: var(--mw-primary-dark);
    background: linear-gradient(135deg, rgba(155, 92, 122, 0.1), rgba(215, 168, 110, 0.14));
}

.mw-landing-panel-soft span {
    font-weight: 950;
}

.mw-landing-panel-soft small {
    color: var(--mw-muted);
    font-weight: 750;
}

.mw-landing-section {
    margin-block: clamp(28px, 5vw, 58px);
}

.mw-landing-section-header {
    display: grid;
    gap: 8px;
    max-width: 720px;
    margin-bottom: 18px;
}

.mw-landing-section-header span,
.mw-feature-card span {
    color: var(--mw-primary-dark);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-landing-section-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-feature-card h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-how-step h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-landing-section-header h2:where(:not(.mw76-root):not(.mw76-root *)) {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.mw-feature-grid,
.mw-how-grid {
    display: grid;
    gap: 16px;
}

.mw-how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mw-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mw-feature-card,
.mw-how-step {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--mw-shadow-soft);
}

.mw-feature-card {
    display: grid;
    gap: 10px;
    min-height: 220px;
    align-content: start;
    background:
        radial-gradient(circle at 94% 8%, rgba(215, 168, 110, 0.18), transparent 12rem),
        rgba(255, 255, 255, 0.86);
}

.mw-how-step {
    display: grid;
    gap: 12px;
}

.mw-feature-card p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-how-step p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-muted);
    line-height: 1.62;
}

.mw-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(120, 83, 97, 0.1);
    box-shadow: var(--mw-shadow-soft);
}

.mw-trust-strip div {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.86);
    font-weight: 950;
    text-align: center;
}

.mw-auth-page {
    display: flex;
    align-items: center;
    min-height: min(760px, calc(100vh - 230px));
    padding-block: clamp(10px, 3vw, 34px);
}

.mw-auth-shell:where(:not(.mw76-root):not(.mw76-root *)) {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
    gap: clamp(20px, 4vw, 54px);
    width: 100%;
}

.mw-auth-brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 580px;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--mw-radius-2xl);
    color: #ffffff;
    background:
        radial-gradient(circle at 84% 16%, rgba(215, 168, 110, 0.34), transparent 18rem),
        linear-gradient(135deg, #4f263d 0%, var(--mw-primary-dark) 52%, #2f4f49 100%);
    box-shadow: var(--mw-shadow-strong);
}

.mw-auth-brand-panel::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--mw-radius-2xl) - 10px);
    pointer-events: none;
}

.mw-auth-brand-panel > *:where(:not(.mw76-root):not(.mw76-root *)) {
    position: relative;
    z-index: 1;
}

.mw-auth-brand-mark {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 34px;
    padding-inline: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(23, 17, 20, 0.24);
}

.mw-auth-brand-panel .mw-landing-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.mw-auth-brand-panel h1:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.3rem, 4.8vw, 4.8rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.mw-auth-brand-panel p:not(.mw-landing-eyebrow):where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.mw-auth-benefits {
    display: grid;
    gap: 10px;
    max-width: 560px;
    margin-top: 34px;
}

.mw-auth-benefits div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--mw-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.mw-auth-benefits span {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    background: var(--mw-accent);
    box-shadow: 0 0 0 5px rgba(215, 168, 110, 0.16);
}

.mw-auth-benefits strong {
    color: #ffffff;
    font-size: 0.94rem;
}

.mw-auth-shell .mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)) {
    align-self: center;
    width: 100%;
    padding: clamp(26px, 4vw, 42px);
    border-radius: var(--mw-radius-xl) !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--mw-shadow-strong) !important;
}

.mw-auth-links {
    justify-content: center;
}

.mw-app-sidebar:where(:not(.mw76-root):not(.mw76-root *)) {
    padding-inline-start: 18px;
    padding-inline-end: 0;
}

.mw-app-sidebar .app-sidebar-inner:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 245, 237, 0.82)),
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.14), transparent 17rem);
    box-shadow: var(--mw-shadow-soft);
}

.mw-app-sidebar-section:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 4px;
}

.mw-app-sidebar-link:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 38px;
    gap: 10px;
    padding-block: 8px;
    padding-inline: 10px;
    border-radius: var(--mw-radius-sm);
    color: #62585b;
    font-size: 0.9rem;
    font-weight: 800;
}

.mw-app-sidebar-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    background: rgba(155, 92, 122, 0.07);
    transform: translateX(1px);
}

.mw-app-sidebar-link.is-active:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(155, 92, 122, 0.18);
    color: var(--mw-primary-dark);
    background: linear-gradient(90deg, rgba(155, 92, 122, 0.13), rgba(255, 255, 255, 0.86));
    box-shadow: none;
}

.mw-app-sidebar-link.is-active:where(:not(.mw76-root):not(.mw76-root *))::before {
    inset-inline-start: -6px;
    left: auto;
}

.mw-app-sidebar-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: rgba(155, 92, 122, 0.08);
    font-size: 0.68rem;
}

.mw-app-sidebar-link.is-active .mw-app-sidebar-icon:where(:not(.mw76-root):not(.mw76-root *)) {
    background: var(--mw-primary-dark);
}

.mw-app-sidebar-support:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 12px;
    padding: 13px;
    border-color: rgba(120, 83, 97, 0.1);
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.64);
    box-shadow: none;
}

.mw-app-sidebar-support .app-sidebar-card-glow:where(:not(.mw76-root):not(.mw76-root *)) {
    display: none;
}

.mw-app-sidebar-support .app-sidebar-card-label:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-primary-dark);
    background: rgba(155, 92, 122, 0.08);
}

.mw-app-sidebar-support .app-sidebar-card-title:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-text);
    font-size: 0.92rem;
}

.mw-app-sidebar-support .app-sidebar-card-text:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-muted);
}

.mw-app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 78px;
    border-bottom-color: rgba(120, 83, 97, 0.1);
    background: rgba(250, 246, 240, 0.84);
    box-shadow: 0 10px 30px rgba(54, 39, 46, 0.04);
}

.mw-app-page-title:where(:not(.mw76-root):not(.mw76-root *)) {
    font-size: clamp(1.18rem, 1.8vw, 1.55rem);
    letter-spacing: 0;
}

.mw-app-page-subtitle:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 660px;
    color: var(--mw-muted);
}

.mw-app-user-context:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(120, 83, 97, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
}

[dir="rtl"] .mw-public-nav-actions,
[dir="rtl"] .mw-public-nav-links,
[dir="rtl"] .mw-landing-actions,
[dir="rtl"] .mw-auth-benefits div,
[dir="rtl"] .mw-landing-booking-flow div,
[dir="rtl"] .mw-landing-panel-head {
    text-align: start;
}

[dir="rtl"] .mw-landing-panel::before {
    inset: 28px 26px -16px -12px;
    transform: rotate(-3deg);
}

[dir="rtl"] .mw-app-sidebar-link:hover:where(:not(.mw76-root):not(.mw76-root *)) {
    transform: translateX(-1px);
}

@media (max-width: 991.98px) {
    .mw-public-nav {
        flex-wrap: wrap;
    }

    .mw-public-brand {
        flex: 0 0 auto;
    }

    .mw-public-nav-actions {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .mw-landing-hero-grid:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-auth-shell:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-how-grid:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-feature-grid:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-trust-strip:where(:not(.mw76-root):not(.mw76-root *)) {
        grid-template-columns: 1fr;
    }

    .mw-auth-page {
        min-height: auto;
    }

    .mw-auth-brand-panel {
        min-height: 360px;
    }

    .mw-public-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .mw-public-nav {
        align-items: stretch;
    }

    .mw-public-nav-actions,
    .mw-public-nav-links {
        width: 100%;
        justify-content: stretch;
    }

    .mw-public-nav-links .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-nav-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .mw-landing-hero:where(:not(.mw76-root):not(.mw76-root *)) {
        padding: 24px;
        border-radius: var(--mw-radius-lg) !important;
    }

    .mw-landing-hero::before,
    .mw-landing-panel::before {
        display: none;
    }

    .mw-auth-brand-panel {
        order: 2;
    }

    .mw-auth-shell .mw-auth-card:where(:not(.mw76-root):not(.mw76-root *)) {
        order: 1;
    }
}

@media (max-width: 575.98px) {
    .mw-public-nav-links .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-nav-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-landing-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        flex-basis: 100%;
        width: 100%;
    }

    .mw-landing-title:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-auth-brand-panel h1:where(:not(.mw76-root):not(.mw76-root *)) {
        font-size: 2.08rem;
        line-height: 1.08;
    }

    .mw-landing-panel-card,
    .mw-feature-card,
    .mw-how-step {
        padding: 18px;
    }
}

/* Phase 68.13X Step 3A.2: premium marketplace discovery and public profile polish */

.mw-marketplace-page,
.mw-profile-page {
    display: grid;
    gap: clamp(18px, 3vw, 28px);
    min-width: 0;
    max-width: 100%;
}

.mw-marketplace-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 94% 8%, rgba(215, 168, 110, 0.2), transparent 16rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 245, 237, 0.82));
    box-shadow: var(--mw-shadow-soft);
}

.mw-marketplace-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--mw-primary-dark);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mw-marketplace-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mw-primary), var(--mw-accent));
}

.mw-marketplace-title {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
}

.mw-marketplace-subtitle {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--mw-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.mw-marketplace-hero-chips,
.mw-profile-chip-row,
.mw-salon-tags,
.mw-active-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-marketplace-hero-chips {
    justify-content: flex-end;
    max-width: 360px;
}

.mw-marketplace-hero-chips span,
.mw-profile-chip-row span,
.mw-salon-tags span,
.mw-filter-chip {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(120, 83, 97, 0.11);
    border-radius: 999px;
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.mw-discovery-panel {
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.9)),
        radial-gradient(circle at 0% 100%, rgba(47, 148, 97, 0.08), transparent 18rem);
    box-shadow: var(--mw-shadow-strong);
}

.mw-discovery-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.mw-discovery-panel-header h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-discovery-panel-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-muted);
    font-size: 0.92rem;
}

.mw-discovery-form {
    display: grid;
    gap: 14px;
}

.mw-discovery-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 10px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.mw-discovery-search {
    min-width: 0;
}

.mw-discovery-panel .form-label {
    margin-bottom: 5px;
    color: var(--mw-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mw-discovery-panel .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-discovery-panel .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    border-color: rgba(120, 83, 97, 0.13);
    border-radius: var(--mw-radius-sm);
    background-color: rgba(255, 255, 255, 0.92);
}

.mw-discovery-search .form-control:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 54px;
    padding-inline: 18px;
    border-color: rgba(155, 92, 122, 0.18);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.mw-discovery-main .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 54px;
    min-width: 132px;
}

.mw-discovery-grid,
.mw-advanced-filter-grid {
    display: grid;
    gap: 12px;
}

.mw-discovery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mw-advanced-filters {
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-md);
    background: rgba(255, 255, 255, 0.58);
}

.mw-advanced-filters summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding-inline: 14px;
    color: var(--mw-primary-dark);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
}

.mw-advanced-filter-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(220px, 1fr);
    padding: 0 14px 14px;
}

.mw-availability-filter .form-check {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-sm);
    background: rgba(255, 255, 255, 0.82);
}

.mw-discovery-footer {
    display: flex;
    justify-content: flex-end;
}

.mw-clear-filters-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding-inline: 10px;
    color: var(--mw-muted);
    font-size: 0.86rem;
    font-weight: 850;
}

.mw-active-filter-row {
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(120, 83, 97, 0.1);
    color: var(--mw-muted);
    font-size: 0.88rem;
}

.mw-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mw-shadow-soft);
}

.mw-results-header span,
.mw-results-sort-summary span,
.mw-profile-section-header span,
.mw-service-category,
.mw-booking-cta-strip span {
    color: var(--mw-primary-dark);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-results-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-profile-section-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-booking-cta-strip h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-text);
    font-size: clamp(1.16rem, 2vw, 1.55rem);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-results-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-muted);
}

.mw-results-sort-summary {
    display: grid;
    gap: 4px;
    text-align: end;
}

.mw-results-sort-summary strong {
    color: var(--mw-text);
    font-size: 0.92rem;
}

.mw-salon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.mw-salon-card:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg) !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--mw-shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mw-salon-card:hover {
    border-color: rgba(155, 92, 122, 0.18);
    box-shadow: var(--mw-shadow-strong);
    transform: translateY(-2px);
}

.mw-salon-cover {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mw-surface-soft), #f1e2d6);
}

.mw-salon-cover > img:not(.mw-salon-card-logo):where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.mw-salon-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(35, 31, 32, 0.28));
    pointer-events: none;
}

.mw-salon-cover-fallback {
    display: grid;
    min-height: 190px;
    place-items: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(215, 168, 110, 0.24), transparent 10rem),
        linear-gradient(135deg, #fbf1e5, #ead5df);
}

.mw-salon-cover-fallback span {
    display: inline-grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary), var(--mw-accent));
    font-size: 1.8rem;
    font-weight: 950;
    box-shadow: 0 18px 46px rgba(155, 92, 122, 0.26);
}

.mw-salon-cover .mw-salon-card-logo {
    position: absolute;
    inset-block-end: 14px;
    inset-inline-start: 14px;
    z-index: 1;
}

.mw-salon-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 20px;
}

.mw-salon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--mw-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.mw-salon-tags {
    margin-block: 2px 14px;
}

.mw-salon-tags span {
    color: var(--mw-text);
    background: rgba(251, 245, 237, 0.8);
}

.mw-salon-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.mw-salon-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
    white-space: normal;
}

.mw-save-provider-form {
    display: contents;
}

.mw-save-provider-form .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
}

.mw-salon-actions .btn:nth-child(3):where(:not(.mw76-root):not(.mw76-root *)) {
    grid-column: 1 / -1;
}

.mw-marketplace-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(215, 168, 110, 0.16), transparent 16rem),
        rgba(255, 255, 255, 0.86);
    box-shadow: var(--mw-shadow-soft);
    text-align: center;
}

.mw-marketplace-empty.compact {
    padding: 24px;
    border-radius: var(--mw-radius-lg);
    box-shadow: none;
}

.mw-marketplace-empty h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-marketplace-empty h3:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-marketplace-empty p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 560px;
    margin: 0;
    color: var(--mw-muted);
    line-height: 1.6;
}

.mw-marketplace-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 4px;
}

.mw-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-2xl);
    background:
        radial-gradient(circle at 92% 8%, rgba(215, 168, 110, 0.2), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 245, 237, 0.82));
    box-shadow: var(--mw-shadow-strong);
}

.mw-profile-summary {
    display: grid;
    align-content: center;
    gap: 18px;
    min-width: 0;
}

.mw-profile-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.mw-profile-title-row h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(2.15rem, 4.4vw, 4.35rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.mw-profile-location,
.mw-profile-description {
    color: var(--mw-muted);
    line-height: 1.65;
}

.mw-profile-location {
    margin: 8px 0 0;
    font-weight: 800;
}

.mw-profile-description {
    max-width: 740px;
    margin: 0;
    font-size: 1rem;
}

.mw-profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mw-profile-media {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 360px;
    border-radius: var(--mw-radius-xl);
    background: linear-gradient(135deg, var(--mw-surface-soft), #ead5df);
    box-shadow: var(--mw-shadow-soft);
}

.mw-profile-media > img:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.mw-profile-media .mw-salon-cover-fallback {
    height: 100%;
    min-height: 360px;
}

.mw-profile-section {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--mw-shadow-soft);
}

.mw-profile-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.mw-profile-section-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 720px;
    margin: 6px 0 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

.mw-service-grid,
.mw-gallery-grid,
.mw-review-grid {
    display: grid;
    gap: 16px;
}

.mw-service-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.mw-service-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.62));
    box-shadow: 0 10px 28px rgba(54, 39, 46, 0.05);
}

.mw-service-card h4:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 6px;
    color: var(--mw-text);
    font-size: 1.06rem;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.mw-service-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    display: -webkit-box;
    margin: 0;
    color: var(--mw-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
}

.mw-service-card .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: auto;
}

.mw-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.mw-gallery-card {
    overflow: hidden;
    min-height: 180px;
    margin: 0;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: var(--mw-surface-soft);
    box-shadow: 0 10px 26px rgba(54, 39, 46, 0.06);
}

.mw-gallery-card img:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.mw-review-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mw-review-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.58));
    box-shadow: 0 10px 28px rgba(54, 39, 46, 0.05);
}

.mw-review-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 12px 0 0;
    color: var(--mw-text);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.mw-booking-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    color: var(--mw-text);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.22), transparent 16rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 245, 237, 0.82));
    box-shadow: var(--mw-shadow-soft);
}

.mw-booking-cta-strip p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--mw-muted);
}

[dir="rtl"] .mw-results-sort-summary {
    text-align: start;
}

[dir="rtl"] .mw-salon-cover .mw-salon-card-logo {
    inset-inline-start: auto;
    inset-inline-end: 14px;
}

@media (max-width: 991.98px) {
    .mw-marketplace-hero,
    .mw-profile-hero,
    .mw-booking-cta-strip {
        grid-template-columns: 1fr;
    }

    .mw-marketplace-hero-chips {
        justify-content: flex-start;
        max-width: none;
    }

    .mw-discovery-grid,
    .mw-advanced-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mw-results-header,
    .mw-booking-cta-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-results-sort-summary {
        text-align: start;
    }
}

@media (max-width: 767.98px) {
    .mw-discovery-main,
    .mw-discovery-grid,
    .mw-advanced-filter-grid {
        grid-template-columns: 1fr;
    }

    .mw-discovery-main .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-profile-hero-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-booking-cta-strip .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-profile-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-profile-media:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-profile-media > img:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-profile-media .mw-salon-cover-fallback:where(:not(.mw76-root):not(.mw76-root *)) {
        min-height: 240px;
    }
}

@media (max-width: 575.98px) {
    .mw-salon-grid {
        grid-template-columns: 1fr;
    }

    .mw-salon-actions {
        grid-template-columns: 1fr;
    }

    .mw-marketplace-hero,
    .mw-discovery-panel,
    .mw-profile-hero,
    .mw-profile-section,
    .mw-booking-cta-strip {
        border-radius: var(--mw-radius-lg);
    }
}

/* Phase 68.13X Step 3A.2 corrective Explore layout fix */

.mw-marketplace-container {
    width: min(100%, 1200px);
    margin-inline: auto;
}

.mw-marketplace-page.mw-marketplace-container {
    gap: 16px;
}

.mw-marketplace-hero--compact {
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--mw-radius-lg);
    box-shadow: var(--mw-shadow-soft);
}

.mw-marketplace-hero--compact .mw-marketplace-eyebrow {
    margin-bottom: 6px;
    font-size: 0.72rem;
}

.mw-marketplace-hero--compact .mw-marketplace-title {
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.12;
}

.mw-marketplace-hero--compact .mw-marketplace-subtitle {
    max-width: 620px;
    margin-top: 7px;
    font-size: 0.94rem;
    line-height: 1.5;
}

.mw-marketplace-hero--compact .mw-marketplace-hero-chips {
    justify-content: flex-end;
    max-width: 330px;
}

.mw-marketplace-hero--compact .mw-marketplace-hero-chips span {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.mw-discovery-panel--compact {
    padding: 14px;
    border-radius: var(--mw-radius-lg);
    box-shadow: 0 18px 42px rgba(54, 39, 46, 0.08);
}

.mw-discovery-panel--compact .mw-discovery-form {
    gap: 12px;
}

.mw-discovery-search-row {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.mw-discovery-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
}

.mw-discovery-field {
    min-width: 0;
}

.mw-discovery-label {
    display: block;
    min-height: 18px;
    margin-block-end: 6px;
    color: var(--mw-muted);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.mw-discovery-control {
    width: 100%;
    min-height: 48px;
    border-color: rgba(120, 83, 97, 0.14);
    border-radius: 12px;
    background-color: #ffffff;
}

.mw-discovery-search .mw-discovery-control {
    height: 48px;
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 14px;
    font-size: 0.96rem;
    font-weight: 650;
}

.mw-discovery-actions:where(:not(.mw76-root):not(.mw76-root *)),
.mw-discovery-search-row .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 48px;
    min-width: 112px;
    padding-inline: 20px;
    border-radius: 14px;
}

.mw-discovery-search-row .mw-clear-filters-link {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding-inline: 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    white-space: nowrap;
}

.mw-discovery-panel--compact .mw-advanced-filters {
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.mw-discovery-panel--compact .mw-advanced-filters[open] {
    width: 100%;
    border-radius: var(--mw-radius-md);
}

.mw-discovery-panel--compact .mw-advanced-filters summary {
    width: fit-content;
    min-height: 38px;
    padding-inline: 13px;
    border-radius: 999px;
    line-height: 1;
}

.mw-discovery-panel--compact .mw-advanced-filter-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.7fr) minmax(240px, 1.1fr);
    gap: 12px;
    padding: 4px 12px 12px;
}

.mw-discovery-panel--compact .mw-active-filter-row {
    margin-top: 12px;
    padding-top: 12px;
}

.mw-results-header--compact {
    min-height: auto;
    padding: 14px 16px;
    border-radius: var(--mw-radius-lg);
}

.mw-results-header--compact h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.25;
}

.mw-results-header--compact p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 3px;
    font-size: 0.9rem;
}

.mw-results-header--compact .mw-results-sort-summary strong {
    font-size: 0.88rem;
}

.mw-marketplace-container .mw-salon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 991.98px) {
    .mw-marketplace-hero--compact {
        grid-template-columns: 1fr;
    }

    .mw-marketplace-hero--compact .mw-marketplace-hero-chips {
        justify-content: flex-start;
        max-width: none;
    }

    .mw-discovery-search-row {
        grid-template-columns: minmax(300px, 1fr) auto auto;
    }

    .mw-discovery-quick-grid,
    .mw-marketplace-container .mw-salon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mw-discovery-panel--compact .mw-advanced-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .mw-marketplace-hero--compact,
    .mw-discovery-panel--compact,
    .mw-results-header--compact {
        padding: 14px;
    }

    .mw-discovery-search-row,
    .mw-discovery-quick-grid,
    .mw-discovery-panel--compact .mw-advanced-filter-grid,
    .mw-marketplace-container .mw-salon-grid {
        grid-template-columns: 1fr;
    }

    .mw-discovery-search-row .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-discovery-search-row .mw-clear-filters-link:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .mw-discovery-panel--compact .mw-advanced-filters,
    .mw-discovery-panel--compact .mw-advanced-filters summary {
        width: 100%;
    }
}

/* Phase 68.13X Step 3A.2 second corrective Explore filter row separation */

.mw-discovery-panel--compact .mw-discovery-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mw-discovery-panel--compact .mw-discovery-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    align-items: end;
}

.mw-discovery-search-field,
.mw-discovery-panel--compact .mw-discovery-field {
    min-width: 0;
}

.mw-discovery-search-button {
    height: 48px;
    min-height: 48px;
    white-space: nowrap;
}

.mw-discovery-clear-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 12px;
    border-radius: 14px;
    color: var(--mw-muted);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.mw-discovery-clear-link:hover,
.mw-discovery-clear-link:focus {
    color: var(--mw-primary-dark);
    background: rgba(251, 245, 237, 0.86);
}

.mw-discovery-panel--compact .mw-discovery-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.mw-discovery-panel--compact .mw-discovery-label {
    display: block;
    margin-block-end: 0.35rem;
    min-height: auto;
    line-height: 1.2;
    white-space: normal;
}

.mw-discovery-panel--compact .mw-discovery-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-discovery-panel--compact .mw-discovery-field input:where(:not(.mw76-root):not(.mw76-root *)),
.mw-discovery-panel--compact .mw-discovery-field select:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
}

.mw-discovery-panel--compact .mw-advanced-filters {
    width: fit-content;
    max-width: 100%;
}

.mw-discovery-panel--compact .mw-advanced-filters[open] {
    width: 100%;
}

.mw-discovery-panel--compact .mw-advanced-filters summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.mw-discovery-panel--compact .mw-advanced-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0 12px 12px;
}

@media (max-width: 900px) {
    .mw-discovery-panel--compact .mw-discovery-search-row,
    .mw-discovery-panel--compact .mw-discovery-quick-grid,
    .mw-discovery-panel--compact .mw-advanced-filter-grid {
        grid-template-columns: 1fr;
    }

    .mw-discovery-panel--compact .mw-advanced-filters {
        width: 100%;
    }
}

/* Phase 68.13X Step 3A.3: premium owner operations workspace */

.mw-owner-page {
    display: grid;
    gap: clamp(18px, 2.5vw, 26px);
}

.mw-owner-command-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.16), transparent 17rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.86));
    box-shadow: var(--mw-shadow-soft);
}

.mw-owner-command-hero .mw-page-kicker,
.mw-owner-command-hero .mw-hero-kicker,
.mw-owner-section-header .mw-section-kicker {
    color: var(--mw-primary-dark);
}

.mw-owner-command-hero h1:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-command-hero .mw-hero-title:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-block-end: 6px;
    color: var(--mw-text);
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.mw-owner-command-hero p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-section-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 740px;
    color: var(--mw-muted);
    line-height: 1.58;
}

.mw-owner-action-strip,
.mw-owner-action-group,
.mw-owner-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mw-owner-action-strip {
    justify-content: flex-end;
}

.mw-owner-action-strip .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-action-group .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-compact-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-compact-actions form:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 0;
}

.mw-owner-command-grid {
    align-items: stretch;
}

.mw-owner-command-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-section:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-table-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-filter-card:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-form-shell:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-side-panel:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-preview-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(120, 83, 97, 0.1) !important;
    border-radius: var(--mw-radius-xl) !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--mw-shadow-soft);
}

.mw-owner-section,
.mw-owner-table-card,
.mw-owner-filter-card,
.mw-owner-form-shell {
    overflow: hidden;
}

.mw-owner-filter-card .mw-panel-body,
.mw-owner-table-card .mw-panel-body,
.mw-owner-form-shell .mw-panel-body {
    padding: clamp(18px, 3vw, 28px);
}

.mw-owner-section-header {
    margin-block-end: 18px;
}

.mw-owner-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mw-owner-summary-card {
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.66));
}

.mw-owner-workspace {
    align-items: stretch;
}

.mw-owner-form-shell form {
    display: grid;
    gap: 18px;
}

.mw-owner-form-section {
    display: grid;
    gap: 14px;
    padding: clamp(16px, 2.4vw, 22px);
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.58));
}

.mw-owner-form-section + .mw-owner-form-section {
    margin-block-start: 0;
}

.mw-owner-form-section .mw-form-section {
    margin: 0;
    padding: 0;
    border: 0;
}

.mw-owner-form-grid .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-form-grid .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 44px;
    border-color: rgba(120, 83, 97, 0.14);
    border-radius: 12px;
}

.mw-owner-side-panel {
    padding: clamp(18px, 3vw, 24px);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.14), transparent 14rem),
        rgba(255, 255, 255, 0.9);
}

.mw-owner-preview-card {
    overflow: hidden;
}

.mw-owner-empty-state {
    border: 1px dashed rgba(120, 83, 97, 0.18);
    border-radius: var(--mw-radius-xl);
    background: rgba(251, 245, 237, 0.58);
}

.mw-owner-danger-zone .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-compact-actions .btn-outline-danger:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(181, 67, 67, 0.3);
    background: rgba(181, 67, 67, 0.04);
}

.mw-owner-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mw-owner-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(54, 39, 46, 0.05);
}

.mw-owner-step span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    font-weight: 950;
}

.mw-owner-step strong {
    color: var(--mw-text);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mw-owner-status,
.mw-owner-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mw-owner-table-card .mw-management-table-wrap {
    border: 1px solid rgba(120, 83, 97, 0.08);
    border-radius: var(--mw-radius-lg);
    background: #ffffff;
}

.mw-owner-table-card .mw-table thead th {
    color: var(--mw-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(251, 245, 237, 0.78);
}

.mw-owner-table-card .mw-table tbody tr:hover {
    background: rgba(251, 245, 237, 0.4);
}

.mw-owner-compact-actions {
    justify-content: flex-end;
}

.mw-owner-compact-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 34px;
}

@media (max-width: 991.98px) {
    .mw-owner-command-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-owner-action-strip,
    .mw-owner-compact-actions {
        justify-content: flex-start;
    }

    .mw-owner-stepper,
    .mw-owner-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .mw-owner-command-hero:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-form-section:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-side-panel:where(:not(.mw76-root):not(.mw76-root *)) {
        border-radius: var(--mw-radius-lg) !important;
    }

    .mw-owner-action-strip .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-action-group .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-compact-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-owner-compact-actions form:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 68.13X Step 3A.3 corrective Owner Bookings command workspace */

.mw-bookings-page {
    gap: 18px;
}

.mw-bookings-command-header,
.mw-bookings-request-strip,
.mw-bookings-filter-card,
.mw-bookings-results-card {
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mw-shadow-soft);
}

.mw-bookings-command-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.16), transparent 14rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.84));
}

.mw-bookings-command-copy {
    min-width: 0;
}

.mw-bookings-command-copy h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: 0;
}

.mw-bookings-command-copy p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 680px;
    margin: 7px 0 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

.mw-bookings-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mw-bookings-command-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
}

.mw-bookings-request-strip {
    display: grid;
    grid-template-columns: minmax(180px, 0.6fr) repeat(2, minmax(230px, 1fr));
    gap: 12px;
    align-items: stretch;
    padding: 14px;
}

.mw-bookings-request-strip > div {
    display: grid;
    align-content: center;
    min-width: 0;
    padding-inline: 6px;
}

.mw-bookings-request-strip > div > span,
.mw-bookings-results-header > span {
    color: var(--mw-primary-dark);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-bookings-request-strip h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 3px 0 0;
    color: var(--mw-text);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mw-bookings-request-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    color: var(--mw-text);
    background:
        linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.7));
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mw-bookings-request-card:hover,
.mw-bookings-request-card:focus {
    border-color: rgba(155, 92, 122, 0.22);
    color: var(--mw-text);
    box-shadow: var(--mw-shadow-soft);
    transform: translateY(-1px);
}

.mw-bookings-request-card span:first-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.mw-bookings-request-card strong {
    color: var(--mw-text);
    font-size: 0.95rem;
}

.mw-bookings-request-card small {
    color: var(--mw-muted);
    line-height: 1.35;
}

.mw-bookings-request-count {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: #b54343;
    font-weight: 950;
}

.mw-bookings-request-count.warning {
    color: #3f2b0d;
    background: #f1c66b;
}

.mw-bookings-filter-card,
.mw-bookings-results-card {
    overflow: hidden;
}

.mw-bookings-filter-card .mw-panel-body,
.mw-bookings-results-card .mw-panel-body {
    padding: 18px;
}

.mw-bookings-filter-form {
    display: grid;
    gap: 12px;
}

.mw-bookings-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
    align-items: end;
}

.mw-bookings-filter-grid.secondary {
    grid-template-columns: repeat(2, minmax(180px, 1fr)) minmax(220px, auto);
}

.mw-bookings-filter-field {
    min-width: 0;
}

.mw-bookings-filter-field .form-label {
    display: block;
    margin-block-end: 6px;
    color: var(--mw-muted);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: normal;
}

.mw-bookings-filter-field .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-bookings-filter-field .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-color: rgba(120, 83, 97, 0.14);
    border-radius: 12px;
    background-color: #ffffff;
}

.mw-bookings-filter-actions,
.mw-bookings-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.mw-bookings-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-bookings-action-group .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 40px;
}

.mw-bookings-clear-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding-inline: 10px;
    color: var(--mw-muted);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.mw-bookings-clear-link:hover,
.mw-bookings-clear-link:focus {
    color: var(--mw-primary-dark);
}

.mw-bookings-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 14px;
}

.mw-bookings-results-header h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mw-bookings-results-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-muted);
    line-height: 1.45;
}

.mw-bookings-table-wrap {
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-lg);
    background: #ffffff;
}

.mw-bookings-table-wrap .mw-table {
    margin: 0;
}

.mw-bookings-table-wrap thead th {
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(251, 245, 237, 0.86);
    white-space: nowrap;
}

.mw-bookings-table-wrap tbody td {
    vertical-align: middle;
}

.mw-bookings-customer-cell,
.mw-bookings-time-cell {
    min-width: 190px;
}

.mw-bookings-customer-cell {
    display: grid;
    gap: 3px;
}

.mw-bookings-customer-cell strong {
    color: var(--mw-text);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mw-bookings-customer-cell span {
    max-width: 240px;
    color: var(--mw-muted);
    font-size: 0.82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mw-bookings-time-cell strong {
    display: block;
    color: var(--mw-text);
    font-size: 0.9rem;
    line-height: 1.35;
}

.mw-bookings-status-badge {
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 950;
    white-space: nowrap;
}

.mw-bookings-action-group {
    justify-content: flex-end;
}

.mw-bookings-action-group .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 999px;
    white-space: nowrap;
}

.mw-bookings-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: clamp(28px, 5vw, 46px);
    border: 1px dashed rgba(120, 83, 97, 0.18);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(215, 168, 110, 0.14), transparent 14rem),
        rgba(251, 245, 237, 0.58);
    text-align: center;
}

.mw-bookings-empty-state h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-bookings-empty-state p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 520px;
    margin: 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .mw-bookings-command-header,
    .mw-bookings-request-strip,
    .mw-bookings-filter-grid,
    .mw-bookings-filter-grid.secondary {
        grid-template-columns: 1fr;
    }

    .mw-bookings-command-actions,
    .mw-bookings-filter-actions,
    .mw-bookings-action-group {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .mw-bookings-command-header,
    .mw-bookings-request-strip,
    .mw-bookings-filter-card,
    .mw-bookings-results-card {
        border-radius: var(--mw-radius-lg);
    }

    .mw-bookings-command-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-bookings-filter-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-bookings-filter-actions .mw-bookings-clear-link:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-bookings-action-group .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 68.13X Step 3A.3B: corrective Booking Availability workflow */

.mw-availability-page {
    gap: 18px;
}

.mw-availability-header,
.mw-availability-step,
.mw-availability-form-card,
.mw-availability-side-panel,
.mw-availability-results {
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mw-shadow-soft);
}

.mw-availability-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.16), transparent 14rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.84));
}

.mw-availability-header h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: 0;
}

.mw-availability-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 680px;
    margin: 7px 0 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

.mw-availability-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mw-availability-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
}

.mw-availability-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mw-availability-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px;
    background:
        linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.62));
}

.mw-availability-step.is-active {
    border-color: rgba(155, 92, 122, 0.22);
    box-shadow: var(--mw-shadow-soft);
}

.mw-availability-step-number {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    font-weight: 950;
}

.mw-availability-step-title {
    display: block;
    color: var(--mw-text);
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.25;
}

.mw-availability-step-help {
    display: block;
    margin-top: 4px;
    color: var(--mw-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.mw-availability-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 16px;
    align-items: stretch;
}

.mw-availability-form-card,
.mw-availability-side-panel,
.mw-availability-results {
    padding: clamp(18px, 3vw, 24px);
}

.mw-availability-form-grid {
    display: grid;
    gap: 16px;
}

.mw-availability-form-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-lg);
    background: linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.58));
}

.mw-availability-form-section > div:first-child {
    grid-column: 1 / -1;
}

.mw-availability-form-section h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.04rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mw-availability-form-section p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-muted);
    line-height: 1.45;
}

.mw-availability-field-wide {
    grid-column: 1 / -1;
}

.mw-availability-form-card .form-label {
    display: block;
    margin-block-end: 6px;
    color: var(--mw-muted);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.mw-availability-form-card .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-form-card .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-color: rgba(120, 83, 97, 0.14);
    border-radius: 12px;
    background-color: #ffffff;
}

.mw-availability-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.mw-availability-action-row .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 42px;
}

.mw-availability-side-panel {
    display: grid;
    align-content: start;
    gap: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.16), transparent 14rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 245, 237, 0.72));
}

.mw-availability-side-panel > div > span {
    color: var(--mw-primary-dark);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-availability-side-panel h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 4px 0 0;
    color: var(--mw-text);
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mw-availability-side-panel p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 7px 0 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

.mw-availability-side-panel .mw-owner-meta-list {
    display: grid;
    gap: 10px;
}

.mw-availability-side-panel .mw-owner-meta-list div {
    padding: 12px;
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.mw-availability-side-panel dt {
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mw-availability-side-panel dd {
    margin: 3px 0 0;
    color: var(--mw-text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mw-availability-info-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mw-availability-info-list li {
    padding-inline-start: 14px;
    border-inline-start: 3px solid rgba(155, 92, 122, 0.24);
    color: var(--mw-muted);
    line-height: 1.45;
}

.mw-availability-info-list.compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mw-availability-info-list.compact span {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    font-weight: 950;
}

.mw-availability-results {
    overflow: hidden;
}

.mw-availability-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: clamp(28px, 5vw, 46px);
    border: 1px dashed rgba(120, 83, 97, 0.18);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(215, 168, 110, 0.14), transparent 14rem),
        rgba(251, 245, 237, 0.58);
    text-align: center;
}

.mw-availability-empty h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-weight: 950;
    letter-spacing: 0;
}

.mw-availability-empty p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 560px;
    margin: 0;
    color: var(--mw-muted);
    line-height: 1.55;
}

.mw-availability-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.mw-availability-slot-card {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: linear-gradient(180deg, #ffffff, rgba(251, 245, 237, 0.62));
    box-shadow: 0 10px 28px rgba(54, 39, 46, 0.05);
}

.mw-availability-slot-card span {
    display: block;
    color: var(--mw-primary-dark);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mw-availability-slot-card strong {
    display: block;
    margin-top: 3px;
    color: var(--mw-text);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mw-availability-slot-card small {
    display: block;
    margin-top: 3px;
    color: var(--mw-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mw-availability-slot-card .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    justify-self: start;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .mw-availability-header,
    .mw-availability-workspace,
    .mw-availability-stepper,
    .mw-availability-form-section {
        grid-template-columns: 1fr;
    }

    .mw-availability-actions,
    .mw-availability-action-row {
        justify-content: flex-start;
    }

    .mw-availability-field-wide,
    .mw-availability-form-section > div:first-child {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .mw-availability-header,
    .mw-availability-step,
    .mw-availability-form-card,
    .mw-availability-side-panel,
    .mw-availability-results {
        border-radius: var(--mw-radius-lg);
    }

    .mw-availability-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-availability-action-row .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-availability-slot-card .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 68.13X Step 3A.3B corrective compact Booking Availability tool */

.mw-availability-page {
    gap: 14px;
}

.mw-availability-header {
    padding: 16px 18px;
}

.mw-availability-header h1:where(:not(.mw76-root):not(.mw76-root *)) {
    font-size: clamp(1.42rem, 2vw, 1.9rem);
}

.mw-availability-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-top: 5px;
    font-size: 0.94rem;
}

.mw-availability-tool {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.12), transparent 14rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 245, 237, 0.68));
    box-shadow: var(--mw-shadow-soft);
}

.mw-availability-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
}

.mw-availability-progress-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding-inline: 12px;
    color: var(--mw-muted);
}

.mw-availability-progress-item + .mw-availability-progress-item {
    border-inline-start: 1px solid rgba(120, 83, 97, 0.1);
}

.mw-availability-progress-item.is-active {
    color: var(--mw-primary-dark);
    background: rgba(251, 245, 237, 0.9);
}

.mw-availability-progress-number {
    display: inline-grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    font-size: 0.78rem;
    font-weight: 950;
}

.mw-availability-progress-label {
    min-width: 0;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.mw-availability-tool-hint {
    margin: -2px 0 0;
    color: var(--mw-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: center;
}

.mw-availability-tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 14px;
    align-items: stretch;
}

.mw-availability-criteria,
.mw-availability-summary-card,
.mw-availability-results-panel {
    border: 1px solid rgba(120, 83, 97, 0.09);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.84);
}

.mw-availability-criteria {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 14px;
}

.mw-availability-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mw-availability-field-wide {
    grid-column: 1 / -1;
}

.mw-availability-criteria .form-label {
    display: block;
    margin-block-end: 5px;
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.mw-availability-criteria .form-control:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-criteria .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-color: rgba(120, 83, 97, 0.14);
    border-radius: 12px;
    background-color: #ffffff;
}

.mw-availability-action-row {
    justify-content: flex-start;
    padding-top: 2px;
}

.mw-availability-primary-action {
    min-width: 160px;
    box-shadow: 0 12px 24px rgba(155, 92, 122, 0.18);
}

.mw-availability-summary-card {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 14px;
    border-inline-start: 4px solid rgba(155, 92, 122, 0.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.13), transparent 11rem),
        rgba(255, 255, 255, 0.82);
}

.mw-availability-summary-row {
    display: grid;
    grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    padding-block: 7px;
    border-bottom: 1px solid rgba(120, 83, 97, 0.08);
}

.mw-availability-summary-label {
    color: var(--mw-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mw-availability-summary-value {
    color: var(--mw-text);
    font-size: 0.9rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.mw-availability-rules {
    display: grid;
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.mw-availability-rules li {
    color: var(--mw-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.mw-availability-rules li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 8px;
    border-radius: 999px;
    background: var(--mw-accent);
    vertical-align: middle;
}

.mw-availability-results-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.mw-availability-results-panel .mw-bookings-results-header {
    margin-block-end: 0;
}

.mw-availability-empty-compact {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 96px;
    padding: 14px;
    border: 1px dashed rgba(120, 83, 97, 0.18);
    border-radius: var(--mw-radius-lg);
    background: rgba(251, 245, 237, 0.62);
}

.mw-availability-empty-compact .mw-empty-icon {
    flex: 0 0 auto;
}

.mw-availability-empty-compact h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: 1.02rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mw-availability-empty-compact p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-empty-compact small:where(:not(.mw76-root):not(.mw76-root *)) {
    display: block;
    margin: 3px 0 0;
    color: var(--mw-muted);
    line-height: 1.4;
}

.mw-availability-slot-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.mw-availability-slot-chip {
    display: grid;
    grid-template-columns: minmax(108px, auto) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(54, 39, 46, 0.04);
}

.mw-availability-slot-time span,
.mw-availability-slot-meta span {
    display: block;
    color: var(--mw-muted);
    font-size: 0.74rem;
    line-height: 1.25;
}

.mw-availability-slot-time strong {
    display: block;
    color: var(--mw-primary-dark);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.25;
    white-space: nowrap;
}

.mw-availability-slot-meta {
    min-width: 0;
}

.mw-availability-slot-meta strong {
    display: block;
    color: var(--mw-text);
    font-size: 0.9rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mw-availability-slot-chip .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 999px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .mw-availability-progress,
    .mw-availability-tool-grid,
    .mw-availability-slot-chip {
        grid-template-columns: 1fr;
    }

    .mw-availability-progress {
        border-radius: var(--mw-radius-lg);
    }

    .mw-availability-progress-item + .mw-availability-progress-item {
        border-block-start: 1px solid rgba(120, 83, 97, 0.1);
        border-inline-start: 0;
    }

    .mw-availability-field-grid {
        grid-template-columns: 1fr;
    }

    .mw-availability-field-wide {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .mw-availability-tool {
        padding: 12px;
        border-radius: var(--mw-radius-lg);
    }

    .mw-availability-action-row .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-availability-slot-chip .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 68.13X Full-Site Premium UI/UX Redesign */
:root {
    --mw-shadow-card: 0 18px 44px rgba(54, 39, 46, 0.1);
    --mw-space-xs: 0.35rem;
    --mw-space-sm: 0.65rem;
    --mw-space-md: 1rem;
    --mw-space-lg: 1.45rem;
    --mw-space-xl: 2rem;
}

.mw-page-shell {
    position: relative;
}

.mw-page,
.mw-owner-page,
.mw-admin-page,
.mw-customer-page,
.mw-profile-page,
.mw-marketplace-page,
.mw-public-scheduler-page {
    display: grid;
    gap: var(--mw-space-lg);
    min-width: 0;
    max-width: 100%;
}

.mw-page-header,
.mw-page-hero,
.mw-bookings-command-header,
.mw-owner-command-hero,
.mw-admin-command-header,
.mw-customer-command-header,
.mw-legal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--mw-space-lg);
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid rgba(120, 83, 97, 0.11);
    border-radius: var(--mw-radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.15), transparent 16rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 245, 237, 0.72));
    box-shadow: var(--mw-shadow-soft);
}

.mw-page-eyebrow,
.mw-page-kicker {
    margin-block-end: 0.35rem;
    color: var(--mw-primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-page-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
}

.mw-page-subtitle:where(:not(.mw76-root):not(.mw76-root *)),
.mw-page-hero p:where(:not(.mw76-root):not(.mw76-root *)) {
    max-width: 68ch;
    margin: 0.45rem 0 0;
    color: var(--mw-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.mw-page-actions,
.mw-hero-actions,
.mw-action-row,
.mw-action-group,
.mw-owner-action-strip,
.mw-bookings-command-actions,
.mw-table-actions,
.mw-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

.mw-card,
.mw-panel,
.mw-table-card,
.mw-owner-table-card,
.mw-owner-form-shell,
.mw-admin-table-card,
.mw-bookings-filter-card,
.mw-bookings-results-card,
.mw-filter-card,
.mw-form-shell,
.mw-side-panel,
.mw-preview-card,
.mw-info-panel,
.mw-legal-card {
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 244, 0.82));
    box-shadow: var(--mw-shadow-card);
}

.mw-card-soft,
.mw-info-panel {
    background: linear-gradient(135deg, rgba(251, 245, 237, 0.95), rgba(255, 255, 255, 0.88));
}

.mw-panel-body {
    padding: clamp(16px, 2vw, 24px);
}

.mw-section,
.mw-owner-section,
.mw-form-section,
.mw-owner-form-section,
.mw-form-shell,
.mw-form-section {
    display: grid;
    gap: var(--mw-space-md);
}

.mw-section-header,
.mw-panel-header,
.mw-bookings-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mw-space-md);
    margin-block-end: var(--mw-space-md);
}

.mw-section-title:where(:not(.mw76-root):not(.mw76-root *)),
.mw-section-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-header h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-bookings-results-header h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.05rem, 1.5vw, 1.32rem);
    font-weight: 900;
    letter-spacing: 0;
}

.mw-section-subtitle:where(:not(.mw76-root):not(.mw76-root *)),
.mw-section-header p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-panel-header p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-bookings-results-header p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0.25rem 0 0;
    color: var(--mw-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.mw-dashboard-grid,
.mw-card-grid,
.mw-kpi-grid,
.mw-owner-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--mw-space-md);
}

.mw-operation-card,
.mw-kpi-card,
.mw-owner-command-card,
.mw-owner-summary-card,
.mw-notification-card,
.mw-payment-card,
.mw-review-thread {
    display: grid;
    align-content: start;
    gap: var(--mw-space-md);
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 26px rgba(54, 39, 46, 0.055);
}

.mw-operation-card h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-kpi-card h2:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-command-card h2:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
}

.mw-operation-card p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-kpi-card p:where(:not(.mw76-root):not(.mw76-root *)),
.mw-owner-command-card p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-muted);
    line-height: 1.45;
}

.mw-filter-card,
.mw-filter-panel,
.mw-bookings-filter-card {
    padding: clamp(14px, 1.8vw, 20px);
}

.mw-filter-grid,
.mw-bookings-filter-grid,
.mw-form-grid,
.mw-owner-form-grid {
    align-items: end;
}

.form-label {
    color: var(--mw-muted);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
}

.form-control:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:where(:not(.mw76-root):not(.mw76-root *)),
.mw-readonly-control:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 44px;
    border-color: rgba(120, 83, 97, 0.15);
    border-radius: 13px;
    background-color: #ffffff;
}

.mw-readonly-control {
    display: flex;
    align-items: center;
    padding-inline: 0.75rem;
    color: var(--mw-text);
    font-weight: 800;
}

.form-control:focus:where(:not(.mw76-root):not(.mw76-root *)),
.form-select:focus:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(155, 92, 122, 0.52);
    box-shadow: 0 0 0 0.2rem rgba(155, 92, 122, 0.12);
}

.btn:where(:not(.mw76-root):not(.mw76-root *)) {
    border-radius: 999px;
    font-weight: 800;
}

.btn-primary:where(:not(.mw76-root):not(.mw76-root *)),
.mw-primary-action:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: var(--mw-primary);
    background: linear-gradient(135deg, var(--mw-primary-dark), var(--mw-primary));
    box-shadow: 0 12px 24px rgba(155, 92, 122, 0.18);
}

.btn-outline-primary:where(:not(.mw76-root):not(.mw76-root *)),
.mw-secondary-action:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(155, 92, 122, 0.34);
    color: var(--mw-primary-dark);
    background: rgba(255, 255, 255, 0.72);
}

.mw-danger-action {
    border-color: rgba(201, 71, 71, 0.34);
    color: var(--mw-danger);
}

.mw-table-card,
.mw-table-wrap,
.mw-management-table-wrap,
.mw-bookings-table-wrap {
    overflow-x: auto;
}

.mw-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.mw-table thead th {
    padding-block: 0.85rem;
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(251, 245, 237, 0.82);
    border-bottom: 1px solid rgba(120, 83, 97, 0.1);
}

.mw-table tbody td {
    padding-block: 0.95rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(120, 83, 97, 0.08);
}

.mw-cell-main {
    display: block;
    color: var(--mw-text);
    font-weight: 900;
}

.mw-cell-muted:where(:not(.mw76-root):not(.mw76-root *)),
.mw-table .text-muted:where(:not(.mw76-root):not(.mw76-root *)),
.mw-bookings-customer-cell span:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-muted) !important;
    font-size: 0.86rem;
}

.mw-status,
.mw-chip,
.mw-soft-pill,
.mw-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 28px;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.mw-status-success {
    color: #1f6f4a;
    background: rgba(47, 148, 97, 0.12);
}

.mw-status-warning {
    color: #8a560e;
    background: rgba(183, 121, 31, 0.13);
}

.mw-status-danger {
    color: #9f3030;
    background: rgba(201, 71, 71, 0.12);
}

.mw-status-info {
    color: #286a81;
    background: rgba(59, 130, 160, 0.12);
}

.mw-status-muted,
.mw-chip,
.mw-soft-pill,
.mw-count-pill {
    color: var(--mw-muted);
    background: rgba(120, 83, 97, 0.08);
}

.mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: clamp(22px, 3vw, 34px);
    border: 1px dashed rgba(120, 83, 97, 0.2);
    border-radius: var(--mw-radius-xl);
    background: rgba(251, 245, 237, 0.62);
    text-align: center;
}

.mw-empty-state.compact:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: 18px;
}

.mw-empty-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: var(--mw-primary-dark);
    background: var(--mw-primary-soft);
    font-weight: 950;
}

.mw-auth-page {
    min-height: min(760px, calc(100vh - 180px));
    display: grid;
    align-items: center;
    padding-block: var(--mw-space-lg);
}

.mw-auth-shell:where(:not(.mw76-root):not(.mw76-root *)) {
    width: min(1040px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
    gap: var(--mw-space-lg);
    align-items: stretch;
}

.mw-auth-brand-panel,
.mw-auth-card {
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: var(--mw-radius-2xl);
    box-shadow: var(--mw-shadow-card);
}

.mw-auth-brand-panel {
    display: grid;
    align-content: end;
    gap: var(--mw-space-md);
    min-height: 420px;
    padding: clamp(24px, 4vw, 42px);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.42), transparent 18rem),
        linear-gradient(135deg, var(--mw-primary-dark), #8f4d6d);
}

.mw-auth-brand-panel h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 950;
    line-height: 1.02;
}

.mw-auth-brand-panel p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.55;
}

.mw-auth-card {
    padding: clamp(24px, 4vw, 42px);
    background: rgba(255, 255, 255, 0.92);
}

.mw-legal-card {
    max-width: 860px;
    padding: clamp(22px, 3vw, 34px);
}

.mw-admin-page .mw-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mw-public-scheduler-tool .mw-panel-body,
.mw-public-scheduler-results .mw-panel-body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    padding: clamp(16px, 2vw, 22px);
}

.mw-public-availability-form {
    padding-inline: 0.5rem;
}

.mw-public-scheduler-page .mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)),
.mw-public-scheduler-page .form-select:where(:not(.mw76-root):not(.mw76-root *)) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.mw-availability-slot-list,
.mw-public-slot-list,
.mw-customer-slot-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.mw-availability-slot-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.mw-availability-slot-row,
.mw-public-slot-row,
.mw-customer-slot-row {
    display: grid;
    grid-template-columns: minmax(132px, 0.55fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(54, 39, 46, 0.05);
}

.mw-public-slot-row {
    grid-template-columns: minmax(122px, 0.48fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(170px, auto);
}

.mw-public-slot-time,
.mw-public-slot-detail,
.mw-public-slot-specialist,
.mw-public-slot-actions,
.mw-availability-slot-time,
.mw-availability-slot-meta {
    min-width: 0;
}

.mw-public-slot-time span,
.mw-public-slot-detail span,
.mw-public-slot-specialist span,
.mw-availability-slot-time span,
.mw-availability-slot-meta span {
    display: block;
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.25;
}

.mw-public-slot-time strong,
.mw-availability-slot-time strong {
    display: block;
    color: var(--mw-primary-dark);
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.2;
    white-space: nowrap;
}

.mw-public-slot-detail strong,
.mw-public-slot-specialist strong,
.mw-availability-slot-meta strong {
    display: block;
    color: var(--mw-text);
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
}

.mw-public-slot-time small,
.mw-public-slot-detail small,
.mw-availability-slot-time small,
.mw-availability-slot-meta small {
    display: block;
    color: var(--mw-muted);
    font-size: 0.82rem;
}

.mw-public-slot-specialist {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mw-public-slot-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.mw-public-slot-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
.mw-availability-slot-row .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    white-space: nowrap;
}

.mw-info-panel {
    padding: 0.8rem 0.95rem;
    border-inline-start: 4px solid rgba(155, 92, 122, 0.28);
}

.mw-info-panel span {
    display: block;
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.mw-info-panel strong {
    display: block;
    color: var(--mw-text);
    font-weight: 900;
}

.mw-calendar-shell,
.mw-media-grid,
.mw-gallery-admin-grid,
.mw-review-grid,
.mw-service-grid {
    gap: var(--mw-space-md);
}

[dir="rtl"] .mw-page-header,
[dir="rtl"] .mw-page-hero,
[dir="rtl"] .mw-section-header,
[dir="rtl"] .mw-panel-header,
[dir="rtl"] .mw-bookings-results-header {
    text-align: start;
}

@media (max-width: 1100px) {
    .mw-admin-page .mw-dashboard-grid,
    .mw-public-slot-row,
    .mw-availability-slot-row,
    .mw-customer-slot-row {
        grid-template-columns: 1fr;
    }

    .mw-public-slot-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .mw-page-header,
    .mw-page-hero,
    .mw-bookings-command-header,
    .mw-owner-command-hero,
    .mw-admin-command-header,
    .mw-customer-command-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-page-actions,
    .mw-hero-actions,
    .mw-bookings-command-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .mw-auth-shell:where(:not(.mw76-root):not(.mw76-root *)) {
        grid-template-columns: 1fr;
    }

    .mw-auth-brand-panel {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .mw-page-header,
    .mw-page-hero,
    .mw-panel-body,
    .mw-auth-card,
    .mw-auth-brand-panel {
        border-radius: var(--mw-radius-lg);
    }

    .mw-public-slot-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-availability-slot-row .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-page-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-hero-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

/* Phase 68.13X Full-Site Premium UI/UX Redesign Continuation */
.app-content:has(.mw-direct-redesign) .mw-page-hero:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .mw-page-header:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-block-end: var(--mw-space-lg);
}

.app-content:has(.mw-direct-redesign) .mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .card.border-0:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .list-group-item:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.82));
    box-shadow: var(--mw-shadow-card);
}

.app-content:has(.mw-direct-redesign) .mw-panel + .mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .mw-panel + .row:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .row + .mw-panel:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-block-start: var(--mw-space-lg);
}

.app-content:has(.mw-direct-redesign) .mw-panel-body:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .card-body:where(:not(.mw76-root):not(.mw76-root *)) {
    padding: clamp(16px, 2vw, 24px);
}

.app-content:has(.mw-direct-redesign) .table-responsive:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(120, 83, 97, 0.08);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.7);
}

.app-content:has(.mw-direct-redesign) .table:where(:not(.mw76-root):not(.mw76-root *)) {
    margin-bottom: 0;
}

.app-content:has(.mw-direct-redesign) .table thead th:where(:not(.mw76-root):not(.mw76-root *)) {
    color: var(--mw-muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(251, 245, 237, 0.9);
}

.app-content:has(.mw-direct-redesign) .table td:where(:not(.mw76-root):not(.mw76-root *)) {
    vertical-align: middle;
}

.app-content:has(.mw-owner-operations-redesign) .mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-owner-management-redesign) .mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-owner-insight-redesign) .mw-panel:where(:not(.mw76-root):not(.mw76-root *)) {
    border-inline-start: 4px solid rgba(155, 92, 122, 0.18);
}

.app-content:has(.mw-customer-experience-redesign) .mw-panel:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-customer-experience-redesign) .mw-appointment-card:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-customer-experience-redesign) .mw-review-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border-color: rgba(215, 168, 110, 0.18);
}

.app-content:has(.mw-receptionist-desk-redesign) .mw-today-summary-card:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-employee-workspace-redesign) .mw-metric-card:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-superadmin-platform-redesign) .mw-report-metric-card:where(:not(.mw76-root):not(.mw76-root *)) {
    border: 1px solid rgba(120, 83, 97, 0.1);
    border-radius: var(--mw-radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 26px rgba(54, 39, 46, 0.055);
}

.app-content:has(.mw-owner-insight-redesign) .mw-gallery-admin-grid:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-owner-insight-redesign) .mw-media-grid:where(:not(.mw76-root):not(.mw76-root *)) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--mw-space-md);
}

.app-content:has(.mw-direct-redesign) .mw-table-actions:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .mw-form-actions:where(:not(.mw76-root):not(.mw76-root *)),
.app-content:has(.mw-direct-redesign) .mw-gallery-actions:where(:not(.mw76-root):not(.mw76-root *)) {
    gap: 0.5rem;
}

.app-content:has(.mw-direct-redesign) .mw-empty-state:where(:not(.mw76-root):not(.mw76-root *)) {
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 168, 110, 0.12), transparent 12rem),
        rgba(251, 245, 237, 0.72);
}

@media (max-width: 900px) {
    .app-content:has(.mw-direct-redesign) .table-responsive:where(:not(.mw76-root):not(.mw76-root *)) {
        border-radius: var(--mw-radius-md);
    }
}

.support-impersonation-banner:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    color: #1f2933;
    background: #ffe8a3;
    border-bottom: 1px solid rgba(31, 41, 51, 0.16);
}

.support-impersonation-banner__content:where(:not(.mw76-root):not(.mw76-root *)) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    min-width: 0;
}

.support-impersonation-banner__stop:where(:not(.mw76-root):not(.mw76-root *)) {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 700px) {
    .support-impersonation-banner:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Phase 74.2 PWA shell */

html {
    width: 100%;
}

body {
    width: 100%;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
}

.mw-pwa-region {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1080;
    display: grid;
    width: min(420px, calc(100vw - 32px));
    gap: 10px;
    pointer-events: none;
}

[dir="rtl"] .mw-pwa-region {
    right: auto;
    left: max(16px, env(safe-area-inset-left));
}

.mw-pwa-install,
.mw-pwa-update {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: var(--mw-radius-md);
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--mw-shadow-md);
}

.mw-pwa-install-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.mw-pwa-install-copy strong,
.mw-pwa-update span {
    color: var(--mw-text);
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.25;
}

.mw-pwa-install-copy span {
    color: var(--mw-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.mw-pwa-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mw-offline-body {
    min-height: 100vh;
}

.mw-offline-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(20px, 5vw, 48px);
}

.mw-offline-panel {
    display: grid;
    width: min(620px, 100%);
    gap: 18px;
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid rgba(120, 83, 97, 0.12);
    border-radius: var(--mw-radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mw-shadow-md);
}

.mw-offline-panel h1:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-text);
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
}

.mw-offline-panel p:where(:not(.mw76-root):not(.mw76-root *)) {
    margin: 0;
    color: var(--mw-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.mw-offline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 575.98px) {
    .app-topbar:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: stretch;
        flex-direction: column;
    }

    .app-topbar-left:where(:not(.mw76-root):not(.mw76-root *)),
    .app-topbar-right:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .public-footer:where(:not(.mw76-root):not(.mw76-root *)) {
        align-items: stretch;
        flex-direction: column;
    }

    .app-topbar-right .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .public-navbar-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-nav-links:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-public-nav-links .public-nav-link:where(:not(.mw76-root):not(.mw76-root *)),
    .app-logout-button:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }

    .app-content:where(:not(.mw76-root):not(.mw76-root *)),
    .public-content:where(:not(.mw76-root):not(.mw76-root *)) {
        padding-inline: 14px;
    }

    .mw-pwa-install,
    .mw-pwa-update {
        align-items: stretch;
        flex-direction: column;
    }

    .mw-pwa-actions:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-pwa-actions .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-pwa-update .btn:where(:not(.mw76-root):not(.mw76-root *)),
    .mw-offline-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mw-pwa-install,
    .mw-pwa-update {
        transition: none;
    }
}
.mw-push-settings {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 1030;
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    max-width: min(92vw, 34rem);
    padding: .75rem .875rem;
    border: 1px solid rgba(33, 37, 41, .14);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(33, 37, 41, .12);
}

.mw-push-copy {
    display: grid;
    gap: .125rem;
    min-width: 0;
}

.mw-push-copy span {
    font-size: .875rem;
}

.mw-push-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.mw-push-actions .btn:where(:not(.mw76-root):not(.mw76-root *)) {
    min-height: 2.5rem;
}

[dir="rtl"] .mw-push-settings {
    right: auto;
    left: 1rem;
}

@media (max-width: 575.98px) {
    .mw-push-settings {
        right: .75rem;
        left: .75rem;
        bottom: 5rem;
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mw-push-settings * {
        transition: none !important;
    }
}
