.conference-admin {
    --sidebar-width: 234px;
    --sidebar-bg: #10283e;
    --bg-canvas: #edf2fa;
    color: #0c2346;
}
.conference-hero-title span { color: #ffa51e; }
.conference-hero-title sup { font-size: .55em; }
.conference-admin .brand-header {
    background: linear-gradient(125deg, #063660, #0c2d4e);
    padding: .9rem 1rem;
}
.conference-admin .brand-header small { color: #e5efff !important; }
.conference-admin .admin-sidebar .nav-link { color: #f2f7ff; }
.conference-admin .admin-sidebar .nav-link.active {
    background: linear-gradient(125deg, #0575f1, #075ecf);
}
.conference-admin .admin-topbar {
    background: #fbfdff;
    box-shadow: 0 2px 7px #16385e18;
}
.conference-admin .admin-content { padding: 18px; }
.dashboard-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
}
.dashboard-main, .dashboard-previews { min-width: 0; }
.dashboard-main, .dashboard-activity {
    background: linear-gradient(145deg, #f5f8fd, #eaf0fa);
    border: 1px solid #d7e2f2;
    border-radius: 12px;
    padding: 15px;
}
.dashboard-main .card,
.dashboard-activity .card {
    box-shadow: 0 2px 4px #183a661c !important;
    border: 1px solid #dbe5f1 !important;
    border-radius: 9px !important;
    background: linear-gradient(145deg, #fff, #f7faff);
}
.dashboard-main .card-kpi { padding: 12px !important; }
.dashboard-main .card-kpi .small { line-height: 1.2; }
.dashboard-main .stat-icon-box { width: 44px; height: 44px; border-radius: 9px; }
.dashboard-main .bg-warning.progress-bar { background: #fd8a00 !important; }
.dashboard-actions, .dashboard-previews, .dashboard-shortcuts { display: grid; gap: 12px; }
.dashboard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-actions .quick-action-tile {
    height: 100%;
    justify-content: center;
    gap: 4px;
    padding: 8px 3px;
    min-height: 75px;
    border-radius: 7px;
    background: linear-gradient(#fff, #f2f6fb);
    line-height: 1.1;
}
.dashboard-actions .row { --bs-gutter-x: .5rem; --bs-gutter-y: .5rem; }
.dashboard-previews { align-content: start; }
.dashboard-strip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    background: #083b6d;
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    padding: 5px 10px;
    margin-bottom: 6px;
    text-decoration: none;
}
.dashboard-strip:hover { color: #fff; background: #08578f; }
.dashboard-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dashboard-preview {
    display: block;
    border: 1px solid #dae4f0;
    border-radius: 9px;
    background: #fff;
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px #16385e25;
}
.dashboard-preview img { display: block; height: auto; border-radius: 5px; }
.dashboard-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dashboard-shortcuts a {
    color: #0a3767;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 750;
    font-size: .85rem;
    padding: 14px 10px;
}
.dashboard-shortcuts a:hover { background: #f4f8ff; }
.dashboard-shortcuts i { font-size: 1rem; }
@media (min-width: 992px) {
    .dashboard-main .row > .col-xl-2 { width: 16.666667%; }
}
@media (min-width: 1280px) {
    .dashboard-grid { grid-template-columns: minmax(0, 2.12fr) minmax(0, 1fr); }
    .dashboard-shortcuts, .dashboard-activity { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .conference-admin .admin-sidebar { top: 0; left: calc(-1 * var(--sidebar-width)); }
    .conference-admin .admin-sidebar.show { left: 0; }
    .conference-admin .admin-topbar { z-index: 1041; }
    .dashboard-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .conference-admin .admin-content { padding: 10px; }
    .dashboard-actions, .dashboard-previews { grid-template-columns: minmax(0, 1fr); }
    .dashboard-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.conference-public .navbar-main {
    background: #fbfdff;
    box-shadow: 0 2px 6px #102c481f;
}
.conference-public .navbar-brand {
    color: #0b2851;
    font-size: 1rem;
    line-height: 1.04;
}
.conference-public .navbar-main .nav-link { color: #102e57; font-size: .86rem; }
.conference-public .navbar-main .nav-link:hover,
.conference-public .navbar-main .nav-link.active {
    color: #055cb4;
    border-bottom: 0;
}
.conference-public .btn-certificate-cta {
    background: #0764b8;
    box-shadow: none;
}
.conference-public .btn-certificate-cta:hover { background: #074e92; }
.conference-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #0a345c 5%, #0a3862 39%, #0b40688a 61%, #102d4c15),
        #0b3863 url('branding/pokhara_panorama.jpg') right 47% / auto 120% no-repeat;
}
.conference-hero-title {
    font-size: clamp(2.45rem, 5vw, 4.5rem);
    line-height: .98;
    letter-spacing: -.04em;
    font-weight: 800;
}
.conference-orange, .conference-orange:hover { background: #fb7900; color: #111f36; }
.conference-orange:hover { background: #ff9527; }
.certificate-lookup { border: 1px solid #cedaed; box-shadow: 0 3px 8px #16385e21; }
.lookup-emblem {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 2rem;
    background: radial-gradient(at top left, #9ed3ff, #e8f4ff 72%);
    color: #0a4d94;
}

/* Shared page surfaces and controls */
.conference-admin, .conference-public, .conference-login {
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    --bs-body-color: #122945;
    --bs-body-bg: #f4f7fc;
    --bs-border-color: #dbe5f1;
    --bs-link-color-rgb: 9, 83, 154;
    --bs-border-radius: .625rem;
    color: var(--bs-body-color);
    font-family: var(--bs-body-font-family);
}
.conference-admin, .conference-public {
    background: radial-gradient(ellipse at top right, #eaf3ff, transparent 48rem), #f4f7fc;
}
.conference-public { display: flex; flex-direction: column; min-height: 100dvh; }
.public-content, .conference-admin .admin-content { flex: 1; min-width: 0; }
.conference-admin .admin-content {
    padding: clamp(.75rem, 2vw, 1.75rem);
}
.conference-admin .admin-topbar { padding: .45rem clamp(.75rem, 2vw, 1.75rem); }
.conference-admin .admin-sidebar { background-color: #102941 !important; }
.conference-admin .admin-sidebar .nav-link { min-height: 42px; }
.conference-admin .admin-nav-close { position: absolute; top: 1.15rem; right: .8rem; }
.conference-admin .admin-nav-toggle { padding: 2px 10px; }
.conference-admin .admin-content > .d-flex:first-child,
.public-content .container > .d-flex:first-child { row-gap: .85rem; }
.conference-admin h3, .public-content h1, .public-content h2 {
    letter-spacing: -.025em;
    text-wrap: balance;
}
.conference-admin .card, .conference-public .card, .conference-login .card {
    --bs-card-border-color: #dce6f2;
    --bs-card-border-radius: 1rem;
    --bs-card-cap-bg: #f5f8fd;
    min-width: 0;
    border: 1px solid var(--bs-card-border-color) !important;
    box-shadow: 0 3px 12px #173b6120 !important;
}
.conference-admin .card-header, .public-content .card-header { gap: .75rem; }
.conference-admin img, .public-content img { max-width: 100%; }
.conference-admin .btn, .conference-public .btn, .conference-login .btn {
    --bs-btn-border-radius: .65rem;
    --bs-btn-font-weight: 650;
}
.conference-admin .btn:not(.btn-sm) {
    --bs-btn-font-size: .875rem;
    --bs-btn-padding-x: .65rem;
    --bs-btn-padding-y: .3rem;
}
.conference-admin .admin-nav-toggle { min-width: 40px; min-height: 40px; }
.conference-admin .btn-primary, .conference-public .btn-primary {
    --bs-btn-bg: #0759a6;
    --bs-btn-border-color: #0759a6;
    --bs-btn-hover-bg: #064982;
    --bs-btn-hover-border-color: #064982;
    --bs-btn-active-bg: #063b6a;
    --bs-btn-active-border-color: #063b6a;
}
.conference-admin .form-control, .conference-public .form-control,
.conference-admin .form-select, .conference-public .form-select, .conference-login .form-control {
    border-color: #cbd9ea;
    color: #122945;
    min-height: 41px;
}
.conference-admin .form-control:focus, .conference-public .form-control:focus,
.conference-admin .form-select:focus, .conference-public .form-select:focus {
    border-color: #367bb7;
    box-shadow: 0 0 0 .2rem #3f8dd529;
}
.conference-admin .table, .public-content .table {
    --bs-table-hover-bg: #edf5ff;
    --bs-table-border-color: #e2eaf5;
}
.conference-admin .table > :not(caption) > * > *, .public-content .table > :not(caption) > * > * {
    padding: .7rem .85rem;
}
.conference-admin .table-light, .public-content .table-light {
    --bs-table-bg: #eef4fc;
    --bs-table-color: #163657;
}
.conference-admin .table-responsive, .public-content .table-responsive {
    overscroll-behavior-inline: contain;
}
.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; min-width: 9rem; }
.conference-admin .nav-pills { gap: .25rem; }
.conference-admin .nav-pills .nav-link { border-radius: .55rem; }
.conference-login {
    padding: 1rem 0;
    background: linear-gradient(110deg, #072745f5 15%, #0a426dda),
        #092c49 url('branding/pokhara_panorama.jpg') right center / cover;
}
.conference-login .login-card { box-shadow: 0 22px 70px #0013277a !important; }
.public-content { overflow-wrap: anywhere; }
.conference-public .navbar-collapse { min-width: 0; }
.conference-public .footer-main { margin-top: 0; }
.conference-public .navbar-main .nav-link { font-weight: 650; }
.public-content .certificate-lookup { overflow-wrap: normal; }
@media (max-width: 1199.98px) {
    .conference-public .navbar-collapse { padding: .65rem 0; }
    .conference-public .navbar-main .nav-link { padding-inline: .5rem; }
}
@media (max-width: 991.98px) {
    .conference-admin .admin-sidebar.offcanvas-start {
        left: 0;
        width: min(280px, calc(100vw - 42px));
        z-index: 1045;
        transition: transform .25s ease;
    }
    .conference-admin .admin-topbar { z-index: 1030; }
    .conference-admin .table-responsive .table:has(thead th:nth-child(5)) { min-width: 640px; }
}
@media (max-width: 575.98px) {
    .conference-admin .admin-content > .card.p-4,
    .public-content .card.p-4, .public-content .card-body.p-4 {
        padding: 1rem !important;
    }
    .conference-admin .admin-content > .d-flex:first-child { align-items: flex-start !important; }
    .conference-admin .nav-pills > .nav-item { flex: 1 1 100%; }
    .conference-admin .modal-footer { gap: .35rem; }
    .conference-admin .modal-footer > * { margin: 0; }
    .conference-public .conference-hero {
        min-height: 350px;
        background-image: linear-gradient(90deg, #082a4cea, #0c3a62a3), url('branding/pokhara_panorama.jpg');
        background-size: cover;
    }
    .conference-public .conference-hero-title { font-size: clamp(2rem, 9vw, 3rem); }
    .conference-public .footer-main .row > div { width: 100%; }
    .certificate-lookup .btn-group .btn { padding-inline: .35rem; font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
    .conference-admin *, .conference-public * { scroll-behavior: auto !important; }
    .conference-admin .admin-sidebar, .conference-admin .quick-action-tile,
    .conference-public .btn-certificate-cta { transition: none !important; }
}

/* Public navigation, academic tracks, and committee directory */
.conference-public .navbar-main { padding-block: .8rem; }
.conference-public .navbar-brand { margin-right: 2rem; }
.public-nav-links { gap: .25rem; }
.conference-public .navbar-main .public-nav-links .nav-link {
    padding: .65rem .9rem;
    border-radius: .55rem;
    font-size: .93rem;
}
.public-nav-links .nav-link.active,
.public-nav-links .nav-link:focus-visible,
.public-nav-links .nav-link:hover { background: #eaf2fc; }
.public-nav-links .dropdown-menu {
    padding: .4rem;
    border: 1px solid #dbe6f4;
    border-radius: .75rem;
    box-shadow: 0 10px 30px #12325319;
}
.public-nav-links .dropdown-item { padding: .55rem .75rem; border-radius: .45rem; }
.public-nav-certificate { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; }
.thematic-section { background: #eef4fa; padding-block: clamp(2.75rem, 6vw, 5rem); }
.thematic-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin-bottom: 1.65rem;
}
.section-kicker {
    color: #245b84;
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin-bottom: .45rem;
}
.thematic-heading h2, .committee-hero h1 {
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0;
}
.thematic-heading > a { font-weight: 750; text-underline-offset: .23em; }
.thematic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .85rem; }
.thematic-track {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    min-height: 190px;
    padding: 1.1rem;
    color: #102d4f;
    background: #fff;
    border: 1px solid #d7e5f3;
    border-radius: .9rem;
    text-decoration: none;
}
.thematic-track:hover, .thematic-track:focus-visible { border-color: #3481b7; box-shadow: 0 6px 18px #15477018; }
.thematic-track h3 { font-size: 1.04rem; line-height: 1.36; font-weight: 800; margin: 0; }
.track-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: .65rem;
    background: #e9f4ff;
    color: #135788;
    font-size: 1.27rem;
}
.thematic-track:nth-child(even) .track-icon { background: #e5f4f0; color: #1a655a; }
.track-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #365b7d; font-size: .8rem; }
.committee-hero {
    padding-block: clamp(2.8rem, 6vw, 4.6rem);
    color: #102d4c;
    background: radial-gradient(ellipse at right top, #cfe5f8, transparent 65%), #eef5fb;
    border-bottom: 1px solid #d9e7f4;
}
.committee-hero p { max-width: 42rem; margin: .8rem 0 0; color: #47627d; }
.committee-directory {
    display: grid;
    grid-template-columns: minmax(0, 235px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 2.8rem);
    padding-block: clamp(1.35rem, 4vw, 3.6rem);
}
.committee-index {
    position: sticky;
    top: 6rem;
    padding: 1.1rem;
    border: 1px solid #dce7f0;
    border-radius: 1rem;
    background: #fff;
}
.committee-index h2 { font-size: .95rem; font-weight: 800; margin: 0 0 .65rem; }
.committee-index ul { margin: 0; padding: 0; list-style: none; }
.committee-index a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    border-radius: .5rem;
    padding: .55rem .45rem;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    color: #245778;
}
.committee-index a:hover, .committee-index a:focus-visible { background: #edf5fd; }
.committee-group {
    margin-bottom: 1.35rem;
    border: 1px solid #dce7f0;
    border-radius: 1rem;
    padding: clamp(.85rem, 2.5vw, 1.65rem);
    background: #fff;
    scroll-margin-top: 6rem;
}
.committee-group:target { border-color: #3076a6; }
.committee-group-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .75rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #deebf5;
    margin-bottom: .95rem;
}
.committee-group h2 { font-weight: 800; font-size: clamp(1.05rem, 2.5vw, 1.45rem); margin: 0; text-wrap: initial; }
.committee-parent { font-size: .76rem; font-weight: 700; color: #476a8a; margin: 0 0 .3rem; }
.committee-count { color: #385978; margin: 0; font-size: .78rem; white-space: nowrap; }
.committee-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.committee-members li {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce7f0;
    border-radius: .85rem;
}
.committee-portrait {
    display: grid;
    place-items: center;
    padding: 1rem .5rem .65rem;
    background: linear-gradient(135deg, #eaf4fd, #f4f8fb);
}
.committee-avatar {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #245778;
    background: #d9eafa;
    font-size: 1.45rem;
    font-weight: 800;
}
.committee-details { padding: .8rem; }
.committee-members h3 { font-size: .97rem; font-weight: 800; margin: 0; }
.committee-role { color: #245778; font-size: .77rem; font-weight: 750; margin: .28rem 0 0; }
.committee-affiliation { color: #546d86; font-size: .75rem; margin: .28rem 0 0; }
.conference-hero.has-custom-hero { position: relative; isolation: isolate; background: #123a5b; }
.conference-hero.has-custom-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #082a4cef, #102d4c77);
}
.conference-hero .hero-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    z-index: -2;
}
.hero-intro { max-width: 45rem; color: #edf5ff; }
@media (min-width: 992px) {
    .conference-public #navMenu { justify-content: flex-end; gap: 1rem; }
    .public-nav-certificate { margin-left: 0; }
}
@media (max-width: 991.98px) {
    .public-nav-certificate { margin-top: .65rem; }
    .public-nav-links .dropdown-menu { box-shadow: none; }
}
@media (max-width: 767.98px) {
    .committee-directory { grid-template-columns: minmax(0, 1fr); }
    .committee-index { position: static; }
    .committee-index ul { display: flex; flex-wrap: wrap; gap: .25rem .65rem; }
}

.downloads-hero {
    position: relative;
    padding-block: clamp(2.5rem, 7vw, 5.75rem);
    background: radial-gradient(ellipse at 85% 10%, #287293, transparent 70%), #102c4a;
    color: #fff;
}
.downloads-hero .section-kicker { color: #b5def9; }
.downloads-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.15rem, 5.6vw, 4.15rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
}
.downloads-intro { color: #d9ebf9; max-width: 44rem; margin: .9rem 0 0; }
.download-library { padding-block: clamp(1.5rem, 4vw, 4rem); }
.download-library-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.download-library-heading h2 { font-weight: 800; margin-bottom: .25rem; font-size: 1.5rem; }
.download-search { position: relative; display: block; width: min(100%, 18rem); }
.download-search[hidden], .download-resource[hidden] { display: none; }
.download-search i {
    position: absolute;
    top: 50%;
    left: .85rem;
    transform: translateY(-50%);
    color: #547493;
    pointer-events: none;
}
.download-search .form-control { padding-left: 2.3rem; }
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.download-resource {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid #dce7f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 14px #143b5c0d;
}
.download-resource-top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.download-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    color: #155a85;
    background: #e8f3fc;
    font-size: 1.3rem;
}
.download-type { color: #40637f; background: #f1f6fb; border-radius: 1rem; font-size: .72rem; font-weight: 800; padding: .3rem .65rem; }
.download-resource h3 { font-weight: 800; font-size: 1.13rem; line-height: 1.35; margin: 0 0 .55rem; }
.download-resource p { color: #46617b; font-size: .9rem; margin-bottom: 1rem; }
.download-action, .download-pending {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .84rem;
    font-weight: 750;
}
.download-action {
    color: #145789;
    border: 1px solid #c9ddef;
    padding: .55rem .8rem;
    text-decoration: none;
    border-radius: .6rem;
}
.download-action:hover, .download-action:focus-visible { background: #edf6fd; color: #103c62; }
.download-pending { color: #526985; padding-top: .25rem; }
.download-empty { padding: 1.1rem; margin: 1rem 0 0; color: #4d647c; border: 1px dashed #bfd5e9; border-radius: .75rem; }

.committee-drag {
    cursor: grab;
    touch-action: none;
    user-select: none;
    padding: .35rem .45rem;
    color: #365b7d;
}
.committee-dragging { background-color: #eaf3ff; }
.committee-dragging .committee-drag { cursor: grabbing; }

.keynote-section {
    --keynote-ink: #10264e;
    --keynote-accent: #9b1039;
    position: relative;
    isolation: isolate;
    background: #f2f7fd;
    padding-block: clamp(2.6rem, 7vw, 5.6rem) clamp(2.5rem, 6vw, 4.75rem);
}
.keynote-heading { margin-bottom: clamp(1.4rem, 4vw, 2.6rem); }
.keynote-heading-title { border-left: .3rem solid var(--keynote-accent); padding-left: clamp(.75rem, 2vw, 1.3rem); }
.keynote-heading .keynote-conference {
    color: var(--keynote-ink);
    margin: 0 0 .5rem;
    font-weight: 800;
    font-size: clamp(.7rem, 1.7vw, 1rem);
    letter-spacing: .07em;
    text-transform: uppercase;
}
.keynote-heading h2 {
    color: var(--keynote-ink);
    font-size: clamp(2.1rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    margin: 0;
}
.keynote-heading h2 span { color: var(--keynote-accent); }
.keynote-intro { margin: 1rem 0 0; max-width: 50rem; color: #3d4d63; font-size: clamp(.9rem, 2vw, 1.15rem); }
.keynote-carousel { position: relative; }
.keynote-grid {
    --card-gap: 1rem;
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--card-gap)) / 3);
    gap: var(--card-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0;
    padding: .1rem 0 .85rem;
    list-style: none;
}
.keynote-grid::-webkit-scrollbar { display: none; }
.keynote-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid #cedced;
    background: linear-gradient(155deg, #fff 55%, #eaf2fb);
    scroll-snap-align: start;
    box-shadow: 0 .45rem .75rem #153d7014;
}
.keynote-card-content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    gap: clamp(.65rem, 1.4vw, 1rem);
    align-items: center;
    padding: clamp(.65rem, 1.4vw, 1rem);
}
.keynote-portrait {
    display: grid;
    place-items: center;
    background: #e0ecf8;
    color: #315f8e;
    border-radius: .9rem .9rem 1.85rem .9rem;
    box-shadow: .23rem .23rem 0 #9b1039;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.keynote-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.keynote-body h3 { color: var(--keynote-ink); font-size: clamp(.98rem, 1.6vw, 1.4rem); font-weight: 800; margin: 0; }
.keynote-body h3::after { content: ''; display: block; width: 2rem; height: 3px; background: var(--keynote-accent); margin: .7rem 0; border-radius: 4px; }
.keynote-affiliation { display: flex; align-items: baseline; gap: .35rem; font-weight: 650; color: #394b65; font-size: .85rem; margin: 0 0 .45rem; }
.keynote-affiliation i { color: #9b1039; }
.keynote-summary {
    font-size: .82rem;
    color: #455770;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.keynote-profile-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: .55rem .9rem;
    border: 0;
    background: linear-gradient(100deg, #193766, #102d56);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
}
.keynote-profile-button:hover, .keynote-profile-button:focus-visible { background: #255082; }
.keynote-arrow {
    position: absolute;
    z-index: 1;
    top: 45%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #cbdcf0;
    border-radius: 50%;
    background: #fff;
    color: #163966;
    box-shadow: 0 3px 10px #1639662c;
}
.keynote-arrow-prev { left: -1.1rem; }
.keynote-arrow-next { right: -1.1rem; }
.keynote-arrow:disabled { opacity: .45; }
.keynote-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .35rem; }
.keynote-arrow[hidden], .keynote-dots[hidden], .keynote-affiliation[hidden] { display: none; }
.keynote-dots button { width: 28px; height: 28px; padding: 0; background: none; border: 0; color: #b5c8e0; }
.keynote-dots button::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.keynote-dots button[aria-current="true"] { color: var(--keynote-accent); }
.keynote-modal .modal-content { border-radius: 1rem; border: 0; overflow: hidden; }
.keynote-modal .modal-header { background: #153763; color: #fff; }
.keynote-modal-layout { display: grid; grid-template-columns: minmax(120px, 32%) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 4vw, 2rem); padding: clamp(1.25rem, 4vw, 2.15rem); }
.keynote-profile-content h2 { color: #10264e; font-weight: 800; font-size: clamp(1.45rem, 3.5vw, 2rem); margin-bottom: .55rem; }
.keynote-profile-content .keynote-affiliation { color: #8d1437; font-size: .95rem; }
.keynote-profile-bio { color: #394b65; white-space: pre-line; margin: .85rem 0 0; }
@media (max-width: 991.98px) {
    .keynote-grid { grid-auto-columns: calc((100% - var(--card-gap)) / 2); }
}
@media (max-width: 575.98px) {
    .keynote-grid { grid-auto-columns: 100%; }
    .keynote-arrow { width: 35px; height: 35px; }
    .keynote-arrow-prev { left: -.45rem; }
    .keynote-arrow-next { right: -.45rem; }
    .keynote-card-content { padding-inline: 1.35rem; gap: .8rem; }
    .keynote-modal-layout { grid-template-columns: minmax(0, 1fr); }
    .keynote-modal-layout .keynote-portrait { width: min(44%, 150px); }
}

.committee-admin-details summary { cursor: pointer; }
.committee-admin-details[open] summary .bi-chevron-down { transform: rotate(180deg); }

#admin-media-library .admin-media-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 132px));
    justify-content: center;
    gap: .75rem;
}
#admin-media-library .admin-media-tile {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #d4e1ef;
    border-radius: .65rem;
    padding: 0;
    background: #eaf2fb;
    color: #173959;
}
#admin-media-library .admin-media-tile[aria-pressed="true"] {
    outline: 2px solid #0759a6;
    outline-offset: 2px;
}
#admin-media-library .admin-media-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
#admin-media-library .admin-media-tile i { font-size: 2rem; }
.admin-media-filename {
    position: absolute;
    inset: auto 0 0;
    padding: .3rem .4rem;
    background: #132b48e8;
    color: white;
    font-size: .72rem;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
}
.admin-media-tile:hover .admin-media-filename,
.admin-media-tile:focus-visible .admin-media-filename { opacity: 1; }
.admin-media-empty { grid-column: 1 / -1; text-align: center; }
.admin-media-pagination:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: 1rem; }
@media (max-width: 767.98px) {
    #admin-media-library .admin-media-grid { grid-template-columns: repeat(4, minmax(0, 132px)); }
}
@media (max-width: 479.98px) {
    #admin-media-library .admin-media-grid { grid-template-columns: repeat(3, minmax(0, 112px)); gap: .45rem; }
}
.admin-media-tile i { font-size: 2.2rem; padding-block: 1rem; }
