/* UNIQ visual-coherence pass: final overrides loaded after role-clarity.css */
:root {
    --sidebar-width: 304px;
    --uniq-fuchsia: #ff004f;
    --uniq-fuchsia-deep: #cb003f;
    --uniq-purple: #9857ff;
}

body,
button,
input,
textarea,
select,
.sidebar,
.main-content,
.landing-root {
    font-family: "Barlow", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3,
.page-header h1,
.landing-hero h1,
.landing-hero-schedule h2 {
    font-family: "Barlow Condensed", "Barlow", sans-serif;
}

/* Sidebar alignment and legibility */
.sidebar {
    width: var(--sidebar-width);
    padding: 18px 16px 16px;
}

.brand-row {
    margin: 1px 7px 18px;
}

.nav-stack {
    gap: 7px;
    padding-right: 4px;
}

.nav-role-identity {
    width: calc(100% - 6px);
    min-height: 42px;
    margin: 10px 3px 8px;
    padding: 0 16px 0 19px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.nav-role-identity::before {
    width: 4px;
}

.nav-role-identity span {
    font-size: 11px;
    line-height: 1;
    letter-spacing: .14em;
}

.nav-role-identity strong {
    display: none;
}

.nav-role-group {
    gap: 6px;
    margin-top: 10px;
}

.nav-role-group .nav-section-label {
    gap: 4px;
    margin: 16px 10px 5px;
    padding-left: 13px;
}

.nav-role-group .nav-section-label span {
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: .13em;
}

.nav-role-group .nav-section-label small {
    font-size: 9.5px;
    line-height: 1.25;
    color: rgba(232, 229, 224, .48);
}

.nav-stack a.nav-command {
    min-height: 60px;
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 10px 11px;
    border-radius: 11px;
}

.nav-command-index {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 11px;
}

.nav-command-copy {
    gap: 4px;
}

.nav-command-copy strong {
    font-size: 14px;
    line-height: 1.08;
    font-weight: 800;
    white-space: normal;
}

.nav-command-copy small {
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 500;
    white-space: normal;
    color: rgba(232, 229, 224, .52);
}

.sidebar-footer,
.signed-in-user,
.sidebar-footer .button {
    font-family: "Barlow", sans-serif;
}

.signed-in-user {
    font-size: 11px;
}

/* Dashboard supporting copy and operational cards */
.page-header p,
.fitness-ops-header p {
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.45;
}

.metric-card > span,
.fitness-manager-quick-actions span,
.fitness-ops-panel .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
}

.metric-card small,
.fitness-manager-quick-actions small,
.dashboard-action-card p,
.fitness-ops-muted {
    font-size: 14px;
    line-height: 1.38;
}

.fitness-manager-quick-actions strong {
    font-size: clamp(23px, 1.8vw, 30px);
    line-height: 1;
}

.fitness-manager-dashboard .fitness-ops-header h1 {
    max-width: 980px;
    font-size: clamp(72px, 7vw, 118px);
    line-height: .82;
}

/* Opening hours: larger editorial card, tied to the UNIQ fuchsia system */
.landing-hero-actions {
    align-items: center;
    gap: 14px;
}

.landing-hero-hours {
    position: relative;
    width: min(430px, 100%);
    min-width: 398px;
    border: 1px solid rgba(255, 0, 79, .38);
    border-radius: 19px;
    background: #101013;
    box-shadow:
        0 18px 44px rgba(13, 10, 13, .16),
        0 0 32px rgba(255, 0, 79, .09),
        inset 0 0 0 1px rgba(255,255,255,.025);
}

.landing-hero-hours::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--uniq-fuchsia), transparent);
    opacity: .72;
}

.landing-hero-hours__today {
    gap: 5px;
    padding: 14px 17px 13px;
    border-bottom-color: rgba(255,255,255,.11);
    background:
        radial-gradient(circle at 90% 0, rgba(255, 0, 79, .18), transparent 42%),
        linear-gradient(110deg, rgba(255, 0, 79, .16), transparent 64%);
}

.landing-hero-hours__today > span {
    gap: 9px;
    font-size: 10px;
    letter-spacing: .14em;
}

.landing-hero-hours__today strong {
    font-family: "Barlow Condensed", "Barlow", sans-serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: .015em;
}

.landing-hero-hours__week > div {
    gap: 4px;
    min-height: 58px;
    padding: 11px 14px;
}

.landing-hero-hours__week span {
    font-size: 9px;
    letter-spacing: .13em;
}

.landing-hero-hours__week b {
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
    color: #fff;
}

/* Public weekly schedule: stronger fuchsia hierarchy and stable sizing */
.landing-hero-v2 {
    grid-template-columns: minmax(0, .92fr) minmax(590px, 1.08fr);
    gap: clamp(42px, 5vw, 92px);
}

.landing-hero-copy,
.landing-hero-schedule {
    min-width: 0;
}

.landing-hero-schedule {
    position: relative;
    width: 100%;
    min-height: 680px;
    padding: clamp(27px, 2.2vw, 38px);
    border: 1px solid rgba(255, 0, 79, .33);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 2%, rgba(255, 0, 79, .28), transparent 31%),
        linear-gradient(145deg, #121216 0%, #0b0b0e 58%, #111014 100%);
    box-shadow:
        0 34px 76px rgba(12, 10, 12, .20),
        0 0 44px rgba(255, 0, 79, .08),
        inset 0 0 0 1px rgba(255,255,255,.025);
    overflow: hidden;
}

.landing-hero-schedule::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent 4%, var(--uniq-fuchsia) 48%, transparent 96%);
    opacity: .78;
}

.landing-hero-schedule-heading {
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 22px;
}

.landing-hero-schedule-heading .landing-kicker {
    font-size: 11px;
    letter-spacing: .15em;
    color: #ff4d83;
}

.landing-hero-schedule-heading h2 {
    max-width: 520px;
    margin: 8px 0 0;
    font-size: clamp(54px, 4.6vw, 82px);
    line-height: .82;
    letter-spacing: -.045em;
    color: #fff;
}

.landing-live-dot {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(255, 0, 79, .38);
    background: rgba(255, 0, 79, .09);
    color: #ff6b99;
    font-size: 10px;
    letter-spacing: .09em;
}

.landing-hero-room-tabs {
    padding: 5px;
    border: 1px solid rgba(255, 0, 79, .28);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}

.landing-hero-room-tab {
    min-height: 48px;
    border-radius: 11px;
    color: rgba(255,255,255,.66);
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .025em;
}

.landing-hero-room-tab:hover {
    color: #fff;
    background: rgba(255, 0, 79, .08);
}

.landing-hero-room-tab.active {
    color: #fff;
    background: var(--uniq-fuchsia);
    box-shadow: 0 10px 28px rgba(255, 0, 79, .23);
}

.landing-hero-day-tabs {
    gap: 7px;
    margin-top: 13px;
}

.landing-hero-day-tab {
    min-height: 55px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.018);
    color: rgba(255,255,255,.56);
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.landing-hero-day-tab small {
    color: #ff4d83;
    font-size: 8px;
    letter-spacing: .08em;
}

.landing-hero-day-tab:hover {
    border-color: rgba(255, 0, 79, .35);
    color: #fff;
}

.landing-hero-day-tab.active {
    border-color: var(--uniq-fuchsia);
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 0, 79, .24), rgba(255, 0, 79, .10));
    box-shadow: inset 0 -2px 0 var(--uniq-fuchsia), 0 8px 20px rgba(255,0,79,.11);
}

.landing-hero-class-list {
    max-height: 330px;
    margin-top: 16px;
    padding-right: 5px;
    display: grid;
    gap: 8px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--uniq-fuchsia) rgba(255,255,255,.05);
}

.landing-hero-class-list::-webkit-scrollbar {
    width: 5px;
}

.landing-hero-class-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,.04);
}

.landing-hero-class-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--uniq-fuchsia);
}

.landing-hero-class {
    position: relative;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 17px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.landing-hero-class:hover {
    border-color: rgba(255, 0, 79, .38);
    background: rgba(255, 0, 79, .055);
    transform: translateX(2px);
}

.landing-hero-class time {
    color: var(--uniq-fuchsia);
    font-family: "Barlow Condensed", "Barlow", sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.landing-hero-class > div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.landing-hero-class strong {
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.landing-hero-class span {
    color: rgba(255,255,255,.54);
    font-size: 11px;
    line-height: 1.15;
}

.landing-hero-class > b {
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 9px;
    letter-spacing: .06em;
}

.landing-hero-class.is-cancelled {
    border-color: rgba(255, 0, 79, .62);
    background:
        linear-gradient(90deg, rgba(255, 0, 79, .20), rgba(255, 0, 79, .035) 55%, transparent),
        rgba(255,255,255,.025);
    box-shadow: inset 4px 0 0 var(--uniq-fuchsia);
}

.landing-hero-class .cancelled {
    border: 1px solid var(--uniq-fuchsia);
    background: var(--uniq-fuchsia);
    color: #fff;
}

.landing-hero-empty {
    min-height: 178px;
    border-color: rgba(255, 0, 79, .25);
    background: rgba(255, 0, 79, .035);
}

.landing-hero-empty strong {
    font-size: 21px;
}

.landing-hero-empty span {
    font-size: 13px;
}

.landing-hero-schedule-footer {
    margin-top: 15px;
    padding-top: 14px;
    border-top-color: rgba(255, 0, 79, .18);
    color: rgba(255,255,255,.55);
    font-size: 10px;
}

/* Instagram: icon-only and fully within the brand palette */
.landing-floating-instagram {
    width: 56px;
    min-width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, #ff4d83, var(--uniq-fuchsia) 48%, #c9003e 100%);
    color: #fff;
    box-shadow:
        0 15px 38px rgba(255, 0, 79, .28),
        0 0 28px rgba(255, 0, 79, .16),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.landing-floating-instagram:hover {
    transform: translateY(-3px) scale(1.035);
    box-shadow:
        0 19px 44px rgba(255, 0, 79, .38),
        0 0 34px rgba(255, 0, 79, .22);
}

.landing-floating-instagram svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.35;
}

.landing-floating-instagram span {
    display: none !important;
}

/* Ensure schedule management actions remain visible */
.admin-row-actions .text-button,
.fitness-ops-class-row .button.subtle {
    font-size: 12px;
    font-weight: 800;
}

.admin-row-actions .danger-text {
    color: #fff !important;
    background: var(--uniq-fuchsia) !important;
    border-color: var(--uniq-fuchsia) !important;
}

@media (max-width: 1380px) {
    :root { --sidebar-width: 290px; }

    .landing-hero-v2 {
        grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
        gap: 40px;
    }

    .landing-hero-hours {
        min-width: 360px;
        width: 390px;
    }
}

@media (max-width: 1120px) {
    .landing-hero-v2 {
        grid-template-columns: 1fr;
    }

    .landing-hero-schedule {
        min-height: 0;
    }

    .landing-hero-class-list {
        max-height: 390px;
    }
}

@media (max-width: 760px) {
    :root { --sidebar-width: 100%; }

    .nav-command-copy strong { font-size: 13px; }
    .nav-command-copy small { font-size: 10px; }

    .landing-hero-hours {
        width: 100%;
        min-width: 0;
        border-radius: 17px;
    }

    .landing-hero-hours__today strong {
        font-size: 18px;
    }

    .landing-hero-hours__week {
        grid-template-columns: 1fr 1fr;
    }

    .landing-hero-schedule {
        padding: 21px 16px;
        border-radius: 22px;
    }

    .landing-hero-schedule-heading h2 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .landing-live-dot {
        display: none;
    }

    .landing-hero-day-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .landing-hero-class-list {
        max-height: 370px;
    }

    .landing-hero-class {
        grid-template-columns: 68px minmax(0, 1fr);
        min-height: 68px;
        padding: 12px;
    }

    .landing-hero-class > b {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }

    .landing-floating-instagram {
        width: 52px;
        min-width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-class,
    .landing-floating-instagram {
        transition: none;
    }
}
