:root {
    --bg: #070d1b;
    --bg-soft: #0f172a;
    --surface: rgba(255,255,255,0.86);
    --surface-2: rgba(255,255,255,0.7);
    --card: rgba(255,255,255,0.9);
    --text: #10203a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.08);
    --primary: #4f46e5;
    --primary-2: #7c3aed;
    --cyan: #06b6d4;
    --success: #0e9f6e;
    --warning: #d97706;
    --danger: #dc2626;
    --radius: 24px;
    --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
    --shadow-soft: 0 10px 34px rgba(15, 23, 42, 0.08);
    --text-primary: #10203a;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Sarabun', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, .18), transparent 26%),
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, .14), transparent 20%),
        linear-gradient(180deg, #eef4ff 0%, #f8faff 34%, #f5f7fc 100%);
    min-height: 100%;
    line-height: 1.45;
}

body.nav-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; font-family: 'Sarabun', sans-serif; }
textarea { min-height: 120px; resize: vertical; }
svg { display: block; width: 100%; height: 100%; }

.app-shell {
    min-height: 100vh;
    --sidebar-width: 312px;
    --topbar-height: 80px;
}

.app-shell.sidebar-collapsed { --sidebar-width: 96px; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
    min-height: var(--topbar-height);
    background: linear-gradient(135deg, rgba(7,13,27,.92), rgba(21,31,57,.88));
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.18);
}

.brand-wrap,
.brand,
.topbar-tools,
.user-chip,
.brand-mark,
.sidebar-head-actions,
.sidebar-state,
.nav-group-main,
.nav-group-text,
.top-link,
.hero-actions,
.meta,
.legend,
.legend-item,
.audio-tools,
.toolbar {
    display: flex;
    align-items: center;
}

.brand-wrap { gap: 14px; min-width: 0; }
.brand { gap: 14px; min-width: 0; }
.brand strong,
.brand small,
.nav-label,
.sidebar-title,
.sidebar-title-wrap small,
.nav-section-label,
.nav-group-text strong,
.nav-group-text small,
.sidebar-foot strong,
.sidebar-foot small,
.side-feature p,
.side-feature strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: rgba(255,255,255,0.7); font-size: .83rem; }
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    justify-content: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 28px rgba(124,58,237,.35);
    flex: 0 0 auto;
}

.topbar-tools { justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.top-link { gap: 8px; color: rgba(255,255,255,0.88); font-weight: 600; }
.top-link:hover { color: #fff; }
.topbar-action { min-height: 44px; }
.btn-icon { width: 18px; height: 18px; }
.user-chip {
    gap: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
}
.user-chip > div:last-child { min-width: 0; }
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(79,70,229,.95), rgba(124,58,237,.95));
    color: #fff;
    flex: 0 0 auto;
    overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    padding: 0 8px;
    background: #fff;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
}

.nav-overlay {
    position: fixed;
    inset: var(--topbar-height) 0 0 0;
    background: rgba(2, 6, 23, .54);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 65;
}

.body-wrap {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: calc(100vh - var(--topbar-height));
    transition: grid-template-columns .28s ease;
}

.sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    background:
        radial-gradient(circle at top left, rgba(79,70,229,.22), transparent 24%),
        linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.94));
    color: #e2e8f0;
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
    transition: padding .25s ease, transform .25s ease;
}
.sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 18%, transparent 82%, rgba(255,255,255,.04));
    pointer-events: none;
}
.sidebar > * { position: relative; z-index: 1; }

.sidebar-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}
.sidebar-title-wrap {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.sidebar-title-wrap small {
    color: rgba(226,232,240,.62);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.sidebar-title { font-size: 1.02rem; color: #fff; }
.sidebar-head-actions { gap: 10px; }
.sidebar-state {
    gap: 8px;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    color: #dbeafe;
    background: rgba(79,70,229,.22);
    border: 1px solid rgba(129,140,248,.22);
    white-space: nowrap;
}
.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.14);
}

.side-nav {
    position: relative;
    top: 0;
    display: grid;
    gap: 12px;
    flex: 1 1 auto;
    align-content: start;
    min-height: 0;
    padding-bottom: 18px;
}
.nav-section-label {
    margin: 8px 8px 0;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(226,232,240,.52);
}

.nav-item,
.nav-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    min-height: 58px;
    transition: .22s ease;
}
.nav-item {
    padding: 12px 14px;
    color: #d6e0ef;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.03);
}
.nav-item:hover,
.nav-item.active,
.nav-group-toggle:hover,
.nav-group.is-open > .nav-group-toggle {
    color: #fff;
    background: linear-gradient(135deg, rgba(79,70,229,.22), rgba(124,58,237,.20));
    border-color: rgba(129,140,248,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 22px rgba(2,6,23,.18);
}
.nav-item:hover,
.nav-item.active { transform: translateX(3px); }
.nav-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: rgba(255,255,255,.08);
    color: #e0e7ff;
}
.nav-item.active .nav-icon,
.nav-group.is-open > .nav-group-toggle .nav-group-icon {
    background: linear-gradient(135deg, rgba(79,70,229,.38), rgba(124,58,237,.32));
    color: #fff;
}
.nav-label {
    min-width: 0;
    flex: 1 1 auto;
}
.nav-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
}
.nav-group { display: grid; gap: 8px; }
.nav-group-toggle {
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255,255,255,.03);
    color: #dbe6f6;
    border: 1px solid rgba(255,255,255,.04);
    cursor: pointer;
}
.nav-group-main { gap: 12px; min-width: 0; }
.nav-group-text {
    display: grid;
    gap: 3px;
    min-width: 0;
    text-align: left;
}
.nav-group-text strong { font-size: .97rem; color: #fff; }
.nav-group-text small { color: rgba(226,232,240,.6); font-size: .78rem; }
.nav-chevron {
    width: 18px;
    height: 18px;
    color: rgba(226,232,240,.72);
    transition: transform .24s ease;
    flex: 0 0 auto;
}
.nav-group.is-open .nav-chevron { transform: rotate(180deg); }
.nav-group-panel {
    max-height: 0;
    overflow: hidden;
    opacity: .55;
    transition: max-height .28s ease, opacity .2s ease;
}
.nav-group.is-open .nav-group-panel { opacity: 1; }
.nav-group-panel-inner {
    display: grid;
    gap: 8px;
    padding: 4px 0 2px 16px;
}
.nav-item.sub-item {
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}
.nav-item.sub-item .nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-basis: 38px;
    background: rgba(255,255,255,.06);
}

.side-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.07);
    color: #e2e8f0;
}
.side-feature { margin-top: 4px; }
.side-feature-icon,
.sidebar-foot-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, rgba(79,70,229,.94), rgba(6,182,212,.84));
    box-shadow: 0 14px 34px rgba(79,70,229,.22);
}
.side-feature strong,
.sidebar-foot strong { display: block; color: #fff; margin-bottom: 4px; }
.side-feature p,
.sidebar-foot small {
    color: rgba(226,232,240,.72);
    line-height: 1.6;
    white-space: normal;
}
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.feature-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    color: #d8e2f1;
}
.feature-list li::before {
    content: '•';
    color: #818cf8;
    margin-right: 8px;
}
.sidebar-foot {
    display: block;
    margin-top: auto;
    padding: 18px 8px 4px;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    color: #cbd5e1;
}

.app-shell.sidebar-collapsed .sidebar { padding-inline: 12px; }
.app-shell.sidebar-collapsed .sidebar-title-wrap,
.app-shell.sidebar-collapsed .sidebar-state,
.app-shell.sidebar-collapsed .nav-section-label,
.app-shell.sidebar-collapsed .nav-label,
.app-shell.sidebar-collapsed .nav-group-text,
.app-shell.sidebar-collapsed .nav-chevron,
.app-shell.sidebar-collapsed .side-feature,
.app-shell.sidebar-collapsed .feature-list,
.app-shell.sidebar-collapsed .sidebar-foot > div:last-child {
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
}
.app-shell.sidebar-collapsed .sidebar-head { justify-content: center; padding-inline: 10px; }
.app-shell.sidebar-collapsed .sidebar-head-actions { gap: 0; }
.app-shell.sidebar-collapsed .collapse-btn { display: none; }
.app-shell.sidebar-collapsed .nav-item,
.app-shell.sidebar-collapsed .nav-group-toggle {
    justify-content: center;
    padding-inline: 10px;
}
.app-shell.sidebar-collapsed .nav-item:hover,
.app-shell.sidebar-collapsed .nav-item.active { transform: translateY(-1px); }
.app-shell.sidebar-collapsed .nav-group-toggle { display: none; }
.app-shell.sidebar-collapsed .nav-group-panel {
    max-height: none !important;
    overflow: visible;
    opacity: 1;
}
.app-shell.sidebar-collapsed .nav-group-panel-inner { padding-left: 0; }
.app-shell.sidebar-collapsed .nav-badge { display: none; }
.app-shell.sidebar-collapsed .sidebar-foot {
    justify-content: center;
    padding: 12px 10px 0;
    border-top: 0;
}
.app-shell.sidebar-collapsed .sidebar-credit-box {
    display: none;
}


.sidebar-credit-box {
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.sidebar-credit-text {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.sidebar-credit,
.sidebar-copy {
    margin: 0;
    line-height: 1.55;
    white-space: normal;
}

.sidebar-credit {
    font-size: 11px;
    color: #e2e8f0;
    font-weight: 400;
}

.sidebar-credit a {
    color: #c4b5fd;
    font-weight: 400;
    text-decoration: none;
}

.sidebar-credit a:hover {
    color: #ddd6fe;
    text-decoration: underline;
}

.sidebar-copy {
    font-size: 11px;
    color: rgba(226,232,240,.72);
    font-weight: 400;
}

.content { padding: 28px; min-width: 0; }
.hero {
    display: grid;
    grid-template-columns: 1.25fr .95fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}
.hero-card,
.panel,
.card,
.table-card,
.stat-card,
.form-card,
.empty-state {
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
    border: 1px solid rgba(255,255,255,.58);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.hero-card {
    padding: 30px;
    overflow: hidden;
    position: relative;
}
.hero-card::after {
    content: '';
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(124,58,237,.22), transparent 66%);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .86rem;
    background: rgba(79,70,229,.08);
    color: var(--primary);
    font-weight: 700;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.06; margin: 14px 0; }
.hero p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0 0 18px; }
.hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero h1 { text-wrap: balance; }
.hero-public-overview {
    grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
    gap: 24px;
    align-items: start;
}
.hero-public-main,
.hero-public-side {
    min-width: 0;
}
.hero-public-main {
    display: grid;
    gap: 24px;
    align-content: start;
}
.hero-public-side {
    display: block;
}
.hero-public-side > .hero-card,
.hero-public-main > .hero-card,
.hero-public-main > .booking-calendar-card {
    min-width: 0;
    height: 100%;
}
.hero-public-main > .upcoming-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.monthly-snapshot-card {
    position: sticky;
    top: calc(var(--topbar-height) + 18px);
}
.booking-calendar-hero {
    padding: 26px;
}
.meeting-timeline-card {
    padding: 28px;
}
.hero-toolbar { align-items: flex-start; gap: 18px; }
.hero-compact-actions { justify-content: flex-end; margin-top: 0; }
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}
.overview-grid-compact {
    grid-template-columns: 1fr;
}
.monthly-snapshot-card .hero-toolbar {
    flex-direction: column;
    align-items: stretch;
}
.monthly-snapshot-card .hero-compact-actions {
    justify-content: flex-start;
}
.monthly-snapshot-card .overview-card {
    padding: 18px;
}
.monthly-snapshot-card .overview-label {
    min-height: auto;
}
.hero-public-overview .hero-toolbar > div:first-child,
.hero-public-overview .toolbar-tight > div:first-child {
    min-width: 0;
}
.hero-public-overview .hero-toolbar > div:first-child p,
.hero-public-overview .toolbar-tight > div:first-child p,
.hero-public-overview .section-help {
    max-width: 100%;
}
.hero-public-overview .hero-toolbar {
    justify-content: space-between;
}
.upcoming-card .upcoming-list {
    flex: 1 1 auto;
    align-content: start;
}
.overview-card {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(242,246,255,.92));
    border: 1px solid rgba(79,70,229,.10);
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.overview-label {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.5;
    min-height: 2.7em;
}
.overview-value {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1;
    font-weight: 800;
    color: var(--text-primary);
}
.overview-meta {
    margin-top: 10px;
    color: #60708b;
    font-size: .83rem;
    line-height: 1.55;
}
.toolbar-tight { align-items: flex-start; }
.section-help {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}
.btn-sm {
    min-height: 42px;
    padding: 10px 14px;
    font-size: .9rem;
}
.event-switcher { margin-top: 0; }
.login-note { font-size: .9rem; line-height: 1.7; }
.upcoming-list { display: grid; gap: 14px; }
.event-list-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(79,70,229,.12);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,255,.94));
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
    position: relative;
    overflow: hidden;
}
.event-list-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--event-accent, var(--primary));
}
.event-list-body { min-width: 0; padding-left: 4px; }
.event-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.event-list-time {
    color: #64748b;
    font-size: .84rem;
    font-weight: 600;
}
.event-list-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.45;
    color: #16284a;
}
.event-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #52627d;
    font-size: .88rem;
}
.event-list-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.empty-state-soft {
    padding: 24px 18px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px dashed rgba(79,70,229,.22);
}

.booking-calendar-card {
    margin: 18px 0 22px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(79,70,229,.12);
    background: linear-gradient(180deg, rgba(246,248,255,.96), rgba(255,255,255,.94));
    box-shadow: 0 16px 36px rgba(15,23,42,.08);
    position: relative;
    overflow: visible;
}
.booking-calendar-card::before {
    content: '';
    position: absolute;
    inset: auto -48px -64px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(79,70,229,.13), transparent 70%);
    pointer-events: none;
}
.booking-calendar-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.booking-calendar-heading h3 {
    margin: 12px 0 8px;
    font-size: 1.35rem;
    line-height: 1.25;
    color: #15284a;
}
.booking-calendar-heading p {
    margin: 0;
    color: #62748f;
    line-height: 1.7;
    max-width: 760px;
}
.booking-calendar-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.calendar-nav-group,
.calendar-view-group {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.calendar-btn-white {
    background: #fff;
    color: #253555;
    border: 1px solid rgba(148,163,184,.18);
}
.calendar-view-btn {
    background: transparent;
    color: #4d607e;
    border: 0;
}
.calendar-view-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 22px rgba(79,70,229,.24);
}
.booking-calendar-frame {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 320px;
    gap: 18px;
    align-items: start;
}
.booking-calendar-main { min-width: 0; }
.calendar-period-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.calendar-period-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #13284e;
}
.calendar-period-subtitle {
    color: #6b7b95;
    font-size: .88rem;
}
.booking-calendar-board {
    background: rgba(255,255,255,.96);
    border-radius: 22px;
    border: 1px solid rgba(79,70,229,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 28px rgba(15,23,42,.05);
    overflow: hidden;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid rgba(148,163,184,.14);
    background: linear-gradient(180deg, rgba(243,246,255,.95), rgba(250,251,255,.9));
}
.calendar-weekdays.is-single-day { grid-template-columns: 1fr; }
.calendar-weekday {
    padding: 12px 10px;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    color: #5f7190;
    letter-spacing: .01em;
}
.calendar-grid { padding: 14px; }
.calendar-grid.calendar-grid-month,
.calendar-grid.calendar-grid-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}
.calendar-grid.calendar-grid-day { display: block; }
.calendar-day {
    position: relative;
    min-height: 118px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,255,.95));
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15,23,42,.10);
    border-color: rgba(79,70,229,.22);
}
.calendar-day.is-muted {
    opacity: .56;
    background: linear-gradient(180deg, rgba(248,250,255,.84), rgba(250,252,255,.76));
}
.calendar-day.is-today {
    border-color: rgba(79,70,229,.36);
    box-shadow: inset 0 0 0 1px rgba(79,70,229,.20);
}
.calendar-day.is-selected {
    border-color: rgba(79,70,229,.46);
    background: linear-gradient(180deg, rgba(238,242,255,1), rgba(247,249,255,.98));
    box-shadow: 0 18px 30px rgba(79,70,229,.12);
}
.calendar-day.has-events::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 0 0 5px rgba(79,70,229,.08);
}
.calendar-day-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.calendar-day-number {
    font-size: 1rem;
    font-weight: 800;
    color: #13284d;
}
.calendar-day-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(79,70,229,.10);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
}
.calendar-day-meta {
    font-size: .74rem;
    color: #7b8aa2;
    line-height: 1.45;
}
.calendar-day-list {
    display: grid;
    gap: 7px;
    margin-top: auto;
}
.calendar-day-item {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(79,70,229,.05);
    border-left: 4px solid var(--event-accent, var(--primary));
    font-size: .76rem;
    color: #243452;
}
.calendar-day-item strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-day-item span {
    color: #617089;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-day-more {
    font-size: .76rem;
    color: var(--primary);
    font-weight: 700;
}
.calendar-week-card { min-height: 220px; }
.calendar-week-card .calendar-day-head { align-items: center; }
.calendar-week-card .calendar-day-list { margin-top: 4px; }
.calendar-day-focus {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,255,.94));
    min-height: 360px;
}
.calendar-day-focus-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.calendar-day-focus-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #13284d;
}
.calendar-day-focus-subtitle {
    color: #70809a;
    font-size: .86rem;
}
.calendar-day-focus-list {
    display: grid;
    gap: 12px;
}
.booking-calendar-side {
    position: sticky;
    top: 96px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(79,70,229,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,255,.94));
    box-shadow: 0 12px 26px rgba(15,23,42,.06);
}
.calendar-side-head {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}
.calendar-side-title {
    font-size: 1rem;
    font-weight: 800;
    color: #15284b;
}
.calendar-side-date {
    font-size: .92rem;
    color: #5f7090;
    font-weight: 700;
}
.calendar-side-meta {
    font-size: .84rem;
    color: #6c7b95;
    line-height: 1.7;
    margin-bottom: 14px;
}
.calendar-side-list,
.calendar-day-focus-list {
    display: grid;
    gap: 12px;
}
.calendar-detail-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.16);
    background: #fff;
    border-left: 4px solid var(--event-accent, var(--primary));
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
}
.calendar-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.calendar-detail-time {
    font-size: .78rem;
    color: #64748b;
    font-weight: 700;
}
.calendar-detail-card h4 {
    margin: 0 0 8px;
    font-size: .96rem;
    color: #1a2a47;
    line-height: 1.5;
}
.calendar-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #60708b;
    font-size: .84rem;
    margin-bottom: 12px;
}
.calendar-detail-actions {
    display: flex;
    justify-content: flex-end;
}
.calendar-empty-state {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(79,70,229,.20);
    background: rgba(248,251,255,.88);
    color: #64748b;
    text-align: center;
    line-height: 1.7;
}
.calendar-hover-tooltip {
    position: fixed;
    z-index: 120;
    width: min(320px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(15,23,42,.96);
    color: #fff;
    box-shadow: 0 18px 40px rgba(2,6,23,.28);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .14s ease, visibility .14s ease;
}
.calendar-hover-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}
.calendar-tooltip-title {
    font-size: .9rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.calendar-tooltip-list {
    display: grid;
    gap: 8px;
}
.calendar-tooltip-item {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border-left: 4px solid var(--event-accent, #fff);
}
.calendar-tooltip-item strong,
.calendar-tooltip-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-tooltip-item span {
    color: rgba(255,255,255,.74);
    font-size: .78rem;
}
.calendar-tooltip-more {
    margin-top: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.74);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.btn-outline { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); }
.content .btn-outline { color: var(--text); border-color: rgba(15,23,42,.12); background: #fff; }
.btn-muted { background: #eef3ff; color: #24365c; }
.btn-danger { color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); }
.grid-2, .grid-3, .grid-4, .stats-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4, .stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.stat-card { padding: 20px; box-shadow: var(--shadow-soft); }
.stat-card .label { color: var(--muted); font-size: .88rem; }
.stat-card .value { font-size: 2rem; font-weight: 800; margin-top: 8px; }
.card, .panel, .table-card, .form-card, .empty-state { padding: 22px; }
.card h2, .panel h2, .table-card h2, .form-card h2 { margin: 0 0 14px; font-size: 1.12rem; }
.meta { flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .92rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: .84rem;
    font-weight: 700;
}
.badge-success { background: rgba(14,159,110,.12); color: var(--success); }
.badge-warning { background: rgba(217,119,6,.12); color: var(--warning); }
.badge-danger { background: rgba(220,38,38,.10); color: var(--danger); }
.badge-muted { background: rgba(100,116,139,.12); color: #475569; }
.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 600;
    border: 1px solid transparent;
}
.alert-success { background: rgba(14,159,110,.12); color: var(--success); border-color: rgba(14,159,110,.16); }
.alert-warning { background: rgba(217,119,6,.12); color: var(--warning); border-color: rgba(217,119,6,.16); }
.alert-danger { background: rgba(220,38,38,.10); color: var(--danger); border-color: rgba(220,38,38,.14); }
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.room-card { overflow: hidden; padding: 0; }
.room-media { aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(79,70,229,.16), rgba(124,58,237,.14)); position: relative; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 20px; }
.room-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.room-title h3 { margin: 0; font-size: 1.08rem; }
.room-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 6px;
    border: 2px solid rgba(255,255,255,.85);
    box-shadow: 0 0 0 2px rgba(15,23,42,.08);
}
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.room-card { display: flex; flex-direction: column; height: 100%; }
.room-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.room-body > p { margin-bottom: 0; }
.room-card-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.room-card-footer .hero-actions { margin-top: 0 !important; }
.room-view-stat {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.room-view-stat svg { width: 18px; height: 18px; color: #7c3aed; flex: 0 0 18px; }
.room-view-stat span { display: inline-block; }
.tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: .82rem;
    color: #334155;
    background: #eef2ff;
}
.filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; margin-bottom: 18px; }
.input, .select, .textarea {
    width: 100%;
    border: 1px solid rgba(100,116,139,.18);
    border-radius: 14px;
    padding: 13px 14px;
    background: rgba(255,255,255,.95);
    color: var(--text);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.8);
}
.input:focus, .select:focus, .textarea:focus {
    outline: 3px solid rgba(79,70,229,.12);
    border-color: rgba(79,70,229,.4);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-weight: 600; color: #25344d; }
.help { color: var(--muted); font-size: .85rem; font-weight: 500; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 780px; }
th, td { padding: 14px 14px; border-bottom: 1px solid rgba(148,163,184,.16); text-align: left; vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
tr:hover td { background: rgba(79,70,229,.03); }
.toolbar { justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.calendar-strip { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.day-column {
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    padding: 14px;
    border-radius: 20px;
    min-height: 260px;
}
.day-column h3 { margin: 0 0 10px; font-size: 1rem; }
.event-item {
    border-left: 4px solid var(--primary);
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8faff;
    margin-bottom: 10px;
}
.event-item strong { display: block; margin-bottom: 4px; }
.legend { gap: 12px; flex-wrap: wrap; }
.legend-item { gap: 8px; color: #475569; }
.legend-item span { width: 12px; height: 12px; border-radius: 50%; }
.kpi-stack { display: grid; gap: 16px; }
.progress-list { display: grid; gap: 12px; }
.progress-row { display: grid; gap: 8px; }
.progress-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.progress-bar { height: 12px; background: #e7ebf7; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
    padding: 10px;
}
.icon-btn:hover { background: rgba(255,255,255,.14); }
.icon-btn-soft {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
}
.empty-state { text-align: center; color: var(--muted); }
.auth-wrap { min-height: calc(100vh - 150px); display: grid; place-items: center; }
.auth-card { width: min(780px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.auth-side { padding: 34px; background: linear-gradient(135deg, rgba(79,70,229,.92), rgba(124,58,237,.9)); color: #fff; }
.auth-side h1 { margin-top: 10px; font-size: 2rem; }
.auth-side p { color: rgba(255,255,255,.85); line-height: 1.75; }
.auth-form { padding: 34px; background: rgba(255,255,255,.96); }
.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.auth-card-wide { width: min(920px, 100%); }
.auth-provider-stack { display: grid; gap: 10px; }
.auth-divider {
    position: relative;
    margin: 20px 0 18px;
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}
.auth-divider::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto 0;
    border-top: 1px solid rgba(148,163,184,.22);
}
.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: rgba(255,255,255,.96);
}
.btn-google {
    color: #24365c;
    background: #fff;
    border: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.btn-google:hover {
    box-shadow: 0 14px 28px rgba(15,23,42,.09);
}
.google-g {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #eef3ff 100%);
    border: 1px solid rgba(148,163,184,.22);
    font-weight: 800;
    color: #2563eb;
}
.password-wrap {
    position: relative;
}
.password-wrap .input {
    padding-right: 84px;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
}
.password-toggle:hover {
    background: rgba(79,70,229,.08);
}
.quick-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 18px; }
.mini-note {
    padding: 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px dashed rgba(79,70,229,.22);
    color: #44536d;
}
.audio-tools { gap: 10px; flex-wrap: wrap; }

@media (max-width: 1360px) {
    .hero-public-overview {
        grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
        gap: 20px;
    }

    .hero-card {
        padding: 26px;
    }

    .booking-calendar-frame {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-calendar-side {
        position: static;
    }
}

@media (max-width: 1180px) {
    .hero, .quick-grid, .grid-4, .stats-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
    .hero-public-overview {
        grid-template-columns: 1fr;
    }
    .hero-public-main,
    .hero-public-side {
        display: grid;
        gap: 20px;
    }
    .monthly-snapshot-card {
        position: static;
    }
    .calendar-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .booking-calendar-frame { grid-template-columns: 1fr; }
    .booking-calendar-side { position: static; }
}

@media (max-width: 900px) {
    .body-wrap { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        inset: var(--topbar-height) auto 0 0;
        width: min(332px, 88vw);
        transform: translateX(-104%);
        transition: .25s ease;
        z-index: 70;
        height: calc(100vh - var(--topbar-height));
        box-shadow: 0 24px 60px rgba(15,23,42,.32);
        border-right: 1px solid rgba(255,255,255,.08);
    }
    .app-shell.nav-open .sidebar { transform: translateX(0); }
    .app-shell.nav-open .nav-overlay { opacity: 1; visibility: visible; }
    .app-shell.sidebar-collapsed .sidebar { padding: 20px 18px; }
    .app-shell.sidebar-collapsed .sidebar-title-wrap,
    .app-shell.sidebar-collapsed .sidebar-state,
    .app-shell.sidebar-collapsed .nav-section-label,
    .app-shell.sidebar-collapsed .nav-label,
    .app-shell.sidebar-collapsed .nav-group-text,
    .app-shell.sidebar-collapsed .nav-chevron,
    .app-shell.sidebar-collapsed .side-feature,
    .app-shell.sidebar-collapsed .feature-list,
    .app-shell.sidebar-collapsed .sidebar-foot > div:last-child {
        width: auto;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
    }
    .app-shell.sidebar-collapsed .collapse-btn { display: grid; }
    .app-shell.sidebar-collapsed .nav-group-toggle { display: flex; }
    .app-shell.sidebar-collapsed .nav-group-panel { overflow: hidden; }
    .app-shell.sidebar-collapsed .nav-group-panel-inner { padding-left: 16px; }
    .app-shell.sidebar-collapsed .nav-item,
    .app-shell.sidebar-collapsed .nav-group-toggle,
    .app-shell.sidebar-collapsed .sidebar-foot { justify-content: flex-start; padding-inline: 14px; }
    .app-shell.sidebar-collapsed .sidebar-credit-box { display: flex; }
    .app-shell.sidebar-collapsed .nav-item:hover,
    .app-shell.sidebar-collapsed .nav-item.active { transform: translateX(3px); }
    .app-shell.sidebar-collapsed .nav-badge { display: inline-flex; }
    .hero, .quick-grid, .grid-3, .grid-4, .stats-grid, .grid-2, .form-grid, .filter-bar, .auth-card, .hero-public-overview { grid-template-columns: 1fr; }
    .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .overview-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-list-card { grid-template-columns: 1fr; }
    .event-list-actions { justify-content: flex-start; }
    .hero-compact-actions, .event-switcher { width: 100%; justify-content: flex-start; }
    .content { padding: 18px; }
    .topbar { padding: 14px 16px; }
    .calendar-strip { grid-template-columns: 1fr; }
    .booking-calendar-header,
    .booking-calendar-controls,
    .calendar-period-bar { align-items: stretch; }
    .booking-calendar-controls { justify-content: flex-start; }
    .calendar-nav-group,
    .calendar-view-group { flex-wrap: wrap; }
    .calendar-grid.calendar-grid-month,
    .calendar-grid.calendar-grid-week { gap: 10px; }
    .calendar-day { min-height: 108px; }
}

@media (max-width: 680px) {
    .topbar { align-items: flex-start; }
    .brand-wrap { flex: 1 1 auto; }
    .topbar-tools { width: 100%; justify-content: flex-start; }
    .user-chip strong { font-size: .92rem; }
    .hero h1 { font-size: 2rem; }
    .hero-card { padding: 20px 18px; }
    .hero-public-overview .hero-toolbar,
    .hero-public-overview .toolbar-tight {
        gap: 14px;
    }
    .hero-public-overview .hero-actions,
    .hero-public-overview .event-switcher {
        width: 100%;
    }
    .hero-public-overview .hero-actions .btn,
    .hero-public-overview .event-switcher .btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

.monthly-snapshot-card .hero-actions .btn {
    width: 100%;
    justify-content: center;
}
    .overview-grid { grid-template-columns: 1fr; gap: 14px; }
    .overview-grid-compact { grid-template-columns: 1fr; }
    .overview-card { padding: 18px; }
    .overview-label { min-height: auto; }
    .room-grid { grid-template-columns: 1fr; }
    .booking-calendar-card { padding: 18px; }
    .booking-calendar-heading h3 { font-size: 1.18rem; }
    .calendar-grid { padding: 10px; }
    .calendar-grid.calendar-grid-month,
    .calendar-grid.calendar-grid-week {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .calendar-grid.calendar-grid-month {
        grid-template-columns: repeat(7, minmax(110px, 1fr));
    }
    .calendar-grid.calendar-grid-week {
        grid-template-columns: repeat(7, minmax(150px, 1fr));
    }
    .calendar-weekdays { overflow-x: auto; }
    .calendar-weekdays:not(.is-single-day) { grid-template-columns: repeat(7, minmax(110px, 1fr)); }
    .calendar-day { min-height: 96px; }
    .calendar-hover-tooltip { display: none; }
}

code {
    padding: 2px 6px;
    border-radius: 8px;
    background: #eef2ff;
    color: #24365c;
    font-size: .9em;
}
.hidden { display: none !important; }
.preview-box { overflow: hidden; border-radius: 18px; border: 1px solid rgba(17,24,39,.08); background: #fff; }


.content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .sidebar-credit,
    .sidebar-copy,
    .sidebar-credit a {
        font-size: 11px;
        font-weight: 400;
    }
}


.textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--text-primary);
    resize: vertical;
    font: inherit;
}

.table-actions-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-form {
    display: inline-flex;
}

.compact-stats {
    margin-bottom: 18px;
}

.compact-stats .stat-card {
    min-height: 116px;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 4px;
}

.terms-box {
    margin-top: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(79,70,229,.05), rgba(124,58,237,.03));
    border: 1px solid rgba(79,70,229,.12);
}

.terms-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.terms-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.terms-check input {
    margin-top: 3px;
    flex: 0 0 auto;
}

button[disabled],
.btn[disabled] {
    opacity: .58;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(.12);
}

/* --- merged patch: overview cards + sidebar feature text --- */
.hero-public-overview .hero-card > .toolbar > div:first-child h1,
.hero-public-overview h1 {
    font-size: clamp(1.9rem, 2.5vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 14px 0 12px;
    max-width: 100%;
    text-wrap: balance;
}

.side-feature strong,
.side-feature p,
.feature-list li {
    font-size: 11px;
    line-height: 1.7;
}

.side-feature strong {
    font-weight: 700;
}

.feature-list li {
    padding: 11px 13px;
}

.overview-grid {
    gap: 18px;
}

.overview-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,247,255,.93));
    border: 1px solid rgba(129, 140, 248, .16);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    isolation: isolate;
}

.overview-card::before {
    content: '';
    position: absolute;
    inset: auto -36px -42px auto;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99,102,241,.14), transparent 70%);
    z-index: 0;
    opacity: .8;
    transition: transform .22s ease, opacity .22s ease;
}

.overview-card > * {
    position: relative;
    z-index: 1;
}

.overview-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.overview-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #14284c;
    background: linear-gradient(180deg, rgba(79,70,229,.08), rgba(124,58,237,.12));
    border: 1px solid rgba(79,70,229,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(79,70,229,.08);
    transition: transform .22s ease, color .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.overview-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    flex: 0 0 28px;
}

.overview-label {
    min-height: 0;
    margin: 0;
    font-size: .95rem;
    line-height: 1.45;
    color: #5c6d89;
    font-weight: 700;
}

.overview-value {
    margin-top: 6px;
    font-size: clamp(2rem, 2.4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.overview-meta {
    margin-top: 8px;
    font-size: .84rem;
    line-height: 1.6;
    color: #6c7b94;
}

.overview-card-rooms:hover,
.overview-card-booked:hover,
.overview-card-usage:hover,
.overview-card-attendees:hover,
.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
    border-color: rgba(99, 102, 241, .28);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(241,244,255,.98));
}

.overview-card:hover::before {
    opacity: 1;
    transform: scale(1.08);
}

.overview-card:hover .overview-icon {
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 32px rgba(79,70,229,.24);
}

.overview-card-rooms:hover .overview-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.overview-card-booked:hover .overview-icon {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.overview-card-usage:hover .overview-icon {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.overview-card-attendees:hover .overview-icon {
    background: linear-gradient(135deg, #4338ca, #0ea5e9);
}

@media (max-width: 680px) {
    .hero-public-overview h1 {
        font-size: 1.9rem;
        line-height: 1.18;
    }

    .overview-head {
        gap: 12px;
    }

    .overview-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 16px;
    }

    .overview-icon svg {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }
}

.room-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.room-upload-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(248,250,255,.86);
}
.room-upload-card strong { font-size: .95rem; color: #1e293b; }
.room-upload-preview {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #e9eefc;
    display: grid;
    place-items: center;
    color: var(--muted);
}
.room-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-upload-preview.is-empty {
    border: 1px dashed rgba(148,163,184,.35);
    background: rgba(255,255,255,.72);
}
.check-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.room-detail-card { padding-bottom: 0; }
.room-gallery {
    padding: 20px 20px 0;
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.1));
}
.room-gallery-stage {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(79,70,229,.14), rgba(124,58,237,.12));
}
.room-gallery-slide {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, transform .45s ease;
    cursor: zoom-in;
}
.room-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.gallery-nav,
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(15,23,42,.62);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.gallery-nav.prev,
.lightbox-nav.prev { left: 18px; }
.gallery-nav.next,
.lightbox-nav.next { right: 18px; }
.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.46);
    cursor: pointer;
    padding: 0;
}
.gallery-dot.is-active { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
}
.gallery-thumb {
    border: 2px solid transparent;
    background: transparent;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumb.is-active { border-color: rgba(79,70,229,.72); }
.gallery-hint {
    color: var(--muted);
    font-size: .84rem;
    padding-bottom: 8px;
}
.room-media-empty {
    min-height: 300px;
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    color: var(--muted);
    padding: 24px;
}
.room-media-empty strong { color: #1e293b; font-size: 1.05rem; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 16px;
    padding: 36px;
    background: rgba(2, 6, 23, .88);
    backdrop-filter: blur(16px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
    margin: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
}
.lightbox-figure img {
    max-width: min(92vw, 1440px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,.38);
}
.lightbox-figure figcaption {
    color: rgba(255,255,255,.86);
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(15,23,42,.7);
    color: #fff;
    font-size: 1.9rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .room-upload-grid { grid-template-columns: 1fr; }
    .room-gallery { padding: 14px 14px 0; }
    .gallery-nav { width: 40px; height: 40px; }
    .lightbox {
        grid-template-columns: 1fr;
        padding: 24px 14px;
    }
    .lightbox-nav {
        position: fixed;
        top: auto;
        bottom: 24px;
        transform: none;
    }
    .lightbox-nav.prev { left: 24px; }
    .lightbox-nav.next { right: 24px; }
}


.hero-home-single-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}
.hero-home-single-column .hero-card {
    min-width: 0;
    height: auto;
}
.snapshot-top-card {
    position: static;
}
.hero-toolbar-inline {
    justify-content: space-between;
    align-items: flex-start;
}
.snapshot-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
}
.snapshot-summary-grid .overview-label {
    min-height: auto;
}
.room-weekly-schedule .toolbar > div:first-child {
    min-width: 0;
}
.room-weekly-schedule .section-help {
    margin: 8px 0 0;
    max-width: 100%;
}
.room-calendar-strip .day-column {
    min-height: 220px;
}

@media (max-width: 1280px) {
    .snapshot-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-home-single-column {
        gap: 20px;
    }
    .hero-toolbar-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-toolbar-inline .hero-compact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .snapshot-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* --- 2026-05-18 security/responsive polish patch --- */
.inline-form { display: inline-flex; margin: 0; }
.inline-form .btn { width: auto; }
.table-actions,
.action-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

@media (max-width: 680px) {
    .toolbar,
    .toolbar-tight,
    .booking-calendar-header,
    .booking-calendar-controls,
    .event-list-card,
    .room-title {
        align-items: stretch;
    }
    .hero-actions,
    .event-switcher,
    .table-actions,
    .action-row {
        width: 100%;
    }
    .hero-actions .btn,
    .event-switcher .btn,
    .table-actions .btn,
    .action-row .btn,
    .inline-form,
    .inline-form .btn {
        width: 100%;
        justify-content: center;
    }
    .table-wrap table {
        min-width: 720px;
    }
    .filter-bar {
        grid-template-columns: 1fr;
    }
    .snapshot-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* --- hotfix 2026-05-19: compact Monthly Snapshot flashcards height 120px + keep meta visible --- */
.snapshot-summary-grid .overview-card {
    height: 120px;
    min-height: 120px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.snapshot-summary-grid .overview-head {
    gap: 10px;
    margin-bottom: 0;
    min-height: 36px;
    align-items: flex-start;
}

.snapshot-summary-grid .overview-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
}

.snapshot-summary-grid .overview-icon svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.snapshot-summary-grid .overview-label {
    font-size: .83rem;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.snapshot-summary-grid .overview-value {
    width: 100%;
    margin-top: 0;
    font-size: clamp(1.9rem, 2vw, 2.25rem);
    line-height: .90;
    text-align: right;
}

.snapshot-summary-grid .overview-meta {
    width: 100%;
    margin-top: auto;
    font-size: .72rem;
    line-height: 1.15;
    color: #6c7b94;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .snapshot-summary-grid .overview-card {
        height: auto;
        min-height: 120px;
    }

    .snapshot-summary-grid .overview-meta {
        display: block;
    }
}


/* --- hotfix 2026-05-18: clickable snapshot cards scroll to target sections --- */
html {
    scroll-behavior: smooth;
}

.featured-rooms-panel,
#booking-calendar,
#meeting-timeline {
    scroll-margin-top: calc(var(--topbar-height, 72px) + 24px);
}

.snapshot-scroll-card {
    display: grid;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.snapshot-static-card {
    cursor: default;
}

.snapshot-scroll-card:visited,
.snapshot-scroll-card:hover,
.snapshot-scroll-card:focus {
    color: inherit;
    text-decoration: none;
}

.snapshot-scroll-card:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .32);
    outline-offset: 4px;
}

/* --- hotfix 2026-05-18: booked snapshot card is informational only --- */
.snapshot-static-card:hover {
    transform: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
    border-color: rgba(129, 140, 248, .16);
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,247,255,.93));
}

.snapshot-static-card:hover::before {
    opacity: .8;
    transform: none;
}

.snapshot-static-card:hover .overview-icon {
    color: #14284c;
    background: linear-gradient(180deg, rgba(79,70,229,.08), rgba(124,58,237,.12));
    border-color: rgba(79,70,229,.10);
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(79,70,229,.08);
}


/* --- enhancement 2026-05-19: room view statistics dashboard --- */
.stats-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #10213f;
}

.room-stat-thumb {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(129, 140, 248, .18);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    background: #f8fafc;
}

@media (max-width: 1100px) {
    .stats-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .stats-summary-grid {
        grid-template-columns: 1fr;
    }

    .room-stat-thumb {
        width: 82px;
        height: 56px;
    }
}

@media (max-width: 640px) {
    .room-card-footer {
        align-items: stretch;
    }

    .room-view-stat {
        width: 100%;
        justify-content: flex-end;
    }
}

/* --- hotfix 2026-05-19: force visible room visitor badge on room cards --- */
.room-card-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
}
.room-view-stat,
.room-view-stat-visible {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(238,242,255,.96) !important;
    border: 1px solid rgba(99,102,241,.18) !important;
    color: #475569 !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 18px rgba(79,70,229,.10) !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.room-view-stat svg,
.room-view-stat-visible svg {
    width: 17px !important;
    height: 17px !important;
    color: #7c3aed !important;
    flex: 0 0 17px !important;
}
@media (max-width: 640px) {
    .room-card-footer { flex-wrap: wrap; }
    .room-view-stat, .room-view-stat-visible { margin-left: auto; }
}


/* --- hotfix 2026-05-19: show visitor badge as image overlay for reliable visibility --- */
.room-media {
    overflow: hidden;
}
.room-view-stat-overlay,
.room-view-stat-visible.room-view-stat-overlay {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 8px 11px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(99,102,241,.20) !important;
    color: #334155 !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 26px rgba(15,23,42,.18) !important;
    backdrop-filter: blur(10px);
    opacity: 1 !important;
    visibility: visible !important;
}
.room-view-stat-overlay svg,
.room-view-stat-visible.room-view-stat-overlay svg {
    width: 17px !important;
    height: 17px !important;
    color: #7c3aed !important;
    flex: 0 0 17px !important;
}
.room-card-footer .room-view-stat,
.room-card-footer .room-view-stat-visible {
    display: none !important;
}
@media (max-width: 640px) {
    .room-view-stat-overlay,
    .room-view-stat-visible.room-view-stat-overlay {
        right: 10px !important;
        bottom: 10px !important;
        font-size: .78rem !important;
        padding: 7px 9px !important;
    }
}

/* --- hotfix 2026-05-19: responsive public topbar auth buttons for mobile/tablet --- */
.topbar {
    flex-wrap: wrap;
}

.brand-wrap {
    flex: 1 1 320px;
}

.brand {
    flex: 1 1 auto;
}

.topbar-tools {
    min-width: 0;
}

@media (max-width: 1024px) {
    .topbar {
        gap: 12px;
        padding: 14px 18px;
    }

    .brand-wrap {
        flex: 1 1 360px;
    }

    .topbar-tools {
        flex: 1 1 100%;
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
        gap: 10px;
    }

    .topbar-tools .btn,
    .topbar-tools .top-link {
        min-height: 44px;
    }
}

@media (max-width: 680px) {
    .app-shell {
        --topbar-height: 172px;
    }

    .topbar {
        align-items: flex-start;
        padding: 12px 14px 14px;
    }

    .brand-wrap {
        width: 100%;
        flex: 1 1 100%;
        gap: 12px;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border-radius: 16px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 17px;
        flex: 0 0 48px;
    }

    .brand strong {
        font-size: .98rem;
        line-height: 1.2;
    }

    .brand small {
        max-width: 100%;
        font-size: .78rem;
        line-height: 1.25;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .topbar-tools {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
        align-items: stretch;
        justify-content: stretch;
    }

    .topbar-tools .top-link {
        grid-column: 1 / -1;
        min-height: 40px;
        justify-content: center;
        padding: 8px 12px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 14px;
        background: rgba(255,255,255,.06);
        color: rgba(255,255,255,.92);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-tools .btn {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        padding: 11px 12px;
        border-radius: 16px;
        font-size: .98rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .topbar-tools .btn-outline {
        background: rgba(255,255,255,.07);
        border-color: rgba(255,255,255,.18);
    }

    .topbar-tools .btn-primary {
        box-shadow: 0 14px 30px rgba(124,58,237,.28);
    }

    .topbar-tools .btn-icon {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .topbar-tools .user-chip {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .app-shell {
        --topbar-height: 226px;
    }

    .topbar-tools {
        grid-template-columns: 1fr;
    }

    .topbar-tools .top-link,
    .topbar-tools .btn,
    .topbar-tools .user-chip {
        grid-column: 1 / -1;
    }
}

/* --- hotfix 2026-05-19: restore footer visitor badge after mobile topbar patch --- */
.room-card-footer .room-view-stat,
.room-card-footer .room-view-stat-visible {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.room-card-footer {
    margin-top: auto !important;
    padding-top: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.room-view-stat,
.room-view-stat-visible {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(238,242,255,.96) !important;
    border: 1px solid rgba(99,102,241,.18) !important;
    color: #475569 !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 18px rgba(79,70,229,.10) !important;
}

.room-view-stat svg,
.room-view-stat-visible svg {
    width: 17px !important;
    height: 17px !important;
    color: #7c3aed !important;
    flex: 0 0 17px !important;
}

@media (max-width: 640px) {
    .room-card-footer {
        flex-wrap: wrap !important;
        align-items: center !important;
    }

    .room-card-footer .room-view-stat,
    .room-card-footer .room-view-stat-visible {
        width: auto !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
    }
}