/* Outfit — self-hosted; swap keeps text visible (no blank wait) */
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/outfit-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --app-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --app-display: "Outfit", system-ui, sans-serif;
    --app-primary: #4f46e5;
    --app-primary-soft: rgba(79, 70, 229, 0.12);
    --app-accent: #7c3aed;
    --app-teal: #0d9488;
    --app-sky: #0ea5e9;
    --app-ink: #0f172a;
    --app-radius: 1rem;
    --app-radius-sm: 0.75rem;
    --app-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 28px -8px rgba(15, 23, 42, 0.1);
    --app-shadow-lg: 0 8px 16px -4px rgba(15, 23, 42, 0.08), 0 24px 48px -12px rgba(79, 70, 229, 0.18);
    --app-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Shared form / search controls — clear fields that match panels */
    --app-control-h: 2.65rem;
    --app-control-fs: 1.05rem;
    --app-control-px: 0.95rem;
    --app-control-radius: var(--app-radius-sm);
    --app-control-bg: #ffffff;
    --app-control-border: 2px solid rgba(100, 116, 139, 0.68);
    --app-control-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), inset 0 1px 2px rgba(15, 23, 42, 0.04);
    --app-control-focus-border: rgba(79, 70, 229, 0.78);
    --app-control-focus-ring: 0 0 0 3px rgba(99, 102, 241, 0.24);
    /* Buttons — same soft shape & height as form controls */
    --app-btn-radius: var(--app-control-radius);
    --app-btn-h: var(--app-control-h);
    --app-btn-fs: 1.08rem;
    --app-btn-px: 1.15rem;
    --app-btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    --app-btn-primary-shadow: 0 4px 14px rgba(79, 70, 229, 0.32);
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-link-color: #4f46e5;
    --bs-link-hover-color: #3730a3;
    --bs-border-radius: 0.875rem;
    --bs-border-radius-lg: 1.125rem;
    --bs-body-font-size: 1.125rem;
}
html {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* Absolute px so size changes are reliable across browsers/cache */
    font-size: 18.5px;
    color-scheme: light;
    /* Avoid smooth scroll restoration shake on reload; landing uses JS smooth scroll */
    scroll-behavior: auto;
    scroll-padding-top: clamp(4.25rem, 10vw, 6.25rem);
    /* Keep layout width stable when modals lock body scroll (no navbar jump) */
    scrollbar-gutter: stable;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@supports (overflow: clip) {
    html {
        overflow-x: clip;
    }
}
@media (min-width: 768px) {
    html { font-size: 19px; }
}
body,
input,
textarea,
select,
button,
.btn,
.navbar,
.form-control,
.form-select,
table,
code,
kbd,
samp,
.font-monospace {
    font-family: var(--app-font) !important;
}
body.app-body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f1f5f9;
    background-image:
        radial-gradient(ellipse 110% 90% at -5% -15%, rgba(99, 102, 241, 0.28), transparent 52%),
        radial-gradient(ellipse 95% 75% at 105% -5%, rgba(167, 139, 250, 0.22), transparent 48%),
        radial-gradient(ellipse 70% 55% at 80% 100%, rgba(14, 165, 233, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 45% at 15% 95%, rgba(45, 212, 191, 0.12), transparent 50%),
        linear-gradient(168deg, #f8fafc 0%, #f1f5f9 42%, #eef2ff 100%);
    /* Fixed attachment causes reload/paint shake with sticky nav + modals */
    background-attachment: scroll;
    /* Prefer svh (stable) over dvh — mobile keyboards shrink dvh and pull the footer over the form */
    min-height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.01em;
    font-size: 1.125rem;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@supports (overflow: clip) {
    body.app-body {
        overflow-x: clip;
    }
}
/* Bootstrap modal scroll-lock: don't shift sticky navbar / page width */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: hidden !important;
}
body.modal-open .navbar.app-navbar,
body.modal-open .sticky-top,
body.modal-open .fixed-top,
body.modal-open .fixed-bottom,
body.modal-open .is-fixed {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
body.app-body > main.app-main {
    flex: 1 0 auto; /* grow to fill, never shrink under the footer */
    min-height: auto;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 0; /* footer provides the bottom edge — avoid light gap above it */
    position: relative;
    z-index: 0;
}
@supports (overflow: clip) {
    body.app-body > main.app-main {
        overflow-x: clip;
    }
}
@media (min-width: 992px) {
    .navbar.app-navbar > .container,
    main.app-main.container,
    .app-footer > .container {
        max-width: 1040px;
    }
}
@media (min-width: 1200px) {
    .navbar.app-navbar > .container,
    main.app-main.container,
    .app-footer > .container {
        max-width: 1280px;
    }
}
@media (min-width: 1400px) {
    .navbar.app-navbar > .container,
    main.app-main.container,
    .app-footer > .container {
        max-width: 1440px;
    }
}
.navbar.app-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    align-self: flex-start;
    width: 100%;
    background: rgba(255, 255, 255, 0.78) !important;
    max-width: 100%;
    overflow: visible;
    backdrop-filter: blur(16px) saturate(1.7);
    -webkit-backdrop-filter: blur(16px) saturate(1.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 32px rgba(15, 23, 42, 0.06);
}
.navbar.app-navbar .navbar-brand {
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 1.9rem;
    color: #0f172a !important;
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 8.5rem);
}
/* Keep navbar sizing consistent on pages that scale root font (desk) */
html.page-guests-desk .navbar.app-navbar {
    font-size: 17px;
}
html.page-admin-console:not(.page-staff-platform) .navbar.app-navbar {
    font-size: 17px;
}
html.page-guests-desk .navbar.app-navbar .navbar-brand {
    font-size: 1.9rem;
}
html.page-guests-desk .navbar.app-navbar .nav-link {
    font-size: 1.1rem;
}
.navbar.app-navbar .nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: #475569 !important;
    border-radius: 0.5rem;
    padding: 0.45rem 0.85rem !important;
    transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Staff + organiser backends: title-case nav labels */
html.page-staff-platform .staff-nav-link,
html.page-staff-platform .navbar.app-navbar .nav-link,
html.page-console-organiser .navbar.app-navbar .nav-link,
html.page-console-organiser .navbar.app-navbar .navbar-account-toggle-name,
html.page-admin-console:not(.page-landing) .navbar.app-navbar .nav-link {
    text-transform: capitalize;
}
.navbar.app-navbar .nav-link:hover {
    background: var(--app-primary-soft);
    color: var(--app-primary) !important;
}
.navbar.app-navbar .nav-link.active {
    font-weight: 700;
    color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.14);
    border-radius: 50rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}
.navbar.app-navbar .nav-link:active {
    background-color: rgba(79, 70, 229, 0.22) !important;
    color: #3730a3 !important;
}
.navbar.app-navbar .nav-link.active:active {
    background-color: rgba(79, 70, 229, 0.24) !important;
    color: #3730a3 !important;
}
html.page-console-staff .navbar.app-navbar .nav-link:active {
    background-color: rgba(194, 65, 12, 0.2) !important;
    color: #9a3412 !important;
}
.navbar.app-navbar .navbar-text {
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}
.navbar.app-navbar .navbar-account-item {
    list-style: none;
}
.navbar.app-navbar .navbar-account-toggle {
    max-width: 14rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-toggle::after {
    display: inline-block;
    margin-left: 0.2rem;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    opacity: 0.7;
}
.navbar.app-navbar .navbar-account-avatar {
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--app-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #3730a3;
    background: #eef2ff;
    border: 1px solid rgba(79, 70, 229, 0.18);
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-avatar--lg {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    font-size: 0.85rem;
}
.navbar.app-navbar .navbar-account-toggle-name {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    color: inherit;
}
.navbar.app-navbar .navbar-account-toggle:hover,
.navbar.app-navbar .navbar-account-toggle:focus-visible {
    background: var(--app-primary-soft);
    color: var(--app-primary) !important;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-toggle[aria-expanded="true"],
.navbar.app-navbar .navbar-account-toggle[aria-expanded="true"]:hover,
.navbar.app-navbar .navbar-account-toggle[aria-expanded="true"]:focus-visible {
    background: rgba(79, 70, 229, 0.14);
    color: #4f46e5 !important;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-toggle:active {
    background-color: rgba(79, 70, 229, 0.22) !important;
    color: #3730a3 !important;
}
.navbar.app-navbar .nav-item.dropdown {
    position: relative;
}
.navbar.app-navbar .navbar-account-menu {
    --bs-dropdown-spacer: 0.5rem;
    --navbar-account-gutter: 0.75rem;
    --navbar-account-blue: #2563eb;
    --navbar-account-blue-deep: #1d4ed8;
    --navbar-account-blue-soft: #eff6ff;
    --navbar-account-blue-mid: #dbeafe;
    box-sizing: border-box;
    width: min(22rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    min-width: 0;
    max-height: none;
    overflow: hidden;
    padding: 0;
    margin-top: 0.65rem !important;
    margin-right: 0 !important;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 1.1rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 42%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 38%),
        #fff;
    box-shadow:
        0 1px 2px rgba(37, 99, 235, 0.04),
        0 16px 36px rgba(15, 23, 42, 0.1);
    z-index: 1080;
    display: none;
    position: relative;
}
@media (min-width: 992px) {
    .navbar.app-navbar .nav-item.dropdown .navbar-account-menu {
        position: absolute !important;
        inset: auto 0 auto auto !important;
        left: auto !important;
        right: 0 !important;
        /* Nudge toward the page edge past the name toggle */
        transform: translateX(0.85rem);
    }
}
.navbar.app-navbar .navbar-account-menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
    display: block;
    pointer-events: none;
}
.navbar.app-navbar .navbar-account-menu.show {
    display: block !important;
}
.navbar.app-navbar .navbar-account-menu > li {
    list-style: none;
}
.navbar.app-navbar .navbar-account-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.04) 45%, transparent 75%);
    min-width: 0;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-menu .navbar-account-avatar--lg {
    color: #1e40af;
    background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}
.navbar.app-navbar .navbar-account-profile-copy {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}
.navbar.app-navbar .navbar-account-profile-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.18rem !important;
}
.navbar.app-navbar .navbar-account-profile-name {
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar.app-navbar .navbar-account-profile-email {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar.app-navbar .navbar-account-section {
    padding: 0.55rem var(--navbar-account-gutter) 0.65rem;
}
.navbar.app-navbar .navbar-account-section--actions {
    padding-top: 0.45rem;
    padding-bottom: 0.55rem;
}
.navbar.app-navbar .navbar-account-section--events {
    padding-top: 0.65rem;
    padding-bottom: 0.55rem;
}
.navbar.app-navbar .navbar-account-section + .navbar-account-section {
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}
.navbar.app-navbar .navbar-account-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.15rem 0.2rem 0.5rem;
}
.navbar.app-navbar .navbar-account-section-head-end {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}
.navbar.app-navbar .navbar-account-section-title {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e40af;
}
.navbar.app-navbar .navbar-account-section-count {
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid rgba(37, 99, 235, 0.16);
}
.navbar.app-navbar .navbar-account-section-link {
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    padding: 0.15rem 0.35rem;
    border-radius: 0.4rem;
    line-height: 1.2;
}
.navbar.app-navbar .navbar-account-section-link:hover,
.navbar.app-navbar .navbar-account-section-link:focus-visible {
    background: #eff6ff;
    color: #1d4ed8;
    outline: none;
}
.navbar.app-navbar .navbar-account-empty {
    color: #64748b;
    font-size: 0.88rem;
    padding: 0.55rem 0.45rem 0.75rem;
}
.navbar.app-navbar .navbar-account-events-scroll {
    max-height: min(40vh, 16.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.4rem 0.55rem 0.45rem 0.4rem;
    margin: 0;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-sizing: border-box;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-events-scroll::-webkit-scrollbar {
    width: 0.4rem;
}
.navbar.app-navbar .navbar-account-events-scroll::-webkit-scrollbar-track {
    background: transparent;
    margin: 0.35rem 0;
}
.navbar.app-navbar .navbar-account-events-scroll::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.35);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.navbar.app-navbar .navbar-account-event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    min-width: 0;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-event-list > li {
    min-width: 0;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-event {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    text-decoration: none;
    white-space: normal;
    line-height: 1.3;
    padding: 0.6rem 0.7rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.navbar.app-navbar .navbar-account-event.is-unpaid {
    background: #fffbeb;
    border-color: rgba(217, 119, 6, 0.26);
}
.navbar.app-navbar .navbar-account-event.is-suspended {
    background: #f8fafc;
    border-color: rgba(100, 116, 139, 0.28);
    opacity: 0.9;
}
.navbar.app-navbar .navbar-account-event:hover,
.navbar.app-navbar .navbar-account-event:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
    transform: none;
    outline: none;
}
.navbar.app-navbar .navbar-account-event.is-unpaid:hover,
.navbar.app-navbar .navbar-account-event.is-unpaid:focus-visible {
    border-color: rgba(217, 119, 6, 0.4);
    background: #fff7ed;
}
.navbar.app-navbar .navbar-account-event-main {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-event-top {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-event-mark {
    flex: 0 0 auto;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-event.is-unpaid .navbar-account-event-mark {
    background: #d97706;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-event.is-suspended .navbar-account-event-mark {
    background: #94a3b8;
    box-shadow: none;
}
.navbar.app-navbar .navbar-account-event-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    overflow: hidden;
}
.navbar.app-navbar .navbar-account-event-slug {
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar.app-navbar .navbar-account-event-meta {
    font-size: 0.74rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar.app-navbar .navbar-account-event-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    max-width: 100%;
    padding-left: 0.97rem;
}
.navbar.app-navbar .navbar-account-event-package {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.16rem 0.4rem;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
}
.navbar.app-navbar .navbar-account-event-package--basic {
    color: #334155;
    background: #e2e8f0;
}
.navbar.app-navbar .navbar-account-event-package--pro {
    color: #0f766e;
    background: #ccfbf1;
}
.navbar.app-navbar .navbar-account-event-package--invite {
    color: #9a3412;
    background: #ffedd5;
}
.navbar.app-navbar .navbar-account-event-package--custom {
    color: #1e3a5f;
    background: #dbeafe;
}
.navbar.app-navbar .navbar-account-event-status {
    flex: 0 0 auto;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.16rem 0.4rem;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}
.navbar.app-navbar .navbar-account-event-status.is-paid {
    color: #1e40af;
    background: #dbeafe;
}
.navbar.app-navbar .navbar-account-event-status.is-unpaid {
    color: #92400e;
    background: #fde68a;
}
.navbar.app-navbar .navbar-account-event-status.is-suspended {
    color: #475569;
    background: #e2e8f0;
}
.navbar.app-navbar .navbar-account-menu .dropdown-item,
.navbar.app-navbar .navbar-account-action {
    font-weight: 600;
    color: #334155;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    margin: 0;
    width: auto;
    background: transparent;
    border: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.navbar.app-navbar .navbar-account-menu .dropdown-item:hover,
.navbar.app-navbar .navbar-account-menu .dropdown-item:focus,
.navbar.app-navbar .navbar-account-action:hover,
.navbar.app-navbar .navbar-account-action:focus {
    background: #eff6ff;
    color: #1d4ed8;
}
.navbar.app-navbar .navbar-account-action--all {
    margin-top: 0.1rem;
    color: #2563eb;
    font-weight: 700;
}
.navbar.app-navbar .navbar-account-action--danger,
.navbar.app-navbar .navbar-account-menu .dropdown-item.navbar-account-action--danger {
    color: #b91c1c;
    margin: 0.15rem 0 0;
}
.navbar.app-navbar .navbar-account-action--danger:hover,
.navbar.app-navbar .navbar-account-action--danger:focus,
.navbar.app-navbar .navbar-account-menu .dropdown-item.navbar-account-action--danger:hover,
.navbar.app-navbar .navbar-account-menu .dropdown-item.navbar-account-action--danger:focus {
    background: #fef2f2;
    color: #991b1b !important;
}
@media (max-width: 991.98px) {
    .navbar.app-navbar .navbar-account-menu {
        width: 100%;
        max-width: 100%;
        position: static !important;
        transform: none !important;
        inset: auto !important;
        right: auto !important;
        left: auto !important;
        margin-top: 0.55rem;
        margin-left: auto;
        margin-right: auto !important;
        box-shadow: none;
        border: 1px solid rgba(37, 99, 235, 0.16);
        background:
            radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.06), transparent 42%),
            #fff;
        text-align: left;
        max-height: none;
        overflow: hidden;
    }
    .navbar.app-navbar .navbar-account-events-scroll {
        max-height: min(36vh, 14rem);
    }
    .navbar.app-navbar .navbar-account-menu.show {
        display: block !important;
    }
    #organiserConsoleNavCollapse.show:has(.navbar-account-menu.show),
    #appPublicNavCollapse.show:has(.navbar-account-menu.show) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: min(85dvh, 38rem) !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .navbar.app-navbar .nav-item.dropdown {
        width: 100%;
        text-align: center;
    }
    .navbar.app-navbar .navbar-account-toggle {
        max-width: none;
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        min-height: 2.85rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar.app-navbar .navbar-account-toggle-name {
        max-width: none;
    }
    .navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner {
        align-items: stretch;
    }
    .navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner > .nav-item {
        width: 100%;
    }
    .navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner > .nav-item > .nav-link {
        text-align: center;
    }
}
.navbar.app-navbar .navbar-collapse,
.navbar.app-navbar .container,
.navbar.app-navbar .container-fluid {
    overflow: visible;
}
.navbar.app-navbar .btn-primary {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 1.25rem;
}
.navbar.app-navbar .btn-sm {
    font-size: 1rem;
    padding: 0.45rem 1.1rem;
}
.navbar-cluster-label {
    font-family: var(--app-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4c1d95;
    white-space: nowrap;
    line-height: 1.2;
}
html.page-auth .navbar-cluster-label {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    margin-right: 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
h1, .h1 { font-size: calc(1.35rem + 0.45vw); font-weight: 700; color: #0f172a; }
h2, .h2 { font-size: calc(1.25rem + 0.35vw); font-weight: 700; color: #0f172a; }
h3, .h3 { font-size: calc(1.15rem + 0.25vw); font-weight: 650; color: #1e293b; }
h4, .h4, h5, .h5, h6, .h6 { font-size: 1.1rem; font-weight: 650; color: #1e293b; }
.card {
    border-radius: var(--app-radius);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--app-shadow);
    transition: box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.card.border-0 {
    border: none;
}
.card.shadow-sm {
    box-shadow: var(--app-shadow) !important;
}
.card.shadow-lg {
    box-shadow: var(--app-shadow-lg) !important;
}
.btn {
    border-radius: var(--app-btn-radius);
    font-weight: 650;
    letter-spacing: 0.01em;
    font-size: var(--app-btn-fs);
    line-height: 1;
    padding: 0 var(--app-btn-px);
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    border-width: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: var(--app-btn-shadow);
    box-sizing: border-box;
    transition:
        transform 0.2s var(--app-ease),
        box-shadow 0.22s var(--app-ease),
        background-color 0.2s var(--app-ease),
        border-color 0.2s var(--app-ease),
        color 0.2s var(--app-ease);
}
/* Soft corners everywhere — match forms (ignore Bootstrap pill class) */
.btn.rounded-pill,
.btn.rounded-pill.btn-lg,
.btn.rounded-pill.btn-sm {
    border-radius: var(--app-btn-radius) !important;
}
.btn-sm {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 0.85rem;
    --bs-btn-font-size: 0.95rem;
    font-size: 0.95rem !important;
    padding: 0 0.85rem !important;
    min-height: 2.15rem;
    height: 2.15rem;
    line-height: 1;
    border-radius: calc(var(--app-btn-radius) - 0.1rem);
}
.btn-lg {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-font-size: 1.08rem;
    font-size: 1.08rem !important;
    padding: 0 1.2rem !important;
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    border-radius: var(--app-btn-radius);
}
.btn-primary {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 42%, #6366f1 72%, #7c3aed 100%);
    border: 2px solid transparent;
    color: #fff;
    box-shadow: var(--app-btn-primary-shadow);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #3730a3 0%, #4338ca 48%, #5b21b6 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}
.btn-outline-primary {
    background: #fff;
    border: 2px solid rgba(79, 70, 229, 0.5);
    color: var(--app-primary);
    box-shadow: var(--app-btn-shadow);
}
.btn-outline-primary:hover {
    background: var(--app-primary-soft);
    border-color: var(--app-primary);
    color: #3730a3;
}
.btn-outline-secondary {
    background: #fff;
    border: 2px solid rgba(100, 116, 139, 0.55);
    color: #475569;
    box-shadow: var(--app-btn-shadow);
}
.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: rgba(100, 116, 139, 0.85);
    color: #0f172a;
}
.btn-outline-success {
    background: #fff;
    border: 2px solid rgba(16, 185, 129, 0.55);
    color: #047857;
    box-shadow: var(--app-btn-shadow);
}
.btn-outline-success:hover {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
}
.btn-outline-danger {
    background: #fff;
    border: 2px solid rgba(239, 68, 68, 0.5);
    color: #b91c1c;
    box-shadow: var(--app-btn-shadow);
}
.btn-outline-danger:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}
.btn-secondary {
    background: #e2e8f0;
    border: 2px solid transparent;
    color: #1e293b;
    box-shadow: var(--app-btn-shadow);
}
.btn-secondary:hover {
    background: #cbd5e1;
    color: #0f172a;
}
.form-control,
.form-select {
    font-size: var(--app-control-fs);
    font-weight: 400;
    color: var(--app-ink);
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    height: var(--app-control-h);
    min-height: var(--app-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease), background-color 0.2s var(--app-ease);
}
.form-control-lg,
.form-select-lg {
    font-size: var(--app-control-fs) !important;
    height: var(--app-control-h);
    min-height: var(--app-control-h);
    padding: 0 var(--app-control-px);
}
.form-control::placeholder {
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    outline: none;
}
textarea.form-control {
    font-weight: 400;
    height: auto;
    min-height: 6.25rem;
    padding: 0.75rem var(--app-control-px);
    line-height: 1.45;
    resize: vertical;
}
.form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    letter-spacing: 0.01em;
    margin-bottom: 0.35rem;
}
.form-text {
    font-size: 0.88rem;
    color: #64748b;
}
.input-group .form-control:focus {
    z-index: 3;
}
.table {
    --bs-table-border-color: rgba(148, 163, 184, 0.22);
}
.table thead th {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    border-bottom-color: rgba(148, 163, 184, 0.28);
}
.table-hover tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.045);
}
.alert {
    border-radius: var(--app-radius-sm);
    border: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.progress {
    border-radius: 50rem;
    background-color: rgba(148, 163, 184, 0.22);
}
.progress-bar {
    border-radius: 50rem;
}
.badge {
    font-weight: 600;
    padding: 0.38em 0.68em;
    border-radius: 0.5rem;
}
.card-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-family: var(--app-display);
    font-weight: 600;
}
code, kbd, samp, .text-transform-none,
input[type="email"],
input[name="username"],
.email-display,
.username-display {
    text-transform: none;
    letter-spacing: normal;
    font-variant-numeric: tabular-nums;
}
input[name="full_name"],
input[name="helper_full_name"],
input[name="event_name"],
input[name="venue"],
input#contact_name,
input#full_name,
input#edit_full_name,
input#add_full_name,
input#helper_full_name,
input#edit_helper_name,
input#edit_organiser_name,
input#invite_event_name,
input#einvite_event_name,
input#thankyou_event_name,
input#invite_venue,
input#einvite_venue,
input#thankyou_venue {
    text-transform: capitalize;
}
table { font-size: 1.02rem; }
.app-desk-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.125rem !important;
    box-shadow: var(--app-shadow-lg) !important;
}
.app-desk-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6, #06b6d4);
}
.app-desk-card .card-body {
    padding: 1.45rem 1.55rem !important;
}
@media (min-width: 992px) {
    .app-desk-card .card-body {
        padding: 1.75rem 1.9rem !important;
    }
}
.app-desk-card .desk-card-title {
    font-family: var(--app-display);
    font-weight: 700;
    color: #0f172a;
}
html.page-guests-desk {
    font-size: calc(104% + 3px);
}
@media (min-width: 768px) {
    html.page-guests-desk {
        font-size: calc(106% + 3px);
    }
}
html.page-guests-desk body {
    font-size: 1.125rem;
}
html.page-guests-desk h1, html.page-guests-desk .h1 { font-size: calc(1.4rem + 0.45vw); }
html.page-guests-desk h2, html.page-guests-desk .h2 { font-size: calc(1.3rem + 0.35vw); }
html.page-guests-desk h3, html.page-guests-desk .h3 { font-size: calc(1.22rem + 0.25vw); }
html.page-guests-desk h4, html.page-guests-desk .h4,
html.page-guests-desk h5, html.page-guests-desk .h5,
html.page-guests-desk h6, html.page-guests-desk .h6 { font-size: 1.18rem; }
html.page-guests-desk .btn { font-size: 1.1rem; }
html.page-guests-desk .form-control,
html.page-guests-desk .form-select {
    font-size: 1.08rem !important;
    font-weight: 400;
    height: var(--app-control-h);
    min-height: var(--app-control-h);
    max-height: var(--app-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    box-sizing: border-box;
}
html.page-guests-desk .form-control:focus,
html.page-guests-desk .form-select:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
html.page-guests-desk #searchInput {
    font-size: 1.12rem !important;
    text-transform: capitalize;
}
html.page-guests-desk #searchInput::placeholder {
    text-transform: none;
}
html.page-guests-desk .platform-panel .btn:not(.btn-sm),
html.page-guests-desk .desk-scanner .btn:not(.btn-sm) {
    font-size: 1.05rem !important;
    font-weight: 600;
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    padding: 0 1.1rem !important;
    line-height: 1.25;
    border-radius: var(--app-control-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
/* Check in by code: one field shell with button inside */
html.page-guests-desk .desk-code-field {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    padding: 0.25rem 0.25rem 0.25rem 0.85rem;
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
}
html.page-guests-desk .desk-code-field:focus-within {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
html.page-guests-desk .desk-code-field-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.25;
    color: #0f172a;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
html.page-guests-desk .desk-code-field-input::placeholder {
    font-weight: 400;
    letter-spacing: normal;
    color: #94a3b8;
    text-transform: none;
}
html.page-guests-desk .desk-code-field-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 1rem;
    border: 0;
    border-radius: calc(var(--app-control-radius) - 0.15rem);
    background: var(--org-blue, #2563eb);
    color: #fff;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
html.page-guests-desk .desk-code-field-btn:hover,
html.page-guests-desk .desk-code-field-btn:focus-visible {
    background: var(--org-blue-deep, #1d4ed8);
    outline: none;
}
html.page-guests-desk .desk-code-field-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
html.page-guests-desk .input-group-sm > .form-control,
html.page-guests-desk .input-group-sm > .btn { font-size: 1rem; }
html.page-guests-desk table { font-size: 1.1rem; }
html.page-guests-desk .desk-scanner-panel {
    margin-inline: auto;
}
html.page-guests-desk .desk-scanner-panel .platform-panel-head,
html.page-guests-desk .desk-scanner-panel .platform-panel-body {
    text-align: center;
}
html.page-guests-desk .desk-scanner-frame {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
    margin: 0 auto 0.85rem;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 320px;
    max-height: 320px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}
html.page-guests-desk .desk-scanner-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
html.page-guests-desk .desk-scanner-overlay {
    position: absolute;
    inset: 14%;
    border: 2px solid rgba(94, 234, 212, 0.85);
    border-radius: 10px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.28);
    pointer-events: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
html.page-guests-desk .desk-scanner-flash {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    text-align: center;
    pointer-events: none;
}
html.page-guests-desk .desk-scanner-flash.is-success {
    background: rgba(13, 148, 136, 0.88);
}
html.page-guests-desk .desk-scanner-flash.is-danger {
    background: rgba(185, 28, 28, 0.88);
}
html.page-guests-desk .desk-scanner-flash-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
html.page-guests-desk .desk-scanner-flash-detail {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    word-break: break-word;
}
html.page-guests-desk .desk-scanner-status {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 1.5em;
}
html.page-guests-desk .desk-scanner-status.is-scanning {
    color: #0f766e;
}
html.page-guests-desk .desk-scanner-status.is-success {
    color: #047857;
}
html.page-guests-desk .desk-scanner-status.is-danger {
    color: #b91c1c;
}
html.page-guests-desk .desk-scanner-result {
    margin-top: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
}
html.page-guests-desk .desk-scanner-result strong {
    font-size: 1.1rem;
    font-weight: 800;
}
html.page-guests-desk .desk-scanner-result span {
    font-size: 0.98rem;
    font-weight: 600;
}
html.page-guests-desk .desk-scanner-result.is-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #065f46;
}
html.page-guests-desk .desk-scanner-result.is-danger {
    background: rgba(248, 113, 113, 0.14);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991b1b;
}
html.page-guests-desk .desk-scanner.is-scan-success .desk-scanner-frame {
    outline: 3px solid #0d9488;
    outline-offset: 2px;
}
html.page-guests-desk .desk-scanner.is-scan-success .desk-scanner-overlay {
    border-color: #5eead4;
}
html.page-guests-desk .desk-scanner.is-scan-error .desk-scanner-frame {
    outline: 3px solid #dc2626;
    outline-offset: 2px;
}
html.page-landing .landing-headline {
    font-family: var(--app-display);
    letter-spacing: -0.035em;
    color: var(--app-ink);
    line-height: 1.12;
}
html.page-landing .landing-kicker {
    letter-spacing: 0.16em;
    color: #6d28d9;
    font-weight: 700;
}
html.page-landing .landing-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(1.35rem, 3.5vw, 2.35rem);
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
        radial-gradient(ellipse 55% 50% at 100% 10%, rgba(79, 70, 229, 0.12), transparent 52%),
        radial-gradient(ellipse 50% 40% at 70% 100%, rgba(14, 165, 233, 0.08), transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 48%, rgba(241, 245, 249, 0.94) 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 22px 56px rgba(15, 23, 42, 0.08);
    border-radius: 1.55rem;
    overflow: hidden;
    animation: landingHeroIn 0.85s var(--app-ease) both;
}
html.page-landing .landing-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -35% auto;
    width: min(18rem, 55vw);
    height: min(18rem, 55vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.14), transparent 68%);
    z-index: -1;
    pointer-events: none;
    animation: landingGlowPulse 7s ease-in-out infinite alternate;
}
@keyframes landingHeroIn {
    from { opacity: 0; transform: translateY(1.1rem) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes landingGlowPulse {
    from { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1); }
    to { opacity: 1; transform: translate3d(-6%, -4%, 0) scale(1.08); }
}
html.page-landing .landing-hero-grid {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}
html.page-landing .landing-hero-brand {
    margin: 0 0 0.85rem;
    font-family: var(--app-display);
    font-size: clamp(1.85rem, 3.4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #0f172a;
}
html.page-landing .landing-section--hero h1.landing-headline {
    font-size: clamp(2.05rem, 4.6vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    max-width: 14ch;
    color: #0f172a;
}
html.page-landing .landing-section--hero .landing-sub {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #475569;
    max-width: 34rem;
}
html.page-landing .landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
html.page-landing .landing-hero-actions .btn {
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
    border-radius: var(--app-btn-radius) !important;
}
html.page-landing .landing-hero-promise {
    font-size: 0.95rem;
    color: #64748b;
    letter-spacing: 0.01em;
    line-height: 1.45;
}
html.page-landing .landing-hero-visual {
    margin: 0;
    display: grid;
    gap: 0.85rem;
}
html.page-landing .landing-hero-photo {
    border-radius: 1.35rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 18px 44px rgba(15, 23, 42, 0.12);
    animation: landingPanelIn 0.95s var(--app-ease) 0.12s both;
}
html.page-landing .landing-hero-photo .landing-photo {
    aspect-ratio: 5 / 4;
    max-height: 26rem;
}
html.page-landing .landing-hero-caption {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 550;
    line-height: 1.4;
    color: #64748b;
}
@keyframes landingPanelIn {
    from { opacity: 0; transform: translateX(0.85rem); }
    to { opacity: 1; transform: translateX(0); }
}
@media (min-width: 992px) {
    html.page-landing .landing-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        gap: clamp(1.75rem, 3.5vw, 3rem);
    }
    html.page-landing .landing-hero-photo .landing-photo {
        max-height: 28rem;
    }
}
@media (max-width: 991.98px) {
    html.page-landing .landing-section--hero h1.landing-headline {
        max-width: none;
    }
    html.page-landing .landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    html.page-landing .landing-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    html.page-landing .landing-hero-visual {
        order: -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-hero,
    html.page-landing .landing-hero-photo,
    html.page-landing .landing-hero::after {
        animation: none;
    }
}
html.page-auth .auth-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.1), transparent 42%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f5f3ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.16) !important;
    border-radius: 1.35rem !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 22px 48px rgba(79, 70, 229, 0.12) !important;
    animation: landingHeroIn 0.7s var(--app-ease) both;
}
html.page-auth .auth-card h1 {
    font-family: var(--app-display);
    color: var(--app-ink);
    letter-spacing: -0.03em;
}
html.page-auth .letter-spacing-wide {
    letter-spacing: 0.14em;
    color: #6d28d9 !important;
}
@media (prefers-reduced-motion: reduce) {
    html.page-auth .auth-card {
        animation: none;
    }
}
html.page-landing {
    scroll-behavior: smooth;
}
html.page-landing .landing-main-full {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}
html.page-landing .landing-nav-onepage {
    z-index: 1030;
    background: rgba(255, 255, 255, 0.82) !important;
    border-bottom-color: rgba(99, 102, 241, 0.12) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 30px rgba(79, 70, 229, 0.06);
}
html.page-landing .landing-onpage-nav .nav-link.active {
    font-weight: 700;
    color: var(--app-primary) !important;
    background: var(--app-primary-soft);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.08);
}
html.page-landing .landing-onpage-nav .nav-link.active:active {
    background-color: rgba(79, 70, 229, 0.22) !important;
}
@media (max-width: 991.98px) {
    html.page-landing .landing-nav-onepage {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    html.page-landing .landing-nav-onepage .container,
    .navbar.app-navbar .container {
        flex-wrap: wrap;
        align-items: center;
    }
    /* Public / organiser / staff mobile menu panels */
    #appPublicNavCollapse,
    #appPublicNavCollapse.collapse,
    #appPublicNavCollapse.collapsing,
    #organiserConsoleNavCollapse,
    #organiserConsoleNavCollapse.collapse,
    #organiserConsoleNavCollapse.collapsing,
    #staffPlatformNavCollapse,
    #staffPlatformNavCollapse.collapse,
    #staffPlatformNavCollapse.collapsing {
        display: none !important;
        height: auto !important;
        transition: none !important;
        flex-basis: 100%;
        width: 100%;
        margin-top: 0.65rem !important;
        padding: 0;
        border-top: 0 solid transparent;
    }
    #appPublicNavCollapse.show,
    #organiserConsoleNavCollapse.show,
    #staffPlatformNavCollapse.show {
        display: block !important;
        width: 100%;
        padding: 0.85rem 0 0.35rem;
        margin-top: 0.65rem !important;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        background: #fff;
        max-height: min(75vh, 34rem);
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    #appPublicNavCollapse .navbar-nav,
    #organiserConsoleNavCollapse .navbar-nav {
        width: 100%;
        align-items: stretch !important;
        text-align: center;
    }
    #appPublicNavCollapse .navbar-nav .nav-item,
    #organiserConsoleNavCollapse .navbar-nav .nav-item {
        width: 100%;
    }
    #appPublicNavCollapse .navbar-nav .nav-link,
    #organiserConsoleNavCollapse .navbar-nav .nav-link {
        text-align: center;
        justify-content: center;
    }
    .navbar.app-navbar #appPublicNavCollapse .navbar-account-toggle,
    #organiserConsoleNavCollapse .navbar-account-toggle {
        text-align: center;
        justify-content: center;
    }
    .navbar.app-navbar .navbar-account-menu .dropdown-item,
    .navbar.app-navbar .navbar-account-action,
    .navbar.app-navbar .navbar-account-event {
        min-height: 2.75rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar.app-navbar .navbar-account-menu .dropdown-item,
    .navbar.app-navbar .navbar-account-action {
        display: flex;
        align-items: center;
    }
    .navbar.app-navbar .navbar-account-action--danger {
        font-weight: 700;
    }
    .navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 0.9rem !important;
        border-radius: 0.65rem;
    }
    #landingMenuToggle,
    #organiserConsoleMenuToggle,
    #staffPlatformMenuToggle {
        border: 1px solid rgba(15, 23, 42, 0.12) !important;
        background: #fff !important;
        border-radius: 0.55rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 1040;
        position: relative;
    }
    html.page-landing .landing-nav-actions {
        border-bottom: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        padding-top: 0.85rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0 !important;
        margin-top: 0.85rem;
    }
    html.page-landing .landing-nav-actions .btn {
        width: 100%;
        justify-content: center;
        font-weight: 600;
        min-height: 2.75rem;
        padding: 0.55rem 1.15rem !important;
        font-size: var(--app-btn-fs) !important;
        line-height: 1.25;
        border-width: 2px;
        box-sizing: border-box;
    }
    html.page-landing .landing-onpage-nav {
        padding-top: 0;
        gap: 0.2rem !important;
    }
    html.page-landing .landing-onpage-nav .nav-item {
        width: 100%;
    }
    html.page-landing .landing-onpage-nav .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.75rem 0.9rem !important;
        border-radius: 0.65rem;
    }
}
@media (min-width: 992px) {
    html.page-landing .landing-nav-actions {
        flex-direction: row-reverse;
        gap: 0.5rem !important;
    }
    html.page-landing .landing-nav-actions .btn {
        width: auto;
        min-height: 2.5rem;
        padding: 0.45rem 1.15rem !important;
        font-size: var(--app-btn-fs) !important;
        font-weight: 600;
        line-height: 1.25;
        border-width: 2px;
        box-sizing: border-box;
    }
    html.page-landing .landing-nav-register {
        border-color: transparent;
    }
    html.page-landing .landing-nav-login {
        --bs-btn-color: #475569;
        --bs-btn-border-color: rgba(148, 163, 184, 0.55);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: var(--app-primary);
        --bs-btn-hover-border-color: var(--app-primary);
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #4338ca;
        --bs-btn-active-border-color: #4338ca;
        font-weight: 600;
    }
    html.page-landing .landing-nav-login:hover,
    html.page-landing .landing-nav-login:focus-visible {
        color: #fff !important;
        background: var(--app-primary) !important;
        border-color: var(--app-primary) !important;
    }
}
.auth-nav-actions {
    gap: 0.5rem !important;
}
.auth-nav-actions .btn {
    min-height: 2.5rem;
    padding: 0.45rem 1.15rem !important;
    font-size: var(--app-btn-fs) !important;
    font-weight: 600;
    line-height: 1.25;
    border-width: 2px;
    box-sizing: border-box;
}
.auth-nav-actions .auth-nav-login:not(.btn-primary) {
    --bs-btn-color: #475569;
    --bs-btn-border-color: rgba(148, 163, 184, 0.55);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--app-primary);
    --bs-btn-hover-border-color: var(--app-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4338ca;
    --bs-btn-active-border-color: #4338ca;
}
.auth-nav-actions .auth-nav-login:not(.btn-primary):hover,
.auth-nav-actions .auth-nav-login:not(.btn-primary):focus-visible {
    color: #fff !important;
    background: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
}
html.page-auth .form-page-card .btn.btn-lg {
    min-height: 2.85rem;
    padding: 0.62rem 1.25rem !important;
    font-size: 1.05rem !important;
}
@media (max-width: 991.98px) {
    .auth-nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
    }
    .auth-nav-actions .navbar-cluster-label {
        align-self: flex-start;
        min-height: 0;
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
    }
    .auth-nav-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.55rem 1.15rem !important;
    }
}
html.page-landing {
    scroll-padding-top: var(--landing-nav-offset, 6.5rem);
}
html.page-landing .landing-section {
    scroll-margin-top: var(--landing-nav-offset, 6.5rem);
}
html.page-landing .landing-section:not(.landing-section--hero) {
    animation: landingSectionIn 0.7s var(--app-ease) both;
}
html.page-landing .landing-section > .container.py-5 {
    padding-top: clamp(2.75rem, 6vw, 4.5rem) !important;
    padding-bottom: clamp(2.75rem, 6vw, 4.5rem) !important;
}
html.page-landing .landing-section-intro--split {
    display: grid;
    gap: 1rem;
    max-width: 52rem;
}
@media (min-width: 992px) {
    html.page-landing .landing-section-intro--split {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
        align-items: end;
        gap: 2rem;
        max-width: none;
    }
    html.page-landing .landing-section-intro--split .landing-headline {
        font-size: clamp(2rem, 3.4vw, 2.75rem);
    }
}
html.page-landing .landing-section-lede {
    font-size: 1.05rem;
    line-height: 1.55;
}
html.page-landing .landing-about-lead {
    font-size: 1.18rem;
    line-height: 1.55;
    color: #334155;
    font-weight: 500;
    max-width: 34rem;
}
html.page-landing .landing-section--about {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 65% 55% at 0% 20%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 45% at 100% 80%, rgba(79, 70, 229, 0.1), transparent 52%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}
html.page-landing .landing-about-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}
html.page-landing .landing-about-copy {
    max-width: 36rem;
}
html.page-landing .landing-about-copy .landing-headline {
    letter-spacing: -0.035em;
    max-width: 14ch;
}
html.page-landing .landing-about-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
html.page-landing .landing-about-points li {
    position: relative;
    padding: 1rem 1.1rem 1.05rem 1.2rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
html.page-landing .landing-about-points li::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    background: linear-gradient(180deg, #14b8a6, #4f46e5);
}
html.page-landing .landing-about-point-title {
    display: block;
    font-family: var(--app-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 0.3rem;
}
html.page-landing .landing-about-point-copy {
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    color: #64748b;
}
html.page-landing .landing-about-photo {
    position: relative;
    margin: 0;
    border-radius: 1.45rem;
    overflow: hidden;
}
html.page-landing .landing-about-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.75rem 0.95rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 550;
    line-height: 1.35;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 992px) {
    html.page-landing .landing-about-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
        gap: clamp(1.75rem, 3.5vw, 3rem);
        align-items: stretch;
    }
    html.page-landing .landing-about-photo {
        max-width: none !important;
        margin: 0 !important;
        height: 100%;
        transform: rotate(0.75deg);
    }
    html.page-landing .landing-about-photo:hover {
        transform: rotate(0deg) translateY(-4px);
    }
}
@media (max-width: 991.98px) {
    html.page-landing .landing-about-copy .landing-headline {
        max-width: none;
    }
    html.page-landing .landing-about-photo {
        order: -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-about-photo,
    html.page-landing .landing-about-photo:hover {
        transform: none;
    }
}
@keyframes landingSectionIn {
    from { opacity: 0; transform: translateY(0.85rem); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-section:not(.landing-section--hero) {
        animation: none;
    }
}
html.page-landing .landing-section--contact {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(79, 70, 229, 0.12), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 70%, rgba(13, 148, 136, 0.1), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef2ff 100%);
}
html.page-landing .landing-packages-intro .landing-headline {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
html.page-landing .landing-section--services {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 70% 50% at 12% 0%, rgba(13, 148, 136, 0.1), transparent 55%),
        radial-gradient(ellipse 60% 45% at 92% 70%, rgba(79, 70, 229, 0.1), transparent 52%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #eef2ff 100%);
}
html.page-landing .landing-section--testimonials {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 65% 50% at 100% 0%, rgba(13, 148, 136, 0.13), transparent 55%),
        radial-gradient(ellipse 55% 45% at 0% 100%, rgba(79, 70, 229, 0.1), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef2ff 100%);
}
html.page-landing .landing-testimonials-head {
    max-width: none;
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}
html.page-landing .landing-testimonials-head .landing-headline {
    max-width: 16ch;
    letter-spacing: -0.035em;
}
html.page-landing .landing-testimonials-lede {
    max-width: none;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #64748b;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    html.page-landing .landing-testimonials-lede {
        white-space: normal;
    }
}
html.page-landing .landing-voices {
    max-width: 58rem;
    margin: 0 auto;
}
html.page-landing .landing-voices-stamps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.15rem);
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
@media (max-width: 767.98px) {
    html.page-landing .landing-voices-stamps {
        grid-template-columns: 1fr;
    }
}
html.page-landing .landing-voices-stamp-btn {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 1.15rem 0.85rem 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 1.15rem;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9)),
        repeating-linear-gradient(
            -14deg,
            transparent,
            transparent 10px,
            rgba(13, 148, 136, 0.03) 10px,
            rgba(13, 148, 136, 0.03) 11px
        );
    cursor: pointer;
    text-align: center;
    transition:
        border-color 0.22s var(--app-ease),
        transform 0.22s var(--app-ease),
        box-shadow 0.22s var(--app-ease),
        background 0.22s var(--app-ease);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
html.page-landing .landing-voices-stamp-btn:hover,
html.page-landing .landing-voices-stamp-btn:focus-visible {
    border-color: rgba(13, 148, 136, 0.55);
    transform: translateY(-2px);
    outline: none;
}
html.page-landing .landing-voices-stamp-btn.is-active {
    border-color: rgba(13, 148, 136, 0.65);
    border-style: solid;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    background: linear-gradient(165deg, #ffffff, rgba(204, 251, 241, 0.55));
}
html.page-landing .landing-voices-stamp-mark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    min-width: 8.5rem;
    padding: 0.55rem 0.9rem 0.5rem;
    border: 2px solid rgba(13, 148, 136, 0.55);
    border-radius: 0.4rem;
    color: #0f766e;
    background: rgba(45, 212, 191, 0.1);
    transform: rotate(-4deg);
    transition: transform 0.22s var(--app-ease), border-color 0.22s var(--app-ease), background 0.22s var(--app-ease);
}
html.page-landing .landing-voices-stamp-btn:nth-child(2) .landing-voices-stamp-mark {
    transform: rotate(2deg);
}
html.page-landing .landing-voices-stamp-btn:nth-child(3) .landing-voices-stamp-mark {
    transform: rotate(-2deg);
}
html.page-landing .landing-voices-stamp-btn.is-active .landing-voices-stamp-mark {
    border-color: #0d9488;
    background: rgba(45, 212, 191, 0.18);
    transform: rotate(-1deg) scale(1.04);
}
html.page-landing .landing-voices-stamp-btn:nth-child(2).is-active .landing-voices-stamp-mark {
    transform: rotate(1deg) scale(1.04);
}
html.page-landing .landing-voices-stamp-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.85;
}
html.page-landing .landing-voices-stamp-city {
    font-family: var(--app-display);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0f172a;
    line-height: 1.2;
}
html.page-landing .landing-voices-stamp-person {
    font-size: 0.86rem;
    font-weight: 600;
    color: #64748b;
}
html.page-landing .landing-voices-stamp-btn.is-active .landing-voices-stamp-person {
    color: #0f172a;
}
html.page-landing .landing-voices-panel {
    position: relative;
    padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2.15rem) clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}
html.page-landing .landing-voices-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0.22rem;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
}
html.page-landing .landing-voices-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #14b8a6, #4f46e5);
    transform-origin: left center;
}
html.page-landing .landing-voices.is-animating .landing-voices-progress-bar {
    animation: landingVoicesProgress linear forwards;
}
html.page-landing .landing-voices-quote {
    margin: 0 0 1.35rem;
    border: 0;
    padding: 0;
}
html.page-landing .landing-voices-quote p {
    margin: 0;
    font-family: var(--app-display);
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #0f172a;
    transition: opacity 0.28s var(--app-ease), transform 0.28s var(--app-ease);
}
html.page-landing .landing-voices.is-switching .landing-voices-quote p,
html.page-landing .landing-voices.is-switching .landing-voices-who,
html.page-landing .landing-voices.is-switching .landing-voices-active-city {
    opacity: 0;
    transform: translateY(0.35rem);
}
html.page-landing .landing-voices-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
}
html.page-landing .landing-voices-who {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    transition: opacity 0.28s var(--app-ease), transform 0.28s var(--app-ease);
}
html.page-landing .landing-voices-avatar {
    flex: 0 0 auto;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(145deg, #0d9488, #4f46e5);
}
html.page-landing .landing-voices-identity {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
html.page-landing .landing-voices-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}
html.page-landing .landing-voices-role {
    font-size: 0.9rem;
    color: #64748b;
}
html.page-landing .landing-voices-active-city {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.05rem;
    padding: 0.4rem 0.7rem;
    border: 1.5px solid rgba(13, 148, 136, 0.45);
    border-radius: 0.4rem;
    font-family: var(--app-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(45, 212, 191, 0.08);
    transform: rotate(-2deg);
    transition: opacity 0.28s var(--app-ease), transform 0.28s var(--app-ease);
}
html.page-landing .landing-voices-active-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}
@keyframes landingVoicesProgress {
    from { width: 0%; }
    to { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-voices.is-animating .landing-voices-progress-bar,
    html.page-landing .landing-voices-quote p,
    html.page-landing .landing-voices-who,
    html.page-landing .landing-voices-active-city,
    html.page-landing .landing-voices-stamp-btn,
    html.page-landing .landing-voices-stamp-mark {
        animation: none !important;
        transition: none !important;
    }
}
html.page-landing .landing-services-head {
    max-width: 40rem;
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}
html.page-landing .landing-services-head .landing-headline {
    max-width: 18ch;
    letter-spacing: -0.035em;
}
html.page-landing .landing-services-lede {
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #64748b;
}
html.page-landing .landing-services-stage {
    display: grid;
    gap: clamp(1.5rem, 3.5vw, 2.25rem);
    align-items: stretch;
}
html.page-landing .landing-services-rail {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}
html.page-landing .landing-service {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    align-items: start;
    margin: 0;
    padding: 1.15rem 0.15rem 1.2rem 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transition:
        background-color 0.25s var(--app-ease),
        padding-left 0.25s var(--app-ease);
}
html.page-landing .landing-service::before {
    content: "";
    position: absolute;
    inset: 0.55rem auto 0.55rem 0;
    width: 0.22rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #6366f1, #0d9488);
    opacity: 0.35;
    transition: opacity 0.25s var(--app-ease), transform 0.25s var(--app-ease);
}
html.page-landing .landing-service:hover,
html.page-landing .landing-service:focus-within {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.06), transparent 70%);
    padding-left: 1.05rem;
    transform: none;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: none;
}
html.page-landing .landing-service:hover::before,
html.page-landing .landing-service:focus-within::before {
    opacity: 1;
    transform: scaleY(1.05);
}
html.page-landing .landing-service-index {
    font-family: var(--app-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: #0d9488;
    padding-top: 0.15rem;
}
html.page-landing .landing-service-title {
    font-family: var(--app-display);
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 0.4rem;
}
html.page-landing .landing-service-copy {
    font-size: 1.02rem;
    line-height: 1.5;
    color: #64748b;
    max-width: 28rem;
}
@media (min-width: 992px) {
    html.page-landing .landing-services-stage {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.95fr);
        gap: clamp(1.75rem, 3vw, 2.75rem);
        align-items: center;
    }
    html.page-landing .landing-services-rail {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    html.page-landing .landing-service {
        padding-top: 1.25rem;
        padding-bottom: 1.3rem;
    }
}
@media (max-width: 767.98px) {
    html.page-landing .landing-services-head .landing-headline {
        max-width: none;
    }
    html.page-landing .landing-service:hover,
    html.page-landing .landing-service:focus-within {
        padding-left: 0.85rem;
    }
    html.page-landing .landing-service-copy {
        font-size: 0.98rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-service,
    html.page-landing .landing-service::before {
        transition: none;
    }
}
html.page-landing .landing-section--packages {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 75% 50% at 12% 12%, rgba(13, 148, 136, 0.16), transparent 58%),
        radial-gradient(ellipse 55% 45% at 92% 8%, rgba(79, 70, 229, 0.1), transparent 52%),
        radial-gradient(ellipse 60% 40% at 70% 100%, rgba(14, 165, 233, 0.08), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
}
html.page-landing .landing-packages-intro .landing-headline {
    letter-spacing: -0.035em;
}
html.page-landing .landing-packages-intro {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
html.page-landing .landing-packages-lede {
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: none;
    width: 100%;
}
html.page-landing .landing-packages {
    display: grid;
    gap: 1.15rem;
    max-width: 48rem;
    width: 100%;
}
html.page-landing .landing-packages-footnote {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.75rem;
    font-size: 1.15rem;
    line-height: 1.5;
}
html.page-landing .landing-package {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 1.45rem 1.4rem 1.35rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition:
        border-color 0.25s var(--app-ease),
        box-shadow 0.25s var(--app-ease),
        transform 0.25s var(--app-ease);
}
html.page-landing .landing-package::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    background: linear-gradient(180deg, #94a3b8, #cbd5e1);
    opacity: 0.85;
}
html.page-landing .landing-package:hover {
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}
html.page-landing .landing-package.is-featured {
    border-color: rgba(13, 148, 136, 0.42);
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.14), transparent 42%),
        linear-gradient(165deg, #f0fdfa 0%, #ffffff 55%, #f8fafc 100%);
    box-shadow:
        0 0 0 1px rgba(13, 148, 136, 0.12),
        0 16px 40px rgba(13, 148, 136, 0.1);
}
html.page-landing .landing-package.is-featured::before {
    width: 0.35rem;
    background: linear-gradient(180deg, #14b8a6, #0d9488 55%, #4f46e5);
    opacity: 1;
}
html.page-landing .landing-package.is-featured:hover {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow:
        0 0 0 1px rgba(13, 148, 136, 0.18),
        0 22px 48px rgba(13, 148, 136, 0.14);
    transform: translateY(-6px);
}
html.page-landing .landing-package-top {
    display: grid;
    gap: 1.15rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
html.page-landing .landing-package-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.12);
}
html.page-landing .landing-package-badge--muted {
    color: #64748b;
    background: rgba(148, 163, 184, 0.16);
}
html.page-landing .landing-package-badge--custom {
    color: #4338ca;
    background: rgba(79, 70, 229, 0.12);
}
html.page-landing .landing-package.is-custom {
    border-color: rgba(79, 70, 229, 0.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.1), transparent 42%),
        linear-gradient(165deg, #eef2ff 0%, #ffffff 55%, #f8fafc 100%);
}
html.page-landing .landing-package.is-custom::before {
    width: 0.35rem;
    background: linear-gradient(180deg, #6366f1, #4f46e5 55%, #0d9488);
    opacity: 1;
}
html.page-landing .landing-package.is-custom .landing-package-price {
    font-size: clamp(2rem, 4vw, 2.55rem);
}
html.page-landing .landing-package-name {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.4vw, 1.7rem);
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.45rem;
}
html.page-landing .landing-package-blurb {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    max-width: 28rem;
}
html.page-landing .landing-package-price-block {
    align-self: start;
}
html.page-landing .landing-package-price {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.55rem);
    color: #0f172a;
    letter-spacing: -0.045em;
    line-height: 1;
    white-space: nowrap;
    margin: 0 0 0.4rem;
}
html.page-landing .landing-package-currency {
    display: inline-block;
    margin-right: 0.18em;
    font-size: 0.42em;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: 0.55em;
    color: #0d9488;
}
html.page-landing .landing-package.is-featured .landing-package-currency {
    color: #0f766e;
}
html.page-landing .landing-package-price-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #94a3b8;
}
html.page-landing .landing-package-features {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    display: grid;
    gap: 0.7rem;
}
html.page-landing .landing-package-features li {
    position: relative;
    padding-left: 1.55rem;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.45;
}
html.page-landing .landing-package-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #5eead4, transparent 55%),
        linear-gradient(145deg, #14b8a6, #0d9488);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
html.page-landing .landing-package-features li::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.55rem;
    width: 0.28rem;
    height: 0.45rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
html.page-landing .landing-package-services {
    margin: 0 0 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
html.page-landing .landing-package-services-toggle {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.45rem 0.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d9488;
    user-select: none;
    transition: color 0.15s ease;
}
html.page-landing .landing-package-services-toggle::-webkit-details-marker {
    display: none;
}
html.page-landing .landing-package-services-toggle::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -0.15rem;
}
html.page-landing .landing-package-services[open] .landing-package-services-toggle::after {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}
html.page-landing .landing-package-services-toggle:hover,
html.page-landing .landing-package-services-toggle:focus-visible {
    color: #0f766e;
    outline: none;
}
html.page-landing .landing-package.is-featured .landing-package-services-toggle,
html.page-landing .landing-package.is-invite .landing-package-services-toggle {
    color: #4f46e5;
}
html.page-landing .landing-package.is-featured .landing-package-services-toggle:hover,
html.page-landing .landing-package.is-featured .landing-package-services-toggle:focus-visible,
html.page-landing .landing-package.is-invite .landing-package-services-toggle:hover,
html.page-landing .landing-package.is-invite .landing-package-services-toggle:focus-visible {
    color: #3730a3;
}
html.page-landing .landing-package-services-label-open {
    display: none;
}
html.page-landing .landing-package-services[open] .landing-package-services-label-closed {
    display: none;
}
html.page-landing .landing-package-services[open] .landing-package-services-label-open {
    display: inline;
}
html.page-landing .landing-package-cta {
    align-self: stretch;
    margin-top: auto;
    min-height: 2.85rem;
}
@media (min-width: 768px) {
    html.page-landing .landing-packages-intro,
    html.page-landing .landing-packages,
    html.page-landing .landing-packages-footnote {
        max-width: 52rem;
    }
    html.page-landing .landing-packages {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem;
        align-items: stretch;
    }
    html.page-landing .landing-package {
        padding: 1.55rem 1.45rem 1.4rem;
    }
    html.page-landing .landing-package.is-featured {
        transform: translateY(-0.35rem);
    }
    html.page-landing .landing-package.is-featured:hover {
        transform: translateY(-0.55rem);
    }
    html.page-landing .landing-package-top {
        gap: 1.25rem;
    }
    html.page-landing .landing-package-blurb {
        min-height: 3rem;
    }
}
@media (min-width: 992px) {
    html.page-landing .landing-packages-intro,
    html.page-landing .landing-packages,
    html.page-landing .landing-packages-footnote {
        max-width: 54rem;
    }
    html.page-landing .landing-packages {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    html.page-landing .landing-package {
        padding: 1.75rem 1.55rem 1.5rem;
    }
    html.page-landing .landing-package.is-featured {
        transform: translateY(-0.25rem);
    }
    html.page-landing .landing-package-top {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.1rem;
    }
    html.page-landing .landing-package-price-block {
        text-align: left;
    }
}
@media (max-width: 767.98px) {
    html.page-landing #packages .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    html.page-landing .landing-packages-intro {
        text-align: left;
        margin-bottom: 1.35rem !important;
    }
    html.page-landing .landing-packages-lede {
        font-size: 1rem;
        line-height: 1.5;
    }
    html.page-landing .landing-packages {
        gap: 1rem;
    }
    html.page-landing .landing-package {
        padding: 1.2rem 1.1rem 1.2rem;
        border-radius: 1.15rem;
    }
    html.page-landing .landing-package:hover,
    html.page-landing .landing-package.is-featured,
    html.page-landing .landing-package.is-featured:hover {
        transform: none;
    }
    html.page-landing .landing-package-top {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    html.page-landing .landing-package-name {
        font-size: 1.4rem;
    }
    html.page-landing .landing-package-price {
        font-size: 2.15rem;
    }
    html.page-landing .landing-package-features {
        gap: 0.65rem;
        margin-bottom: 1.15rem;
    }
    html.page-landing .landing-package-features li {
        font-size: 0.98rem;
    }
    html.page-landing .landing-packages-footnote {
        margin-top: 1.35rem;
        text-align: left !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-package,
    html.page-landing .landing-package:hover,
    html.page-landing .landing-package.is-featured,
    html.page-landing .landing-package.is-featured:hover {
        transition: none;
        transform: none;
    }
}
html.page-landing .landing-about-panel {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(148, 163, 184, 0.22) !important;
    border-radius: 1.125rem;
    box-shadow: var(--app-shadow);
}
.card-header.bg-success.text-white {
    background: linear-gradient(118deg, #047857, #059669 42%, #10b981) !important;
    border: none;
}
.card-header.bg-secondary.text-white {
    background: linear-gradient(118deg, #1e293b, #334155 50%, #475569) !important;
    border: none;
}
.app-body {
    text-transform: none;
    letter-spacing: normal;
}
.app-footer {
    position: relative;
    z-index: 1;
    isolation: isolate;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    /* visible: Firefox scrolls focused inputs inside overflow:hidden and the footer jumps over the form */
    overflow: visible;
    margin-top: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(168deg, #0c1222 0%, #1e1b4b 38%, #172554 72%, #0f172a 100%);
    color: rgba(241, 245, 249, 0.92);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.15);
    /* Fixed px root so rem-scaled pages (desk, console) do not change footer size */
    font-size: 19px;
    line-height: 1.5;
    border-radius: 0;
}
@media (min-width: 768px) {
    .app-footer {
        font-size: 18.5px;
    }
    /* Keep subscription block at previous size */
    .app-footer .app-footer-newsletter {
        font-size: 19px;
    }
}
.app-footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6, #06b6d4, #4f46e5);
    background-size: 200% 100%;
    opacity: 0.95;
    animation: app-footer-shimmer 10s linear infinite;
    z-index: 2;
}
@keyframes app-footer-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .app-footer-accent {
        animation: none;
    }
}
.app-footer::after {
    content: "";
    position: absolute;
    width: min(22rem, 70vw);
    height: min(14rem, 45%);
    right: max(-2rem, -8vw);
    bottom: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.app-footer .container.app-footer-inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(2.1rem, 5.5vw, 3.5rem);
    padding-bottom: clamp(2.1rem, 5.5vw, 3.5rem);
}
.app-footer .row > [class*="col-"] {
    min-width: 0;
}
.form-hp {
    display: none !important;
}
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
    width: 100%;
}
.footer-nav-block {
    min-width: 0;
}
.footer-nav-block--legal {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
    }
    .footer-nav-block--legal {
        grid-column: auto;
    }
}
@media (max-width: 767.98px) {
    .footer-top-row {
        display: flex;
        flex-direction: column;
    }
    .footer-brand-col {
        order: 1;
    }
    .footer-nav-col {
        order: 2;
    }
    .footer-cta-col {
        order: 3;
    }
    .footer-cta-col .footer-heading {
        margin-bottom: 0.75rem;
    }
    .footer-cta-col .btn-footer-cta {
        width: 100%;
        max-width: 20rem;
    }
    .footer-nav-block--legal .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem 1rem;
    }
    .footer-nav-block--legal .footer-links li {
        margin-bottom: 0 !important;
    }
}
.footer-brand {
    font-family: var(--app-display);
    font-size: 1.45em;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
}
.footer-heading {
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 1em;
}
.text-footer-muted {
    color: rgba(203, 213, 225, 0.78) !important;
}
.footer-text {
    font-size: 1.02em;
    line-height: 1.55;
}
.footer-links {
    font-size: 1.05em;
    line-height: 1.6;
}
.footer-links a {
    color: rgba(226, 232, 240, 0.92);
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.footer-links a:hover {
    color: #fff;
}
@media (max-width: 991.98px) {
    .app-footer .footer-links a {
        /* em (not rem) so footer stays at its fixed 19px root on mobile */
        font-size: 0.92em;
        line-height: 1.35;
    }
    .app-footer .footer-heading {
        margin-bottom: 0.65rem;
    }
}
.btn-footer-cta {
    --bs-btn-color: #0f172a;
    --bs-btn-bg: #e0e7ff;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-color: #312e81;
    --bs-btn-hover-border-color: transparent;
    background: #e0e7ff !important;
    color: #0f172a !important;
    border: 2px solid transparent !important;
    font-weight: 650;
    font-size: var(--app-btn-fs);
    padding: 0 1.15rem;
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    border-radius: var(--app-btn-radius) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.btn-footer-cta:hover,
.btn-footer-cta:focus,
.btn-footer-cta:focus-visible {
    background: #ffffff !important;
    color: #312e81 !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.app-footer .btn-footer-cta:not(.app-footer-newsletter-btn) {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    font-size: 1.05rem !important;
}
.app-footer .premium-chip {
    border-color: rgba(165, 180, 252, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    box-shadow: none;
}
.app-footer-newsletter {
    /* Use px so desk/console rem scaling does not blow up footer fields */
    --footer-nl-h: 52px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem 1.75rem;
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0;
    padding: 1.35rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    scroll-margin-top: 5.5rem;
    position: relative;
    z-index: 1;
}
.app-footer-newsletter-copy {
    flex: 1 1 14rem;
    max-width: 28rem;
}
.app-footer-newsletter-form {
    flex: 1 1 22rem;
    max-width: 36rem;
    width: 100%;
    position: static;
    z-index: 1;
}
.app-footer-newsletter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
    gap: 0.65rem;
    align-items: stretch;
    width: 100%;
}
.app-footer .app-footer-newsletter-input.form-control,
.app-footer .app-footer-newsletter-input {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: var(--footer-nl-h) !important;
    min-height: var(--footer-nl-h) !important;
    max-height: var(--footer-nl-h) !important;
    margin: 0;
    border: 2px solid rgba(148, 163, 184, 0.55) !important;
    background-color: rgba(15, 23, 42, 0.55) !important;
    background-image: none !important;
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc;
    caret-color: #f8fafc;
    border-radius: var(--app-control-radius);
    padding: 0 0.95rem;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.25;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22) !important;
    box-sizing: border-box;
    vertical-align: middle;
    overflow: hidden;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease), background-color 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.app-footer .app-footer-newsletter-input--name {
    text-transform: capitalize;
}
.app-footer .app-footer-newsletter-input::placeholder {
    color: rgba(203, 213, 225, 0.88) !important;
    -webkit-text-fill-color: rgba(203, 213, 225, 0.88);
    text-transform: none;
    opacity: 1; /* Firefox */
}
.app-footer .app-footer-newsletter-input:focus {
    border-color: rgba(165, 180, 252, 0.9) !important;
    background-color: rgba(15, 23, 42, 0.72) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
    outline: none;
}
.app-footer .app-footer-newsletter-input:-webkit-autofill,
.app-footer .app-footer-newsletter-input:-webkit-autofill:hover,
.app-footer .app-footer-newsletter-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc !important;
    caret-color: #f8fafc;
    box-shadow: 0 0 0 52px rgba(15, 23, 42, 0.72) inset !important;
    transition: background-color 99999s ease-out;
}
.app-footer .app-footer-newsletter-input:-moz-autofill,
.app-footer .app-footer-newsletter-input:-moz-autofill-preview {
    filter: none;
    background-color: rgba(15, 23, 42, 0.72) !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}
.app-footer .btn.btn-footer-cta.app-footer-newsletter-btn,
.app-footer button.app-footer-newsletter-btn,
.app-footer-newsletter-btn {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-font-size: 1.1rem;
    --bs-btn-line-height: 1;
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    white-space: nowrap;
    border-radius: var(--app-control-radius) !important;
    width: auto;
    height: var(--footer-nl-h) !important;
    min-height: var(--footer-nl-h) !important;
    max-height: var(--footer-nl-h) !important;
    margin: 0 !important;
    padding: 0 1.15rem !important;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 650;
    line-height: 1 !important;
    border: 2px solid transparent !important;
    background: #e0e7ff !important;
    color: #0f172a !important;
    box-sizing: border-box;
    vertical-align: middle;
    /* Flat match with fields so edges line up */
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.app-footer .btn.btn-footer-cta.app-footer-newsletter-btn:hover,
.app-footer button.app-footer-newsletter-btn:hover,
.app-footer-newsletter-btn:hover {
    background: #ffffff !important;
    color: #312e81 !important;
    box-shadow: none;
}
@media (max-width: 767.98px) {
    .app-footer-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .app-footer-newsletter-copy,
    .app-footer-newsletter-form {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
    }
    .app-footer-newsletter-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .app-footer .app-footer-newsletter-input.form-control,
    .app-footer .app-footer-newsletter-input,
    .app-footer .btn.btn-footer-cta.app-footer-newsletter-btn,
    .app-footer button.app-footer-newsletter-btn,
    .app-footer-newsletter-btn {
        width: 100%;
        height: var(--footer-nl-h) !important;
        min-height: var(--footer-nl-h) !important;
        max-height: var(--footer-nl-h) !important;
        font-size: 18px !important;
    }
    /* Keep Subscribe clear of the fixed WhatsApp button */
    .app-footer .container.app-footer-inner {
        padding-bottom: calc(clamp(2.1rem, 5.5vw, 3.5rem) + 3.75rem);
    }
}
.app-footer-bottom {
    position: relative;
    z-index: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 0.98em;
}
.app-footer-bottom a {
    color: #c7d2fe;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(199, 210, 254, 0.45);
}
.app-footer-bottom a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.footer-product-credit {
    text-wrap: balance;
}
/* Same homepage footer on every page (desk, console, auth, staff) */
html.page-guests-desk .app-footer,
html.page-admin-console .app-footer,
html.page-staff-platform .app-footer,
html.page-auth-organiser .app-footer,
html.page-auth-staff .app-footer,
html.page-auth .app-footer,
html.page-landing .app-footer {
    font-size: 19px;
    margin-top: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 768px) {
    html.page-guests-desk .app-footer,
    html.page-admin-console .app-footer,
    html.page-staff-platform .app-footer,
    html.page-auth-organiser .app-footer,
    html.page-auth-staff .app-footer,
    html.page-auth .app-footer,
    html.page-landing .app-footer {
        font-size: 18.5px;
    }
    html.page-guests-desk .app-footer .app-footer-newsletter,
    html.page-admin-console .app-footer .app-footer-newsletter,
    html.page-staff-platform .app-footer .app-footer-newsletter,
    html.page-auth-organiser .app-footer .app-footer-newsletter,
    html.page-auth-staff .app-footer .app-footer-newsletter,
    html.page-auth .app-footer .app-footer-newsletter,
    html.page-landing .app-footer .app-footer-newsletter {
        font-size: 19px;
    }
}
html.page-guests-desk .app-footer .btn,
html.page-admin-console .app-footer .btn {
    font-size: 1.02em;
}
/* Staff site / pricing settings */
.platform-setting {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}
.platform-setting-hero .h3,
.platform-page-hero .h3 {
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.platform-page-hero {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 0% 0%, rgba(13, 148, 136, 0.12), transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.1), transparent 42%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88));
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    padding: clamp(1.15rem, 3vw, 1.75rem);
}
.platform-panel {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
}
.platform-panel-head {
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.platform-panel-body {
    padding: 1.25rem 1.35rem 1.5rem;
}
.organiser-event-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.08), transparent 42%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.organiser-event-tile:hover {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.organiser-event-tile.is-current {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 14px 36px rgba(79, 70, 229, 0.12);
}
.organiser-event-tile.is-unpaid {
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.1), transparent 42%),
        linear-gradient(165deg, #ffffff 0%, #fffbeb 100%);
}
.organiser-event-tile.is-suspended {
    background:
        radial-gradient(circle at 100% 0%, rgba(100, 116, 139, 0.12), transparent 42%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0.92;
}
.organiser-event-tile-key {
    font-family: var(--app-display);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}
.organiser-event-tile-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.organiser-event-package-badge {
    font-weight: 700;
    border: 1px solid transparent;
}
.organiser-event-package-badge--basic {
    color: #334155 !important;
    background: #e2e8f0 !important;
    border-color: rgba(100, 116, 139, 0.35) !important;
}
.organiser-event-package-badge--pro {
    color: #0f766e !important;
    background: #ccfbf1 !important;
    border-color: rgba(13, 148, 136, 0.35) !important;
}
.organiser-event-package-badge--invite {
    color: #9a3412 !important;
    background: #ffedd5 !important;
    border-color: rgba(234, 88, 12, 0.35) !important;
}
.organiser-event-package-badge--custom {
    color: #1e3a5f !important;
    background: #dbeafe !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}
.organiser-event-tile-meta {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}
.organiser-event-tile-credits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.95rem;
}
.organiser-event-tile-credits.is-both {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.organiser-event-credit {
    position: relative;
    padding: 0.7rem 0.75rem 0.7rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.05) 0%, transparent 48%),
        #fff;
    overflow: hidden;
}
.organiser-event-credit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2563eb;
}
.organiser-event-credit--email {
    border-color: rgba(13, 148, 136, 0.16);
    background:
        linear-gradient(145deg, rgba(13, 148, 136, 0.06) 0%, transparent 48%),
        #fff;
}
.organiser-event-credit--email::before {
    background: #0d9488;
}
.organiser-event-credit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.28rem;
}
.organiser-event-credit-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1d4ed8;
    line-height: 1.2;
}
.organiser-event-credit--email .organiser-event-credit-label {
    color: #0f766e;
}
.organiser-event-credit-chip {
    font-size: 0.65rem;
    font-weight: 650;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.12rem 0.4rem;
    line-height: 1.2;
    white-space: nowrap;
}
.organiser-event-credit-value {
    display: flex;
    align-items: baseline;
    gap: 0.28rem;
    margin-bottom: 0.42rem !important;
}
.organiser-event-credit-left {
    font-family: var(--app-display);
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
}
.organiser-event-credit-unit {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}
.organiser-event-credit-track {
    height: 0.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.32rem;
}
.organiser-event-credit-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 100%);
}
.organiser-event-credit--email .organiser-event-credit-fill {
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
}
.organiser-event-credit-meta {
    font-size: 0.7rem;
    font-weight: 550;
    color: #64748b;
    line-height: 1.2;
}
.organiser-event-tile-actions {
    margin-top: auto;
    padding-top: 1.15rem;
}
.organiser-events-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: #64748b;
}
.organiser-events-grid--one .organiser-event-tile,
.organiser-events-grid--two .organiser-event-tile,
.organiser-events-grid--three .organiser-event-tile {
    height: 100%;
}
.organiser-pay-panel .platform-panel-body {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
}
.organiser-pay-event {
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(217, 119, 6, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.1), transparent 48%),
        linear-gradient(165deg, #ffffff 0%, #fffbeb 100%);
}
.organiser-pay-event-key {
    font-family: var(--app-display);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
    margin: 0;
}
.organiser-pay-event-meta {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}
.organiser-pay-price {
    text-align: center;
    padding: 1.35rem 1rem 1.2rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.1), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.organiser-pay-price-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.organiser-pay-price-amount {
    font-family: var(--app-display);
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1.1;
}
.organiser-pay-currency {
    display: inline-block;
    margin-right: 0.2em;
    font-size: 0.48em;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: 0.35em;
    color: #0d9488;
}
.organiser-pay-price-note {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    color: #64748b;
}
.organiser-pay-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.organiser-pay-perks li {
    position: relative;
    padding-left: 1.55rem;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.4;
}
.organiser-pay-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
.organiser-packages {
    display: grid;
    gap: 0.85rem;
}
.organiser-package {
    display: block;
    margin: 0;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.organiser-package:hover {
    border-color: rgba(13, 148, 136, 0.45);
}
.organiser-package.is-selected {
    border-color: rgba(13, 148, 136, 0.75);
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.1), transparent 50%),
        linear-gradient(180deg, #f0fdfa 0%, #ffffff 70%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.organiser-package-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.organiser-package-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}
.organiser-packages--compact .organiser-package {
    padding: 0.85rem 1rem;
}
.organiser-packages--compact .organiser-package-top {
    margin-bottom: 0;
    align-items: center;
}
.organiser-package-name {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.organiser-package-blurb {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}
.organiser-package-price {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #0d9488;
    white-space: nowrap;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.organiser-packages--compact .organiser-package-name,
.organiser-packages--compact .organiser-package-price {
    font-size: 1.28rem;
}
.organiser-package-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.organiser-package-features li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.45;
}
.organiser-package-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #0d9488;
}
.platform-panel--danger {
    border-color: rgba(220, 38, 38, 0.28);
    background: linear-gradient(165deg, #fff 0%, #fef2f2 100%);
}
.platform-panel--danger .platform-panel-head {
    background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}
.platform-panel-table > :not(caption) > * > * {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}
.platform-inbox-message {
    max-width: 28rem;
    max-height: 8rem;
    overflow-y: auto;
    white-space: pre-wrap;
}
.platform-selected-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}
.platform-selected-chip-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}
.platform-stat {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(155deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.platform-stat--success {
    border-left: 3px solid #10b981;
}
.platform-stat--info {
    border-left: 3px solid #0ea5e9;
}
.platform-stat--warn {
    border-left: 3px solid #f59e0b;
}
.message-credits-head {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
}
@media (min-width: 768px) {
    .message-credits-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.message-credits-head-copy {
    min-width: 0;
}
.message-credits-topup-btn {
    flex: 0 0 auto;
    align-self: flex-start;
    min-height: 2.35rem;
    padding: 0.4rem 1rem;
    font-weight: 650;
    border-radius: 0.65rem;
}
@media (min-width: 768px) {
    .message-credits-topup-btn {
        align-self: center;
    }
}
.message-credits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
@media (min-width: 700px) {
    .message-credits-grid.is-both {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.message-credit-meter {
    position: relative;
    padding: 1.05rem 1.15rem 1.1rem 1.25rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.05) 0%, transparent 42%),
        #fff;
    overflow: hidden;
}
.message-credit-meter::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2563eb;
}
.message-credit-meter--email {
    border-color: rgba(13, 148, 136, 0.16);
    background:
        linear-gradient(145deg, rgba(13, 148, 136, 0.06) 0%, transparent 42%),
        #fff;
}
.message-credit-meter--email::before {
    background: #0d9488;
}
.message-credit-meter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}
.message-credit-meter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1d4ed8;
}
.message-credit-meter--email .message-credit-meter-label {
    color: #0f766e;
}
.message-credit-meter-chip {
    font-size: 0.88rem;
    font-weight: 650;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    line-height: 1.2;
}
.message-credit-meter-value {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.7rem !important;
}
.message-credit-meter-left {
    font-family: var(--app-display);
    font-size: clamp(1.45rem, 1.25rem + 0.85vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
}
.message-credit-meter-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
}
.message-credit-meter-track {
    height: 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.45rem;
}
.message-credit-meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 100%);
    transition: width 0.35s ease;
}
.message-credit-meter--email .message-credit-meter-fill {
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
}
.message-credit-meter-meta {
    font-size: 0.8rem;
    font-weight: 550;
    color: #64748b;
}
.message-credits-topup-lede {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.45;
}
.message-credits-topup-group + .message-credits-topup-group {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.message-credits-topup-group-title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
}
.message-credits-topup-list {
    display: grid;
    gap: 0.5rem;
}
.message-credits-topup-form {
    margin: 0;
}
.message-credits-topup-pack {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: linear-gradient(145deg, #f8fbff 0%, #fff 100%);
    color: #0f172a;
    font-weight: 650;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.message-credits-topup-pack--email {
    border-color: rgba(13, 148, 136, 0.2);
    background: linear-gradient(145deg, #f0fdfa 0%, #fff 100%);
}
.message-credits-topup-pack:hover,
.message-credits-topup-pack:focus-visible {
    border-color: rgba(37, 99, 235, 0.4);
    background: #eff6ff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
    outline: none;
}
.message-credits-topup-pack--email:hover,
.message-credits-topup-pack--email:focus-visible {
    border-color: rgba(13, 148, 136, 0.4);
    background: #ecfdf5;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.08);
}
.message-credits-topup-pack-credits {
    font-size: 0.98rem;
}
.message-credits-topup-pack-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1d4ed8;
    white-space: nowrap;
}
.message-credits-topup-pack--email .message-credits-topup-pack-price {
    color: #0f766e;
}
html.page-console-organiser .message-credits-topup-btn {
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
}
html.page-console-organiser .message-credits-topup-btn:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
}

.platform-panel-head--success {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
    border-bottom-color: rgba(16, 185, 129, 0.22);
}
.platform-panel-head--warn {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border-bottom-color: rgba(245, 158, 11, 0.28);
}
.org-dashboard-scroll {
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/legacy Edge */
}
.org-dashboard-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome, Safari, Edge */
}
.platform-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.platform-stat-value {
    font-family: var(--app-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.platform-dash-link {
    height: 100%;
    padding: 1.25rem 1.35rem;
    border-radius: 1.125rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.platform-dash-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 148, 136, 0.35);
}
.platform-dash-link-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}
.platform-dash-link--teal { background: linear-gradient(155deg, #fff 0%, #f0fdfa 100%); }
.platform-dash-link--green { background: linear-gradient(155deg, #fff 0%, #f0fdf4 100%); }
.platform-dash-link--sky { background: linear-gradient(155deg, #fff 0%, #f0f9ff 100%); }
.platform-dash-link--slate { background: linear-gradient(155deg, #fff 0%, #f8fafc 100%); }
.platform-dash-link--indigo { background: linear-gradient(155deg, #fff 0%, #eef2ff 100%); }
.platform-dash-link--amber { background: linear-gradient(155deg, #fff 0%, #fffbeb 100%); }
@media (prefers-reduced-motion: reduce) {
    .platform-dash-link:hover {
        transform: none;
    }
}
.platform-setting-panel {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.04);
}
.platform-setting-stage {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.platform-setting-stage--brand {
    background:
        radial-gradient(ellipse 80% 70% at 10% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 60% at 100% 20%, rgba(14, 165, 233, 0.12), transparent 50%),
        linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
}
.platform-setting-stage--price {
    background:
        radial-gradient(ellipse 75% 65% at 90% 0%, rgba(5, 150, 105, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 30%, rgba(14, 165, 233, 0.1), transparent 50%),
        linear-gradient(165deg, #f0fdf4 0%, #f8fafc 55%, #eef2f7 100%);
}
.platform-setting-stage-label {
    margin: 0 0 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}
.platform-setting-stage-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}
.platform-setting-nav-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0.95rem 1.15rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    text-align: left;
}
.platform-setting-nav-brand {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    letter-spacing: -0.03em;
    color: #0f172a;
    word-break: break-word;
    line-height: 1.2;
}
.platform-setting-nav-links {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}
.platform-setting-nav-links span {
    display: block;
    width: 1.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
}
.platform-setting-price {
    margin: 0;
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1.05;
    word-break: break-word;
}
.platform-setting-price-cur {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    vertical-align: 0.35em;
    color: #047857;
    letter-spacing: 0.04em;
}
.platform-setting-price-amt {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
}
.platform-setting-form {
    padding: clamp(1.35rem, 3.5vw, 2rem);
    background: #fff;
}
.platform-settings-form .platform-settings-field,
.platform-settings-form .platform-settings-btn {
    min-height: 3.25rem;
    height: 3.25rem;
    border-radius: var(--app-radius-sm) !important;
    font-size: 1.0625rem;
    box-sizing: border-box;
}
.platform-settings-form .platform-settings-field {
    font-weight: 400;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
}
.platform-settings-form .platform-settings-btn {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.2;
}
/* Legacy brand card bits still referenced elsewhere */
.admin-brand-settings {
    overflow: hidden;
    border-radius: 1.125rem !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
.admin-brand-settings-top {
    height: 4px;
    background: linear-gradient(90deg, #0d9488, #0ea5e9, #4f46e5);
    opacity: 0.95;
}
.admin-brand-settings-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--app-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0d9488 50%, #0ea5e9);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}
.admin-brand-settings-list li {
    position: relative;
    padding-left: 1.35rem;
}
.admin-brand-settings-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #0d9488, #0ea5e9);
}
.admin-brand-preview-box {
    border: 1px dashed rgba(100, 116, 139, 0.45);
    background: rgba(255, 255, 255, 0.85);
}
.admin-brand-preview-text {
    font-family: var(--app-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    word-break: break-word;
}
/* Staff vs event organiser console */
html.page-console-staff .navbar.app-navbar {
    border-bottom: 3px solid #c2410c !important;
}
html.page-console-organiser .navbar.app-navbar {
    border-bottom: 3px solid #4f46e5 !important;
}
.navbar.app-navbar .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.12);
    background: #fff;
}
.navbar.app-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
.navbar.app-navbar.app-navbar--organiser-console .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.12);
    background: #fff;
}
.navbar.app-navbar.app-navbar--organiser-console .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
html.page-console-staff .navbar.app-navbar.app-navbar--organiser-console .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.22);
}
.navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner {
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}
@media (min-width: 992px) {
    .navbar.app-navbar.app-navbar--organiser-console .organiser-console-nav-inner {
        border-top: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        width: auto !important;
    }
}
.navbar.app-navbar--organiser-console .organiser-console-nav-inner .nav-link.active {
    font-weight: 600;
    color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.14);
    border-radius: 50rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}
.navbar.app-navbar--organiser-console .organiser-console-nav-inner .nav-link.active:active {
    background-color: rgba(79, 70, 229, 0.24) !important;
    color: #3730a3 !important;
}
html.page-console-staff .navbar.app-navbar--organiser-console .organiser-console-nav-inner .nav-link.active {
    color: #c2410c !important;
    background-color: rgba(194, 65, 12, 0.14);
}
html.page-console-staff .navbar.app-navbar--organiser-console .organiser-console-nav-inner .nav-link.active:active {
    background-color: rgba(194, 65, 12, 0.26) !important;
    color: #9a3412 !important;
}
.staff-platform-toolbar .btn-outline-secondary:active,
.staff-platform-toolbar .btn-primary:active {
    transform: scale(0.98);
}
.navbar-console-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 0.35rem 0.65rem;
    border-radius: 50rem;
    white-space: nowrap;
}
.navbar-console-badge--staff {
    color: #7c2d12;
    background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
    border: 1px solid rgba(194, 65, 12, 0.35);
}
.navbar-console-badge--organiser {
    color: #312e81;
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.35);
}
html.page-staff-platform .app-navbar--staff-platform {
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 10px 32px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px) saturate(1.45);
    -webkit-backdrop-filter: blur(18px) saturate(1.45);
    font-size: 19px;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
html.page-staff-platform .staff-platform-toolbar {
    flex: 1 1 auto;
    min-width: 0;
}
@media (min-width: 992px) {
    html.page-staff-platform .staff-platform-toolbar {
        justify-content: flex-end !important;
    }
}
html.page-staff-platform .app-navbar--staff-platform .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.1);
    background: #fff;
    border-radius: 0.65rem;
}
html.page-staff-platform .app-navbar--staff-platform .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}
@media (min-width: 992px) {
    html.page-staff-platform .staff-platform-toolbar-inner {
        border-top: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

.staff-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}
@media (min-width: 992px) {
    .staff-nav {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }
}
.staff-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.18);
}
@media (max-width: 991.98px) {
    .staff-nav-links {
        flex-direction: column;
        border-radius: 0.85rem;
        gap: 0.15rem;
    }
}
.staff-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: 0;
    background: transparent;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.staff-nav-link:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.8);
}
.staff-nav-link.is-active {
    color: #312e81;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.staff-nav-link--logout {
    color: #b91c1c;
    margin-left: 0.15rem;
}
.staff-nav-link--logout:hover {
    color: #991b1b;
    background: #fef2f2;
}
@media (max-width: 991.98px) {
    .staff-nav-link--logout {
        margin-left: 0;
        margin-top: 0.2rem;
    }
}

html.page-staff-platform {
    font-size: 20.5px;
}
@media (min-width: 768px) {
    html.page-staff-platform {
        font-size: 21px;
    }
}
html.page-staff-platform body.app-body,
html.page-admin-console.page-staff-platform body.app-body {
    background-color: #f1f5f9;
    background-image:
        radial-gradient(ellipse 110% 90% at -5% -15%, rgba(99, 102, 241, 0.28), transparent 52%),
        radial-gradient(ellipse 95% 75% at 105% -5%, rgba(167, 139, 250, 0.22), transparent 48%),
        radial-gradient(ellipse 70% 55% at 80% 100%, rgba(14, 165, 233, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 45% at 15% 95%, rgba(45, 212, 191, 0.12), transparent 50%),
        linear-gradient(168deg, #f8fafc 0%, #f1f5f9 42%, #eef2ff 100%);
    background-attachment: fixed;
    font-family: var(--app-font);
    font-size: 1.125rem;
    color: #334155;
}
html.page-staff-platform main.app-console-main {
    padding-top: 0.85rem;
    font-size: 1.125rem;
}
/* Uniform form controls across the staff console (buttons stay compact) */
html.page-staff-platform {
    --staff-field-fs: 1rem;
    --staff-field-h: var(--app-control-h);
    --staff-field-py: 0;
    --staff-field-px: var(--app-control-px);
    --staff-field-radius: var(--app-control-radius);
    --staff-btn-fs: 0.98rem;
    --staff-btn-h: 2.35rem;
    --staff-btn-py: 0.35rem;
    --staff-btn-radius: var(--app-control-radius);
}
html.page-staff-platform .form-control,
html.page-staff-platform .form-select,
html.page-staff-platform .form-control-sm,
html.page-staff-platform .form-select-sm,
html.page-staff-platform .form-control-lg,
html.page-staff-platform .form-select-lg {
    font-size: var(--staff-field-fs) !important;
    font-weight: 400;
    min-height: var(--staff-field-h);
    height: var(--staff-field-h);
    padding: var(--staff-field-py) var(--staff-field-px);
    line-height: 1.25;
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--staff-field-radius);
    box-shadow: var(--app-control-shadow);
}
html.page-staff-platform .form-control:focus,
html.page-staff-platform .form-select:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
html.page-staff-platform select.form-select,
html.page-staff-platform select.form-select-sm,
html.page-staff-platform select.form-select-lg {
    padding-right: 1.85rem;
}
html.page-staff-platform textarea.form-control {
    height: auto;
    min-height: 6rem;
    padding: 0.55rem 0.8rem;
}
html.page-staff-platform .form-label {
    font-size: var(--staff-field-fs);
    font-weight: 650;
    margin-bottom: 0.32rem;
}
html.page-staff-platform .form-text {
    font-size: 0.8rem;
}
html.page-staff-platform .modal .btn:not(.btn-close),
html.page-staff-platform .staff-customers-search .btn,
html.page-staff-platform .staff-pricing-actions .btn,
html.page-staff-platform .staff-danger-fields .btn {
    font-size: var(--staff-btn-fs);
    min-height: var(--staff-btn-h);
    height: var(--staff-btn-h);
    padding: var(--staff-btn-py) 0.85rem;
    line-height: 1.25;
    border-radius: var(--staff-btn-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
html.page-staff-platform .staff-danger-fields .form-control {
    font-size: var(--staff-btn-fs) !important;
    min-height: var(--staff-btn-h);
    height: var(--staff-btn-h);
    padding: var(--staff-btn-py) var(--staff-field-px);
    line-height: 1.25;
    border-radius: var(--staff-btn-radius);
}
html.page-staff-platform .platform-page,
html.page-staff-platform .staff-home,
html.page-staff-platform .platform-setting {
    max-width: 100%;
}
html.page-staff-platform .premium-eyebrow {
    display: none;
}
html.page-staff-platform .platform-page-hero,
html.page-staff-platform .platform-setting-hero,
html.page-staff-platform .staff-ui-hero,
html.page-staff-platform .staff-customers-hero,
html.page-staff-platform .staff-pricing-hero,
html.page-staff-platform .staff-site-hero,
html.page-staff-platform .staff-home > .platform-page-hero {
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 1.15rem;
    margin-bottom: 1.35rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
html.page-staff-platform .platform-setting-hero {
    text-align: left !important;
}
html.page-staff-platform .platform-page-hero .h3,
html.page-staff-platform .platform-setting-hero .h3,
html.page-staff-platform .staff-ui-title,
html.page-staff-platform .staff-customers-title,
html.page-staff-platform .staff-pricing-title,
html.page-staff-platform .staff-site-title {
    font-family: var(--app-display);
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
    margin-bottom: 0.3rem;
}
html.page-staff-platform .platform-page-hero .text-muted,
html.page-staff-platform .platform-setting-hero .text-muted,
html.page-staff-platform .staff-ui-lede,
html.page-staff-platform .staff-site-lede {
    max-width: 38rem;
    font-size: 1.1rem;
    color: #64748b;
}
html.page-staff-platform .platform-panel,
html.page-staff-platform .platform-setting-panel,
html.page-staff-platform .staff-section,
html.page-staff-platform .staff-ui-panel {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
html.page-staff-platform .platform-panel-head,
html.page-staff-platform .staff-ui-panel-head {
    padding: 0.95rem 1.15rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, #fff 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
html.page-staff-platform .platform-panel-head .h6,
html.page-staff-platform .staff-ui-panel-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
}
html.page-staff-platform .platform-stat,
html.page-staff-platform .platform-dash-link {
    display: none;
}
html.page-staff-platform .platform-panel-table thead th {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #f8fafc !important;
    border-bottom-color: rgba(148, 163, 184, 0.18);
    color: #64748b;
    font-weight: 700;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
html.page-staff-platform .platform-panel-table tbody td {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    vertical-align: middle;
    border-color: rgba(148, 163, 184, 0.12);
    font-size: 1.05rem;
}
html.page-staff-platform .platform-panel-table .btn-sm {
    font-size: 0.95rem;
    border-radius: 0.5rem;
}
html.page-staff-platform .platform-setting {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
html.page-staff-platform .platform-setting-stage {
    display: none;
}
html.page-staff-platform .platform-setting-form {
    padding: 1.2rem 1.25rem 1.4rem;
}
html.page-staff-platform .platform-settings-form .platform-settings-field {
    font-size: var(--staff-field-fs);
}
html.page-staff-platform .platform-settings-form .platform-settings-btn {
    width: auto;
    min-width: 7rem;
    min-height: var(--staff-btn-h);
    height: var(--staff-btn-h);
    padding: var(--staff-btn-py) 0.85rem;
    border-radius: var(--staff-btn-radius);
    font-size: var(--staff-btn-fs);
}
html.page-staff-platform .platform-selected-chip {
    font-size: 0.95rem;
}
html.page-staff-platform .console-actions .btn {
    font-size: var(--staff-btn-fs);
    min-height: var(--staff-btn-h);
    height: var(--staff-btn-h);
    padding: var(--staff-btn-py) 0.9rem;
    border-radius: var(--staff-btn-radius);
}
html.page-staff-platform .staff-nav-link {
    min-height: 2.25rem;
    padding: 0.35rem 0.9rem;
    font-size: 1.05em;
}
html.page-staff-platform .app-navbar--staff-platform .navbar-brand {
    font-family: var(--app-display);
    font-size: 1.75em;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(115deg, #0f172a 0%, #312e81 55%, #0f766e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html.page-staff-platform .navbar-console-badge--staff {
    font-size: 0.68em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
    border: 0;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
}

.staff-home-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .staff-home-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1100px) {
    .staff-home-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
.staff-home-stat {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.staff-home-stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}
.staff-home-stat.is-warn {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(165deg, #fffbeb, #fff);
}
.staff-home-stat.is-info {
    border-color: rgba(79, 70, 229, 0.25);
    background: linear-gradient(165deg, #eef2ff, #fff);
}
.staff-home-stat-value {
    display: block;
    font-family: var(--app-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
    line-height: 1.1;
}
.staff-home-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}
.staff-home-actions {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .staff-home-actions {
        grid-template-columns: 1fr 1fr;
    }
}
.staff-home-action {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.staff-home-action:hover {
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.08);
    color: inherit;
}
.staff-home-action strong {
    font-size: 1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.staff-home-action span {
    font-size: 0.88rem;
    color: #64748b;
}

/* Staff dashboard redesign */
.staff-dash-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 0 0 1.25rem;
    margin-bottom: 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.staff-dash-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
}
.staff-dash-title {
    font-family: var(--app-display);
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
    margin: 0 0 0.35rem;
}
.staff-dash-lede {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 36rem;
}
.staff-dash-hero-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 6.5rem;
}
.staff-dash-hero-aside-value {
    font-family: var(--app-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
}
.staff-dash-hero-aside-label {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}
.staff-dash-board {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
    .staff-dash-board {
        grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.6fr);
        align-items: stretch;
    }
}
.staff-dash-lead {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 1.35rem 1.25rem;
    border-radius: 1.1rem;
    text-decoration: none;
    color: #fff;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(45, 212, 191, 0.35), transparent 55%),
        linear-gradient(145deg, #0f766e 0%, #0d9488 48%, #0e7490 100%);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.staff-dash-lead:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(13, 148, 136, 0.28);
}
.staff-dash-lead-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}
.staff-dash-lead-value {
    font-family: var(--app-display);
    font-size: clamp(2.4rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
}
.staff-dash-lead-hint {
    font-size: 0.88rem;
    opacity: 0.88;
    max-width: 14rem;
    line-height: 1.35;
}
.staff-dash-pulse {
    padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}
.staff-dash-pulse-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 0.85rem;
}
.staff-dash-pulse-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-dash-pulse-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}
.staff-dash-bar {
    display: flex;
    height: 0.65rem;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 1rem;
}
.staff-dash-bar-empty {
    flex: 1;
    background: #e2e8f0;
}
.staff-dash-bar-seg.is-ok {
    background: #10b981;
}
.staff-dash-bar-seg.is-partial {
    background: #0d9488;
}
.staff-dash-bar-seg.is-warn {
    background: #f59e0b;
}
.staff-dash-bar-seg.is-starter {
    background: #64748b;
}
.staff-dash-pulse-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
@media (min-width: 640px) {
    .staff-dash-pulse-metrics--status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}
.staff-dash-pulse-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.staff-dash-pulse-metric:hover {
    border-color: rgba(13, 148, 136, 0.35);
    background: #fff;
    color: inherit;
}
.staff-dash-pulse-metric-value {
    font-family: var(--app-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}
.staff-dash-pulse-metric-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}
.staff-dash-pulse-metric.is-ok .staff-dash-pulse-metric-value {
    color: #047857;
}
.staff-dash-pulse-metric.is-warn {
    border-color: rgba(245, 158, 11, 0.35);
    background: #fffbeb;
}
.staff-dash-pulse-metric.is-warn:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: #fff7ed;
}
.staff-dash-pulse-metric.is-warn .staff-dash-pulse-metric-value {
    color: #b45309;
}
.staff-dash-section-title {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}
.staff-dash-attention {
    margin-bottom: 1.5rem;
}
.staff-dash-attention-list {
    display: grid;
    gap: 0.65rem;
}
@media (min-width: 768px) {
    .staff-dash-attention-list {
        grid-template-columns: 1fr 1fr;
    }
}
.staff-dash-attention-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.05rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.staff-dash-attention-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    color: inherit;
}
.staff-dash-attention-item.is-warn {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(165deg, #fffbeb, #fff);
}
.staff-dash-attention-item.is-partial {
    border-color: rgba(13, 148, 136, 0.28);
    background: linear-gradient(165deg, #f0fdfa, #fff);
}
.staff-dash-attention-count {
    flex: 0 0 auto;
    min-width: 2.5rem;
    font-family: var(--app-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1;
}
.staff-dash-attention-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.staff-dash-attention-copy strong {
    font-size: 0.98rem;
    color: #0f172a;
}
.staff-dash-attention-copy span {
    font-size: 0.85rem;
    color: #64748b;
}
.staff-dash-attention-go {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 1.1rem;
}
.staff-dash-go-grid {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .staff-dash-go-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.staff-dash-go-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.staff-dash-go-card:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.08);
    color: inherit;
}
.staff-dash-go-card strong {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-dash-go-card span {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.staff-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.15rem !important;
}
@media (min-width: 576px) {
    .staff-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 992px) {
    .staff-summary {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.staff-summary-stat {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.65rem;
    background: #fff;
}
.staff-summary-stat.is-warn {
    border-color: rgba(245, 158, 11, 0.4);
    background: #fffbeb;
}
.staff-summary-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.15;
}
.staff-summary-label {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
.staff-card-list {
    display: grid;
    gap: 0.65rem;
}
.staff-card {
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: none;
}
.staff-card.is-current {
    border-color: rgba(79, 70, 229, 0.4);
    background: #f8fafc;
}
@media (min-width: 768px) {
    .staff-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: start;
    }
}
.staff-card-main {
    min-width: 0;
}
.staff-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}
.staff-card-title code {
    font-size: 0.92rem;
    color: #312e81;
    background: transparent;
    padding: 0;
}
.staff-card-meta {
    font-size: 0.9rem;
    color: #334155;
    margin-top: 0.2rem;
}
.staff-card-subtle {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.15rem;
}
.staff-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}
.staff-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #475569;
    background: #f1f5f9;
    border: 0;
}
.staff-chip--ok {
    color: #047857;
    background: #ecfdf5;
}
.staff-chip--warn {
    color: #b45309;
    background: #fffbeb;
}
.staff-chip--pro {
    color: #4338ca;
    background: #eef2ff;
}
.staff-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.staff-card-actions form {
    display: inline;
    margin: 0;
}
.staff-card-actions .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    min-height: 2rem;
    border-radius: 0.45rem;
}
@media (max-width: 767.98px) {
    .staff-card-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(148, 163, 184, 0.16);
    }
}
.staff-section {
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    padding: 1rem 1.05rem 1.15rem;
    box-shadow: none;
}
.staff-section--danger {
    border-color: rgba(220, 38, 38, 0.25);
    background: #fff;
}
.staff-section-head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.staff-section-title {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-section-lede {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 36rem;
}
.staff-empty {
    text-align: center;
    padding: 1.75rem 1rem;
    color: #64748b;
    font-size: 0.92rem;
    border-radius: 0.65rem;
    background: #f8fafc;
    border: 1px dashed rgba(148, 163, 184, 0.35);
}
.staff-selected {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem 0.4rem 0.55rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    font-size: 0.88rem;
    line-height: 1.2;
}
.staff-selected.is-active {
    border-color: rgba(13, 148, 136, 0.35);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(238, 242, 255, 0.65));
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}
.staff-selected.is-empty {
    border-style: dashed;
    background: #f8fafc;
}
.staff-selected-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
}
.staff-selected.is-active .staff-selected-label {
    color: #0f766e;
    background: rgba(45, 212, 191, 0.18);
}
.staff-selected-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.staff-selected-none {
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
}
.staff-selected-id {
    font-size: 0.8rem;
    color: #94a3b8;
}
.staff-selected-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    margin-left: 0.45rem;
    padding: 0.1rem 0.45rem;
    border-radius: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(45, 212, 191, 0.18);
    vertical-align: middle;
}
.staff-danger-form {
    margin: 0;
}
.staff-danger-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}
.staff-danger-fields > div {
    flex: 1 1 12rem;
    max-width: 18rem;
}
.staff-danger-fields .form-control {
    font-weight: 600;
}
.staff-danger-fields .btn {
    flex: 0 0 auto;
}
.staff-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 992px) {
    .staff-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
}
.staff-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.staff-tab {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
}
.staff-tab:hover {
    color: #0f172a;
    background: transparent;
}
.staff-tab.is-active {
    color: #4f46e5;
    background: transparent;
    border-bottom-color: #4f46e5;
    box-shadow: none;
}
.staff-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}
.staff-search .form-control {
    flex: 1 1 14rem;
    min-width: 0;
    min-height: 2.35rem;
    font-size: 0.9rem;
    padding: 0.4rem 0.95rem;
    border-radius: 0.55rem;
    line-height: 1.25;
}
.staff-search .btn {
    font-size: 0.9rem;
    min-height: 2.35rem;
    padding: 0.4rem 0.95rem;
    border-radius: 0.55rem;
}
.staff-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.staff-filter {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.25rem 0.65rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
}
.staff-filter:hover {
    color: #0f172a;
    border-color: rgba(100, 116, 139, 0.45);
}
.staff-filter.is-active {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.28);
}
.staff-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.35rem;
}
.staff-pager-status {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}
.staff-pager .btn.disabled {
    pointer-events: none;
    opacity: 0.55;
}

/* Customers page */
.staff-customers-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.staff-customers-title {
    margin: 0 0 0.25rem;
    font-family: var(--app-display);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.staff-customers-lede {
    color: #64748b;
    font-size: 0.98rem;
    max-width: 40rem;
}
.staff-customers-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
    .staff-customers-metrics {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
.staff-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.staff-metric:hover {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.staff-metric.is-active {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.staff-metric--ok.is-active {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.staff-metric--partial.is-active {
    border-color: rgba(79, 70, 229, 0.45);
}
.staff-metric--custom.is-active {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.staff-metric--starter.is-active {
    border-color: rgba(100, 116, 139, 0.55);
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.12);
}
.staff-metric--warn.is-active {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
    background: #fffbeb;
}
.staff-metric-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}
.staff-metric-value {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}
.staff-metric-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}
.staff-customers-bar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .staff-customers-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
}
.staff-customers-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.7rem;
    background: #eef2f7;
}
.staff-customers-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.staff-customers-tab:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.65);
}
.staff-customers-tab.is-active {
    color: #0f172a;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.staff-customers-tab-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    min-width: 1.25rem;
    text-align: center;
}
.staff-customers-tab.is-active .staff-customers-tab-count {
    color: #4f46e5;
}
.staff-customers-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 32rem;
}
.staff-customers-search .form-control {
    flex: 1 1 12rem;
    min-width: 0;
}
.staff-customers-search .btn {
    flex: 0 0 auto;
}
.staff-customers-panel {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    background: #fff;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.staff-customers-panel.is-searching {
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.staff-customers-panel-head {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.staff-customers-panel-title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-customers-panel-lede {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
}
.staff-customers-empty {
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}
.staff-customers-rows {
    display: flex;
    flex-direction: column;
}
.staff-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.staff-row:last-child {
    border-bottom: 0;
}
.staff-row.is-current {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.05), transparent 55%);
}
.staff-inbox-message {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 42rem;
}

/* Staff → Site identity studio */
.staff-site-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .staff-site-hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1.5rem;
    }
}
.staff-site-lede {
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #64748b;
}
.staff-site-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}
.staff-site-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
    background: #e2e8f0;
}
.staff-site-chip.is-logo {
    color: #0f766e;
    background: #ccfbf1;
}
.staff-site-open-btn {
    font-weight: 700;
    border-radius: 999px;
    padding-inline: 0.95rem;
}
.staff-site-board {
    display: grid;
    gap: 1.25rem;
    animation: staff-site-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes staff-site-rise {
    from {
        opacity: 0;
        transform: translateY(0.65rem);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .staff-site-board {
        animation: none;
    }
}
.staff-site-name-bar {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, #fff 56%),
        #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}
@media (min-width: 900px) {
    .staff-site-name-bar {
        grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.35fr);
        align-items: end;
        gap: 1.5rem;
    }
}
.staff-site-name-bar-title {
    margin: 0 0 0.25rem;
    font-family: var(--app-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}
.staff-site-name-bar-lede {
    max-width: 28rem;
    font-size: 0.96rem;
    line-height: 1.45;
    color: #64748b;
}
.staff-site-name-form {
    display: grid;
    gap: 0.65rem;
}
@media (min-width: 640px) {
    .staff-site-name-form {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }
}
.staff-site-name-input {
    min-width: 0;
}
.staff-site-save-btn {
    white-space: nowrap;
    min-width: 5.5rem;
}
.staff-site-size-bar {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.07), transparent 42%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, #fff 56%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}
@media (min-width: 900px) {
    .staff-site-size-bar {
        grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.45fr);
        align-items: center;
        gap: 1.5rem;
    }
}
.staff-site-size-title {
    margin: 0 0 0.25rem;
    font-family: var(--app-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}
.staff-site-size-lede {
    max-width: 26rem;
    font-size: 0.96rem;
    line-height: 1.45;
    color: #64748b;
}
.staff-site-size-controls {
    display: grid;
    gap: 0.55rem;
}
.staff-site-size-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
}
.staff-site-size-value {
    font-variant-numeric: tabular-nums;
    color: #0f766e;
}
.staff-site-size-range {
    width: 100%;
    accent-color: #0f766e;
    cursor: pointer;
}
.staff-site-size-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #94a3b8;
}
.staff-site-size-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.25rem;
}
.staff-site-logo-grid {
    display: grid;
    gap: 1.15rem;
}
@media (min-width: 900px) {
    .staff-site-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
.staff-site-slot {
    display: grid;
    gap: 0.95rem;
    padding: 1.1rem 1.15rem 1.2rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.staff-site-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}
@media (prefers-reduced-motion: reduce) {
    .staff-site-slot,
    .staff-site-slot:hover {
        transition: none;
        transform: none;
    }
}
.staff-site-slot-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}
.staff-site-slot-title {
    margin: 0 0 0.2rem;
    font-family: var(--app-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}
.staff-site-slot-lede {
    max-width: 22rem;
    font-size: 0.93rem;
    line-height: 1.45;
    color: #64748b;
}
.staff-site-slot-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    white-space: nowrap;
}
.staff-site-slot-status.is-set {
    color: #0f766e;
    background: #ccfbf1;
}
.staff-site-slot-frame {
    border-radius: 0.95rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #f8fafc;
}
.staff-site-slot-chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.staff-site-slot-chrome span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #cbd5e1;
}
.staff-site-slot-chrome span:nth-child(1) { background: #fca5a5; }
.staff-site-slot-chrome span:nth-child(2) { background: #fcd34d; }
.staff-site-slot-chrome span:nth-child(3) { background: #86efac; }
.staff-site-slot-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.75rem;
    padding: 1.15rem 1.1rem;
}
.staff-site-slot--light .staff-site-slot-stage {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.staff-site-slot--dark .staff-site-slot-chrome {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-bottom-color: rgba(148, 163, 184, 0.18);
}
.staff-site-slot--dark .staff-site-slot-chrome span {
    opacity: 0.75;
}
.staff-site-slot--dark .staff-site-slot-stage {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f766e 140%);
}
.staff-site-slot-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: var(--app-logo-h, 1.85rem);
    max-width: var(--app-logo-w, 8.5rem);
    object-fit: contain;
}
.staff-site-slot-wordmark {
    font-family: var(--app-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}
.staff-site-slot--dark .staff-site-slot-wordmark {
    color: #fff;
}
.staff-site-slot-navfake {
    flex: 0 0 auto;
    width: 5.25rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #cbd5e1, #e2e8f0);
}
.staff-site-slot-caption {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(203, 213, 225, 0.78);
    white-space: nowrap;
}
.staff-site-slot-note {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #64748b;
}
.staff-site-slot-actions {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.staff-site-drop {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}
.staff-site-dropzone {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 5.4rem;
    padding: 0.95rem 1rem;
    margin: 0;
    border-radius: 1rem;
    border: 1.5px dashed rgba(100, 116, 139, 0.45);
    background:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.06), transparent 45%),
        linear-gradient(165deg, #f8fafc 0%, #ffffff 100%);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.staff-site-dropzone:hover,
.staff-site-dropzone:focus-within {
    border-color: rgba(79, 70, 229, 0.55);
    background:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.1), transparent 48%),
        linear-gradient(165deg, #eef2ff 0%, #ffffff 100%);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.08);
}
.staff-site-dropzone.is-drag {
    border-color: #4f46e5;
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.14);
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.14), transparent 55%),
        linear-gradient(165deg, #e0e7ff 0%, #ffffff 100%);
}
.staff-site-dropzone.has-file {
    border-style: solid;
    border-color: rgba(13, 148, 136, 0.45);
    background:
        radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.14), transparent 48%),
        linear-gradient(165deg, #f0fdfa 0%, #ffffff 100%);
}
.staff-site-dropzone.is-invalid {
    border-color: #ef4444;
    background: linear-gradient(165deg, #fef2f2 0%, #ffffff 100%);
}
.staff-site-dropzone.is-busy {
    opacity: 0.72;
    pointer-events: none;
}
.staff-site-drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.staff-site-drop-visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.staff-site-drop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.9rem;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.14);
}
.staff-site-dropzone.has-file .staff-site-drop-icon {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.18);
}
.staff-site-drop-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}
.staff-site-drop-title {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-site-drop-sub {
    font-size: 0.86rem;
    line-height: 1.4;
    color: #64748b;
}
.staff-site-drop-browse {
    color: #4f46e5;
    font-weight: 700;
}
.staff-site-drop-file {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f766e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.staff-site-drop-file.is-empty {
    color: #94a3b8;
    font-weight: 500;
}
.staff-site-drop-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #0f172a;
}
.staff-site-drop-thumb[hidden] {
    display: none !important;
}
.staff-site-drop-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.staff-site-drop-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}
.staff-site-drop-hint {
    flex: 1 1 12rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #64748b;
}
.staff-site-drop-submit {
    white-space: nowrap;
    min-width: 8.5rem;
}
.staff-site-drop-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.staff-site-slot-remove {
    margin: 0;
}
@media (max-width: 520px) {
    .staff-site-dropzone {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .staff-site-drop-thumb {
        grid-column: 1 / -1;
        width: 100%;
        height: 4.25rem;
    }
}

@media (min-width: 900px) {
    .staff-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
    }
}
.staff-row-main {
    display: grid;
    gap: 0.75rem 1.5rem;
    min-width: 0;
    flex: 1 1 auto;
}
@media (min-width: 640px) {
    .staff-row-main {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: start;
    }
}
.staff-row-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-row-title code {
    font-size: 0.95rem;
    color: #312e81;
    background: transparent;
    padding: 0;
}
.staff-row-meta {
    margin-top: 0.15rem;
    font-size: 0.92rem;
    color: #334155;
}
.staff-row-subtle {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: #64748b;
}
.staff-row-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 11.5rem;
}
.staff-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.15rem 0.55rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #475569;
    background: #f1f5f9;
    white-space: nowrap;
}
.staff-status.is-ok {
    color: #047857;
    background: #ecfdf5;
}
.staff-status.is-partial {
    color: #4338ca;
    background: #eef2ff;
}
.staff-status.is-warn {
    color: #b45309;
    background: #fffbeb;
}
/* Customers organisers / events tables */
.staff-customers-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.staff-customers-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 44rem;
}
.staff-customers-table--organisers {
    min-width: 60rem;
}
.staff-customers-table--events {
    min-width: 58rem;
}
.staff-customers-table--credits {
    min-width: 58rem;
}
.staff-customers-table th,
.staff-customers-table td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    text-align: left;
}
.staff-customers-table thead th {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    white-space: nowrap;
    border-bottom-color: rgba(148, 163, 184, 0.28);
}
.staff-customers-table tbody tr:last-child td {
    border-bottom: 0;
}
.staff-customers-table tbody tr:hover td {
    background: rgba(248, 250, 252, 0.85);
}
.staff-customers-table th:first-child,
.staff-customers-table td:first-child {
    padding-left: 1.15rem;
}
.staff-customers-table th:last-child,
.staff-customers-table td:last-child {
    padding-right: 1.15rem;
}
.staff-customers-table-actions {
    min-width: 18rem;
}
.staff-customers-table-actions .staff-row-actions {
    gap: 0.4rem;
}
.staff-row-actions--organiser {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    max-width: none;
    min-width: max-content;
    width: max-content;
    white-space: nowrap;
}
.staff-row-actions--organiser > .btn,
.staff-row-actions--organiser > a.btn,
.staff-row-actions--organiser > form {
    flex: 0 0 auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    position: static;
    float: none;
    width: auto;
    max-width: none;
    text-decoration: none;
}
.staff-customers-person {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 10rem;
    max-width: 22rem;
}
.staff-customers-person-name {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}
.staff-customers-person-name code {
    font-size: 0.92rem;
    color: #312e81;
    background: transparent;
    padding: 0;
}
.staff-customers-person-email {
    font-size: 0.86rem;
    color: #334155;
    word-break: break-word;
}
.staff-customers-person-meta {
    font-size: 0.78rem;
    color: #64748b;
}
.staff-customers-count {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.staff-customers-table--organisers td:nth-child(3) .staff-pay-label {
    margin-top: 0.25rem;
}
.staff-customers-count-note {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #b45309;
}
.staff-pkg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    padding: 0.12rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.staff-pkg--starter {
    color: #334155;
    background: #f1f5f9;
}
.staff-pkg--standard {
    color: #1d4ed8;
    background: #eff6ff;
}
.staff-pkg--premium {
    color: #0f766e;
    background: rgba(45, 212, 191, 0.16);
}
.staff-pkg--custom {
    color: #1e3a5f;
    background: #dbeafe;
}
.staff-pkg--none {
    color: #94a3b8;
    background: #f8fafc;
}
.staff-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    min-height: 1.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
}
.staff-flag.is-on {
    color: #0f766e;
    background: rgba(45, 212, 191, 0.16);
}
.staff-flag.is-off {
    color: #94a3b8;
    background: #f1f5f9;
}
.staff-customers-table--events th:nth-child(2),
.staff-customers-table--events td:nth-child(2),
.staff-customers-table--events th:nth-child(3),
.staff-customers-table--events td:nth-child(3),
.staff-customers-table--events th:nth-child(4),
.staff-customers-table--events td:nth-child(4),
.staff-customers-table--events th:nth-child(5),
.staff-customers-table--events td:nth-child(5) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.staff-customers-table--events td:nth-child(2),
.staff-customers-table--events td:nth-child(3),
.staff-customers-table--events td:nth-child(4),
.staff-customers-table--events td:nth-child(5) {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.staff-customers-table--events .staff-pkg,
.staff-customers-table--events .staff-flag {
    display: inline-flex;
}
.staff-customers-table--events th.staff-customers-table-actions,
.staff-customers-table--events td.staff-customers-table-actions {
    width: 1%;
    min-width: max-content;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
    overflow: visible;
}
.staff-customers-table--events .staff-customers-table-actions .staff-row-actions {
    justify-content: flex-end;
    margin-left: auto;
}
.staff-customers-table--events th:first-child,
.staff-customers-table--events td:first-child {
    width: auto;
}
.staff-customers-table--organisers th:nth-child(2),
.staff-customers-table--organisers td:nth-child(2),
.staff-customers-table--organisers th:nth-child(3),
.staff-customers-table--organisers td:nth-child(3) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.staff-customers-table--organisers td:nth-child(2),
.staff-customers-table--organisers td:nth-child(3) {
    padding-left: 1rem;
    padding-right: 1rem;
}
.staff-pay-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.12rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.staff-pay-label--ok {
    color: #047857;
    background: #ecfdf5;
}
.staff-pay-label--partial {
    color: #4338ca;
    background: #eef2ff;
}
.staff-pay-label--warn {
    color: #b45309;
    background: #fffbeb;
}
.staff-customers-table--organisers .staff-pkg,
.staff-customers-table--organisers .staff-pay-label {
    display: inline-flex;
}
.staff-customers-table--organisers th.staff-customers-table-actions,
.staff-customers-table--organisers td.staff-customers-table-actions {
    width: 1%;
    min-width: max-content;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
    overflow: visible;
}
.staff-customers-table--organisers .staff-customers-table-actions .staff-row-actions {
    justify-content: flex-end;
    margin-left: auto;
}
.staff-customers-table--organisers th:first-child,
.staff-customers-table--organisers td:first-child {
    width: auto;
}
.staff-customers-table--workspaces {
    min-width: 44rem;
}
.staff-customers-table--workspaces th:nth-child(2),
.staff-customers-table--workspaces td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.staff-customers-table--workspaces td:nth-child(2) {
    padding-left: 1rem;
    padding-right: 1rem;
}
.staff-customers-table--workspaces .staff-pkg {
    display: inline-flex;
}
.staff-customers-table--workspaces th.staff-customers-table-actions,
.staff-customers-table--workspaces td.staff-customers-table-actions {
    width: 1%;
    min-width: max-content;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
    overflow: visible;
}
.staff-customers-table--workspaces .staff-customers-table-actions .staff-row-actions {
    justify-content: flex-end;
    margin-left: auto;
}
.staff-customers-table--workspaces th:first-child,
.staff-customers-table--workspaces td:first-child {
    width: auto;
}
.staff-customers-table tbody tr.is-current td {
    background: rgba(45, 212, 191, 0.06);
}
.staff-customers-table tbody tr.is-current td:first-child {
    box-shadow: inset 3px 0 0 #14b8a6;
}
.staff-customers-person-name .staff-status,
.staff-customers-person-name .staff-selected-badge {
    margin-left: 0.45rem;
    vertical-align: middle;
}
.staff-row-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}
.staff-row-facts span::after {
    content: "·";
    margin-left: 0.75rem;
    color: #cbd5e1;
}
.staff-row-facts span:last-child::after {
    content: none;
    margin: 0;
}
.staff-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    align-content: center;
    min-width: 0;
}
.staff-row-actions > .btn,
.staff-row-actions > form {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    position: relative;
    z-index: 0;
}
.staff-row-actions form.staff-mark-paid-form {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}
.staff-row-actions form.staff-mark-paid-form .form-select {
    width: auto !important;
    min-width: 6.25rem;
    max-width: 7.5rem;
    flex: 0 0 auto;
    padding-left: 0.45rem;
    padding-right: 1.65rem;
}
.staff-row-actions form.staff-mark-paid-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
.staff-row-actions .btn {
    font-size: var(--staff-btn-fs, 0.8125rem);
    padding: var(--staff-btn-py, 0.35rem) 0.65rem;
    min-height: var(--staff-btn-h, 2.15rem);
    height: var(--staff-btn-h, 2.15rem);
    border-radius: var(--staff-btn-radius, 0.45rem);
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.staff-customers-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.staff-customers-pager-status {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}
.staff-customers-pager .btn.disabled {
    pointer-events: none;
    opacity: 0.55;
}
.staff-customers-danger {
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.85rem 1.05rem;
    margin-bottom: 1rem;
}
.staff-customers-danger > summary {
    cursor: pointer;
    font-weight: 700;
    color: #b91c1c;
    list-style: none;
}
.staff-customers-danger > summary::-webkit-details-marker {
    display: none;
}
.staff-customers-danger > summary::after {
    content: "Show";
    float: right;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}
.staff-customers-danger[open] > summary::after {
    content: "Hide";
}
.staff-customers-danger-copy {
    margin: 0.75rem 0 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Pricing page */
.staff-pricing-hero {
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.staff-pricing-title {
    margin: 0 0 0.25rem;
    font-family: var(--app-display);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.staff-pricing-lede {
    color: #64748b;
    font-size: 0.98rem;
    max-width: 40rem;
}
.staff-pricing-packages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
    .staff-pricing-packages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.staff-pricing-package {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    background: #fff;
    border-top: 3px solid #94a3b8;
}
.staff-pricing-package.is-standard {
    border-top-color: #0d9488;
}
.staff-pricing-package.is-premium {
    border-top-color: #4f46e5;
}
.staff-pricing-package-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.45rem !important;
}
.staff-pricing-package-total {
    font-family: var(--app-display);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 0.35rem !important;
}
.staff-pricing-package-total span:first-child {
    font-size: 0.55em;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0d9488;
    margin-right: 0.25rem;
    vertical-align: 0.15em;
}
.staff-pricing-package-note {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}
.staff-pricing-panel {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    background: #fff;
    overflow: hidden;
    margin: 0 auto 1rem;
    max-width: 52rem;
}
.staff-pricing-panel-head {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    text-align: center;
}
.staff-pricing-panel-title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.staff-pricing-panel-lede {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}
.staff-pricing-form {
    padding: 1.15rem;
}
.staff-pricing-block + .staff-pricing-block {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.staff-pricing-block-head {
    margin-bottom: 0.85rem;
}
.staff-pricing-block-title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.staff-pricing-block-lede {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}
.staff-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.15rem;
}
.staff-pricing-grid--packages {
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .staff-pricing-grid--packages {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    }
    .staff-pricing-grid--packages .staff-pricing-field:nth-child(3),
    .staff-pricing-grid--packages .staff-pricing-field:nth-child(4) {
        grid-column: 1 / -1;
    }
}
@media (min-width: 768px) {
    .staff-pricing-grid--packages {
        grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    }
    .staff-pricing-grid--packages .staff-pricing-field:nth-child(3),
    .staff-pricing-grid--packages .staff-pricing-field:nth-child(4) {
        grid-column: auto;
    }
}
.staff-pricing-topups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .staff-pricing-topups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}
.staff-pricing-topup-group {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem;
    background: #f8fafc;
}
.staff-pricing-topup-title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
}
.staff-pricing-grid--topups {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 420px) {
    .staff-pricing-grid--topups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.staff-pricing-form .form-control {
    font-weight: 600;
}
.staff-pricing-form .form-text {
    margin-top: 0.3rem;
}
.staff-pricing-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
}
.staff-pricing-actions .btn {
    min-width: 7.5rem;
    padding-left: 1.05rem;
    padding-right: 1.05rem;
}


.staff-customers-table--credits th:nth-child(2),
.staff-customers-table--credits td:nth-child(2),
.staff-customers-table--credits th:nth-child(3),
.staff-customers-table--credits td:nth-child(3),
.staff-customers-table--credits th:nth-child(4),
.staff-customers-table--credits td:nth-child(4),
.staff-customers-table--credits th:nth-child(5),
.staff-customers-table--credits td:nth-child(5) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.staff-customers-table--credits td:nth-child(2),
.staff-customers-table--credits td:nth-child(3),
.staff-customers-table--credits td:nth-child(4),
.staff-customers-table--credits td:nth-child(5) {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.staff-customers-table--credits .staff-pkg,
.staff-customers-table--credits .staff-credits-balance,
.staff-customers-table--credits .staff-credits-na {
    display: inline-flex;
}
.staff-customers-table--credits .staff-credits-balance {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
}
.staff-customers-table--credits th.staff-customers-table-actions,
.staff-customers-table--credits td.staff-customers-table-actions {
    width: 1%;
    min-width: max-content;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
    overflow: visible;
}
.staff-customers-table--credits .staff-customers-table-actions .staff-row-actions {
    justify-content: flex-end;
    margin-left: auto;
}
.staff-customers-table--credits th:first-child,
.staff-customers-table--credits td:first-child {
    width: auto;
}
.staff-row-actions--credits {
    flex-wrap: wrap !important;
    max-width: 26rem;
    white-space: normal;
}
.staff-credits-add-form {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}
.staff-credits-add-form .form-select,
.staff-credits-add-form .staff-credits-add-select {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto;
    padding-left: 0.45rem;
    padding-right: 1.65rem;
    font-family: var(--app-font);
    font-weight: 600;
}
.staff-credits-add-form .staff-credits-add-select--email {
    width: fit-content !important;
    min-width: 0 !important;
}
html.page-staff-platform .staff-credits-add-form .form-select {
    min-height: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}
html.page-staff-platform .staff-credits-add-form .staff-action-btn {
    width: 1.75rem !important;
    height: 1.75rem !important;
    min-height: 1.75rem !important;
}
.staff-customers-subfilters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0.85rem 1.15rem 0.35rem;
    padding: 0.25rem;
    border-radius: 0.7rem;
    background: #eef2f7;
}
.staff-customers-subfilter {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 0.55rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.staff-customers-subfilter:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.75);
}
.staff-customers-subfilter.is-active {
    color: #312e81;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.staff-credits-balance-left {
    font-family: var(--app-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.15;
}
.staff-credits-balance-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}
.staff-credits-na {
    color: #94a3b8;
    font-weight: 600;
}

/* —— Admin console: organiser workspace + staff site settings + staff sign-in —— */
html.page-admin-console {
    --console-surface: rgba(255, 255, 255, 0.82);
    --console-surface-solid: #ffffff;
    --console-border: rgba(148, 163, 184, 0.28);
    --console-glow: 0 4px 28px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
    --console-glow-lg: 0 18px 48px rgba(15, 23, 42, 0.1), 0 4px 16px rgba(79, 70, 229, 0.08);
}
html.page-admin-console body.app-body {
    background-color: #e8ecf3;
    background-image:
        radial-gradient(ellipse 100% 90% at 0% -20%, rgba(99, 102, 241, 0.18), transparent 52%),
        radial-gradient(ellipse 85% 70% at 100% 0%, rgba(14, 165, 233, 0.12), transparent 48%),
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(167, 139, 250, 0.1), transparent 55%),
        linear-gradient(178deg, #f8fafc 0%, #eef2f7 42%, #e8ecf3 100%);
}
html.page-admin-console.page-staff-platform body.app-body {
    background-color: #f1f5f9;
    background-image:
        radial-gradient(ellipse 110% 90% at -5% -15%, rgba(99, 102, 241, 0.28), transparent 52%),
        radial-gradient(ellipse 95% 75% at 105% -5%, rgba(167, 139, 250, 0.22), transparent 48%),
        radial-gradient(ellipse 70% 55% at 80% 100%, rgba(14, 165, 233, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 45% at 15% 95%, rgba(45, 212, 191, 0.12), transparent 50%),
        linear-gradient(168deg, #f8fafc 0%, #f1f5f9 42%, #eef2ff 100%);
    background-attachment: fixed;
}
@media (max-width: 767.98px) {
    html.page-admin-console body.app-body {
        background-attachment: scroll;
    }
}
html.page-admin-console .navbar.app-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--console-border) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 6px 28px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(20px) saturate(1.65);
    -webkit-backdrop-filter: blur(20px) saturate(1.65);
}
html.page-admin-console main.app-console-main {
    padding-top: clamp(1.15rem, 3vw, 1.85rem);
}
html.page-admin-console main.app-console-main .h1,
html.page-admin-console main.app-console-main .h2,
html.page-admin-console main.app-console-main .h3,
html.page-admin-console main.app-console-main h1,
html.page-admin-console main.app-console-main h2,
html.page-admin-console main.app-console-main h3 {
    font-family: var(--app-display);
    letter-spacing: -0.025em;
    color: #0f172a;
}
html.page-admin-console main.app-console-main .h3,
html.page-admin-console main.app-console-main h1.h3 {
    font-weight: 700;
}
html.page-admin-console main.app-console-main .card {
    border-radius: 1.125rem;
    border-color: var(--console-border) !important;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 55%, rgba(241, 245, 249, 0.88) 100%);
    box-shadow: var(--console-glow) !important;
    transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
html.page-admin-console main.app-console-main .card.border-0 {
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
}
html.page-admin-console main.app-console-main .card:not(:has(.table)):hover {
    box-shadow: var(--console-glow-lg) !important;
    transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
    html.page-admin-console main.app-console-main .card:not(:has(.table)):hover {
        transform: none;
    }
}
html.page-admin-console main.app-console-main .card-header {
    border-radius: 1.125rem 1.125rem 0 0;
    font-weight: 700;
    letter-spacing: 0.01em;
}
html.page-admin-console main.app-console-main .card-header.bg-success.text-white {
    background: linear-gradient(125deg, #047857 0%, #059669 38%, #10b981 85%, #34d399) !important;
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.25);
}
html.page-admin-console main.app-console-main .card-header.bg-secondary.text-white {
    background: linear-gradient(125deg, #0f172a 0%, #334155 45%, #475569 100%) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.2);
}
html.page-admin-console main.app-console-main .table {
    --bs-table-bg: transparent;
}
html.page-admin-console main.app-console-main .table thead th {
    background: rgba(248, 250, 252, 0.95);
}
html.page-admin-console main.app-console-main .table-responsive {
    border-radius: 0 0 1rem 1rem;
}
html.page-admin-console main.app-console-main .text-muted.small.text-uppercase {
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.65rem;
    color: #64748b !important;
}
html.page-admin-console main.app-console-main .display-6 {
    font-family: var(--app-display);
    letter-spacing: -0.03em;
}
html.page-admin-console main.app-console-main .btn {
    border-radius: var(--app-btn-radius);
}
html.page-admin-console main.app-console-main .btn-sm {
    border-radius: calc(var(--app-btn-radius) - 0.1rem);
}
html.page-admin-console main.app-console-main a.text-decoration-none .card {
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    background: linear-gradient(152deg, #ffffff 0%, rgba(238, 242, 255, 0.65) 100%);
}
html.page-admin-console main.app-console-main a.text-decoration-none:hover .card {
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: var(--console-glow-lg) !important;
}
html.page-admin-console main.app-console-main a.text-decoration-none .card .text-primary {
    color: #4338ca !important;
}
html.page-admin-console.page-staff-platform .app-navbar--staff-platform {
    background: rgba(255, 255, 255, 0.94) !important;
}
html.page-admin-console.page-auth .auth-card {
    border-radius: 1.35rem !important;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 40%, #f1f5ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow:
        0 28px 64px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}
html.page-admin-console.page-auth.page-staff-login .auth-card {
    background: linear-gradient(165deg, #ffffff 0%, #fffbeb 35%, #fef3c7 100%);
    border-color: rgba(245, 158, 11, 0.35) !important;
}
html.page-admin-console.page-guests-desk .app-desk-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid var(--console-border) !important;
}

/* Premium refresh layer */
:root {
    --premium-ink: #101828;
    --premium-muted: #667085;
    --premium-line: rgba(148, 163, 184, 0.22);
    --premium-surface: rgba(255, 255, 255, 0.88);
    --premium-surface-strong: rgba(255, 255, 255, 0.96);
    --premium-violet: #6d5dfc;
    --premium-cyan: #0891b2;
    --premium-gold: #d97706;
    --premium-shadow: 0 18px 48px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(79, 70, 229, 0.08);
    --premium-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.07);
}
.premium-shell,
.landing-hero,
.auth-card,
html.page-admin-console main.app-console-main .card,
.app-desk-card {
    position: relative;
}
.premium-eyebrow,
.landing-kicker,
html.page-admin-console .text-muted.small.text-uppercase {
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.premium-eyebrow {
    font-size: 0.78rem !important;
    font-weight: 700;
    line-height: 1.3;
    color: #64748b;
}
.premium-hero-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.18), transparent 34%),
        radial-gradient(circle at 94% 18%, rgba(14, 165, 233, 0.14), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9) 48%, rgba(238, 242, 255, 0.88));
    box-shadow: var(--premium-shadow);
}
.premium-glass,
.landing-panel,
html.page-landing .card,
html.page-auth .auth-card,
html.page-admin-console main.app-console-main .card {
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.premium-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #475569;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.42rem 0.72rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.premium-chip::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--premium-violet), var(--premium-cyan));
}
.premium-stat {
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}
.premium-icon,
.landing-service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(79, 70, 229, 0.16), rgba(14, 165, 233, 0.12)),
        #fff;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.14);
}
.landing-section {
    position: relative;
}
html.page-landing .landing-section--hero .container {
    padding-top: clamp(2rem, 6vw, 4.5rem) !important;
    padding-bottom: clamp(2rem, 6vw, 4.5rem) !important;
}
html.page-landing .landing-photo-frame {
    margin: 0;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 22px 52px rgba(79, 70, 229, 0.12);
    background: #e2e8f0;
    transition: transform 0.35s var(--app-ease), box-shadow 0.35s var(--app-ease);
}
html.page-landing .landing-photo-frame:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 28px 60px rgba(79, 70, 229, 0.16);
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing .landing-photo-frame:hover {
        transform: none;
    }
}
html.page-landing .landing-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
html.page-landing #about .landing-photo-frame {
    max-width: 40rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.45rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 22px 52px rgba(15, 23, 42, 0.1);
}
html.page-landing #about .landing-photo {
    max-height: none;
    height: clamp(18rem, 58vw, 26rem);
    aspect-ratio: auto;
    object-fit: cover;
}
@media (min-width: 992px) {
    html.page-landing #about .landing-photo-frame {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        height: 100%;
        min-height: 28rem;
    }
    html.page-landing #about .landing-photo-frame picture {
        display: block;
        height: 100%;
        min-height: 28rem;
    }
    html.page-landing #about .landing-photo {
        height: 100%;
        min-height: 28rem;
        max-height: none;
    }
}
html.page-landing #services .landing-photo-frame.landing-services-slideshow {
    position: relative;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 5 / 4;
    height: auto;
    max-height: none;
    min-height: 18rem;
    overflow: hidden;
    border-radius: 1.55rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 24px 56px rgba(15, 23, 42, 0.12);
    animation: landingHeroIn 0.8s var(--app-ease) both;
}
html.page-landing #services .landing-services-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 1;
}
html.page-landing #services .landing-photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
html.page-landing #services .landing-services-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    pointer-events: auto;
}
html.page-landing #services .landing-services-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: transform 0.22s var(--app-ease), background-color 0.22s var(--app-ease), width 0.22s var(--app-ease);
}
html.page-landing #services .landing-services-dot.is-active {
    background: #fff;
    width: 1.35rem;
    transform: none;
}
html.page-landing #services .landing-services-dot:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}
@media (min-width: 992px) {
    html.page-landing #services .landing-photo-frame.landing-services-slideshow {
        min-height: 26rem;
        aspect-ratio: 4 / 5;
        max-height: 34rem;
    }
}
@media (max-width: 767.98px) {
    html.page-landing #services .landing-photo-frame.landing-services-slideshow {
        aspect-ratio: 16 / 10;
        min-height: 14rem;
        max-height: 18rem;
    }
    html.page-landing #services .landing-photo {
        aspect-ratio: auto;
        max-height: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.page-landing #services .landing-photo-frame.landing-services-slideshow {
        animation: none;
    }
}
html.page-landing .landing-headline {
    font-size: clamp(1.85rem, 3.6vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}
html.page-landing h2.landing-headline,
html.page-landing .h1.landing-headline {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}
html.page-landing .landing-sub {
    color: #475569 !important;
    max-width: 44rem;
}
html.page-landing .landing-about-panel,
html.page-landing #contact .card {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: var(--premium-shadow-soft) !important;
}
html.page-landing .landing-contact-intro .landing-headline {
    letter-spacing: -0.035em;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}
html.page-landing .landing-contact-lede {
    font-size: 1.05rem;
    line-height: 1.55;
}
html.page-landing .landing-contact-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
html.page-landing .landing-contact-aside {
    display: grid;
    gap: 1.15rem;
}
html.page-landing .landing-contact-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border-radius: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}
html.page-landing .landing-contact-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    background: linear-gradient(180deg, #6366f1, #0d9488);
    opacity: 0.85;
}
html.page-landing .landing-contact-panel--form {
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.1), transparent 42%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(13, 148, 136, 0.28);
}
html.page-landing .landing-contact-panel--form::before {
    background: linear-gradient(180deg, #14b8a6, #0d9488 55%, #4f46e5);
    opacity: 1;
}
html.page-landing .landing-contact-panel-head {
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
html.page-landing .landing-contact-panel-title {
    margin: 0;
    font-family: var(--app-display);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}
html.page-landing .landing-contact-details {
    display: grid;
    gap: 0.85rem;
}
html.page-landing .landing-contact-block {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
html.page-landing .landing-contact-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
html.page-landing .landing-contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0;
}
html.page-landing .landing-contact-value {
    font-family: var(--app-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.45;
}
html.page-landing .landing-contact-value a {
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 148, 136, 0.4);
}
html.page-landing .landing-contact-value a:hover {
    color: #0f766e;
    border-bottom-color: rgba(13, 148, 136, 0.8);
}
html.page-landing .landing-contact-map {
    display: flex;
    flex-direction: column;
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}
html.page-landing .landing-contact-map-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 0.75rem;
    padding: 1.1rem 1.2rem 1rem;
}
html.page-landing .landing-contact-map-title {
    font-family: var(--app-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}
html.page-landing .landing-contact-map-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: #e2e8f0;
    min-height: 5.5rem;
    height: 5.5rem;
}
html.page-landing .landing-contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 5.5rem;
    border: 0;
}
html.page-landing .landing-map-facade {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.5rem;
    border: 0;
    color: #0f172a;
    background: transparent;
    text-align: center;
    pointer-events: none;
}
html.page-landing .landing-map-facade-art {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 52% 46%, rgba(239, 68, 68, 0.95) 0 0.35rem, transparent 0.38rem),
        linear-gradient(90deg, rgba(148, 163, 184, 0.35) 1px, transparent 1px) 0 0 / 2rem 2rem,
        linear-gradient(rgba(148, 163, 184, 0.28) 1px, transparent 1px) 0 0 / 2rem 2rem,
        linear-gradient(145deg, #dbeafe, #e2e8f0 45%, #f1f5f9);
}
html.page-landing .landing-map-facade-label {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.15rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
}
html.page-landing .landing-map-facade-cta {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
}
html.page-landing .landing-map-facade-hint {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}
html.page-landing .landing-contact-map-frame.is-loading .landing-map-facade-cta::after {
    content: "…";
}
html.page-landing .landing-contact-map-frame.is-ready .landing-map-facade {
    display: none;
}
@media (min-width: 992px) {
    html.page-landing .landing-contact-map-frame {
        min-height: 6rem;
        height: 6rem;
    }
    html.page-landing .landing-contact-map-frame iframe {
        min-height: 6rem;
    }
}
html.page-landing .landing-contact-form {
    --auth-control-h: var(--app-control-h);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0;
}
html.page-landing .landing-contact-form .mb-3 {
    margin-bottom: 0.75rem !important;
}
html.page-landing .landing-contact-form .mb-4 {
    margin-bottom: 0.95rem !important;
}
html.page-landing .landing-contact-form .row.g-3 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
}
html.page-landing .landing-contact-form .form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 0.28rem;
}
html.page-landing .landing-contact-form .form-control,
html.page-landing .landing-contact-form .form-control-lg {
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    font-size: var(--app-control-fs) !important;
    font-weight: 400;
    color: var(--app-ink);
    width: 100%;
    height: var(--auth-control-h);
    min-height: var(--auth-control-h);
    max-height: var(--auth-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
html.page-landing .landing-contact-form .form-control::placeholder {
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}
html.page-landing .landing-contact-form .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    font-weight: 400;
    outline: none;
}
html.page-landing .landing-contact-form textarea.form-control {
    height: auto;
    min-height: 6.25rem;
    max-height: none;
    padding: 0.75rem var(--app-control-px);
    border-radius: var(--app-control-radius);
    line-height: 1.45;
    resize: vertical;
}
html.page-landing .landing-contact-form .btn.btn-lg.landing-contact-submit,
html.page-landing .landing-contact-submit {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: var(--app-btn-fs);
    align-self: flex-start;
    min-width: 10.5rem;
    margin-top: 0.15rem;
    height: var(--auth-control-h) !important;
    min-height: var(--auth-control-h) !important;
    max-height: var(--auth-control-h) !important;
    padding: 0 1.25rem !important;
    font-size: var(--app-btn-fs) !important;
    line-height: 1 !important;
    border-radius: var(--app-radius-sm) !important;
    border: 2px solid transparent !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
@media (min-width: 992px) {
    html.page-landing .landing-contact-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        gap: 1.5rem;
        align-items: stretch;
    }
    html.page-landing .landing-contact-aside {
        height: 100%;
    }
    html.page-landing .landing-contact-map {
        flex: 0 0 auto;
    }
    html.page-landing .landing-contact-map-frame {
        flex: 0 0 auto;
        height: 6rem;
        min-height: 6rem;
    }
}
@media (max-width: 991.98px) {
    html.page-landing .landing-contact-intro {
        text-align: left;
    }
    html.page-landing .landing-contact-intro .landing-headline {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    html.page-landing .landing-contact-lede {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none;
    }
}
html.page-auth .row.justify-content-center {
    min-height: min(72vh, 44rem);
    align-items: center;
}
html.page-auth .auth-card::before,
html.page-admin-console main.app-console-main .card::before,
html.page-landing .landing-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: 1.45rem 1.45rem 0 0;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6, #06b6d4, #4f46e5);
    background-size: 200% 100%;
    opacity: 0.95;
    animation: app-footer-shimmer 12s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    html.page-auth .auth-card::before,
    html.page-admin-console main.app-console-main .card::before,
    html.page-landing .landing-hero::before {
        animation: none;
    }
}
html.page-auth .auth-card .card-body {
    position: relative;
    z-index: 1;
    padding: 25px !important;
}
.auth-card .card-body,
.form-page-card {
    padding: 25px !important;
}
html.page-auth .auth-card {
    max-width: 100%;
}
.modal-dialog.auth-form-modal {
    width: min(calc(100% - 2rem), 100%);
    max-width: min(calc(100% - 2rem), 26.25rem); /* ~ login col-md-7 */
}
@media (min-width: 992px) {
    .modal-dialog.auth-form-modal {
        max-width: min(calc(100% - 2rem), 30rem); /* ~ login col-lg-6 / col-xl-5 */
    }
}
/* Shared form-page type scale (login, register, change password, pay, modals) */
html.page-auth .auth-card h1,
html.page-auth .auth-card h1.h3,
html.page-auth .auth-card .h3,
.console-page-hero h1,
.console-page-hero h1.h3,
.console-page-hero .h3,
.platform-page-hero h1,
.platform-page-hero h1.h3,
.platform-page-hero .h3,
.auth-form-modal .modal-title,
.organiser-pay-panel .platform-panel-head .h3,
.organiser-pay-panel .platform-panel-head .h6 {
    font-family: var(--app-display);
    font-size: clamp(1.5rem, 2.8vw, 1.85rem) !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}
.console-page-hero .text-muted,
.platform-page-hero .text-muted,
html.page-auth .auth-card > .card-body > .text-muted,
html.page-auth .auth-card .form-page-card > .text-muted,
.auth-form-modal .modal-body > .text-muted {
    font-size: 1rem !important;
    line-height: 1.5;
}
.form-page-card .form-label,
.auth-form-modal .form-label,
.organiser-pay-panel .form-label,
.organiser-pay-panel .fw-semibold.mb-2 {
    font-size: 1.05rem;
    font-weight: 650;
    color: #1e293b;
}
/* One button size across auth / pay / events / organiser console */
.form-page-card .btn:not(.btn-sm),
.auth-form-modal .btn:not(.btn-sm),
.organiser-pay-panel .btn:not(.btn-sm),
.organiser-pay-actions .btn:not(.btn-sm),
.organiser-event-tile .btn:not(.btn-sm),
.organiser-events-empty .btn:not(.btn-sm),
.platform-page-hero .console-actions .btn:not(.btn-sm),
html.page-admin-console main.app-console-main .platform-page-hero .console-actions .btn:not(.btn-sm),
html.page-admin-console main.app-console-main .platform-panel-body > form .btn:not(.btn-sm):not(.btn-close),
html.page-admin-console main.app-console-main .modal-footer .btn:not(.btn-sm) {
    font-size: var(--app-btn-fs) !important;
    font-weight: 650;
    line-height: 1;
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    padding: 0 var(--app-btn-px) !important;
    border-radius: var(--app-btn-radius) !important;
    box-sizing: border-box;
}
/* Hero title actions: match form field size */
.platform-page-hero .console-actions .btn:not(.btn-sm),
html.page-admin-console main.app-console-main .platform-page-hero .console-actions .btn:not(.btn-sm) {
    font-size: var(--app-btn-fs) !important;
    min-height: var(--app-btn-h);
    height: var(--app-btn-h);
    padding: 0 1.05rem !important;
    line-height: 1;
    border-radius: var(--app-btn-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.platform-page-hero .console-actions .attendee-csv-picker {
    height: var(--app-btn-h);
    min-height: var(--app-btn-h);
    max-height: var(--app-btn-h);
    gap: 0.45rem;
    padding: 0 0.85rem 0 0.25rem;
    border-radius: var(--app-btn-radius);
    box-sizing: border-box;
}
.platform-page-hero .console-actions .attendee-csv-picker-action {
    height: calc(var(--app-btn-h) - 0.5rem);
    min-height: calc(var(--app-btn-h) - 0.5rem);
    padding: 0 0.95rem;
    border-radius: calc(var(--app-btn-radius) - 0.1rem);
    font-size: var(--app-btn-fs);
    font-weight: 650;
    line-height: 1.25;
}
.platform-page-hero .console-actions .attendee-csv-picker-name {
    font-size: var(--app-btn-fs);
    line-height: 1.25;
}
.platform-page-hero .console-actions .attendee-csv-upload .attendee-csv-btn {
    height: var(--app-btn-h);
    min-height: var(--app-btn-h);
}
.auth-form-modal .modal-footer {
    gap: 0.65rem;
    justify-content: stretch;
}
.auth-form-modal .modal-footer .btn {
    flex: 1 1 0;
}
.organiser-pay-actions .btn {
    flex: 1 1 10rem;
}
.auth-form-modal .modal-body {
    font-size: 1.0625rem;
}
.auth-form-modal .form-text {
    font-size: 0.95rem;
}
.organiser-pay-breakdown {
    font-size: 1.02rem;
}
.organiser-pay-breakdown li.is-excluded [data-include-value] {
    color: #94a3b8;
}
.organiser-pay-breakdown li.is-included [data-include-value] {
    color: #0f766e;
    font-weight: 600;
}
html.page-auth .auth-card .form-page-card,
.form-page-card {
    --auth-control-h: var(--app-control-h);
}
.form-page-card .form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 0.32rem;
}
.form-page-card .form-control,
.form-page-card .form-control-lg {
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    font-size: var(--app-control-fs) !important;
    font-weight: 400;
    color: var(--app-ink);
    width: 100%;
    height: var(--auth-control-h);
    min-height: var(--auth-control-h);
    max-height: var(--auth-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-page-card .form-control:focus,
.form-page-card .form-control-lg:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    outline: none;
}
.form-page-card .btn.btn-lg,
.form-page-card .btn:not(.btn-sm) {
    height: var(--auth-control-h) !important;
    min-height: var(--auth-control-h) !important;
    max-height: var(--auth-control-h) !important;
    padding: 0 1.15rem !important;
    font-size: var(--app-btn-fs) !important;
    line-height: 1 !important;
    border-radius: var(--app-control-radius) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
html.page-auth .auth-card .form-page-card .form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 0.32rem;
}
html.page-auth .auth-card .form-control,
html.page-auth .auth-card .form-control-lg,
html.page-auth .auth-card .form-page-card .form-control,
html.page-auth .auth-card .form-page-card .form-control-lg {
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    font-size: var(--app-control-fs) !important;
    font-weight: 400;
    color: var(--app-ink);
    width: 100%;
    height: var(--auth-control-h);
    min-height: var(--auth-control-h);
    max-height: var(--auth-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
html.page-auth .auth-card .form-control::placeholder {
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}
html.page-auth .auth-card .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    font-weight: 400;
    outline: none;
}
html.page-auth .auth-card .form-page-card .btn.btn-lg,
html.page-auth .auth-card .form-page-card .btn:not(.btn-sm) {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-font-size: var(--app-btn-fs);
    height: var(--auth-control-h) !important;
    min-height: var(--auth-control-h) !important;
    max-height: var(--auth-control-h) !important;
    padding: 0 1.15rem !important;
    font-size: var(--app-btn-fs) !important;
    line-height: 1 !important;
    border-radius: var(--app-control-radius) !important;
    border: 1px solid transparent !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
html.page-admin-console main.app-console-main {
    gap: 0;
}
.console-page-hero {
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.16), transparent 36%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.86));
    box-shadow: var(--premium-shadow-soft);
    padding: clamp(1.15rem, 3vw, 1.75rem);
}
.console-actions {
    align-items: center;
}
.attendee-csv-upload {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 100%;
}
.attendee-csv-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.attendee-csv-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    max-width: min(100%, 22rem);
    padding: 0.3rem 0.85rem 0.3rem 0.3rem;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.55);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.attendee-csv-picker:hover,
.attendee-csv-picker:focus-within {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
    background: #fff;
}
.attendee-csv-picker.is-ready {
    border-color: rgba(16, 185, 129, 0.55);
    background: rgba(236, 253, 245, 0.85);
}
.attendee-csv-picker-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2.15rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 45%, #6366f1 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}
.attendee-csv-picker-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 550;
    line-height: 1.2;
}
.attendee-csv-picker.is-ready .attendee-csv-picker-name {
    color: #065f46;
    font-weight: 650;
}
.attendee-csv-upload .attendee-csv-btn {
    min-height: 2.85rem;
    white-space: nowrap;
}
.attendee-csv-upload .attendee-csv-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.attendee-search .attendee-search-input,
.attendee-search .attendee-search-btn {
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    box-sizing: border-box;
    font-size: var(--app-control-fs);
}
.attendee-search .attendee-search-input {
    padding: 0 var(--app-control-px);
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius) !important;
    box-shadow: var(--app-control-shadow);
    line-height: 1.25;
}
.attendee-search .attendee-search-input:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
.attendee-search .attendee-search-btn {
    border-radius: var(--app-control-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1.05rem !important;
    padding-right: 1.05rem !important;
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.25;
}
.attendee-search .form-label {
    font-size: 0.98rem;
    margin-bottom: 0.28rem;
}
.attendee-row-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
}
.attendee-row-actions > form {
    display: inline-flex;
    margin: 0;
}
.attendee-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    min-height: 2.15rem;
    padding: 0 !important;
    border-radius: 0.5rem;
    line-height: 1;
}
.attendee-action-icon {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    flex: 0 0 auto;
}
/* Custom package: hide Email on web; show on mobile (full email stays in Edit) */
.attendee-table--custom .attendee-col-email {
    display: none;
}
@media (max-width: 767.98px) {
    .attendee-table--custom .attendee-col-email {
        display: table-cell;
    }
}
@media (max-width: 767.98px) {
    .dashboard-guest-table td.text-end.text-nowrap:has(.attendee-row-actions),
    .platform-panel-table td.text-end.text-nowrap:has(.attendee-row-actions) {
        white-space: normal;
    }
    .attendee-row-actions {
        display: grid;
        grid-template-columns: repeat(2, 2.15rem);
        justify-content: end;
        align-items: center;
        gap: 0.35rem;
        width: max-content;
        margin-left: auto;
    }
    .attendee-row-actions > form {
        display: contents;
    }
}
html.page-staff-platform .staff-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.75rem !important;
    height: 1.75rem !important;
    min-height: 1.75rem !important;
    min-width: 1.75rem !important;
    padding: 0 !important;
    border-radius: 0.4rem !important;
    line-height: 1 !important;
    font-size: 0 !important;
}
html.page-staff-platform .staff-action-icon {
    width: 0.92rem;
    height: 0.92rem;
    display: block;
    flex: 0 0 auto;
}
html.page-staff-platform .staff-row-actions .staff-action-btn {
    flex: 0 0 auto;
}
html.page-staff-platform .staff-row-actions > .badge,
html.page-staff-platform .staff-row-actions .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    min-height: 1.75rem;
    margin: 0;
    padding: 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 0.4rem;
    vertical-align: middle;
}
html.page-staff-platform .staff-row-actions form.staff-mark-paid-form .form-select {
    min-height: 1.75rem;
    height: 1.75rem;
    min-width: 6.5rem;
    max-width: 7.75rem;
    font-size: 0.75rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    padding-right: 1.65rem;
}
.console-stat-card {
    overflow: hidden;
}
.console-stat-card .card-body {
    position: relative;
    z-index: 1;
}
.console-stat-card::after {
    content: "";
    position: absolute;
    right: -2rem;
    bottom: -2.25rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.13), transparent 68%);
}
.dashboard-guest-table > :not(caption) > * > * {
    padding-left: 1rem;
    padding-right: 1rem;
}
.dashboard-guest-table.table-sm > :not(caption) > * > * {
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Uniform table headers: dashboard, attendees, guests desk search */
.dashboard-guest-table thead th,
.platform-panel-table:has(#attendeeTableBody) thead th,
html.page-guests-desk #searchResults .table thead th,
html.page-staff-platform .dashboard-guest-table thead th,
html.page-admin-console .dashboard-guest-table thead th,
html.page-staff-platform .platform-panel-table:has(#attendeeTableBody) thead th,
html.page-admin-console .platform-panel-table:has(#attendeeTableBody) thead th,
html.page-guests-desk .table thead th {
    font-size: 0.86rem;
}
.dashboard-guest-table tbody td {
    font-size: 1rem;
    line-height: 1.35;
}
.dashboard-guest-table tbody td.fw-semibold {
    font-size: 1rem;
    font-weight: 650;
}
.dashboard-guest-table tbody .btn-sm,
#attendeeTableBody .btn-sm {
    --bs-btn-font-size: 0.94rem;
    font-size: 0.94rem !important;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.15rem;
    padding: 0.35rem 0.85rem !important;
    border-radius: 999px;
}
/* Attendee invite modals — shared field & button sizing */
@media (min-width: 768px) {
    #inviteSmsModal .modal-dialog,
    #inviteEinviteModal .modal-dialog,
    #thankyouModal .modal-dialog {
        max-width: 28rem;
    }
}
#guestModal .form-control,
#inviteSmsModal .form-control,
#inviteEinviteModal .form-control,
#thankyouModal .form-control {
    font-size: var(--app-control-fs);
    padding: 0 var(--app-control-px);
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    line-height: 1.25;
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
}
#guestModal .form-control:focus,
#inviteSmsModal .form-control:focus,
#inviteEinviteModal .form-control:focus,
#thankyouModal .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
#guestModal textarea.form-control,
#inviteSmsModal textarea.form-control,
#inviteEinviteModal textarea.form-control,
#thankyouModal textarea.form-control {
    height: auto;
    min-height: 5.5rem;
    max-height: none;
    padding: 0.7rem var(--app-control-px);
}
#guestModal .form-label,
#inviteSmsModal .form-label,
#inviteEinviteModal .form-label,
#thankyouModal .form-label {
    font-size: 0.98rem;
    margin-bottom: 0.28rem;
}
#guestModal .modal-footer .btn,
#inviteSmsModal .modal-footer .btn,
#inviteEinviteModal .modal-footer .btn,
#thankyouModal .modal-footer .btn {
    font-size: var(--app-btn-fs) !important;
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    padding: 0 1.05rem !important;
    line-height: 1.25;
    border-radius: var(--app-control-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#inviteSmsModal .form-text,
#inviteEinviteModal .form-text,
#thankyouModal .form-text {
    font-size: 0.88rem;
}
/* Start another event modal — shared soft controls */
#newEventModal .form-control {
    font-size: var(--app-control-fs);
    padding: 0 var(--app-control-px);
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    line-height: 1.25;
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
}
#newEventModal .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
}
#newEventModal .form-label {
    font-size: 0.98rem;
    margin-bottom: 0.28rem;
}
#newEventModal .form-text {
    font-size: 0.88rem;
}
#newEventModal .modal-footer .btn {
    font-size: var(--app-btn-fs) !important;
    min-height: var(--app-control-h);
    height: var(--app-control-h);
    padding: 0 1.1rem !important;
    line-height: 1.25;
    border-radius: var(--app-control-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#newEventModal .organiser-packages {
    gap: 0.55rem;
}
#newEventModal .organiser-packages--compact .organiser-package {
    padding: 0.85rem 0.95rem;
    border-radius: var(--app-radius-sm);
    border-width: 2px;
}
#newEventModal .organiser-packages--compact .organiser-package-name,
#newEventModal .organiser-packages--compact .organiser-package-price {
    font-size: 1.15rem;
}
@media (max-width: 991.98px) {
    #newEventModal .modal-dialog.auth-form-modal {
        width: min(calc(100% - 1.25rem), 100%);
        max-width: min(calc(100% - 1.25rem), 26rem);
        margin: 0.65rem auto;
    }
    #newEventModal .modal-content {
        border-radius: 1.1rem;
        max-height: calc(100dvh - 1.3rem);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    #newEventModal form {
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-height: calc(100dvh - 1.3rem);
    }
    #newEventModal .modal-header {
        padding: 1rem 1rem 0.35rem;
        flex: 0 0 auto;
    }
    #newEventModal .modal-title {
        font-size: 1.35rem !important;
        line-height: 1.2;
    }
    #newEventModal .premium-eyebrow {
        font-size: 0.72rem !important;
        margin-bottom: 0.2rem !important;
    }
    #newEventModal .modal-body {
        padding: 0.75rem 1rem 1.35rem !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1 1 auto;
        min-height: 0;
    }
    #newEventModal .modal-body > .small.text-muted {
        font-size: 0.92rem !important;
        margin-bottom: 0.85rem;
        line-height: 1.4;
    }
    #newEventModal .form-control {
        font-size: 1.12rem;
        min-height: 2.6rem;
        height: 2.6rem;
        padding: 0 0.9rem;
    }
    #newEventModal .form-label {
        font-size: 1.02rem;
    }
    #newEventModal .form-text {
        font-size: 0.9rem;
        margin-bottom: 0.85rem !important;
    }
    #newEventModal .organiser-packages {
        gap: 0.45rem;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.25rem;
    }
    #newEventModal .organiser-packages--compact .organiser-package {
        padding: 0.75rem 0.85rem;
    }
    #newEventModal .organiser-packages--compact .organiser-package-top {
        gap: 0.55rem;
    }
    #newEventModal .organiser-packages--compact .organiser-package-name,
    #newEventModal .organiser-packages--compact .organiser-package-price {
        font-size: 1.05rem;
    }
    #newEventModal .modal-footer {
        flex: 0 0 auto;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.55rem;
        margin-top: 0 !important;
        padding-top: 1.1rem !important;
        padding-right: 1rem !important;
        padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px)) !important;
        padding-left: 1rem !important;
        border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
        background: #fff;
    }
    #newEventModal .modal-footer .btn {
        width: 100%;
        flex: 0 0 auto;
        min-height: 2.5rem;
        height: 2.5rem;
        font-size: 1.02rem !important;
    }
}
/* Invite modal credits */
#inviteSmsModal .invite-modal-credits,
#inviteEinviteModal .invite-modal-credits,
#thankyouModal .invite-modal-credits {
    font-size: 1.02rem;
    line-height: 1.4;
}
#thankyouModal .form-check-label {
    font-size: 1.02rem;
}
/* Mobile: show event date in the device/system locale format */
.invite-date-field {
    position: relative;
}
.invite-date-display {
    display: none;
}
@media (max-width: 991.98px) {
    .invite-date-field .invite-date-display {
        display: block;
        position: absolute;
        left: 0.85rem;
        right: 2.75rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        pointer-events: none;
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 1.25;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .invite-date-field:not(.has-value) .invite-date-display::before {
        content: "Select date";
        color: #94a3b8;
        font-weight: 400;
    }
    .invite-date-field .invite-date-input {
        color: transparent !important;
        -webkit-text-fill-color: transparent;
        caret-color: transparent;
    }
    .invite-date-field .invite-date-input::-webkit-datetime-edit,
    .invite-date-field .invite-date-input::-webkit-datetime-edit-fields-wrapper,
    .invite-date-field .invite-date-input::-webkit-datetime-edit-text,
    .invite-date-field .invite-date-input::-webkit-datetime-edit-month-field,
    .invite-date-field .invite-date-input::-webkit-datetime-edit-day-field,
    .invite-date-field .invite-date-input::-webkit-datetime-edit-year-field {
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
    .invite-date-field .invite-date-input::-webkit-calendar-picker-indicator {
        position: relative;
        z-index: 2;
        opacity: 1;
        cursor: pointer;
    }
}
/* Edit attendee modal */
#editGuestModal .modal-title {
    font-size: 1.15rem;
}
#editGuestModal .form-label {
    font-size: 0.95rem;
}
#editGuestModal .form-control {
    font-size: 1.1rem;
}
#editGuestModal #edit_email {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    font-variant-numeric: normal;
}
#editGuestModal .edit-guest-meta-label {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.3rem;
}
#editGuestModal .edit-guest-meta-value {
    font-size: 1.1rem;
    color: #475569;
}
#editGuestModal .edit-guest-code {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}
#editGuestModal .form-check-label {
    font-size: 0.95rem;
}
#editGuestModal .modal-footer .btn {
    font-size: 0.98rem !important;
    min-height: 2.55rem;
    padding: 0.5rem 1.15rem !important;
}
#attendeePagination .pagination {
    gap: 0.45rem;
}
.helpers-people-table thead th,
html.page-staff-platform .helpers-people-table thead th,
html.page-admin-console .helpers-people-table thead th {
    font-size: 0.86rem;
}
.helpers-people-table tbody td,
html.page-staff-platform .helpers-people-table tbody td,
html.page-admin-console .helpers-people-table tbody td {
    font-size: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}
.helpers-people-table .btn-sm {
    font-size: 0.9rem !important;
    padding: 0.35rem 0.75rem !important;
}
html.page-admin-console .table-responsive.card,
html.page-admin-console main.app-console-main .table-responsive {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--premium-shadow-soft);
}
html.page-admin-console .table tbody td {
    vertical-align: middle;
}
html.page-admin-console .page-link {
    border-radius: 0.7rem;
    margin-inline: 0.12rem;
    border-color: rgba(148, 163, 184, 0.28);
}
.modal-content {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    box-shadow: 0 24px 68px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}
.modal-header,
.modal-footer {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.76);
}
/* Hide scrollbar on modal popups (scroll still works) */
.modal,
.modal-dialog,
.modal-dialog-scrollable .modal-content,
.modal-dialog-scrollable .modal-body,
.modal-body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal::-webkit-scrollbar,
.modal-dialog::-webkit-scrollbar,
.modal-dialog-scrollable .modal-content::-webkit-scrollbar,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
/* Stop popups / openers from “jumping” on click */
.modal,
.modal-dialog,
.modal-content,
.modal-body,
.modal-header,
.modal-footer {
    -webkit-tap-highlight-color: transparent;
}
.modal .btn:hover,
.modal .btn:focus,
.modal .btn:active,
.modal .btn:focus-visible,
.platform-page-hero .console-actions .btn:hover,
.platform-page-hero .console-actions .btn:focus,
.platform-page-hero .console-actions .btn:active,
.platform-page-hero .console-actions .btn:focus-visible,
html.page-admin-console main.app-console-main .platform-page-hero .console-actions .btn:hover,
html.page-admin-console main.app-console-main .platform-page-hero .console-actions .btn:focus,
html.page-admin-console main.app-console-main .platform-page-hero .console-actions .btn:active {
    transform: none !important;
}
.app-desk-card {
    min-height: 100%;
}
.app-desk-card::after {
    content: "";
    position: absolute;
    inset: auto -4rem -5rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
    pointer-events: none;
}
.whatsapp-live-chat {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 1085;
    width: 3.65rem;
    height: 3.65rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.whatsapp-live-chat:hover,
.whatsapp-live-chat:focus-visible {
    color: #fff !important;
    background: #1ebe57;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.48), 0 4px 12px rgba(15, 23, 42, 0.16);
}
.whatsapp-live-chat-icon {
    width: 1.85rem;
    height: 1.85rem;
    display: grid;
    place-items: center;
    position: relative;
}
.whatsapp-live-chat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.whatsapp-live-chat::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
@media (max-width: 575.98px) {
    .whatsapp-live-chat {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 3.35rem;
        height: 3.35rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-live-chat {
        transition: none;
    }
    .whatsapp-live-chat:hover,
    .whatsapp-live-chat:focus-visible {
        transform: none;
    }
}
@media (max-width: 767.98px) {
    html.page-landing .landing-headline {
        font-size: clamp(1.55rem, 5.5vw, 2.35rem);
    }
    html.page-landing .landing-section--hero h1.landing-headline {
        font-size: clamp(1.85rem, 7vw, 2.55rem);
    }
    .console-page-hero .btn,
    .console-actions .btn,
    .console-actions form,
    .console-actions input[type="file"] {
        width: 100%;
    }
    .console-actions form {
        align-items: stretch !important;
    }
    html.page-admin-console .table-responsive {
        border-radius: 1rem !important;
    }
}
/* —— Organiser login / register: photo + form entry —— */
html.page-auth-organiser body.app-body {
    background:
        radial-gradient(ellipse 70% 50% at 8% 0%, rgba(13, 148, 136, 0.1), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 20%, rgba(79, 70, 229, 0.1), transparent 52%),
        linear-gradient(165deg, #f8fafc 0%, #eef2ff 50%, #f0fdfa 100%);
}
html.page-auth-organiser main.app-main.container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0 !important;
}
.auth-entry {
    width: 100%;
    padding: clamp(0.75rem, 2.5vw, 1.5rem) clamp(0.85rem, 2.5vw, 1.25rem) clamp(1.35rem, 3.5vw, 2.25rem);
}
.auth-entry-shell {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 56rem);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 48px rgba(15, 23, 42, 0.08);
    animation: landingHeroIn 0.75s var(--app-ease) both;
}
.auth-entry-visual {
    position: relative;
    min-height: 14rem;
    background: #0f172a;
    overflow: hidden;
}
.auth-entry-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}
.auth-entry-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 14rem;
    max-height: 18rem;
}
.auth-entry-visual-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3.5rem 1.35rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.78) 58%, rgba(15, 23, 42, 0.9) 100%);
    color: #f8fafc;
}
.auth-entry-visual-brand {
    margin: 0 0 0.35rem;
    font-family: var(--app-display);
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
}
.auth-entry-visual-line {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(241, 245, 249, 0.9);
}
.auth-entry-main {
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(79, 70, 229, 0.06), transparent 50%),
        #fff;
}
.auth-entry-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
}
.auth-entry-switch a {
    font-size: 0.92rem;
    font-weight: 650;
    color: #94a3b8;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.12rem;
    transition: color 0.2s var(--app-ease), border-color 0.2s var(--app-ease);
}
.auth-entry-switch a:hover,
.auth-entry-switch a:focus-visible {
    color: #334155;
    text-decoration: none;
}
.auth-entry-switch a.is-active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}
.auth-entry-switch-sep {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: #cbd5e1;
}
.auth-entry-head {
    margin: 0 0 0.95rem;
}
.auth-entry-title {
    margin: 0 0 0.3rem;
    font-family: var(--app-display);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem) !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #0f172a;
}
.auth-entry-sub {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #64748b;
}
.auth-entry-alert {
    margin-bottom: 0.85rem;
}
.auth-entry-alert p:last-child {
    line-height: 1.45;
}
.auth-entry-form {
    --auth-control-h: var(--app-control-h);
    display: grid;
    gap: 0.75rem;
}
.auth-entry-field {
    margin: 0;
}
.auth-entry-field .form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 0.28rem;
}
.auth-entry-field-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.28rem;
}
.auth-entry-inline-link {
    font-size: 0.95rem;
    font-weight: 650;
    color: #4f46e5;
    text-decoration: none;
}
.auth-entry-inline-link:hover,
.auth-entry-inline-link:focus-visible {
    color: #3730a3;
    text-decoration: underline;
}
.auth-entry-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.auth-entry-form .form-control,
.auth-entry-form .form-control-lg {
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    font-size: var(--app-control-fs) !important;
    font-weight: 400;
    color: var(--app-ink);
    width: 100%;
    height: var(--auth-control-h);
    min-height: var(--auth-control-h);
    max-height: var(--auth-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.auth-entry-form .form-control::placeholder {
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}
.auth-entry-form .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    font-weight: 400;
    outline: none;
}
.password-field {
    position: relative;
    width: 100%;
}
.password-field > .form-control,
.password-field > .form-control-lg {
    padding-right: 3rem !important;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.password-toggle:hover,
.password-toggle:focus-visible {
    color: #1e40af;
    background: rgba(37, 99, 235, 0.08);
    outline: none;
}
.password-toggle[aria-pressed="true"] {
    color: #1e40af;
}
.password-toggle svg {
    display: block;
    pointer-events: none;
}
.auth-entry-form .form-text {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #64748b;
}
.auth-entry-form .btn.btn-lg.auth-entry-submit,
.auth-entry-form button.auth-entry-submit,
.auth-entry-submit {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-font-size: var(--app-btn-fs);
    --bs-btn-line-height: 1;
    margin-top: 0.15rem;
    width: 100%;
    height: var(--auth-control-h) !important;
    min-height: var(--auth-control-h) !important;
    max-height: var(--auth-control-h) !important;
    padding: 0 1.15rem !important;
    font-size: var(--app-btn-fs) !important;
    line-height: 1 !important;
    border-radius: var(--app-control-radius) !important;
    border: 1px solid transparent !important;
    font-weight: 650;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
    -webkit-appearance: none;
    appearance: none;
}
.auth-entry-foot {
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    text-align: center;
}
.auth-entry-foot a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}
.auth-entry-foot a:hover,
.auth-entry-foot a:focus-visible {
    color: #334155;
    text-decoration: underline;
}
@media (min-width: 576px) {
    .auth-entry-pair {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }
}
@media (min-width: 992px) {
    .auth-entry-shell {
        grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.9fr);
        min-height: min(32rem, 72vh);
    }
    .auth-entry-visual {
        min-height: 100%;
    }
    .auth-entry-visual picture {
        position: absolute;
        inset: 0;
    }
    .auth-entry-photo {
        position: absolute;
        inset: 0;
        min-height: 100%;
        max-height: none;
        height: 100%;
    }
    .auth-entry-visual-copy {
        padding: 3rem 1.25rem 1.25rem;
    }
    .auth-entry-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(1.25rem, 2.2vw, 1.85rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    .auth-entry-shell {
        animation: none;
    }
    .auth-entry-switch a {
        transition: none;
    }
}

/* —— Staff backend login —— */
html.page-auth-staff body.app-body {
    background:
        radial-gradient(ellipse 65% 50% at 0% 0%, rgba(245, 158, 11, 0.12), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 15%, rgba(30, 41, 59, 0.1), transparent 52%),
        linear-gradient(165deg, #f8fafc 0%, #fffbeb 42%, #f1f5f9 100%);
}
html.page-auth-staff main.app-main.container,
html.page-auth-staff main.app-console-main.container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0 !important;
}
.auth-entry--staff .auth-entry-shell {
    border-color: rgba(245, 158, 11, 0.28);
}
.auth-entry--staff .auth-entry-visual-copy {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 55%, rgba(12, 18, 34, 0.94) 100%);
}
.auth-entry-visual-kicker {
    display: inline-block;
    margin: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
    background: #fbbf24;
}
.auth-entry-badge {
    display: inline-block;
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b45309;
}
.auth-entry--staff .auth-entry-submit {
    background: linear-gradient(135deg, #0f172a, #1e293b 55%, #334155);
    border-color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}
.auth-entry--staff .auth-entry-submit:hover,
.auth-entry--staff .auth-entry-submit:focus-visible {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-color: #1e293b;
}
.auth-entry--staff .auth-entry-foot {
    color: #64748b;
    font-size: 0.95rem;
}
.auth-entry--staff .auth-entry-foot a {
    margin-left: 0.25rem;
    color: #4f46e5;
    font-weight: 650;
}

/* Public guest self-registration */
.guest-join {
    max-width: 28rem;
    margin: 0 auto;
    padding: 1.5rem 0 2.5rem;
}
.guest-join-shell {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.guest-join-brand {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}
.guest-join-title {
    font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 0.4rem;
}
.guest-join-sub {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.45;
}
.guest-join-alert {
    margin-top: 1.25rem;
    border: 0;
}
.guest-join-form {
    --auth-control-h: var(--app-control-h);
    margin-top: 1.35rem;
    display: grid;
    gap: 0.75rem;
}
.guest-join-field .form-label {
    font-size: 0.98rem;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 0.28rem;
}
.guest-join-form .form-control,
.guest-join-form .form-control-lg {
    background: var(--app-control-bg);
    border: var(--app-control-border);
    border-radius: var(--app-control-radius);
    box-shadow: var(--app-control-shadow);
    font-size: var(--app-control-fs) !important;
    font-weight: 400;
    color: var(--app-ink);
    width: 100%;
    height: var(--auth-control-h);
    min-height: var(--auth-control-h);
    max-height: var(--auth-control-h);
    padding: 0 var(--app-control-px);
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color 0.2s var(--app-ease), box-shadow 0.2s var(--app-ease);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.guest-join-form .form-control::placeholder {
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}
.guest-join-form .form-control:focus {
    border-color: var(--app-control-focus-border);
    box-shadow: var(--app-control-focus-ring), var(--app-control-shadow);
    background: #fff;
    font-weight: 400;
    outline: none;
}
.guest-join-form .form-text {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #64748b;
}
.guest-join-form .btn.btn-lg.guest-join-submit,
.guest-join-submit {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-font-size: var(--app-btn-fs);
    margin-top: 0.15rem;
    width: 100%;
    height: var(--auth-control-h) !important;
    min-height: var(--auth-control-h) !important;
    max-height: var(--auth-control-h) !important;
    padding: 0 1.15rem !important;
    font-size: var(--app-btn-fs) !important;
    line-height: 1 !important;
    border-radius: var(--app-control-radius) !important;
    border: 1px solid transparent !important;
    font-weight: 650;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.guest-join-success {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1.35rem 1rem;
    border-radius: 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.guest-join-success-name {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    font-weight: 700;
    color: #0f172a;
}
.guest-join-success-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #047857;
}
.guest-join-code {
    margin: 0 0 0.85rem;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.guest-join-success-hint {
    color: #475569;
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
    line-height: 1.5;
}

/* Organiser dashboard: shareable registration link */
.guest-reg-status-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.55rem;
}
.guest-reg-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}
html.page-admin-console .guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control,
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control,
.guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    max-width: none;
    height: var(--app-control-h) !important;
    min-height: var(--app-control-h) !important;
    max-height: var(--app-control-h) !important;
    font-size: var(--app-control-fs) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    padding: 0 var(--app-control-px) !important;
    background: var(--app-control-bg) !important;
    border: var(--app-control-border) !important;
    border-radius: var(--app-control-radius) !important;
    box-shadow: var(--app-control-shadow) !important;
    box-sizing: border-box;
}
.guest-reg-link-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
}
html.page-admin-console .guest-reg-panel .guest-reg-link-row .btn,
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn,
.guest-reg-panel .guest-reg-link-row .btn {
    flex: 1 1 0;
    min-width: 0;
    font-size: var(--app-btn-fs) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    min-height: var(--app-control-h) !important;
    height: var(--app-control-h) !important;
    max-height: var(--app-control-h) !important;
    padding: 0 1.05rem !important;
    border-radius: var(--app-control-radius) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn-primary {
    background: var(--org-blue);
    border-color: var(--org-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn-primary:hover {
    background: var(--org-blue-deep);
    border-color: var(--org-blue-deep);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn-outline-secondary {
    border-color: rgba(37, 99, 235, 0.22);
    background: #fff;
    color: var(--org-blue-deep);
}
html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn-outline-secondary:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: #1e3a8a;
    background: #eff6ff;
}
.guest-reg-link-row .guest-reg-link-action {
    display: contents;
}
@media (min-width: 768px) {
    .guest-reg-status-badge {
        align-self: center;
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    .guest-reg-link-row {
        align-items: center;
        flex-wrap: nowrap;
    }
    html.page-admin-console .guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control,
    html.page-console-organiser .guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control,
    .guest-reg-panel .guest-reg-link-row .guest-reg-link-input.form-control {
        flex: 1 1 auto;
        width: auto;
        max-width: 28rem;
    }
    .guest-reg-link-actions {
        width: auto;
        flex-wrap: nowrap;
        align-items: center;
    }
    html.page-admin-console .guest-reg-panel .guest-reg-link-row .btn,
    html.page-console-organiser .guest-reg-panel .guest-reg-link-row .btn,
    .guest-reg-panel .guest-reg-link-row .btn {
        flex: 0 0 auto;
        font-size: 1.05rem !important;
        padding: 0 1.05rem !important;
    }
    .guest-reg-toggle-btn::after {
        content: " link";
    }
    .guest-reg-open-btn::after {
        content: " page";
    }
}

/* Unified alerts + notices (match toast language) */
.alert {
    --bs-alert-border: transparent;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
    padding: 0.85rem 1.1rem 0.85rem 1.25rem;
    border-radius: 1.15rem !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.08), transparent 42%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    color: #334155 !important;
    font-size: 1.02rem;
    font-weight: 550;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.alert::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.35rem;
    background: linear-gradient(180deg, #6366f1, #4f46e5 55%, #0d9488);
}
.alert.alert-success {
    color: #065f46 !important;
    border-color: rgba(13, 148, 136, 0.28) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.14), transparent 42%),
        linear-gradient(165deg, #ecfdf5 0%, #ffffff 58%, #f8fafc 100%) !important;
}
.alert.alert-success::before {
    background: linear-gradient(180deg, #2dd4bf, #0d9488 55%, #0f766e);
}
.alert.alert-danger {
    color: #991b1b !important;
    border-color: rgba(239, 68, 68, 0.28) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.12), transparent 42%),
        linear-gradient(165deg, #fef2f2 0%, #ffffff 58%, #f8fafc 100%) !important;
}
.alert.alert-danger::before {
    background: linear-gradient(180deg, #fb7185, #ef4444 55%, #dc2626);
}
.alert.alert-warning {
    color: #92400e !important;
    border-color: rgba(245, 158, 11, 0.32) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12), transparent 42%),
        linear-gradient(165deg, #fffbeb 0%, #ffffff 58%, #f8fafc 100%) !important;
}
.alert.alert-warning::before {
    background: linear-gradient(180deg, #fbbf24, #f59e0b 55%, #d97706);
}
.alert.alert-info,
.alert.alert-primary,
.alert.alert-secondary {
    color: #3730a3 !important;
    border-color: rgba(79, 70, 229, 0.28) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.12), transparent 42%),
        linear-gradient(165deg, #eef2ff 0%, #ffffff 58%, #f8fafc 100%) !important;
}
.alert.alert-info::before,
.alert.alert-primary::before,
.alert.alert-secondary::before {
    background: linear-gradient(180deg, #818cf8, #4f46e5 55%, #3730a3);
}
.alert .fw-semibold,
.alert strong {
    color: inherit;
}
.alert a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}
.alert code {
    color: inherit;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 0.35rem;
    padding: 0.05rem 0.35rem;
}

/* Floating status toast (welcome / payment / notices) */
.app-toast-host {
    position: fixed;
    top: max(5.75rem, env(safe-area-inset-top, 0px) + 5.25rem);
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 0 1rem;
    pointer-events: none;
    box-sizing: border-box;
}
.app-toast {
    position: relative;
    top: auto;
    left: auto;
    transform: translateY(-0.45rem);
    z-index: 2000;
    width: fit-content;
    max-width: min(28rem, calc(100vw - 2rem));
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.app-toast.is-hiding {
    opacity: 0;
    transform: translateY(-0.35rem);
    pointer-events: none;
}
.app-toast-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.8rem 0.75rem 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}
.app-toast-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.32rem;
    background: linear-gradient(180deg, #6366f1, #4f46e5 55%, #0d9488);
}
.app-toast--success .app-toast-card::before {
    background: linear-gradient(180deg, #2dd4bf, #0d9488 55%, #0f766e);
}
.app-toast--warning .app-toast-card::before {
    background: linear-gradient(180deg, #fbbf24, #f59e0b 55%, #d97706);
}
.app-toast--danger .app-toast-card::before {
    background: linear-gradient(180deg, #fb7185, #ef4444 55%, #dc2626);
}
.app-toast--warning .app-toast-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.1), transparent 42%),
        linear-gradient(165deg, #fffbeb 0%, #ffffff 58%, #f8fafc 100%);
    border-color: rgba(245, 158, 11, 0.32);
}
.app-toast--danger .app-toast-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.1), transparent 42%),
        linear-gradient(165deg, #fef2f2 0%, #ffffff 58%, #f8fafc 100%);
    border-color: rgba(239, 68, 68, 0.28);
}
.app-toast--success .app-toast-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.12), transparent 42%),
        linear-gradient(165deg, #ecfdf5 0%, #ffffff 58%, #f8fafc 100%);
    border-color: rgba(13, 148, 136, 0.28);
}
.app-toast-mark {
    position: relative;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #5eead4, transparent 55%),
        linear-gradient(145deg, #14b8a6, #0d9488);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.app-toast-mark::after {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.26rem;
    width: 0.32rem;
    height: 0.55rem;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.app-toast--warning .app-toast-mark {
    background:
        radial-gradient(circle at 35% 35%, #fde68a, transparent 55%),
        linear-gradient(145deg, #fbbf24, #d97706);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}
.app-toast--warning .app-toast-mark::after {
    left: 50%;
    top: 50%;
    width: 0.18rem;
    height: 0.58rem;
    border: 0;
    border-radius: 99px;
    background: #fff;
    transform: translate(-50%, -58%);
    box-shadow: 0 0.28rem 0 #fff;
}
.app-toast--danger .app-toast-mark {
    background:
        radial-gradient(circle at 35% 35%, #fda4af, transparent 55%),
        linear-gradient(145deg, #f87171, #dc2626);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.app-toast--danger .app-toast-mark::after {
    left: 50%;
    top: 50%;
    width: 0.62rem;
    height: 0.18rem;
    border: 0;
    border-radius: 99px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}
.app-toast--danger .app-toast-mark::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.62rem;
    height: 0.18rem;
    border-radius: 99px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.app-toast--info .app-toast-mark {
    background:
        radial-gradient(circle at 35% 35%, #a5b4fc, transparent 55%),
        linear-gradient(145deg, #818cf8, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.app-toast-copy {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(22rem, calc(100vw - 7rem));
    overflow: hidden;
}
.app-toast-title {
    margin: 0;
    font-family: var(--app-display);
    font-weight: 650;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #0f172a;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.app-toast-title + .app-toast-body {
    margin-top: 0.25rem;
}
.app-toast--warning .app-toast-title { color: #92400e; }
.app-toast--danger .app-toast-title { color: #991b1b; }
.app-toast--success .app-toast-title { color: #0f766e; }
.app-toast--info .app-toast-title { color: #3730a3; }
.app-toast-body {
    margin: 0;
    font-family: var(--app-display);
    font-size: 1.02rem;
    line-height: 1.45;
    color: #0f172a;
    font-weight: 550;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.app-toast-close {
    position: static;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.app-toast-close:hover {
    background: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}
.app-toast-progress {
    position: absolute;
    left: 0.32rem;
    right: 0;
    bottom: 0;
    height: 3px;
    transform-origin: left center;
    transform: scaleX(1);
    background: rgba(79, 70, 229, 0.55);
}
.app-toast--warning .app-toast-progress { background: rgba(245, 158, 11, 0.7); }
.app-toast--danger .app-toast-progress { background: rgba(239, 68, 68, 0.7); }
.app-toast--success .app-toast-progress { background: rgba(13, 148, 136, 0.7); }
.app-toast.is-visible .app-toast-progress {
    animation: app-toast-progress-shrink linear forwards;
    animation-duration: var(--app-toast-ttl, 7s);
}
@keyframes app-toast-progress-shrink {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .app-toast,
    .app-toast.is-visible .app-toast-progress {
        transition: none;
        animation: none;
    }
}

/* —— Organiser backend: soft blue —— */
html.page-console-organiser {
    --org-ink: #0f172a;
    --org-muted: #64748b;
    --org-line: rgba(148, 163, 184, 0.22);
    --org-surface: #ffffff;
    --org-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
    --org-blue: #2563eb;
    --org-blue-deep: #1d4ed8;
    --org-blue-soft: rgba(37, 99, 235, 0.08);
    --org-green: #059669;
    --org-amber: #d97706;
}
html.page-console-organiser body.app-body {
    color: var(--org-ink);
    background-color: #eef2f7;
    background-image:
        radial-gradient(ellipse 90% 55% at 8% -12%, rgba(37, 99, 235, 0.1), transparent 55%),
        radial-gradient(ellipse 60% 45% at 95% 5%, rgba(59, 130, 246, 0.07), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 55%, #e8eef6 100%);
    background-attachment: scroll;
}
html.page-console-organiser body.app-body::before {
    content: none;
    display: none;
}
html.page-console-organiser .navbar.app-navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 2px solid var(--org-blue) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 3px 12px rgba(37, 99, 235, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
html.page-console-organiser .navbar.app-navbar::after {
    content: none;
    display: none;
}
html.page-console-organiser .navbar-console-badge--organiser {
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: none;
}
html.page-console-organiser .nav-link.active,
html.page-console-organiser .navbar .nav-link:hover {
    color: var(--org-blue-deep) !important;
}
html.page-console-organiser main.app-console-main {
    padding-top: clamp(1.1rem, 2.5vw, 1.65rem);
    padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
html.page-console-organiser .platform-page {
    animation: none;
}
html.page-console-organiser .platform-page-hero,
html.page-console-organiser .console-page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.07), transparent 45%),
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--org-shadow);
    padding: clamp(1.15rem, 2.8vw, 1.55rem) clamp(1.15rem, 2.8vw, 1.5rem);
}
html.page-console-organiser .platform-page-hero::before,
html.page-console-organiser .console-page-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--org-blue);
    border-radius: 1rem 0 0 1rem;
    display: block;
}
html.page-console-organiser .platform-page-hero .premium-eyebrow,
html.page-console-organiser .console-page-hero .premium-eyebrow {
    color: var(--org-blue) !important;
    letter-spacing: 0.12em;
}
html.page-console-organiser .platform-page-hero h1,
html.page-console-organiser .console-page-hero h1 {
    letter-spacing: -0.03em;
    color: var(--org-ink);
}
html.page-console-organiser .platform-page-hero .text-muted,
html.page-console-organiser .console-page-hero .text-muted {
    color: #64748b !important;
}
html.page-console-organiser .platform-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--org-line);
    background: var(--org-surface);
    box-shadow: var(--org-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
html.page-console-organiser .platform-panel:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(37, 99, 235, 0.06);
    transform: none;
}
html.page-console-organiser .platform-panel-head {
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--org-line);
}
html.page-console-organiser .platform-panel-head .h6 {
    font-family: var(--app-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--org-ink);
}
html.page-console-organiser .platform-panel-head--success {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    border-bottom-color: rgba(16, 185, 129, 0.18);
}
html.page-console-organiser .platform-panel-head--warn {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    border-bottom-color: rgba(245, 158, 11, 0.2);
}
html.page-console-organiser .platform-panel-body {
    padding: 1.2rem 1.25rem 1.35rem;
}
html.page-console-organiser .platform-stat {
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--org-shadow);
    padding: 1.05rem 1.1rem 1.1rem;
    border-left: 3px solid var(--org-blue);
    transition: none;
}
html.page-console-organiser .platform-stat:hover {
    transform: none;
    box-shadow: var(--org-shadow);
    border-color: rgba(37, 99, 235, 0.18);
}
html.page-console-organiser .platform-stat--success {
    border-left-color: var(--org-green);
    border-color: rgba(16, 185, 129, 0.16);
    background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 100%);
}
html.page-console-organiser .platform-stat--warn {
    border-left-color: var(--org-amber);
    border-color: rgba(245, 158, 11, 0.18);
    background: linear-gradient(165deg, #ffffff 0%, #fffbeb 100%);
}
html.page-console-organiser .platform-stat--teal {
    border-left-color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.16);
    background: linear-gradient(165deg, #ffffff 0%, #eff6ff 100%);
}
html.page-console-organiser .platform-stat-label {
    color: var(--org-muted);
    margin-bottom: 0.3rem;
}
html.page-console-organiser .platform-stat-value {
    font-family: var(--app-display);
    font-size: clamp(1.55rem, 2.8vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--org-ink);
}
html.page-console-organiser .platform-stat-unit {
    font-size: 1em;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin-left: 0.05em;
}
html.page-console-organiser .platform-stat-value.text-primary {
    color: var(--org-blue-deep) !important;
}
html.page-console-organiser .platform-stat-value.text-success {
    color: var(--org-green) !important;
}
html.page-console-organiser .platform-stat-value.text-warning {
    color: var(--org-amber) !important;
}
html.page-console-organiser .platform-stat--teal .platform-stat-value {
    color: var(--org-blue);
}
html.page-console-organiser .platform-stat .progress {
    height: 0.35rem !important;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    overflow: hidden;
}
html.page-console-organiser .platform-stat .progress-bar {
    border-radius: 999px;
    background: var(--org-blue) !important;
}
html.page-console-organiser .platform-panel-table thead th {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e40af !important;
    background: #f8fafc !important;
    border-bottom-color: rgba(37, 99, 235, 0.1) !important;
}
html.page-console-organiser .dashboard-guest-table thead th {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
html.page-console-organiser .platform-panel-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.03);
}
html.page-console-organiser .platform-panel-table code {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.18rem 0.45rem;
    border-radius: 0.4rem;
    background: var(--org-blue-soft);
    color: #1e40af;
    border: 1px solid rgba(37, 99, 235, 0.12);
}
html.page-console-organiser .badge.text-bg-success {
    background: #059669 !important;
}
html.page-console-organiser .badge.text-bg-warning {
    color: #92400e !important;
    background: #fde68a !important;
}
html.page-console-organiser main.app-console-main .card {
    border-radius: 1rem;
    border: 1px solid var(--org-line) !important;
    background: var(--org-surface) !important;
    box-shadow: var(--org-shadow) !important;
}
html.page-console-organiser main.app-console-main .card:not(:has(.table)):hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06) !important;
}
html.page-console-organiser .organiser-event-tile {
    position: relative;
    border-radius: 1rem;
    border: 1px solid var(--org-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.06), transparent 48%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--org-shadow);
}
html.page-console-organiser .organiser-event-tile::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--org-blue);
    border-radius: 1rem 0 0 1rem;
    display: block;
}
html.page-console-organiser .organiser-event-tile.is-unpaid {
    background: linear-gradient(165deg, #ffffff 0%, #fffbeb 100%);
    border-color: rgba(245, 158, 11, 0.24);
}
html.page-console-organiser .organiser-event-tile.is-unpaid::before {
    background: var(--org-amber);
}
html.page-console-organiser .organiser-event-tile.is-current {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1), var(--org-shadow);
}
html.page-console-organiser .organiser-event-tile:hover {
    transform: none;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
html.page-console-organiser .console-actions .btn-primary {
    background: var(--org-blue);
    border-color: var(--org-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
html.page-console-organiser .console-actions .btn-primary:hover {
    background: var(--org-blue-deep);
    border-color: var(--org-blue-deep);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
html.page-console-organiser .console-actions .btn-outline-secondary {
    border-color: rgba(37, 99, 235, 0.22);
    background: #fff;
    color: var(--org-blue-deep);
}
html.page-console-organiser .console-actions .btn-outline-secondary:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: #1e3a8a;
    background: #eff6ff;
}
html.page-console-organiser.page-guests-desk .platform-panel,
html.page-console-organiser.page-guests-desk .app-desk-card {
    border-radius: 1rem;
    box-shadow: var(--org-shadow);
    border-color: rgba(37, 99, 235, 0.12);
}
html.page-console-organiser.page-guests-desk .desk-scanner-panel .platform-panel-head {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom-color: rgba(37, 99, 235, 0.1);
}

/* Pay / packages: soft blue accents */
.organiser-pay-panel.platform-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05), transparent 42%),
        #fff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.organiser-pay-panel.platform-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--org-blue, #2563eb);
    display: block;
}
.organiser-package {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.organiser-package.is-selected {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
    background: linear-gradient(165deg, #ffffff 0%, #eff6ff 100%);
}

/* Site brand mark (text or uploaded logo) */
.app-brand-mark {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    line-height: 1;
}
.app-brand-mark picture {
    display: contents;
}
.app-brand-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.app-brand-mark--nav .app-brand-logo,
.app-brand-mark--footer .app-brand-logo {
    max-height: var(--app-logo-h, 1.85rem);
    max-width: var(--app-logo-w, 8.5rem);
}
.footer-brand .app-brand-mark {
    display: inline-flex;
    max-width: 100%;
}
.footer-brand .app-brand-logo {
    max-height: var(--app-logo-h, 1.85rem);
    max-width: var(--app-logo-w, 8.5rem);
}
.app-brand-mark--hero .app-brand-logo {
    max-height: var(--app-logo-hero-h, 2.25rem);
    max-width: min(100%, var(--app-logo-hero-w, 10.5rem));
}
.app-brand-mark--auth .app-brand-logo {
    max-height: var(--app-logo-auth-h, 2rem);
    max-width: var(--app-logo-auth-w, 9.5rem);
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.35));
}
.app-brand-mark--join .app-brand-logo {
    max-height: var(--app-logo-h, 1.85rem);
    max-width: var(--app-logo-w, 8.5rem);
}
.footer-brand .app-brand-mark--footer .app-brand-text {
    color: #fff;
}
html.page-landing .landing-hero-brand .app-brand-mark {
    display: inline-flex;
}
.auth-entry-visual-brand .app-brand-text {
    color: #fff;
}
.staff-brand-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.06), transparent 50%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
}
.staff-brand-logo-img {
    display: block;
    max-height: 5.75rem;
    max-width: min(100%, 20rem);
    width: auto;
    height: auto;
    object-fit: contain;
}
.staff-brand-logo-fallback {
    font-family: var(--app-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

/* Public legal documents */
.legal-page {
    padding: 0.5rem 0 2.5rem;
}
.legal-page-shell {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}
@media (min-width: 992px) {
    .legal-page-shell {
        grid-template-columns: 13.5rem minmax(0, 1fr);
        gap: 2.5rem;
    }
}
.legal-page-nav {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
}
.legal-page-nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.75rem;
}
.legal-page-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}
@media (max-width: 991.98px) {
    .legal-page {
        padding: 0.25rem 0 2rem;
    }
    .legal-page-nav {
        padding: 0.85rem 0.85rem 0.95rem;
        margin: 0 -0.15rem;
    }
    .legal-page-nav-label {
        margin-bottom: 0.55rem;
    }
    .legal-page-nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    .legal-page-nav-link {
        text-align: center;
        padding: 0.55rem 0.5rem;
        font-size: 0.9rem;
        line-height: 1.25;
    }
    .legal-page-hero {
        margin-bottom: 1.35rem;
        padding-bottom: 1.1rem;
    }
    .legal-page-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }
    .legal-page-lede {
        font-size: 1rem;
    }
    .legal-page-body {
        font-size: 1rem;
    }
    .legal-page-body h2 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
    }
}
@media (min-width: 992px) {
    .legal-page-nav-list {
        flex-direction: column;
        gap: 0.2rem;
    }
}
.legal-page-nav-link {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.legal-page-nav-link:hover,
.legal-page-nav-link:focus-visible {
    background: rgba(37, 99, 235, 0.08);
    color: #1e40af;
    outline: none;
}
.legal-page-nav-link.is-active {
    background: rgba(37, 99, 235, 0.12);
    color: #1e3a8a;
}
.legal-page-doc {
    min-width: 0;
}
.legal-page-hero {
    margin-bottom: 1.75rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}
.legal-page-title {
    font-family: var(--app-display);
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 0.65rem;
}
.legal-page-lede {
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 40rem;
    margin-bottom: 0.85rem !important;
}
.legal-page-updated {
    font-size: 0.92rem;
}
.legal-page-body {
    max-width: 44rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #334155;
}
.legal-page-body h2 {
    font-family: var(--app-display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 1.85rem 0 0.65rem;
}
.legal-page-body p,
.legal-page-body ul {
    margin: 0 0 1rem;
}
.legal-page-body ul {
    padding-left: 1.2rem;
}
.legal-page-body li {
    margin-bottom: 0.45rem;
}
.legal-page-body a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.legal-page-body a:hover {
    color: #1e3a8a;
}
html.page-legal .app-main {
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.06), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 38%);
}

