/* =========================================
   1. BASE & GLOBALS
========================================= */
body {
    background: var(--bg-body);
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    color: var(--text-main);
}

/* =========================================
   2. LAYOUTS & PAGES
========================================= */

/* --- Login Page --- */
.guest-wrapper {
    background: var(--bg-body);
}

.kv-background {
    position: fixed;
    z-index: -1;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

.login-left {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
}

.login-brand {
    max-width: 500px;
    padding: 60px;
}

.login-brand h1 {
    font-family: var(--font-sans);
    font-weight: var(--fw-semibold);
}

.login-card {
    width: 100%;
    max-width: 470px;
    background: var(--bg-surface);
    padding: 50px;
    border-radius: 16px;
}

/* --- Onboarding Page --- */
.onboarding-page {
    background: var(--bg-body);
    color: var(--text-main);
}

.onboarding-shell {
    min-height: 100vh;
}

.onboarding-header {
    border-left: 5px solid var(--primary);
    padding-left: 24px;
}

.onboarding-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    padding: 32px;
}

/* --- Home Page --- */
.home-page {
    background: var(--bg-body);
    color: var(--text-main);
}

.home-shell {
    min-height: calc(100vh - 73px);
}

.home-welcome {
    border-left: 5px solid var(--primary);
    padding-left: 24px;
}

.home-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    padding: 24px;
}

/* --- Organisation Import --- */
.organisation-import-page {
    background: var(--bg-body);
}

.organisation-import-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.organisation-upload-box {
    display: block;
    cursor: pointer;
    border: 2px dashed var(--border-dark);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    background: var(--bg-surface);
    transition: border-color .2s, background .2s;
}

.organisation-upload-box:hover,
.organisation-upload-box:focus-within {
    border-color: var(--badge-partner);
    background: #f8fbff;
}

.organisation-file-name {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
}


/* =========================================
   3. COMPONENTS
========================================= */

/* --- Navbar (Premium) --- */
.event-navbar {
    position: sticky;
    top: var(--connection-notice-height, 0px);
    z-index: 1020;
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border-main) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.event-navbar .navbar {
    width: min(calc(100% - 32px), var(--content-max-width));
    margin-inline: auto;
    min-height: 72px;
    padding-inline: 0 !important;
}

.event-navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 2.25rem;
}

.event-navbar-logo {
    display: block;
    height: 38px;
    width: auto;
    transition: transform 0.2s ease;
}

.event-navbar-brand:hover .event-navbar-logo {
    transform: scale(1.02);
}

.event-navbar-menu {
    align-items: center;
    gap: 0.25rem;
}

.event-navbar-menu .nav-link {
    align-items: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.5rem 0.8rem !important;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.event-navbar-menu .nav-link:hover,
.event-navbar-menu .nav-link:focus {
    color: var(--primary-dark);
    background-color: var(--bg-alt);
}

.event-navbar-menu .nav-link.active {
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: var(--fw-semibold);
}

.event-navbar-menu .nav-link i {
    color: currentColor;
    font-size: 0.95rem !important;
    line-height: 1;
}

.event-navbar-actions {
    gap: 0.5rem !important;
}

.event-navbar-actions .btn-link,
.event-navbar-action {
    align-items: center;
    background: transparent;
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    min-height: 40px;
    width: 40px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.event-navbar-actions .btn-link:hover,
.event-navbar-actions .btn-link:focus-visible,
.event-navbar-action:hover,
.event-navbar-action:focus-visible {
    background-color: var(--bg-hover);
    color: var(--primary-dark) !important;
}

#profileTrigger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    margin-left: 0;
    padding: 0;
    width: 44px;
    transition: box-shadow var(--transition-fast);
}

#profileTrigger:hover {
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.navbar-profile-avatar,
.navbar-profile-fallback,
.navbar-profile-icon {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 50%;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.navbar-profile-avatar {
    object-fit: cover;
}

.navbar-profile-fallback {
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: var(--fw-semibold);
}

.navbar-profile-icon {
    color: var(--text-light);
    font-size: 42px;
    line-height: 1;
}

#profileTrigger img,
#profileTrigger span {
    transition: border-color 0.2s ease;
}

#profileTrigger:hover img,
#profileTrigger:hover span {
    border-color: var(--primary);
}

/* --- Facebook-style quick access dock --- */
.event-quick-actions {
    align-items: flex-end;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 24px;
    z-index: 1010;
}

.event-quick-action {
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    color: var(--text-main);
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    gap: 9px;
    min-height: 46px;
    padding: 8px 15px 8px 10px;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.event-quick-action:hover,
.event-quick-action:focus-visible,
.event-quick-action.active {
    background: var(--primary-soft);
    border-color: var(--primary-soft-border);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.event-quick-action-icon {
    align-items: center;
    background: var(--primary);
    border-radius: 50%;
    color: var(--text-inverse);
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.event-quick-dot {
    background: var(--danger);
    border: 2px solid var(--bg-surface);
    border-radius: 50%;
    height: 9px;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 9px;
}

.event-quick-count {
    align-items: center;
    background: var(--danger);
    border-radius: var(--radius-pill);
    color: var(--text-inverse);
    display: inline-flex;
    font-size: 0.6875rem;
    height: 19px;
    justify-content: center;
    min-width: 19px;
    padding-inline: 5px;
}

body:has(.event-quick-actions) {
    padding-bottom: 16px;
}

/* --- Forms & Inputs --- */
.form-control {
    height: 52px;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 157, 122, 0.2);
    outline: none;
}

.home-search {
    gap: 10px;
    max-width: 560px;
    width: 48vw;
}

.home-search .form-control {
    height: 44px;
}

/* --- Buttons --- */
.btn-success {
    background: var(--primary);
    border: none;
}

.btn-success:hover {
    background: var(--primary-strong);
}

.btn-message {
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
    color: #ffffff;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-message:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
}

.btn-message:active,
.btn-message:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 114, 91, 0.25);
}

.mobile-search-button {
    align-items: center;
    border-radius: 999px;
    bottom: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    font-weight: var(--fw-semibold);
    min-height: 54px;
    padding: 0 22px;
    position: fixed;
    right: 20px;
    z-index: 1030;
}

.event-quick-search {
    cursor: pointer;
    font-family: inherit;
}

/* --- Chips & Badges --- */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.interest-chip {
    border: 1px solid var(--border-dark);
    border-radius: 999px;
    color: var(--text-main);
    font-weight: var(--fw-regular);
    min-height: 40px;
    padding: 6px 12px;
    font-size: 0.8rem;
}

.interest-chip:hover,
.interest-chip:focus {
    border-color: var(--primary);
    color: var(--primary-strong);
}

.interest-chip.is-selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-surface);
}

.attendee-interest-chip {
    background-color: var(--primary-soft) !important;
    color: #0f5132 !important;
    border: 1px solid var(--primary-soft-border) !important;
    font-weight: var(--fw-medium);
}

/* --- Lists & Cards --- */
.schedule-list {
    border-radius: 8px;
    overflow: hidden;
}

.schedule-time {
    color: var(--primary-strong);
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
}

.schedule-content p,
.person-row p,
.announcement-item p {
    font-size: 0.95rem;
}

.recommended-list,
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.person-row {
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
}

.person-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.person-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 50%;
    color: var(--primary-strong);
    display: inline-flex;
    flex: 0 0 44px;
    font-weight: var(--fw-semibold);
    height: 44px;
    justify-content: center;
    width: 44px;
}

.goal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 158px;
    padding: 22px;
    text-align: left;
    width: 100%;
}

.goal-card:hover,
.goal-card:focus {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    outline: none;
}

.goal-card.is-selected {
    background: var(--primary-soft);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.goal-card-title {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
}

.goal-card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Validation Logic */
.chip-group+.invalid-feedback,
[data-selection-group="goals"]+.invalid-feedback {
    display: none !important;
}

.was-validated .chip-group.is-invalid+.invalid-feedback,
.was-validated [data-selection-group="goals"].is-invalid+.invalid-feedback {
    display: block !important;
}

/* --- Home Dashboard Panels --- */
.home-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px; /* Smoother, modern corners */
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* Very soft premium shadow */
}

/* Reusing the signature underline for dashboard sections */
.home-section-title {
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.home-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* --- Schedule Cards --- */
.schedule-item {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 70px 1fr;
    padding: 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-soft-border);
}

.schedule-time {
    color: var(--primary-strong);
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    padding-top: 0.1rem;
}

.schedule-title {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

/* Custom Badges */
.schedule-badge-primary {
    background-color: var(--primary-soft);
    color: var(--primary-strong);
    border: 1px solid var(--primary-soft-border);
    font-weight: var(--fw-medium);
    padding: 0.35rem 0.65rem;
}

.schedule-badge-outline {
    background-color: var(--bg-alt);
    color: var(--text-muted);
    border: 1px solid var(--border-dark);
    font-weight: var(--fw-medium);
    padding: 0.35rem 0.65rem;
}

/* --- Announcement Cards --- */
.announcement-item {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary); /* Signature brand stripe on the left */
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: transform 0.2s ease;
}

.announcement-item:hover {
    transform: translateX(4px); /* Slides slightly to the right to indicate interactivity/focus */
    background: var(--bg-surface);
    border-color: var(--border-main);
    border-left-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.announcement-title {
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

/* --- Responsive Layout Tweaks --- */
@media(max-width: 767.98px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .schedule-time {
        font-size: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 0.25rem;
    }
}

/* --- Exhibitor Slider & Cards --- */
.exhibitor-slider { 
    overflow: hidden; /* Hide the scrollbar completely for a seamless marquee */
    padding-bottom: 12px; 
    padding-top: 4px; /* Room for the hover lift shadow */
}

.exhibitor-track { 
    display: flex; 
    gap: 1.25rem; 
    width: max-content; 
    align-items: center; 
    animation: slow-crawl 90s linear infinite; 
}

.exhibitor-slider:hover .exhibitor-track { 
    animation-play-state: paused; /* Pauses the scroll when they hover to click */
}

/* Premium Logo Cards */
.exhibitor-logo { 
    align-items: center; 
    background: var(--bg-surface); /* Clean white background */
    border: 1px solid var(--border-light); 
    border-radius: 12px; /* Modern rounding */
    display: inline-flex; 
    height: 90px; 
    justify-content: center; 
    min-width: 180px; 
    padding: 1rem; 
    text-align: center; 
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.exhibitor-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover Lift Effect */
.exhibitor-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-soft-border);
}

.exhibitor-logo:hover img {
    transform: scale(1.05); /* Slight image zoom on hover */
}

@keyframes slow-crawl { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* --- Page Headers & Typography --- */
.page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: var(--fw-bold);
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.welcome-greeting {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Premium Date Badge --- */
.premium-date-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: var(--fw-medium);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Ensure the welcome border uses our exact border variable and aligns correctly */
.home-welcome {
    border-left: 4px solid var(--primary); /* Dropped from 5px to 4px for elegance */
    padding-left: 20px;
}

@media(max-width: 767.98px) {
    .page-title {
        font-size: 1.75rem; /* Scales down smoothly on mobile */
    }
    
    .home-welcome {
        padding-left: 16px; /* Tighter padding for mobile screens */
    }
}


/* =========================================
   4. MODALS & PROFILES
========================================= */

/* --- Organisation Modal --- */
.modal-org-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.modal-org-logo-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.modal-org-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.modal-org-title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--text-main);
    margin-bottom: 0.35rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.modal-org-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.modal-org-link {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.2s ease;
}

.modal-org-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.modal-org-banner {
    color: #ffffff;
    text-align: center;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    letter-spacing: 1px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-org-booth {
    color: var(--text-light);
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

/* Shared Modal Utilities */
.modal-section-title,
.attendee-section-heading {
    font-size: 1.15rem;
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.modal-section-title::after,
.attendee-section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.modal-chip {
    background-color: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-weight: var(--fw-medium);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.modal-chip:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-dark);
}

/* --- Attendee Modal Grid --- */
.attendee-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    height: 100%;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.attendee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--primary);
}

.attendee-avatar,
.attendee-placeholder {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background-color: var(--border-dark);
    border-radius: 8px;
}

.attendee-avatar {
    object-fit: cover;
}

.attendee-placeholder {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background-color: #e2e8f0 !important; /* Soft neutral grey */
    color: #475569 !important; /* Slate grey text */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendee-info {
    margin-left: 1rem;
    overflow: hidden;
}

.attendee-name {
    color: #334155;
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.15rem;
    letter-spacing: -0.2px;
    font-family: var(--font-heading);
}

.attendee-designation {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: var(--fw-medium);
    margin-bottom: 0;
}

/* --- Individual Attendee Profile Page --- */
.attendee-profile-card {
    background-color: var(--bg-surface);
}

.attendee-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}
.attendee-profile-header .attendee-profile-avatar {
    border: 4px solid var(--primary-soft);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.attendee-profile-avatar,
.attendee-placeholder-avatar {
    border-radius: 8px !important;
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- Individual Attendee Profile Page --- */
.attendee-profile-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: #334155;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.attendee-profile-designation {
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    color: var(--text-light);
    margin-bottom: 0.15rem;
    line-height: 1.4;
}

.attendee-profile-org {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: var(--fw-medium);
    margin-bottom: 0;
}

.attendee-about-text {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.attendee-subsection-heading {
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--fw-semibold);
    margin-bottom: 8px;
}

.attendee-meta-label {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
}

.attendee-meta-value {
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Badges / Banners */
.attendee-role-banner {
    text-align: center;
    padding: 8px;
    color: #fff;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.bg-organizer {
    background-color: var(--badge-organizer) !important;
}

.bg-speaker {
    background-color: var(--badge-speaker) !important;
}

.bg-panelist, .bg-moderator, .bg-session-chair { background-color: var(--badge-panelist) !important; }
.bg-tutorial-instructor { background-color: var(--badge-tutorial-instructor) !important; }
.bg-tutorial-participant { background-color: var(--badge-tutorial-participant) !important; }
.bg-service { background-color: var(--badge-service) !important; }

.bg-vip {
    background-color: var(--badge-vip) !important;
}

.bg-media {
    background-color: var(--badge-media) !important;
}

.bg-delegate {
    background-color: var(--badge-delegate) !important;
}

.bg-partner {
    background-color: var(--badge-partner) !important;
}

.bg-sponsor {
    background-color: var(--badge-sponsor) !important;
    color: var(--badge-foreground) !important;
}

.bg-exhibitor {
    background-color: var(--badge-partner) !important;
}

.profile-message-action { margin-top: 1rem; }
.profile-message-action .btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }

/* --- Message Request Modal --- */
#messageModal .modal-title {
    font-weight: var(--fw-semibold);
    font-size: 1.35rem;
    letter-spacing: -0.3px;
}

#messageModal .modal-body .text-muted {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem !important;
}

#messageModal .form-label {
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

#messageModal .form-control {
    border: 1px solid var(--border-dark);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: var(--bg-surface);
    resize: vertical;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#messageModal .form-control:focus {
    border-color: var(--primary-dark);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 0.25rem rgba(13, 114, 91, 0.15);
}

#messageModal .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.9rem;
}

.message-rate-limit-note {
    font-size: 0.8rem;
    color: #5c636a;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    border: 1px solid var(--border-light);
    line-height: 1.4;
}

.message-rate-limit-note i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}


/* =========================================
   5. RESPONSIVE QUERIES
========================================= */

@media (max-width: 1199.98px) {
    .event-navbar .navbar-collapse {
        border-top: 1px solid var(--border-light);
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .event-navbar-menu {
        gap: 0.25rem;
    }

    .event-navbar-menu .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }

    .event-navbar-actions {
        border-top: 1px solid var(--border-light);
        margin-top: 0.25rem;
        padding-top: 0.75rem;
        justify-content: flex-start;
    }
}

@media(max-width: 991.98px) {
    .login-card {
        margin: 40px 20px;
        padding: 35px;
    }

    .home-search {
        width: 56vw;
    }

    .home-panel {
        padding: 22px;
    }
}

@media(max-width: 767.98px) {
    .event-quick-actions {
        align-items: stretch;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid var(--border-main);
        bottom: 0;
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
        flex-direction: row;
        gap: 6px;
        left: 0;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        right: 0;
        width: 100%;
    }

    .event-quick-action {
        border: 0;
        border-radius: var(--radius-sm);
        box-shadow: none;
        flex: 1 1 0;
        justify-content: center;
        min-height: 48px;
        padding: 6px 10px;
    }

    .event-quick-action.d-md-none {
        display: inline-flex !important;
    }

    .event-quick-search {
        display: inline-flex !important;
    }

    .event-quick-action:hover,
    .event-quick-action:focus-visible,
    .event-quick-action.active {
        transform: none;
    }

    body:has(.event-quick-actions) {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .onboarding-panel {
        padding: 24px;
    }

    .onboarding-header {
        padding-left: 18px;
    }

    .home-welcome {
        padding-left: 18px;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-panel {
        padding: 20px;
    }

    .exhibitor-logo {
        min-width: 160px;
    }

    .event-navbar .navbar {
        min-height: 68px;
    }

    .event-navbar-logo {
        height: 38px;
    }


    .attendee-page main {
        padding-bottom: 100px !important;
    }
}

/* =========================================
   GSAP TOAST NOTIFICATIONS
========================================= */

.toast-container {
    pointer-events: none; /* Prevents the invisible container from blocking clicks */
}

.premium-toast {
    pointer-events: auto; /* Re-enables clicking on the toast itself */
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary); /* Signature brand stripe */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Premium elevated shadow */
    width: 320px;
    max-width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    
    /* GSAP will control visibility, but we hide it initially to prevent flashes */
    opacity: 0;
    visibility: hidden;
}

/* Error State Modifier */
.premium-toast.toast-error {
    border-left-color: #ef4444; /* Clean Red */
}
.premium-toast.toast-error .toast-icon {
    color: #ef4444;
}

.toast-icon {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: -2px; /* Optical alignment with the title */
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    margin-bottom: 0.15rem;
    font-family: var(--font-heading);
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--border-dark);
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--text-main);
}

/* Mobile Adjustments: Top-Center placement */
@media(max-width: 767.98px) {
    .toast-container {
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 100%;
        padding: 0 16px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .premium-toast {
        width: 100%;
        max-width: 400px;
    }
}

/* =========================================
   6. CHAT ROOM INTERFACE
========================================= */

.chat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 720px;
    max-height: calc(100vh - 160px);
    overflow: hidden;
}

/* Chat Header */
.chat-card-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    min-height: 78px;
    padding: 1rem 1.5rem;
}

.chat-back-btn {
    align-items: center;
    border-radius: 50%;
    color: var(--text-muted);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 38px;
}

.chat-back-btn:hover {
    background-color: var(--bg-hover);
    color: var(--primary);
}

.chat-recipient-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 50%;
    color: var(--primary-strong);
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    height: 44px;
    justify-content: center;
    width: 44px;
}

.chat-recipient-img {
    border: 1px solid var(--border-main);
    border-radius: 50%;
    height: 44px;
    object-fit: cover;
    width: 44px;
}

.chat-recipient-name {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.chat-recipient-designation {
    color: var(--text-light);
    font-size: 0.8125rem;
    font-weight: var(--fw-medium);
}

/* Messages Container */
.chat-card-body {
    background-color: var(--bg-alt);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    scroll-behavior: smooth;
}

/* Message Bubbles */
.chat-msg-row {
    display: flex;
    margin-bottom: 1rem;
    width: 100%;
}

.chat-msg-row.is-sent {
    justify-content: flex-end;
}

.chat-msg-row.is-received {
    justify-content: flex-start;
}

.chat-bubble {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-width: 72%;
    padding: 0.75rem 1rem;
    position: relative;
    word-break: break-word;
}

/* Sent message: Brand gradient background */
.chat-msg-row.is-sent .chat-bubble {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-bottom-right-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 157, 122, 0.15);
    color: #ffffff;
}

/* Received message: Clean surface card */
.chat-msg-row.is-received .chat-bubble {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    color: var(--text-main);
}

.chat-bubble-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.chat-bubble-time {
    align-self: flex-end;
    font-size: 0.7rem;
    font-weight: var(--fw-medium);
}

.chat-msg-row.is-sent .chat-bubble-time {
    color: rgba(255, 255, 255, 0.75);
}

.chat-msg-row.is-received .chat-bubble-time {
    color: var(--text-light);
}

/* Empty State */
.chat-empty-state {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.chat-empty-icon {
    color: var(--primary-strong);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

/* Chat Input Footer */
.chat-card-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.25rem;
}

.chat-input-field {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    font-size: 0.95rem;
    height: 48px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
}

.chat-input-field:focus {
    background-color: var(--bg-surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 157, 122, 0.15);
}

.chat-send-btn {
    align-items: center;
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    height: 48px;
    justify-content: center;
    min-width: 48px;
    transition: all 0.2s ease-in-out;
}

.chat-send-btn:hover {
    background-color: var(--primary-strong);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.chat-send-btn:active {
    background-color: var(--primary-dark) !important;
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .chat-card {
        border-radius: 0;
        height: calc(100vh - 120px);
        max-height: none;
    }
    
    .chat-bubble {
        max-width: 85%;
    }
}

/* =========================================
   7. INBOX & CONNECTION REQUESTS
========================================= */

/* --- Inbox Segmented Tabs (Horizontal on all viewports) --- */
.inbox-nav-tabs {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-main);
    border-radius: 999px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 4px;
    width: auto;
    max-width: 100%;
}

.inbox-tab-btn {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 999px;
    color: var(--text-muted);
    display: inline-flex;
    flex-direction: row;
    flex: 1 1 auto;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    gap: 8px;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.inbox-tab-btn:hover {
    color: var(--primary);
}

.inbox-tab-btn.active {
    background-color: var(--bg-surface) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--primary-strong) !important;
    font-weight: var(--fw-semibold);
}

.inbox-tab-badge {
    background-color: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 999px;
    color: var(--primary-strong);
    font-size: 0.75rem;
    font-weight: var(--fw-bold);
    padding: 0.15rem 0.5rem;
}

.inbox-tab-btn.active .inbox-tab-badge {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .inbox-nav-tabs {
        width: 100%;
    }

    .inbox-tab-btn {
        flex: 1 1 50%;
        font-size: 0.8rem;
        gap: 6px;
        padding: 0.45rem 0.65rem;
    }

    .inbox-tab-badge {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

/* Connection Request Cards */
.inbox-request-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.inbox-request-card:hover {
    border-color: var(--primary-soft-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.inbox-sender-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 8px;
    color: var(--primary-strong);
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    height: 52px;
    justify-content: center;
    width: 52px;
}

.inbox-sender-img {
    border-radius: 8px;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.inbox-sender-name {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.inbox-sender-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
}

.inbox-message-quote {
    background-color: var(--bg-alt);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    color: var(--text-main);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
    padding: 0.85rem 1rem;
}

/* Active Chats List */
.active-chat-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.active-chat-item:hover {
    background-color: var(--bg-surface);
    border-color: var(--primary-soft-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.active-chat-item.has-unread-message {
    background-color: var(--primary-soft);
    border-color: var(--primary) !important;
}

.active-chat-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 8px;
    color: var(--primary-strong);
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    height: 44px;
    justify-content: center;
    width: 44px;
}

.active-chat-badge {
    background-color: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    color: var(--primary-strong);
    font-size: 0.8rem;
    font-weight: var(--fw-medium);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.active-chat-badge.unread-message-badge {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* --- Profile & Settings Preview --- */
.profile-card,
.profile-section,
.settings-section,
.settings-note {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(31, 41, 51, 0.04);
}

.profile-card {
    overflow: hidden;
}

.profile-photo-wrap {
    align-items: center;
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    display: flex;
    justify-content: center;
    min-height: 230px;
    position: relative;
}

.profile-photo-placeholder {
    align-items: center;
    background: var(--primary);
    border: 6px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 122, 95, 0.2);
    color: #ffffff;
    display: flex;
    font-size: 4rem;
    height: 132px;
    justify-content: center;
    width: 132px;
}

.profile-photo-image {
    border: 6px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 122, 95, 0.2);
    height: 132px;
    object-fit: cover;
    width: 132px;
}

.profile-photo-action {
    bottom: 14px;
    position: absolute;
    right: 14px;
}

.profile-choice {
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    height: 100%;
    padding: 0.7rem 0.8rem;
    transition: border-color .15s ease, background-color .15s ease;
}

.profile-choice:has(input:checked) {
    background: var(--primary-soft);
    border-color: var(--primary-soft-border);
    color: var(--primary-strong);
    font-weight: var(--fw-medium);
}

.profile-choice input {
    accent-color: var(--primary);
    flex-shrink: 0;
}

.profile-completion .progress {
    background: var(--primary-soft);
    height: 7px;
}

.profile-section {
    padding: 1.5rem;
}

.profile-bio {
    color: var(--text-muted);
    line-height: 1.7;
}

.profile-tag {
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-block;
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    padding: 0.45rem 0.8rem;
}

.profile-goal-tag {
    background: #f5f1ff;
    border-color: #ddd2fa;
    color: #6546a5;
}

.profile-field-label,
.profile-field-value {
    display: block;
}

.profile-field-label {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.profile-field-value {
    color: var(--text-main);
    font-weight: var(--fw-medium);
}

.settings-section {
    padding: 1.5rem;
}

.settings-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.settings-section-heading > i {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 9px;
    color: var(--primary-strong);
    display: inline-flex;
    flex-shrink: 0;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.settings-section-heading h2 {
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
}

.settings-section-heading p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.settings-list {
    border-top: 1px solid var(--border-light);
}

.settings-row {
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 0;
}

.settings-row strong,
.settings-row small {
    display: block;
}

.settings-row strong {
    font-size: 0.9rem;
}

.settings-row small {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.settings-row input {
    accent-color: var(--primary);
    flex-shrink: 0;
    height: 1.1rem;
    width: 1.1rem;
}

.settings-note {
    border-color: var(--primary-soft-border);
    padding: 1.5rem;
}

.settings-note > i {
    color: var(--primary);
    font-size: 1.6rem;
}

/* --- Universal Search --- */
.universal-search-overlay {
    background: rgba(244, 246, 248, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.universal-search-header,
.universal-search-content {
    margin: 0 auto;
    max-width: 820px;
}

.universal-search-header {
    width: 100%;
}

.universal-search-close {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-main);
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}

.universal-search-close:hover,
.universal-search-close:focus-visible {
    background: var(--bg-surface);
    border-color: var(--primary-soft-border);
    color: var(--primary-strong);
}

.universal-search-input-wrap {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border-main);
    box-shadow: 0 12px 30px rgba(31, 41, 51, 0.09);
}

.universal-search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 157, 122, 0.12), 0 12px 30px rgba(31, 41, 51, 0.09);
}

.universal-search-input-icon {
    color: var(--primary-strong);
    font-size: 1.2rem;
}

.universal-search-input-wrap .form-control {
    background: transparent;
    color: var(--text-main);
}

.universal-search-input-wrap .form-control::placeholder {
    color: var(--text-light);
}

.search-result-block {
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(221, 227, 234, 0.9);
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.06);
}

.search-result-heading {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: var(--fw-semibold);
}

.search-result-heading i {
    color: var(--primary);
}

.search-org-card {
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    height: 96px;
    justify-content: center;
    padding: 0.75rem;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    width: 118px;
}

.search-org-card:hover {
    border-color: var(--primary-soft-border);
    box-shadow: 0 5px 14px rgba(0, 122, 95, 0.1);
    transform: translateY(-2px);
}

.search-org-card img {
    max-height: 68px;
    max-width: 100%;
    object-fit: contain;
}

.search-person-row,
.search-agenda-row {
    border-bottom: 1px solid var(--border-light);
    transition: background-color .15s ease, padding-left .15s ease;
}

.search-person-row:hover,
.search-agenda-row:hover {
    background: var(--primary-soft);
    padding-left: 0.5rem;
}

.search-person-row:last-child,
.search-agenda-row:last-child {
    border-bottom: 0;
}

.search-result-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 10px;
    color: var(--primary-strong);
    display: flex;
    flex-shrink: 0;
    font-weight: var(--fw-semibold);
    height: 48px;
    justify-content: center;
    object-fit: cover;
    width: 48px;
}

.search-result-title {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: var(--fw-semibold);
}

.search-result-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.search-agenda-row {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.85rem;
}

.search-agenda-time {
    color: var(--primary-strong);
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
}

@media (max-width: 575.98px) {
    .universal-search-header {
        padding-top: 0.75rem !important;
    }

    .search-org-card {
        height: 82px;
        width: 96px;
    }
}

/* =========================================
   8. SENT REQUESTS & STATUS BADGES
========================================= */

.sent-request-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sent-request-card:hover {
    border-color: var(--primary-soft-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.sent-recipient-avatar {
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    border-radius: 8px;
    color: var(--primary-strong);
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    height: 52px;
    justify-content: center;
    width: 52px;
}

.sent-recipient-img {
    border-radius: 8px;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.sent-recipient-name {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.sent-recipient-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
}

/* Status Badges */
.status-pill {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-pill-pending {
    background-color: #fef9c3;
    border: 1px solid #fde047;
    color: #854d0e;
}

.status-pill-accepted {
    background-color: var(--primary-soft);
    border: 1px solid var(--primary-soft-border);
    color: var(--primary-strong);
}

.status-pill-declined {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* =========================================
   9. ATTENDEE DIRECTORY SCAFFOLD
========================================= */

.attendees-directory-page {
    background: var(--bg-body);
    color: var(--text-main);
}

.directory-intro {
    background: linear-gradient(120deg, #ffffff 0%, #f2fbf8 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: clamp(1.25rem, 4vw, 2.25rem);
}

.directory-eyebrow {
    color: var(--primary-strong);
    font-size: .78rem;
    font-weight: var(--fw-bold);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.directory-count-card {
    align-items: flex-end;
    background: #fff;
    border: 1px solid var(--primary-soft-border);
    border-radius: 12px;
    display: flex;
    gap: .5rem;
    padding: .7rem 1rem;
    white-space: nowrap;
}

.directory-count-number {
    color: var(--primary-strong);
    font-size: 1.35rem;
    font-weight: var(--fw-bold);
    line-height: 1;
}

.directory-count-label {
    color: var(--text-muted);
    font-size: .8rem;
}

.directory-toolbar.home-panel { padding: 12px; }
.directory-search-row { display: flex; align-items: center; gap: 8px; }
.directory-search-field { flex: 1; min-width: 0; }
.directory-filter-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; }
.directory-filter-toggle[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.directory-filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.directory-filter-panel[hidden] { display: none !important; }
.directory-toolbar .form-control, .directory-toolbar .form-select, .directory-toolbar .btn { min-height: var(--control-height-compact); padding-block: 8px; font-size: .8125rem; }
.directory-toolbar .form-label { font-size: .75rem; margin-bottom: 4px; }
.directory-results-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin-bottom: 12px; }
@media (max-width: 991.98px) { .directory-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .directory-filter-panel { grid-template-columns: minmax(0, 1fr); } .directory-filter-panel > .btn { justify-self: start; } .directory-filter-toggle { padding-inline: 10px; } }

.directory-loading {
    color: var(--text-muted);
    padding: 2.5rem 1rem;
    text-align: center;
}

.directory-search-wrap {
    position: relative;
}

.directory-search-wrap > i {
    color: var(--text-light);
    left: .9rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.directory-search-wrap .form-control {
    padding-left: 2.5rem;
}

.directory-demo-note {
    color: var(--text-light);
    font-size: .78rem;
}

.attendee-directory-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .025);
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.directory-card-header {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
}

.directory-identity {
    flex: 1 1 auto;
    min-width: 0;
}

.attendee-directory-card:hover {
    border-color: var(--primary-soft-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    transform: translateY(-2px);
}

.directory-avatar {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    flex: 0 0 52px;
    font-size: .95rem;
    font-weight: var(--fw-bold);
    height: 52px;
    justify-content: center;
}

.directory-avatar-image {
    object-fit: cover;
}

.avatar-teal { background: #e5f7f2; color: #08785f; }
.avatar-blue { background: #e8f1ff; color: #245da8; }
.avatar-violet { background: #f1eaff; color: #6941a5; }
.avatar-amber { background: #fff3dc; color: #94600c; }
.avatar-rose { background: #ffebef; color: #a63b57; }
.avatar-slate { background: #eaf0f4; color: #42566a; }

.directory-person-name {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    margin: .1rem 0 .2rem;
}

.directory-person-role,
.directory-person-company {
    color: var(--text-muted);
    font-size: .8rem;
    line-height: 1.4;
    margin: 0 0 .2rem;
}

.directory-person-company {
    margin-top: 12px;
    color: var(--text-light);
}

.directory-badge {
    min-width: 65px;
    text-align: center;
    background: var(--primary-soft);
    /* border: 1px solid var(--primary-soft-border); */
    border-radius: 999px;
    color: var(--bg-surface);
    flex: 0 0 auto;
    font-size: .65rem;
    font-weight: var(--fw-semibold);
    padding: .25rem .5rem;
    justify-content: center;
}

.directory-meta {
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: .78rem;
    margin-top: 1rem;
    padding-top: .8rem;
}

.directory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .75rem 0 1rem;
}

.directory-tags span {
    background: #f4f6f8;
    border-radius: 999px;
    color: #465363;
    font-size: .7rem;
    padding: .3rem .55rem;
}

.directory-profile-button {
    align-self: flex-start;
    margin-top: auto;
}

.directory-profile-button:disabled {
    opacity: .65;
}

.attendee-directory-card[role="button"] {
    cursor: pointer;
}

.attendee-directory-card[role="button"]:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0, 157, 122, .2);
    outline: none;
}

.attendee-sheet-overlay {
    align-items: flex-end;
    background: rgba(15, 23, 42, .52);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    visibility: hidden;
    z-index: 1050;
}

.attendee-bottom-sheet {
    background: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-height: min(88vh, 760px);
    max-width: 600px;
    overflow: hidden;
    position: relative;
    transform: translateY(100%);
    width: 100%;
}

.attendee-sheet-handle-row {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    min-height: 42px;
    position: relative;
}

.attendee-sheet-handle {
    background: #dce3e9;
    border-radius: 999px;
    height: 5px;
    width: 42px;
}

.attendee-sheet-close {
    position: absolute;
    right: 1rem;
    top: .8rem;
}

.attendee-sheet-content {
    overflow-y: auto;
    padding: .5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
}

.attendee-sheet-profile {
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: .9rem;
    padding-bottom: 1rem;
}

.attendee-sheet-profile .directory-avatar {
    flex-basis: 56px;
    height: 56px;
}

.attendee-sheet-badge {
    display: inline-flex;
    text-transform: capitalize;
}

.attendee-sheet-details {
    padding-top: .8rem;
}

.attendee-sheet-detail {
    color: var(--text-muted);
    font-size: .9rem;
    margin: .3rem 0;
}

.attendee-sheet-about {
    margin-top: 1rem;
}

.attendee-sheet-bio {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
}

.attendee-sheet-section-title {
    color: var(--text-main);
    font-size: .9rem;
    font-weight: var(--fw-semibold);
}

.attendee-sheet-connect-note {
    color: var(--text-light);
    font-size: .76rem;
    margin: 0 0 1rem;
}

.attendee-sheet-pending {
    background: #fff8e1;
    border-radius: 8px;
    color: #815e10;
    font-size: .9rem;
    margin: 0;
    padding: .85rem 1rem;
    text-align: center;
}

.directory-empty-state {
    background: #fff;
    border: 1px dashed var(--border-dark);
    border-radius: 14px;
    padding: 3rem 1rem;
    text-align: center;
}

.directory-empty-state > i {
    color: var(--primary);
    display: block;
    font-size: 2rem;
    margin-bottom: .75rem;
}

.directory-pagination {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.directory-page-status {
    color: var(--text-muted);
    font-size: .85rem;
    min-width: 6rem;
    text-align: center;
}

.directory-prototype-caption {
    color: var(--text-light);
    font-size: .75rem;
}

@media (max-width: 575.98px) {
    .directory-toolbar { padding: .9rem; }
    .directory-demo-note { font-size: .7rem; }
    .directory-badge { font-size: .58rem; padding: .2rem .42rem; }
    .attendee-directory-card { border-radius: 11px; padding: .72rem; }
    .directory-card-header { gap: .55rem; }
    .directory-avatar { border-radius: 9px; flex-basis: 38px; font-size: .78rem; height: 38px; }
    .directory-person-name { font-size: .9rem; margin: 0 0 .12rem; }
    .directory-person-role, .directory-person-company { font-size: .7rem; line-height: 1.3; }
    .directory-person-role, .directory-person-company { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .directory-person-company { font-size: .69rem; margin: .5rem 0 0; }
    .directory-meta { font-size: .68rem; margin-top: .5rem; padding-top: .45rem; }
    .directory-tags { gap: .3rem; margin: .45rem 0 0; }
    .directory-tags span { font-size: .62rem; padding: .23rem .42rem; }
    .attendee-bottom-sheet { max-height: 92vh; }
    .attendee-sheet-content { padding-left: 1rem; padding-right: 1rem; }
}

/* =========================================================
   PCIM application experience
   Shared component treatments. All colours, type and sizing
   foundations come from root.css; keep page structure above.
   ========================================================= */
body,
body.home-page,
body.onboarding-page,
body.organisations-page,
body.attendees-directory-page {
    background: var(--gradient-page);
    color: var(--text-main);
}

body { --bs-border-radius: var(--radius-sm); --bs-border-radius-lg: var(--radius-lg); }
::selection { background: var(--primary-soft-border); color: var(--primary-dark); }
h1, h2, h3 { letter-spacing: -.035em; }
.page-title { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 600; line-height: 1.16; letter-spacing: -.05em; }
.home-shell { min-height: calc(100svh - 88px); }
.home-shell > .container, main > .container { max-width: var(--content-max-width); }
.home-welcome, .onboarding-header { border-left: 0; padding-left: 0; }
.home-welcome { padding-block: 14px 4px; }
.welcome-greeting { color: var(--primary-dark); font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.directory-eyebrow { color: var(--primary-strong); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.home-section-title { padding-bottom: 0; font-size: 1.3rem; letter-spacing: -.035em; }
.home-section-title::after, .modal-section-title::after, .attendee-section-heading::after { display: none; }

/* One surface language for attendee and administration pages. */
.home-panel, .onboarding-panel, .app-card, .surface-card, .profile-card,
.profile-section, .settings-section, .settings-note, .organisation-import-card,
.attendee-profile-card, .chat-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}
.home-panel, .onboarding-panel, .profile-section, .settings-section { padding: var(--space-card); }
.home-panel { min-width: 0; }
.home-program-panel { background: var(--gradient-feature); }
.home-program-panel .schedule-item { background: var(--bg-glass); }
.directory-intro { background: var(--gradient-feature); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.directory-count-card, .premium-date-badge { background: var(--bg-glass); border-radius: var(--radius-md); border-color: var(--border-light); }

/* Consistent controls and feedback across all forms. */
.btn { border-radius: var(--radius-sm); font-size: .875rem; padding: .7rem 1.15rem; font-weight: 500; gap: .25rem; }
.btn-sm { min-height: 44px; padding: .55rem .9rem; font-size: .8125rem; }
.btn-success, .btn-primary, .btn-message {
    background: var(--gradient-action);
    color: var(--text-inverse);
    border: 1px solid var(--primary-strong);
    box-shadow: none;
}
.btn-success:hover, .btn-primary:hover, .btn-message:hover,
.btn-success:focus-visible, .btn-primary:focus-visible, .btn-message:focus-visible {
    background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text-inverse);
}
.btn-success:disabled, .btn-primary:disabled { background: var(--primary-strong); border-color: var(--primary-strong); }
.btn-outline-secondary, .btn-outline-primary, .btn-outline-success {
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    border: 2px solid var(--primary-dark); color: var(--primary-dark); background: var(--bg-surface);
}
.btn-outline-secondary:hover, .btn-outline-primary:hover, .btn-outline-success:hover {
    background: var(--primary-soft); border-color: var(--primary-strong); color: var(--primary-dark);
}
.btn-link { color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 3px; box-shadow: var(--shadow-focus); }
.btn-group .btn { padding-inline: .85rem; }
.form-control, .form-select { height: auto; min-height: var(--control-height); padding: .8rem 1rem; border-radius: var(--radius-sm); background-color: var(--bg-surface); border-color: var(--border-dark); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control:focus, .form-select:focus { border-color: var(--primary-strong); box-shadow: var(--shadow-focus); }
.form-control[type="file"] { min-height: var(--control-height); padding: .65rem; }
.form-label { font-size: .875rem; font-weight: 600; }
.form-check-input:checked, .profile-choice input:checked { background-color: var(--primary-strong); border-color: var(--primary-strong); accent-color: var(--primary-strong); }
.interest-chip, .modal-chip, .profile-tag, .attendee-interest-chip { border-radius: var(--radius-pill); }
.interest-chip { background: var(--bg-surface); border-color: var(--border-main); padding: .7rem 1rem; }
.interest-chip.is-selected, .goal-card.is-selected, .profile-choice:has(input:checked) { background: var(--primary-soft); border-color: var(--primary-strong); color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.goal-card, .profile-choice { border-radius: var(--radius-md); background: var(--bg-alt); }
.profile-choice { min-height: 56px; padding: 14px; }
.alert, .premium-toast { border-radius: var(--radius-md); }
.organisation-upload-box { background: var(--bg-alt); border-color: var(--border-dark); border-radius: var(--radius-md); }
.organisation-upload-box:hover, .organisation-upload-box:focus-within { background: var(--primary-soft); border-color: var(--primary-strong); }
.table { --bs-table-bg: var(--bg-surface); --bs-table-color: var(--text-main); --bs-table-border-color: var(--border-light); --bs-table-striped-bg: var(--bg-alt); }
.table thead th { background: var(--bg-alt); color: var(--text-muted); padding-block: 16px; }

/* A quiet header and a floating mobile navigation dock. */
.event-navbar { background: var(--bg-surface) !important; border-top: 3px solid var(--primary); backdrop-filter: none; border-bottom-color: var(--border-light) !important; box-shadow: none; }
.event-navbar .navbar { min-height: 88px; }
.event-navbar-brand { margin-right: clamp(1rem, 4vw, 3rem); }
.event-navbar-logo { height: 42px; }
.event-navbar-menu { gap: 4px; }
.event-navbar-menu .nav-link { padding: .7rem 1.1rem; font-size: .875rem; border-radius: var(--radius-pill); }
.event-navbar-menu .nav-link.active, .admin-navigation-links a[aria-current="page"] { background: transparent; color: var(--primary-dark); box-shadow: inset 0 -3px var(--primary); }
.event-navbar-action, .event-navbar-actions .btn-link { background: var(--bg-alt); width: 44px; height: 44px; min-height: 44px; border-radius: 50%; }
.navbar-profile-avatar, .navbar-profile-fallback { border-color: var(--bg-surface); box-shadow: 0 0 0 1px var(--border-main); }
.event-quick-actions { bottom: 24px; right: 24px; }
.event-quick-actions .dock-primary { display: none; }
.event-quick-actions .event-quick-search { display: none !important; }
.event-quick-action { min-height: 52px; background: var(--bg-glass); border-color: var(--border-light); backdrop-filter: blur(18px); }
.event-quick-action-icon { background: var(--primary-soft); color: var(--primary-dark); }

/* Welcome and discovery. */
.welcome-event-card { display: inline-flex; align-items: center; gap: 16px; text-align: left; padding: 20px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--gradient-feature); }
.welcome-event-card strong { font-size: 1rem; }
.welcome-event-icon, .shortcut-icon, .community-note-icon, .login-welcome-icon {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--primary-soft); color: var(--primary-dark); font-size: 1.3rem;
}
.welcome-event-icon { width: 64px; height: 64px; background: var(--gradient-action); color: var(--text-inverse); font-size: 1.7rem; }
.conference-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.conference-shortcuts > a { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: var(--bg-glass); text-decoration: none; color: var(--text-main); transition: border-color var(--transition-fast), transform var(--transition-fast); }
.conference-shortcuts > a > span:nth-child(2) { min-width: 0; }
.conference-shortcuts strong { display: block; font-size: .875rem; letter-spacing: -.02em; }
.conference-shortcuts small { display: block; margin-top: 3px; color: var(--text-muted); font-size: .75rem; }
.conference-shortcuts > a > .bi { margin-left: auto; color: var(--text-muted); }
.conference-shortcuts > a:nth-child(2) .shortcut-icon, .community-note-icon { background: var(--brand-accent-soft); color: var(--brand-accent-dark); }
.conference-shortcuts > a:hover { transform: translateY(-2px); border-color: var(--primary-soft-border); }
.community-note { background: var(--gradient-blush); }
.community-note a { font-size: .875rem; }
.schedule-item { border-radius: var(--radius-md); border-color: var(--border-light); padding: 24px; grid-template-columns: 78px minmax(0, 1fr); }
.schedule-time { font-size: 1.4rem; color: var(--primary-dark); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.schedule-title { font-size: 1.2rem; line-height: 1.45; margin-bottom: .75rem; }
.schedule-badge-primary, .schedule-badge-outline { padding: .45rem .7rem; font-size: .75rem; }
.schedule-badge-outline { background: var(--brand-accent-soft); border-color: transparent; color: var(--brand-accent-dark); }
.exhibitor-slider { overflow-x: auto; mask-image: none; }
.exhibitor-track { animation: none; width: max-content; max-width: none; }
.exhibitor-logo { width: 180px; flex: 0 0 180px; border-radius: var(--radius-md); background: var(--bg-alt); box-shadow: none; }

/* People, profiles, sheets and search share the same card vocabulary. */
.attendee-card, .attendee-directory-card, .inbox-request-card, .sent-request-card, .active-chat-item, .search-org-card { border-radius: var(--radius-md); border-color: var(--border-light); background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.attendee-directory-card { padding: 24px; }
.attendee-card:hover, .attendee-directory-card:hover, .active-chat-item:hover, .org-card-trigger:hover .home-panel { border-color: var(--primary-soft-border); box-shadow: var(--shadow-md); }
.attendee-avatar, .attendee-placeholder, .directory-avatar, .person-avatar, .inbox-sender-avatar, .inbox-sender-img, .active-chat-avatar, .sent-recipient-avatar, .sent-recipient-img { border-radius: 50%; }
.directory-avatar { height: 60px; width: 60px; flex: 0 0 60px; background: var(--primary-soft); color: var(--primary-dark); font-size: 1.15rem; }
.directory-person-name { font-size: 1.1rem; line-height: 1.4; }
.directory-person-role, .directory-person-company { font-size: .8125rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.directory-badge { font-size: .6875rem; }
.directory-meta { font-size: .8rem; }
.directory-tags span { font-size: .75rem; border-radius: var(--radius-pill); background: var(--bg-alt); color: var(--text-muted); }
.directory-empty-state { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 40px 24px; }
.directory-toolbar { border-radius: var(--radius-md); }
.profile-photo-wrap { background: var(--gradient-feature); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 32px; }
.profile-photo-image, .profile-photo-placeholder { border-radius: 50%; border: 5px solid var(--bg-surface); box-shadow: var(--shadow-md); }
.profile-goal-tag { background: var(--brand-accent-soft); color: var(--brand-accent-dark); }
.profile-field-label { font-size: .75rem; }
.profile-field-value { color: var(--text-main); }
.attendee-bottom-sheet { border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--bg-surface); }
.universal-search-overlay { background: var(--gradient-page); }
.universal-search-input-wrap { background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border-dark); }
.org-card-trigger .home-panel { min-height: 128px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.notifications-page [data-notification-id] { border-radius: var(--radius-md) !important; transition: background-color var(--transition-fast), border-color var(--transition-fast); }
.notifications-page [data-notification-id]:not(.bg-white) { background: var(--primary-soft) !important; border-color: var(--primary-soft-border) !important; }
.notifications-page [data-notification-id]:hover { border-color: var(--primary-strong) !important; }

/* Conversations feel like part of the same environment. */
.inbox-nav-tabs { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 6px; }
.inbox-tab-btn { border-radius: var(--radius-sm); min-height: 48px; }
.inbox-tab-btn.active { background: var(--primary-soft); color: var(--primary-dark); box-shadow: none; }
.inbox-tab-btn.active .inbox-tab-badge { background: var(--primary-dark); color: var(--text-inverse); }
.chat-card-header { background: var(--gradient-feature); }
.chat-card-header > .d-flex, .chat-card-header > .d-flex > div { min-width: 0; }
.chat-recipient-name, .chat-recipient-designation { overflow-wrap: anywhere; }
.chat-card-body { background: var(--bg-alt); padding: 24px; }
.chat-msg-row.is-sent .chat-bubble { background: var(--gradient-action); }
.chat-msg-row.is-received .chat-bubble { background: var(--bg-surface); border-color: var(--border-main); }
.chat-bubble { border-radius: var(--radius-md); }
.chat-input-field { min-height: 48px; height: auto; border-radius: var(--radius-pill); }
.chat-send-btn { background: var(--gradient-action); width: 48px; height: 48px; }
.chat-card-footer { background: var(--bg-surface); }

/* The attendee entrance shares the public Career Board's PCIM styling. */

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    min-height: 100svh;
    border-top: 4px solid var(--primary);
}
.login-story {
    position: sticky;
    top: var(--connection-notice-height, 0px);
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min-content;
    height: calc(100svh - 4px);
    padding: clamp(28px, 4.5vw, 76px);
    isolation: isolate;
    background: #004232;
    color: #fff;
}
.login-story-media, .login-story-shade { position: absolute; inset: 0; z-index: -2; }
.login-story-video { width: 100%; height: 100%; object-fit: cover; }
.login-story-shade {
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 28, 21, .04) 5%, rgba(0, 31, 23, .22) 38%, rgba(0, 32, 24, .94) 100%);
}
.login-logo { display: inline-flex; padding: 12px 16px; }
.login-logo img { display: block; width: clamp(150px, 15vw, 205px); height: auto; }
.login-story-content { padding-top: 3rem; }
.login-story .app-page-header .directory-eyebrow { color: #fff; font-size: .9rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.login-story .app-page-header .page-title {
    color: #fff;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 700;
}
.login-story .app-page-header-description { max-width: 42ch; color: #fff; font-size: 1.125rem; line-height: 1.6; }
.login-event-details { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.5); }
.login-event-details span { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; }

.login-form-area { display: grid; align-items: center; justify-items: center; min-width: 0; padding: clamp(24px, 4vw, 64px); }
.guest-page .login-card { width: 100%; max-width: 460px; margin: 0; padding: 0; background: #fff; border-radius: 0; }
.login-card h2 { margin: 0 0 8px; color: var(--text-main); font-size: clamp(1.875rem, 3vw, 2.25rem); line-height: 1.16; font-weight: 700; letter-spacing: 0; }
.login-card form { display: grid; gap: 18px; margin-top: 26px; }
.login-card form > div { margin-bottom: 0 !important; }
.login-card .form-label { display: block; margin-bottom: 6px; font-weight: 700; }
.login-card .form-control { box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid #777; border-radius: 0; font: inherit; }
.login-card a { color: var(--primary-dark); text-underline-offset: .17em; }
.login-card .btn-success { width: 100%; min-height: 48px; border: 0; border-radius: 0; background: var(--primary-dark); color: #fff; box-shadow: none; font-weight: 700; }
.login-card .btn-success:is(:hover, :active) { background: #004232; }
.guest-page :is(a, button, input):focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 3px; }
.login-story a:focus-visible { outline-color: #fff; }
.login-help { margin-top: 24px; padding: 20px; border-left: 3px solid var(--primary); background: #f3f3f3; }
.login-help strong { display: block; }

@media (max-width: 991.98px) {
    .login-shell { display: block; }
    .login-story { position: relative; height: auto; min-height: 180px; padding: 20px clamp(20px, 5vw, 48px); }
    .login-logo { padding: 7px 12px; }
    .login-logo img { width: 138px; }
    .login-story-content { padding-top: 24px; }
    .login-story .app-page-header { margin: 0 !important; }
    .login-story .app-page-header .page-title { margin: 0; font-size: 1.875rem; }
    .login-story .directory-eyebrow, .login-story .app-page-header-description { display: none; }
    .login-event-details { gap: 4px 18px; margin-top: 8px; padding: 0; border: 0; }
    .login-form-area { padding: 28px clamp(16px, 5vw, 48px) 40px; }
}

@media (min-width: 1200px) {
    .event-navbar-menu .nav-link { padding-inline: 1.15rem; }
}
@media (max-width: 1199.98px) {
    .conference-shortcuts { gap: 12px; }
    .conference-shortcuts > a { padding: 16px; gap: 10px; }
    .conference-shortcuts > a > .bi { display: none; }
    .welcome-event-card { padding: 16px; }
}
@media (max-width: 991.98px) {
    .welcome-event-card { width: 100%; }
    .conference-shortcuts { grid-template-columns: 1fr; gap: 10px; }
    .conference-shortcuts > a { padding: 14px 18px; }
    .conference-shortcuts > a > .bi { display: block; }
    .conference-shortcuts small { display: inline; }
    .conference-shortcuts .shortcut-icon { width: 42px; height: 42px; }
}
@media (max-width: 767.98px) {
    .event-navbar .navbar { min-height: 74px; }
    .event-navbar-logo { height: 36px; }
    .event-navbar-brand { margin-right: 0; }
    .event-quick-actions {
        align-items: stretch; flex-direction: row; gap: 2px;
        left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto;
        padding: 6px; border: 1px solid var(--border-main); border-radius: 24px;
        background: var(--bg-glass); box-shadow: var(--shadow-md); backdrop-filter: blur(18px);
    }
    .event-quick-actions .event-quick-action, .event-quick-actions .dock-primary,
    .event-quick-actions .event-quick-search { display: flex !important; }
    .event-quick-action {
        position: relative; flex: 1 1 0; min-width: 0; min-height: 56px; flex-direction: column;
        justify-content: center; gap: 3px; padding: 5px 2px; font-size: .625rem;
        background: transparent; border: 0; border-radius: 18px; box-shadow: none; backdrop-filter: none;
    }
    .event-quick-action-icon { background: transparent; width: 25px; height: 25px; flex-basis: 25px; font-size: 1.1rem; color: var(--text-muted); }
    .event-quick-action.active { background: var(--primary-soft); color: var(--primary-dark); }
    .event-quick-action.active .event-quick-action-icon { color: var(--primary-dark); }
    .event-quick-count { position: absolute; right: 5px; top: 2px; }
    body:has(.event-quick-actions) { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
    .home-welcome { padding-top: 4px; }
    .home-welcome .page-title { font-size: clamp(2.15rem, 7.4vw, 3rem); }
    .home-section-title { font-size: 1.2rem; }
    .schedule-item { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
    .schedule-time { font-size: 1.4rem; padding-bottom: 10px; }
    .schedule-title { font-size: 1.05rem; }
    .attendee-directory-card { padding: 18px; border-radius: var(--radius-md); }
    .directory-avatar { width: 48px; height: 48px; flex-basis: 48px; }
    .directory-person-name { font-size: 1rem; }
    .directory-person-role, .directory-person-company { font-size: .8rem; white-space: normal; line-height: 1.5; }
    .directory-meta { font-size: .75rem; }
    .directory-tags span { font-size: .7rem; }
    .directory-badge { font-size: .65rem; }
    .chat-card { height: 680px; max-height: calc(100svh - 240px); min-height: 280px; }
    .chat-card-header { flex-wrap: wrap; gap: 12px; padding: 16px; }
    .chat-card-header > .d-flex { flex: 1 1 190px; }
}
@media (max-width: 375px) {
    .directory-count-card { white-space: normal; }
    .conference-shortcuts > a { padding-inline: 12px; }
}
@media (hover: none) {
    .attendee-card:hover, .attendee-directory-card:hover, .conference-shortcuts > a:hover, .schedule-item:hover { transform: none; }
}

/* Admin tools share the brand shell without attendee-only session controls. */
.admin-navigation { width: min(100% - 40px, var(--content-max-width)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 20px; }
.admin-navigation .event-navbar-brand { margin-right: 0; }
.admin-label { color: var(--text-muted); font-size: .75rem; border-left: 1px solid var(--border-main); padding-left: 16px; }
.admin-navigation-links { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.admin-navigation-links a { color: var(--text-muted); font-size: .8rem; font-weight: 600; padding: 12px; min-height: 44px; border-radius: var(--radius-pill); text-decoration: none; }
.admin-navigation-links a.active, .admin-navigation-links a:hover { color: var(--primary-dark); background: var(--primary-soft); }
@media (max-width: 1199.98px) { .admin-navigation-links { flex-basis: 100%; margin-left: 0; } }
@media (max-width: 575.98px) {
    .admin-navigation { gap: 12px; padding-block: 16px 10px; }
    .admin-label { max-width: 120px; }
    .admin-navigation-links { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
    .admin-navigation-links a { flex: 0 0 auto; white-space: nowrap; }
}

/* Home discovery: one reusable organisation dialog and a controlled carousel. */
.exhibitor-carousel .exhibitor-track { align-items: stretch !important; }
.exhibitor-carousel .exhibitor-logo {
    display: flex; flex-direction: column; gap: 7px; align-items: center;
    width: 180px; min-width: 180px; height: auto; min-height: 158px; flex: 0 0 180px;
    padding: 16px; white-space: normal; color: var(--text-main);
}
.exhibitor-logo-frame { display: grid; place-items: center; width: 100%; height: 68px; }
.exhibitor-logo-frame img { max-width: 100%; max-height: 68px; object-fit: contain; }
.exhibitor-type { font-size: .7rem; color: var(--text-muted); font-weight: 400; }
.exhibitor-logo:hover { transform: none; }
.exhibitor-logo:hover img { transform: none; }
.carousel-arrow { width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.organisation-grid-card { display: grid; place-items: center; width: 100%; min-height: 128px; height: 100%; padding: 16px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.organisation-grid-card:hover { border-color: var(--primary-strong); }
.organisation-grid-logo-frame { display: grid; place-items: center; width: 160px; max-width: 100%; height: 88px; flex: 0 0 auto; padding: 8px; background: var(--bg-surface); }
.organisation-grid-logo { width: 100%; height: 100%; max-width: 100%; max-height: 72px; object-fit: contain; object-position: center; }
.organisation-logo-fallback { color: var(--text-muted); font-size: .8rem; font-weight: 600; overflow-wrap: anywhere; }
.organisation-modal-overlay { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; background: rgba(12, 33, 25, .48); padding: 24px; }
.organisation-modal-sheet { display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: 90svh; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.organisation-modal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border-light); flex-shrink: 0; }
.organisation-modal-close { min-height: 44px; width: 44px; padding: 0; border-radius: 50%; }
.organisation-modal-content { overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.organisation-modal-introduction { min-width: 0; }
.organisation-modal-content .modal-org-header { gap: 16px; margin-bottom: 20px; }
.organisation-modal-content .modal-org-logo-box { width: 88px; height: 88px; }
.organisation-modal-content .modal-org-title { overflow-wrap: anywhere; font-size: 1.35rem; }
.organisation-modal-content .modal-org-link { color: var(--primary-dark); overflow-wrap: anywhere; }
.organisation-modal-content .modal-section-title { margin-bottom: 12px; padding-bottom: 0; }
.organisation-modal-content .modal-org-booth { margin-block: 16px; }
.recommended-list .attendee-card { flex-shrink: 0; height: auto; }
.recommended-list .attendee-info { min-width: 0; }
.recommended-list .attendee-name { line-height: 1.4; }
.recommended-organisation { font-size: .75rem; line-height: 1.5; color: var(--primary-dark); margin-top: 5px; overflow-wrap: anywhere; }
.recommended-list.is-expanded { max-height: min(65svh, 680px); overflow-y: auto; overscroll-behavior: contain; padding-right: 5px; }
.recommended-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* Compact introductions leave more room for conference content. */
.page-intro { margin-bottom: 24px !important; }
.page-intro .page-title { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; }
.page-intro .agenda-hero-content { padding: 24px; }
.directory-intro.page-intro { padding: 24px; }
@media (max-width: 767.98px) {
    body:has(.page-intro) main.py-4, body:has(.page-intro) main.py-5 { padding-top: 16px !important; }
    .page-intro { margin-bottom: 18px !important; }
    .page-intro.home-welcome { padding-block: 0; }
    .page-intro .page-title, .home-welcome.page-intro .page-title { font-size: 1.65rem; line-height: 1.2; letter-spacing: -.04em; }
    .page-intro h1.h2 { font-size: 1.65rem; }
    .page-intro p:not(.directory-eyebrow):not(.agenda-eyebrow) { font-size: .8125rem; line-height: 1.5; }
    .page-intro .welcome-greeting, .page-intro .directory-eyebrow, .page-intro .agenda-eyebrow { margin-bottom: 6px !important; }
    .page-intro .welcome-event-card { padding: 10px 12px; gap: 10px; border-radius: var(--radius-sm); }
    .home-welcome.page-intro .row > .col-lg-5 { display: none; }
    .page-intro .welcome-event-card .welcome-event-icon { width: 38px; height: 38px; font-size: 1.15rem; }
    .page-intro .welcome-event-card .small { display: none !important; }
    .page-intro .welcome-event-card strong { font-size: .8125rem; }
    .page-intro .welcome-event-card .directory-eyebrow { font-size: .65rem; margin-bottom: 2px !important; }
    .page-intro .agenda-hero-content, .directory-intro.page-intro { padding: 16px; }
    .page-intro .directory-count-card { display: none; }
    .page-intro > .row.mb-4 { margin-bottom: 0 !important; }
    .conference-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .conference-shortcuts > a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .conference-shortcuts strong { font-size: .75rem; line-height: 1.4; }
    .conference-shortcuts small, .conference-shortcuts > a > .bi { display: none; }
    .conference-shortcuts .shortcut-icon { width: 34px; height: 34px; font-size: 1rem; }
    .exhibitor-carousel .exhibitor-logo { width: 152px; min-width: 152px; flex-basis: 152px; padding: 12px; min-height: 144px; }
    .organisation-modal-overlay { align-items: flex-end; padding: 0; }
    .organisation-modal-sheet { max-height: 90svh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .organisation-modal-content { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
    .organisation-modal-content .modal-org-logo-box { width: 64px; height: 64px; }
    .organisation-modal-content .modal-org-title { font-size: 1.15rem; }
    .organisation-modal-content .modal-org-logo { max-height: 54px; }
}

/* Home presents three distinct destinations in the same reading order on every screen. */
.home-discovery-section + .home-discovery-section { margin-top: 28px; }
.home-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-main); }
.home-section-header > div:first-child { min-width: 0; }
.home-section-header > .btn { flex-shrink: 0; }
.home-section-header .home-section-title { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
.home-live-heading { font-size: .9rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 14px; letter-spacing: 0; }
.home-participant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-participant-grid .attendee-card { position: relative; min-width: 0; }
.home-participant-grid .attendee-sign-in-dot, .attendee-profile-card > .attendee-sign-in-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 9px;
    margin: 0;
}
.home-participant-grid.is-expanded { padding: 3px 6px 3px 3px; }
#conference-participants .recommended-actions [data-show-recommendations] { width: auto !important; min-width: 220px; }
@media (max-width: 767.98px) {
    .home-discovery-section + .home-discovery-section { margin-top: 20px; }
    .home-section-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; }
    .home-section-header .directory-eyebrow { font-size: .65rem; margin-bottom: 6px !important; }
    .home-participant-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-section-header .carousel-arrow { min-height: 44px; }
}

/* Personal discovery uses the same filters and cursor paging as the full directory. */
.directory-match-reasons { margin-top: 14px; padding: 12px; background: var(--primary-soft); border-radius: var(--radius-sm); color: var(--primary-dark); font-size: .75rem; line-height: 1.6; }
.directory-match-reasons p { margin: 0; overflow-wrap: anywhere; }
.directory-match-reasons p + p { margin-top: 5px; }

/* A neutral website permission explanation; the browser owns the real permission prompt. */
.notification-permission-dialog {
    width: min(420px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow-y: auto;
    margin: auto; padding: 28px; border: 1px solid var(--prompt-border); border-radius: 14px;
    background: var(--prompt-bg); color: var(--prompt-text); box-shadow: var(--prompt-shadow);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.55;
}
.notification-permission-dialog::backdrop { background: var(--prompt-backdrop); }
.notification-permission-dialog h2 { font-family: inherit; color: var(--prompt-text); font-size: 20px; font-weight: 600; letter-spacing: normal; margin: 14px 0 12px; }
.notification-permission-dialog p { color: var(--prompt-muted); margin-bottom: 12px; }
.notification-permission-dialog .notification-permission-origin { margin: 12px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.notification-permission-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--prompt-soft); font-size: 21px; }
.notification-permission-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.notification-permission-dialog button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--prompt-border); border-radius: 8px; background: var(--prompt-bg); color: var(--prompt-text); font: 500 14px system-ui, sans-serif; box-shadow: none; }
.notification-permission-dialog button:hover { background: var(--prompt-soft); }
.notification-permission-dialog #enablePushNotifications { background: var(--prompt-text); color: var(--prompt-bg); border-color: var(--prompt-text); }
.notification-permission-dialog button:focus-visible { outline: 2px solid var(--prompt-text); outline-offset: 3px; box-shadow: none; }
.notification-permission-dialog button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 575.98px) {
    .notification-permission-dialog { padding: 22px; }
    .notification-permission-actions { flex-direction: column-reverse; }
    .notification-permission-actions button { width: 100%; }
    .settings-row:has([data-open-notification-permission]) { flex-wrap: wrap; gap: 12px; }
}

/* One unboxed page-heading layout, based on Exhibition, throughout the app. */
.page-intro.app-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin: 0 0 24px !important; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.app-page-header-copy { min-width: 0; }
.app-page-header .directory-eyebrow { margin: 0 0 8px; color: var(--primary-dark); font-size: .9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.app-page-header .page-title { margin: 0 0 8px; font-size: clamp(2rem, 3.6vw, 3.125rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--text-main); overflow-wrap: anywhere; }
.app-page-header-description { max-width: 760px; margin: 0; color: var(--text-muted); font-size: .9375rem; line-height: 1.6; }
.app-page-header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; max-width: 40%; }
.app-page-header-meta { font-size: .8rem; line-height: 1.5; color: var(--text-muted); }
.exhibition-layouts-dialog { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: var(--shadow-md); }
.exhibition-layouts-dialog .modal-header { border-color: var(--border-light); padding: 16px 20px; }
.exhibition-layouts-dialog .modal-body { padding: 20px; }
.exhibition-layouts-dialog .btn-close { box-sizing: border-box; min-height: 44px; width: 44px; height: 44px; padding: 12px; margin: 0; flex-shrink: 0; }
.exhibition-layout-options { display: grid; gap: 12px; }
.exhibition-layout-option { display: flex; align-items: center; gap: 16px; padding: 18px; min-width: 0; border: 1px solid var(--border-main); border-radius: var(--radius-md); color: var(--text-main); background: var(--gradient-feature); text-decoration: none; }
.exhibition-layout-option:hover { color: var(--primary-dark); border-color: var(--primary-strong); }
.exhibition-layout-option > span:nth-child(2) { min-width: 0; }
.exhibition-layout-option strong { display: block; font-size: .9375rem; }
.exhibition-layout-option small { display: block; margin-top: 4px; color: var(--text-muted); font-size: .75rem; }
.exhibition-layout-option > .bi { margin-left: auto; }
.exhibition-floor-number { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--gradient-action); color: var(--text-inverse); font-weight: 700; font-size: 1.4rem; }
.chat-page .chat-card { max-height: calc(100svh - 290px); min-height: 280px; }
@media (max-width: 991.98px) {
    .page-intro.app-page-header { align-items: flex-start; flex-direction: column; gap: 12px; }
    .app-page-header-actions { justify-content: flex-start; max-width: 100%; }
}
@media (max-width: 767.98px) {
    .page-intro.app-page-header { margin-bottom: 18px !important; }
    .app-page-header .page-title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 6px; }
    .app-page-header .directory-eyebrow { font-size: .875rem; margin-bottom: 6px; }
    .app-page-header-description { font-size: .8125rem; line-height: 1.5; }
    .app-page-header-actions { gap: 8px; }
    .chat-page .chat-card { max-height: calc(100svh - 330px); }
}

/* Imported badge text remains intact; colours provide supporting visual hierarchy. */
.organisation-badge { display: inline-block; max-width: 100%; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary-dark); font-size: .7rem; font-weight: 600; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.organisation-grid-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 18px 12px; }
.exhibitor-carousel .exhibitor-logo { min-height: 128px; }
.directory-participation { margin: 8px 0 0; color: var(--text-muted); font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.admin-stat-card { display: flex; flex-direction: column; gap: 10px; color: var(--text-main); text-decoration: none; }
.admin-stat-card:hover { border-color: var(--primary-strong); color: var(--primary-dark); }
.admin-stat-card > .bi { color: var(--primary-strong); font-size: 1.5rem; }
.admin-stat-card > strong { font-size: 2rem; line-height: 1.2; letter-spacing: -.04em; }
.admin-stat-card > span { color: var(--text-muted); font-size: .8125rem; }
.admin-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-tools-grid > a { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--border-main); border-radius: var(--radius-md); color: var(--text-main); background: var(--gradient-feature); text-decoration: none; }
.admin-tools-grid > a > .bi { color: var(--primary-strong); font-size: 1.25rem; }
.admin-tools-grid > a > span { color: var(--text-muted); font-size: .8125rem; line-height: 1.6; }
.admin-readiness-list > div, .admin-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.admin-readiness-list dt { font-size: .8125rem; font-weight: 500; color: var(--text-muted); }
.admin-readiness-list dd { margin: 0; font-weight: 700; }
.admin-breakdown > div { font-size: .875rem; }
.admin-table-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.admin-table-logo { width: 72px; height: 48px; object-fit: contain; }
@media (max-width: 991.98px) { .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .admin-stat-grid { gap: 10px; } .admin-stat-card { padding: 18px; } .admin-stat-card > strong { font-size: 1.65rem; } }

/* White artwork backgrounds blend into their containing logo surfaces. */
.exhibitor-carousel .exhibitor-logo, .exhibitor-carousel .exhibitor-logo:hover,
.exhibitor-logo-frame, .exhibitor-logo-image,
.organisation-grid-card, .organisation-grid-card:hover, .organisation-grid-logo,
.modal-org-logo-box, .modal-org-logo, .exhibitor-logo img { background-color: var(--bg-surface); }
.exhibitor-logo-frame { height: 80px; padding: 6px; border-radius: var(--radius-sm); }
.attendee-directory-card { padding: 14px; }
.directory-card-header { gap: 10px; }
.directory-card-header .directory-avatar { width: 40px; height: 40px; flex-basis: 40px; font-size: .875rem; }
.directory-card-header .directory-person-name { margin: 0 0 2px; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.directory-card-header :is(.directory-person-role, .directory-person-company) {
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Quiet carousel navigation, with full-sized touch targets and a thin scroll rail. */
.exhibitor-carousel .carousel-arrow { border: 0; background: transparent; color: var(--text-muted); box-shadow: none; font-size: .875rem; }
.exhibitor-carousel .carousel-arrow:hover { background: var(--primary-soft); color: var(--primary-dark); }
.exhibitor-carousel .exhibitor-slider { padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border-main) transparent; }
.exhibitor-carousel .exhibitor-slider::-webkit-scrollbar { height: 3px; }
.exhibitor-carousel .exhibitor-slider::-webkit-scrollbar-track { background: transparent; }
.exhibitor-carousel .exhibitor-slider::-webkit-scrollbar-thumb { background: var(--border-main); border-radius: var(--radius-pill); }

/* Role capsules share colours and wrapping across directories, profiles and exhibition. */
.role-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.role-badge { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 6px 10px; border-radius: 999px; color: var(--badge-foreground) !important; font-size: .7rem; font-weight: var(--fw-semibold); line-height: 1.5; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.directory-card-header .role-badges { margin-top: 5px; gap: 4px; }
.directory-card-header .role-badge { padding: 2px 8px; }
.attendee-sign-in-dot {
    position: relative;
    flex: 0 0 9px;
    height: 9px;
    margin-top: 4px;
    border-radius: 50%;
    background: #2465bf;
}
@media (prefers-reduced-motion: no-preference) {
    .attendee-sign-in-dot::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: inherit;
        animation: attendee-sign-in-pulse 2s ease-out infinite;
    }
}
@keyframes attendee-sign-in-pulse {
    from { transform: scale(1); opacity: .45; }
    75%, to { transform: scale(2.4); opacity: 0; }
}
.attendee-sign-in {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: #e8f1ff;
    color: #244779;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.5;
}
.attendee-sign-in-unknown { color: var(--text-muted); font-size: .75rem; }
.attendee-profile-badges { padding: 0 24px 20px; }

body { position: relative; isolation: isolate; min-height: 100svh; }

/* Editorial headers for conference discovery pages. */
.pcim-container {
    width: min(100%, var(--content-max-width));
    margin-inline: auto;
    padding-inline: clamp(18px, 4vw, 48px);
}
.pcim-banner {
    background: linear-gradient(90deg, rgba(0, 30, 26, .94), rgba(0, 31, 28, .72) 48%, rgba(0, 31, 28, .1)),
                var(--brand-deep) url('/images/career-hero-placeholder.jpg') center / cover;
}
.pcim-banner .app-page-header { padding-block: clamp(28px, 4vw, 64px); margin: 0 !important; }
.pcim-banner .app-page-header-copy { min-width: 0; max-width: 44rem; overflow-wrap: anywhere; }
.pcim-banner .app-page-header :is(.directory-eyebrow, .page-title, .app-page-header-description) { color: var(--text-inverse); }
.pcim-banner .app-page-header-description { max-width: 50ch; font-size: 1.0625rem; }
.pcim-banner .app-page-header-meta { background: var(--bg-surface); color: var(--primary-dark); padding: 6px 12px; }
.page-intro.pcim-image-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
    gap: 16px clamp(24px, 4vw, 52px);
    align-content: center;
    align-items: end;
}
.pcim-image-header .app-page-header-actions { grid-column: 1; align-self: start; max-width: 100%; justify-content: flex-start; }
.pcim-header-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: clamp(130px, 14vw, 200px);
    object-fit: cover;
    align-self: center;
    background: var(--brand-deep);
}
@media (max-width: 767.98px) {
    .page-intro.pcim-image-header { grid-template-columns: 1fr; gap: 14px; }
    .pcim-header-image { grid-area: auto; height: clamp(92px, 25vw, 150px); }
    .pcim-banner .app-page-header-description { font-size: 1rem; }
}

/* Role capsules retain their seed colour and readable label. */
.role-badge { --role-color: var(--badge-service); gap: 6px; padding: 5px 10px; border: 1px solid var(--border-main); border-color: color-mix(in srgb, var(--role-color) 24%, var(--bg-surface)); background: var(--bg-surface) !important; background: color-mix(in srgb, var(--role-color) 9%, var(--bg-surface)) !important; color: var(--text-main) !important; color: color-mix(in srgb, var(--role-color) 75%, var(--badge-ink)) !important; font-size: .72rem; font-weight: 600; letter-spacing: .01em; }
.role-badge::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--role-color); }
.role-badge.bg-organizer { --role-color: var(--badge-organizer); }
.role-badge.bg-speaker, .role-badge.bg-tutorial-instructor { --role-color: var(--badge-speaker); }
.role-badge.bg-panelist, .role-badge.bg-moderator, .role-badge.bg-session-chair { --role-color: var(--badge-panelist); }
.role-badge.bg-tutorial-participant { --role-color: var(--badge-tutorial-participant); }
.role-badge.bg-delegate, .role-badge.bg-partner, .role-badge.bg-sponsor, .role-badge.bg-exhibitor, .role-badge.bg-media { --role-color: var(--badge-partner); }
.role-badge.bg-vip { --role-color: var(--badge-vip); }
.role-badge.bg-service { --role-color: var(--badge-service); }
.mobile-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mobile-header-action { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-main); font-size: 1.25rem; text-decoration: none; border-radius: 50%; }
.mobile-header-dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); border: 2px solid var(--bg-surface); }
.floating-navigation { display: none; }
.floating-navigation [hidden] { display: none !important; }
@media (scripting: enabled) {
    .floating-navigation:not(.is-ready) .event-quick-actions { display: none; }
}
@media (max-width: 1199.98px) {
    .floating-navigation { display: block; position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 1045; width: 72px; height: 72px; }
    .floating-navigation-backdrop { --navigation-blur: 0px; position: fixed; inset: 0; opacity: 0; background: rgba(15, 35, 28, .14); -webkit-backdrop-filter: blur(var(--navigation-blur)) saturate(1.08); backdrop-filter: blur(var(--navigation-blur)) saturate(1.08); touch-action: none; }
    .floating-navigation-toggle,
    body:has(.floating-navigation.is-ready) .profile-message-action .btn { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 72px; height: 72px; padding: 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-md); background: var(--primary-strong); color: var(--text-inverse); box-shadow: 0 8px 28px rgba(7, 92, 73, .28); font: 600 .7rem/1.5 var(--font-sans); }
    .floating-navigation-toggle { width: 72px; }
    .floating-navigation-toggle > i,
    body:has(.floating-navigation.is-ready) .profile-message-action i { display: block; font-size: 1.65rem; line-height: 1.2; }
    .floating-navigation-toggle:hover,
    body:has(.floating-navigation.is-ready) .profile-message-action .btn:hover { background: var(--primary-dark); }
    .floating-navigation-toggle:focus-visible, .floating-navigation .event-quick-action:focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 4px; }
    .floating-navigation-unread { position: absolute; top: 8px; right: 9px; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--brand-accent); }
    .floating-navigation .event-quick-actions { position: absolute; right: 0; left: auto; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: min(208px, calc(100vw - 40px)); max-width: none; max-height: calc(100svh - 48px - env(safe-area-inset-bottom)); margin: 0; padding: 4px; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
    .floating-navigation.is-ready .event-quick-actions { bottom: 88px; max-height: calc(100svh - 136px - env(safe-area-inset-bottom)); }
    .floating-navigation .event-quick-actions .event-quick-action { position: relative; display: flex !important; flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border-main); border-radius: var(--radius-pill); background: var(--bg-surface); color: var(--text-main); font-size: .875rem; box-shadow: var(--shadow-sm); backdrop-filter: none; transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
    .floating-navigation .event-quick-actions .event-quick-action:hover, .floating-navigation .event-quick-actions .event-quick-action.active { background: var(--primary-soft); border-color: var(--primary-soft-border); color: var(--primary-dark); transform: none; }
    .floating-navigation .event-quick-action-icon { width: 28px; height: 28px; flex: 0 0 28px; background: transparent; color: var(--primary-dark); font-size: 1.2rem; }
    .floating-navigation .event-quick-count { position: static; margin-left: auto; }
    body:has(.floating-navigation) { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
    body:has(.floating-navigation.is-ready) .profile-message-action {
        position: fixed;
        z-index: 1040;
        left: max(20px, env(safe-area-inset-left));
        right: calc(max(20px, env(safe-area-inset-right)) + 72px + 12px);
        bottom: calc(20px + env(safe-area-inset-bottom));
        margin: 0;
    }
    body:has(.floating-navigation.is-ready) .profile-message-action .btn:disabled {
        background: var(--bg-surface);
        color: var(--text-muted);
        border-color: var(--border-main);
        opacity: 1;
    }
}

/* Public careers preview shares the conference foundations without requiring login. */
.career-navbar { background: var(--bg-glass); border-bottom: 1px solid var(--border-light); }
.career-navbar nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.career-brand { display: flex; align-items: center; gap: 14px; color: var(--text-main); text-decoration: none; font-size: .8rem; font-weight: 600; }
.career-brand img { width: 150px; height: auto; }
.career-brand > span { padding-left: 14px; border-left: 1px solid var(--border-main); }
.career-preview-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary-dark); font-size: .8125rem; }
.career-filters { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; margin-bottom: 24px; }
.career-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.career-job-card { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: 24px; border: 1px solid var(--border-main); border-radius: var(--radius-md); background: var(--bg-surface); }
.career-job-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.career-company-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--gradient-feature); color: var(--primary-dark); font-weight: 700; }
.career-work-tag { padding: 4px 8px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); font-size: .7rem; color: var(--text-muted); }
.career-job-title { font-size: 1.1rem; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.career-job-meta { color: var(--text-muted); font-size: .75rem; margin: 0; line-height: 1.7; }
.career-job-meta > span { padding-inline: 6px; }
.career-job-summary { color: var(--text-muted); font-size: .8125rem; line-height: 1.65; margin: 0; }
.career-skills { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.career-skills span { background: var(--bg-alt); padding: 4px 8px; border-radius: var(--radius-pill); font-size: .7rem; color: var(--text-muted); }
.career-job-card > .btn, .career-job-card > .d-flex .btn { align-self: flex-start; min-height: var(--control-height-compact); font-size: .8125rem; }
.career-candidate-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; padding-block: 24px; }
.career-candidate-intro { padding-top: 18px; }
.career-candidate-intro > .home-section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.25; margin-bottom: 16px; }
.career-privacy-card { display: flex; align-items: flex-start; gap: 12px; padding: 20px; margin-top: 28px; border: 1px solid var(--primary-soft-border); border-radius: var(--radius-md); background: var(--gradient-feature); }
.career-privacy-card > .bi { color: var(--primary-strong); font-size: 1.4rem; }
.career-privacy-card strong { display: block; margin-bottom: 6px; font-size: .875rem; }
.career-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.career-form-fields > div { min-width: 0; }
.career-form-success { padding: 14px; border-radius: var(--radius-sm); background: var(--success-soft); color: var(--success); font-size: .875rem; }
.career-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.career-editor-form { max-width: 1000px; }
.career-editor-list { display: grid; gap: 12px; }
.career-editor-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border: 1px solid var(--border-main); border-radius: var(--radius-sm); background: var(--bg-alt); }
.career-editor-job > div { min-width: 0; }
.career-editor-job h3 { overflow-wrap: anywhere; }
.career-status-live, .career-status-draft { display: inline-flex; padding: 4px 9px; border: 1px solid; }
.career-status-live { color: var(--success); background: var(--success-soft); border-color: rgba(33, 122, 91, .25); }
.career-status-draft { color: var(--text-muted); background: var(--bg-surface); border-color: var(--border-main); }
.career-talent-table { min-width: 900px; }
.career-talent-table td { vertical-align: top; }
.career-talent-table details { max-width: 280px; }
.career-talent-table summary { cursor: pointer; color: var(--primary-dark); font-weight: 600; }
.career-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid var(--border-main); }
.career-footer p { margin: 0; }
@media (max-width: 991.98px) { .career-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .career-candidate-section { grid-template-columns: 1fr; gap: 20px; } .career-candidate-intro { max-width: 680px; } }
@media (max-width: 575.98px) {
    .career-navbar nav { flex-wrap: wrap; padding-block: 12px; }
    .career-brand img { width: 130px; }
    .career-navbar .btn { min-height: var(--control-height-compact); padding: 10px 12px; font-size: .75rem; }
    .career-navbar nav > .d-flex { width: 100%; }
    .career-navbar nav > .d-flex .btn { flex: 1; }
    .career-job-grid, .career-form-fields, .career-filters { grid-template-columns: minmax(0, 1fr); }
    .career-job-card { padding: 18px; }
    .career-editor-job { align-items: stretch; flex-direction: column; }
    .career-editor-job form, .career-editor-job button { width: 100%; }
    .career-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.organisations-page .home-shell > .container { max-width: 1344px; }
.exhibition-directory {
    --directory-columns: 4;
    display: grid;
    grid-template-columns: repeat(var(--directory-columns), minmax(0, 1fr));
    gap: clamp(36px, 5vw, 68px) 24px;
    align-items: start;
    padding-block: clamp(16px, 3vw, 36px);
}
.exhibition-directory > p { grid-column: 1 / -1; }
.exhibition-tier {
    --tier-columns: min(var(--tier-size), var(--directory-columns));
    grid-column: span var(--tier-columns);
    min-width: 0;
}
.exhibition-tier-featured {
    --tier-columns: var(--directory-columns);
    grid-column: 1 / -1;
}
.exhibition-tier-featured .exhibition-tier-logos > li:first-child { grid-column: 1 / -1; }
.exhibition-tier-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}
.exhibition-tier-heading::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #adb5bd;
}
.exhibition-tier-logos {
    display: grid;
    grid-template-columns: repeat(var(--tier-columns), minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.exhibition-tier-logos .organisation-grid-card {
    min-height: 110px;
    padding: 10px 14px;
    border-color: #cdd4dd;
    border-radius: 4px;
}
.exhibition-tier-logos .organisation-grid-card:is(:hover, :focus-visible) { border-color: var(--primary-dark); }
.exhibition-tier-logos .organisation-grid-logo-frame { width: 208px; }
@media (max-width: 991.98px) {
    .exhibition-directory { --directory-columns: 2; column-gap: 16px; }
}
@media (max-width: 575.98px) {
    .exhibition-tier { grid-column: 1 / -1; }
    .exhibition-tier-logos { gap: 10px; }
    .exhibition-tier-logos .organisation-grid-card { min-height: 96px; padding: 4px 8px; }
}
