:root {
    --ink: #17212b;
    --muted: #667481;
    --line: #dce5e8;
    --page: #f4f7f7;
    --surface: #fff;
    --navy: #0d2233;
    --admin-navy: #182236;
    --admin-red: #f33145;
    --admin-page: #f3f6fa;
    --teal: #087b75;
    --teal-dark: #075f5b;
    --gold: #c89532;
    --shadow: 0 18px 42px rgba(17, 35, 48, .12);
    --soft-shadow: 0 10px 28px rgba(17, 35, 48, .08);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.admin-page { background: var(--admin-page); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 22px;
    background: #080f20;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-logo { width: 48px; height: 48px; display: block; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.brand strong, .brand small { display: block; }
.brand strong { color: #fff; }
.brand small { color: #a8b6c7; font-weight: 800; }
.main-nav { display: flex; justify-content: center; gap: 4px; overflow-x: auto; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; padding: 0 18px; color: #d7dfec; white-space: nowrap; font-weight: 900; letter-spacing: .01em; }
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: #2f73ff; background: rgba(47,115,255,.08); }
.tabbar a { min-height: 38px; display: inline-flex; align-items: center; border-radius: 8px; padding: 0 11px; color: var(--muted); white-space: nowrap; font-weight: 700; }
.tabbar a:hover, .tabbar a.active { color: var(--ink); background: #e9f1f1; }
.header-actions, .hero-actions, .meta, .admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.primary-btn, .ghost-btn, .danger-btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid transparent; padding: 0 14px; font-weight: 800; }
.primary-btn { color: #fff; background: var(--teal); }
.primary-btn:hover { background: var(--teal-dark); }
.ghost-btn { color: var(--ink); background: #fff; border-color: var(--line); }
.site-header .ghost-btn { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.ghost-btn.dark { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.danger-btn { color: #fff; background: #b42318; }

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
    gap: 32px;
    align-items: center;
    padding: 46px min(6vw, 72px) 56px;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(13,34,51,.97), rgba(13,34,51,.78), rgba(8,123,117,.55)),
        radial-gradient(circle at 75% 25%, rgba(200,149,50,.58), transparent 26%),
        linear-gradient(135deg, #0d2233, #087b75);
}
.hero h1 { max-width: 760px; margin: 0; font-size: 4rem; line-height: 1.02; }
.hero p { max-width: 650px; color: #d7e5e8; font-size: 1.08rem; line-height: 1.7; }
.hero-panel { display: grid; gap: 12px; justify-content: end; }
.hero-stat { width: min(420px, 100%); padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.12); }
.hero-stat strong { display: block; font-size: 1.8rem; margin-bottom: 4px; }
.home-hero { min-height: 470px; }
.compact-hero-panel { justify-content: stretch; }

.section, .conference-shell { padding: 34px min(6vw, 72px); }
.page-head { padding: 42px min(6vw, 72px) 18px; background: #fff; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-size: 2.6rem; }
.eyebrow { margin: 0 0 6px; color: var(--teal); text-transform: uppercase; font-size: .78rem; font-weight: 900; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.58; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel, .record, .metric, .step { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 18px; }
.feature-card, .opportunity-card { min-height: 230px; display: grid; align-content: start; gap: 10px; }
.compact-feature { min-height: 190px; display: grid; align-content: start; gap: 10px; }
.compact-feature .ghost-btn { align-self: end; width: fit-content; }
.feature-mark { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 900; }
.feature-card h3, .opportunity-card h3 { margin-bottom: 0; font-size: 1.25rem; }
.stat-strip.home-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 16px; background: linear-gradient(180deg, #f7fafc 0%, #eef4f5 100%); border-block: 1px solid var(--line); }
.stat-strip.home-stat-grid .metric { position: relative; min-height: 138px; display: grid; align-content: space-between; overflow: hidden; padding: 20px; border-color: #d9e3ea; background: linear-gradient(145deg, #fff 0%, #f8fbfc 100%); box-shadow: 0 14px 32px rgba(18, 32, 55, .06); text-align: left; }
.stat-strip.home-stat-grid .metric::after { content: ""; position: absolute; inset: auto 18px 0 18px; height: 4px; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, var(--teal), #2f6fed); }
.metric-icon { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--teal-dark); background: #e8f5f3; font-size: .95rem; font-weight: 900; }
.stat-strip.home-stat-grid .metric strong { margin: 10px 0 2px; color: var(--navy); font-size: 2.45rem; line-height: 1; }
.stat-strip.home-stat-grid .metric span:last-child { color: var(--muted); font-size: .9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.visitor-country-section { background: linear-gradient(180deg, #fff 0%, #f5f9fa 100%); border-bottom: 1px solid var(--line); }
.country-counter-grid { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 14px; }
.country-counter-card { min-height: 142px; position: relative; display: grid; align-content: center; gap: 6px; overflow: hidden; padding: 22px; border-color: #dbe5ec; box-shadow: 0 14px 30px rgba(18, 32, 55, .055); }
.country-counter-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--teal), var(--gold)); }
.country-counter-card .country-name { color: var(--navy); font-size: 1.02rem; font-weight: 900; }
.country-counter-card strong { color: var(--teal-dark); font-size: 2.25rem; line-height: 1; }
.country-counter-card small { color: var(--muted); font-weight: 800; }
.speaker-card { min-height: 170px; box-shadow: var(--soft-shadow); }
.timeline-list.polished-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 16px; }
.timeline-list.polished-timeline::before { content: ""; position: absolute; top: 34px; left: 30px; right: 30px; height: 2px; background: #d9e5ea; }
.timeline-item { position: relative; min-height: 142px; display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid #dbe5ec; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(18, 32, 55, .055); }
.timeline-item::before { content: ""; width: 16px; height: 16px; display: block; border: 4px solid #e9f5f3; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 4px #fff; }
.timeline-item span { color: var(--teal-dark); font-size: .86rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.timeline-item strong { color: var(--navy); font-size: 1.12rem; line-height: 1.35; }
.timeline-item em { width: fit-content; min-height: 28px; display: inline-flex; align-items: center; border-radius: 999px; padding: 0 10px; color: var(--teal-dark); background: #eaf6f4; font-style: normal; font-size: .78rem; font-weight: 900; }
.directory-section { background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%); border-block: 1px solid var(--line); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 16px; }
.directory-card { display: grid; gap: 14px; align-content: start; min-height: 210px; border-color: #dbe5ec; box-shadow: 0 14px 30px rgba(18, 32, 55, .045); }
.directory-card h3 { margin: 0; color: var(--navy); font-size: 1.18rem; }
.directory-links { display: flex; flex-wrap: wrap; gap: 8px; }
.directory-card a { min-height: 34px; display: inline-flex; align-items: center; border: 1px solid #dce7ed; border-radius: 999px; padding: 0 12px; color: #44566c; background: #f8fbfb; font-size: .9rem; font-weight: 800; }
.directory-card a:hover { color: var(--teal-dark); border-color: #a9cfcc; background: #eef8f7; transform: translateY(-1px); }
footer.site-footer { display: grid; grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(180px, 1fr)); gap: 26px; padding: 42px min(6vw, 72px); color: #d7e5e8; background: linear-gradient(135deg, #071326 0%, #0d2233 58%, #075f5b 100%); border-top: 1px solid rgba(255,255,255,.08); }
footer.site-footer .footer-brand img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
footer.site-footer h3 { color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
footer.site-footer p, footer.site-footer span, footer.site-footer a { display: block; color: #c5d2df; line-height: 1.7; }
footer.site-footer a { width: fit-content; margin: 4px 0; font-weight: 800; }
footer.site-footer a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-links a { display: inline-flex; }
.trust-band { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); gap: 22px; align-items: center; background: #fff; border-block: 1px solid var(--line); }
.logo-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.logo-wall span { min-height: 76px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfb; color: var(--navy); font-weight: 900; text-align: center; }
.research-access { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(320px, 1.3fr); gap: 22px; align-items: start; background: var(--navy); color: #fff; }
.research-access p { color: #d7e5e8; }
.research-access .eyebrow { color: #93e0dc; }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.research-grid a { min-height: 108px; display: grid; align-content: center; gap: 8px; padding: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.08); }
.research-grid strong { color: #fff; font-size: 1.1rem; }
.research-grid span { color: #d7e5e8; line-height: 1.45; }
.contact-panel { display: grid; gap: 10px; }
.contact-panel p { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfb; }
.contact-panel strong { color: var(--navy); }
.contact-panel span, .contact-panel a { color: var(--muted); overflow-wrap: anywhere; }
.metric strong { display: block; margin-top: 8px; font-size: 2rem; }
.pill { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 0 10px; background: #edf4f4; color: var(--teal-dark); font-size: .78rem; font-weight: 900; }
.directory-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.directory-row:first-child { border-top: 0; }

.conference-masthead { min-height: 270px; display: grid; align-items: end; padding: 28px; border-radius: 8px; color: #fff; background: linear-gradient(110deg, #0d2233, #087b75); }
.conference-masthead h1 { max-width: 880px; margin: 0 0 10px; font-size: 2.7rem; }
.conference-masthead p { color: #d7e5e8; }
.tabbar { display: flex; gap: 6px; overflow-x: auto; margin: 16px 0; padding: 6px; border-radius: 8px; background: #e8efef; }
.conference-module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.submission-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.submission-flow a { min-height: 48px; display: flex; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfb; color: var(--navy); font-weight: 900; }
.submission-flow a:hover { color: var(--teal-dark); border-color: #b8d3d1; background: #eef7f6; }
.workflow { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.step strong { display: block; margin: 8px 0; }
.submission-list { display: grid; gap: 12px; }
.record-head { display: flex; justify-content: space-between; gap: 12px; }
.account-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.account-sidebar { position: sticky; top: 92px; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--soft-shadow); }
.account-sidebar-title { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.account-sidebar-title strong { color: var(--navy); font-size: 1.2rem; }
.account-sidebar-title span { color: var(--muted); font-weight: 800; }
.account-sidebar nav { display: grid; gap: 8px; }
.account-sidebar nav a { min-height: 38px; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-weight: 900; background: #f8fbfb; }
.account-sidebar nav a:hover { color: var(--teal-dark); border-color: #b8d3d1; background: #eef7f6; }
.account-main { min-width: 0; display: grid; gap: 18px; }
.account-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-summary article { min-height: 98px; display: grid; align-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--soft-shadow); }
.account-summary span { color: var(--muted); font-weight: 900; }
.account-summary strong { color: var(--navy); font-size: 1.6rem; overflow-wrap: anywhere; }
.account-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.account-card { box-shadow: var(--soft-shadow); scroll-margin-top: 98px; }
.account-card-wide { grid-column: 1 / -1; }
.account-card h3 { color: var(--navy); }
.account-section { scroll-margin-top: 98px; }
.submission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.notice, .flash { margin: 16px min(6vw, 72px); padding: 14px 16px; border-left: 4px solid var(--gold); background: #fff9e9; color: #67450f; border-radius: 8px; }
.flash.error { border-color: #b42318; background: #ffe8e5; color: #7a1b14; }
.admin-layout { display: grid; grid-template-columns: 318px minmax(0, 1fr); gap: 0; min-height: 100vh; background: #f5f7fb; }
.admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; max-height: 100vh; overflow: hidden; padding: 22px 18px; border-right: 1px solid #d7dee9; background: #fff; box-shadow: 8px 0 30px rgba(18, 32, 55, .04); }
.admin-sidebar-home, .admin-sidebar nav a { display: block; border-radius: 8px; padding: 10px 12px; color: #142035; font-weight: 800; font-size: .94rem; }
.admin-sidebar-home { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 18px; padding: 10px 10px 20px; border-bottom: 1px solid #d7dee9; border-radius: 0; background: transparent; color: #06152c; font-size: 1rem; }
.admin-sidebar-home img { width: 70px; height: 70px; object-fit: contain; border-radius: 8px; background: #fff; }
.admin-sidebar-home strong, .admin-sidebar-home small { display: block; }
.admin-sidebar-home small { margin-top: 4px; color: #526179; font-size: .78rem; font-weight: 800; }
.sidebar-groups { display: grid; gap: 8px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.sidebar-group { border: 1px solid transparent; border-radius: 10px; }
.sidebar-group summary { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 42px; padding: 8px 10px; color: #47566e; font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; list-style: none; transition: background .18s ease, color .18s ease; }
.sidebar-group summary::-webkit-details-marker { display: none; }
.sidebar-group summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #8a98ad; border-bottom: 2px solid #8a98ad; transform: rotate(45deg); transition: transform .18s ease; justify-self: end; grid-column: 2; grid-row: 1; }
.sidebar-group[open] summary::after { transform: rotate(225deg); }
.sidebar-group summary:hover, .sidebar-group[open] summary { color: #0d3b75; background: #eef5ff; }
.group-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #0d3b75; background: #e8f1ff; font-size: .66rem; font-weight: 900; letter-spacing: 0; }
.sidebar-links { display: grid; gap: 5px; padding: 4px 8px 10px 44px; animation: sidebarReveal .18s ease; }
.admin-sidebar nav a { border: 1px solid transparent; background: transparent; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: #0d3b75; background: #f6f9fe; border-color: #d8e6f8; }
.admin-sidebar-home.active { color: #06152c; }
@keyframes sidebarReveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.admin-content { min-width: 0; padding: 0 28px 34px; }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 86px; margin: 0 -28px 24px; padding: 16px 28px; border-bottom: 1px solid rgba(215, 222, 233, .92); background: rgba(245, 247, 251, .94); backdrop-filter: blur(12px); }
.admin-topbar h1 { margin: 2px 0 2px; color: #06152c; font-size: 1.72rem; letter-spacing: 0; }
.admin-topbar p { max-width: 760px; margin: 0; color: #526179; font-size: .96rem; }
.admin-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: #64748b; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.admin-breadcrumb span + span::before { content: "/"; margin-right: 8px; color: #9aa8bc; }
.admin-topbar-actions { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.inline-notice { margin-left: 0; margin-right: 0; }
.admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    min-height: 210px;
    margin-bottom: 22px;
    padding: 32px;
    border-radius: 8px;
    color: #fff;
    background: var(--admin-navy);
    box-shadow: none;
}
.admin-hero h1 { max-width: 760px; margin: 14px 0 10px; color: #fff; font-size: 2.22rem; line-height: 1.12; }
.admin-hero p { max-width: 820px; margin-bottom: 0; color: #f4f7fb; font-size: 1.05rem; line-height: 1.45; }
.admin-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-weight: 900; }
.admin-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.accent-outline-btn, .hero-white-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 0 20px; font-weight: 900; }
.accent-outline-btn { background: #fff; color: var(--admin-red); border: 2px solid var(--admin-red); }
.hero-white-btn { background: #fff; color: #06152c; border: 1px solid #d8e0ea; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { min-height: 116px; padding: 22px; border: 1px solid #d7dee9; border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(18, 32, 55, .04); }
.metric-card span { color: #526179; font-weight: 500; font-size: 1.05rem; }
.metric-card strong { display: block; margin: 0 0 2px; color: var(--admin-red); font-size: 2.7rem; line-height: 1; }
.metric-card p { margin-bottom: 0; color: #526179; font-size: 1.05rem; }
.metric-card.attention { border-color: #cfd8e3; background: #fff; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.admin-dashboard-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-dashboard-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.command-panel { min-height: 260px; }
.admin-page .panel, .admin-page .record, .admin-page .card { border-color: #d7dee9; box-shadow: 0 12px 28px rgba(18, 32, 55, .04); }
.admin-page .panel h3 { color: #06152c; font-size: 1.7rem; }
.admin-page .eyebrow { color: #526179; }
.panel-title-row { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 12px; }
.panel-title-row h3 { margin-bottom: 0; }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-actions a, .module-health a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfb;
    font-weight: 800;
}
.quick-actions a:hover, .module-health a:hover { border-color: #b8d3d1; background: #eef7f6; }
.module-health { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 230px; overflow-y: auto; padding-right: 4px; }
.module-health strong { color: var(--teal); font-size: .78rem; }
.ops-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.ops-row:first-of-type { border-top: 0; }
.ops-row p { margin: 4px 0 0; font-size: .9rem; }
.compact-panel { box-shadow: var(--soft-shadow); }
.compact-panel h3 { margin-bottom: 12px; }
.toolbar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.admin-list-toolbar { align-items: center; }
.admin-search-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.admin-search-form input[type="search"] { min-width: min(320px, 100%); margin: 0; }
.bulk-action-select { width: auto; min-width: 170px; margin: 0; }
.admin-module-head { margin-bottom: 16px; padding: 20px 24px; border: 1px solid #d7dee9; border-radius: 8px; background: #fff; }
.admin-module-head h1 { margin: 0; color: #06152c; font-size: 1.7rem; }
.table-panel { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 820px; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; background: #f9fbfb; }
.empty-state { padding: 30px 18px; color: var(--muted); text-align: center; font-weight: 800; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.row-actions form { display: inline; }
.certificate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.certificate-card { min-height: 320px; display: grid; align-content: center; border: 2px solid var(--gold); }
.certificate-card h2 { font-size: 2.4rem; margin-bottom: 8px; }
.qr-card { text-align: center; }
.qr-fallback { width: 220px; height: 220px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 0 auto 16px; padding: 12px; background: #fff; border: 10px solid var(--navy); }
.qr-fallback span { background: var(--shade); }
.map-placeholder { min-height: 220px; display: grid; place-items: center; gap: 8px; margin-top: 14px; padding: 24px; border: 1px dashed #9fb4c8; border-radius: 8px; background: #f6fafb; text-align: center; color: var(--muted); }
.map-placeholder strong { color: var(--navy); font-size: 1.2rem; }

form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: block; color: var(--muted); font-size: .84rem; font-weight: 800; }
label.full, form button { grid-column: 1 / -1; }
.form-section { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; }
.form-section legend { padding: 0 8px; color: var(--navy); font-size: .9rem; font-weight: 900; }
input, select, textarea { width: 100%; min-height: 42px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); background: #fff; }
textarea { min-height: 96px; resize: vertical; }
.form-note { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; font-weight: 700; overflow-wrap: anywhere; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.form-actions button { grid-column: auto; }
.delete-record-form { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.delete-record-form button { width: auto; }
.permission-list { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; margin: 8px 0 14px; padding-right: 4px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f9fbfb; color: var(--ink); }
.check-row input { width: 16px; min-height: 16px; margin-top: 2px; }
.check-row span { display: grid; gap: 2px; }
.check-row small { color: var(--muted); font-weight: 700; }
button[disabled] { opacity: .55; cursor: not-allowed; }
.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(circle at top left, rgba(8, 123, 117, .11), transparent 34%), var(--admin-page); }
.admin-login-card { width: min(480px, 100%); padding: 34px; border: 1px solid #d7dee9; border-radius: 12px; background: #fff; box-shadow: var(--soft-shadow); }
.admin-login-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-login-brand img { width: 58px; height: 58px; object-fit: contain; }
.admin-login-brand strong { display: block; color: var(--navy); font-size: 1.35rem; }
.admin-login-brand span, .admin-login-copy, .admin-login-footer { color: var(--muted); }
.admin-login-card h1 { margin: 8px 0 10px; color: var(--navy); font-size: 2rem; }
.admin-login-copy { margin-bottom: 22px; line-height: 1.6; }
.stack-form { grid-template-columns: 1fr; }
.full-width { width: 100%; }
.admin-login-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 800; }
.admin-login-footer a { color: var(--teal); }
.admin-user-pill { min-height: 38px; display: inline-flex; align-items: center; border: 1px solid #d7dee9; border-radius: 999px; padding: 0 12px; color: var(--muted); background: #f8fafc; font-size: .85rem; font-weight: 900; }
.admin-topbar-actions form { display: inline-flex; grid-template-columns: 1fr; gap: 0; }
.admin-topbar-actions form button { grid-column: auto; }

@media (max-width: 1060px) {
    .site-header, .hero { grid-template-columns: 1fr; }
    .main-nav { justify-content: start; }
    .grid, .grid.two, .grid.four, .workflow, .conference-module-grid, .certificate-layout, .metric-grid, .admin-dashboard-grid, .admin-dashboard-grid.three, .admin-dashboard-grid.two, .trust-band, .research-access, .stat-strip, .timeline-list, .directory-grid, .country-counter-grid, .site-footer, .account-shell, .account-summary, .account-card-grid, .submission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-strip.home-stat-grid, .country-counter-grid, .timeline-list.polished-timeline, .directory-grid, footer.site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline-list.polished-timeline::before { display: none; }
    .account-sidebar { position: static; grid-column: 1 / -1; }
    .account-sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .admin-layout { grid-template-columns: 1fr; padding: 0; }
    .admin-sidebar { position: relative; height: auto; max-height: 70vh; padding: 18px; border-right: 0; border-bottom: 1px solid #d7dee9; }
    .admin-content { padding: 0 18px 28px; }
    .admin-topbar { position: relative; display: grid; margin: 0 -18px 18px; padding: 16px 18px; }
    .admin-hero { display: grid; }
}

@media (max-width: 680px) {
    .section, .conference-shell, .page-head { padding-left: 16px; padding-right: 16px; }
    .hero { min-height: 560px; padding: 34px 16px; }
    .hero h1 { font-size: 2.55rem; }
    .grid, .grid.two, .grid.four, .workflow, .conference-module-grid, .submission-flow, .certificate-layout, .metric-grid, .admin-dashboard-grid, .admin-dashboard-grid.three, .admin-dashboard-grid.two, .quick-actions, .module-health, .trust-band, .logo-wall, .research-access, .research-grid, .stat-strip, .timeline-list, .directory-grid, .country-counter-grid, .site-footer, .account-shell, .account-summary, .account-card-grid, .submission-grid, form, .form-section { grid-template-columns: 1fr; }
    .stat-strip.home-stat-grid, .country-counter-grid, .timeline-list.polished-timeline, .directory-grid, footer.site-footer { grid-template-columns: 1fr; }
    .stat-strip.home-stat-grid .metric, .country-counter-card, .timeline-item, .directory-card { min-height: auto; }
    .admin-login-footer, .section-head { display: grid; }
    .account-sidebar nav { grid-template-columns: 1fr; }
    .account-card-wide { grid-column: auto; }
    .contact-panel p { grid-template-columns: 1fr; }
    .toolbar { display: grid; }
    .record-head, .directory-row, .header-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
    .admin-hero { min-height: auto; padding: 24px; }
    .admin-hero h1 { font-size: 2rem; }
    .admin-hero p { font-size: 1rem; }
}

.account-security-note {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #b8d3d1;
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: #eef7f6;
    color: var(--ink);
    box-shadow: var(--soft-shadow);
}
.account-security-note strong { color: var(--teal-dark); font-size: 1rem; }
.account-security-note span { color: var(--muted); font-weight: 800; }
.empty-state {
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed #b8c7d9;
    border-radius: 8px;
    background: #f8fbfb;
    color: var(--muted);
    font-weight: 800;
}
.account-card form select[data-submission-route] { margin-top: 6px; }

/* My Account polish */
.account-shell {
    align-items: start;
}
.account-sidebar {
    overflow: hidden;
    border-color: #d7e3e6;
}
.account-sidebar-title {
    position: relative;
}
.account-sidebar-title::before {
    content: "";
    width: 38px;
    height: 4px;
    display: block;
    margin-bottom: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
}
.account-sidebar-title span {
    overflow-wrap: anywhere;
    line-height: 1.35;
}
.account-sidebar nav a {
    min-height: 42px;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.account-sidebar nav a:hover {
    transform: translateX(2px);
}
.account-welcome {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid #cfe0e3;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f8f7 100%);
    box-shadow: var(--soft-shadow);
}
.account-welcome h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.72rem;
    line-height: 1.2;
}
.account-welcome p:last-child {
    max-width: 760px;
    margin-bottom: 0;
}
.account-security-note {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
}
.account-security-note strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #dff3f1;
}
#portal-login {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.3fr);
    gap: 18px;
    align-items: start;
    border-color: #cbdfe2;
    background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
}
#portal-login h3 {
    margin: 0;
    font-size: 1.35rem;
}
#portal-login h3,
#portal-login p {
    grid-column: 1;
}
#portal-login form {
    grid-column: 2;
    align-self: start;
}
#portal-login .form-note {
    max-width: 680px;
}
.account-summary article {
    position: relative;
    overflow: hidden;
}
.account-summary article::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--teal);
}
.workflow {
    counter-reset: account-step;
}
.workflow .step {
    min-height: 126px;
    border-color: #d7e4e8;
    box-shadow: 0 10px 24px rgba(17, 35, 48, .06);
}
.workflow .step p {
    margin-bottom: 0;
    font-size: .9rem;
}
.account-card h3,
.account-section h2 {
    line-height: 1.25;
}
.account-card form {
    margin-top: 12px;
}
.account-card input,
.account-card select,
.account-card textarea,
#portal-login input {
    border-color: #cfdce0;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.account-card input:focus,
.account-card select:focus,
.account-card textarea:focus,
#portal-login input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(8, 123, 117, .14);
}
.account-card .primary-btn,
.account-card .ghost-btn,
#portal-login .primary-btn,
#portal-login .ghost-btn {
    width: fit-content;
    min-width: 150px;
}
.account-card-wide .primary-btn,
.account-card-wide .ghost-btn {
    width: fit-content;
}
.account-card .check-row {
    align-items: flex-start;
}
.account-card .check-row input {
    flex: 0 0 auto;
}
.account-section {
    display: grid;
    gap: 16px;
}
.account-section .section-head {
    margin-bottom: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}
.submission-grid .panel {
    box-shadow: var(--soft-shadow);
}

@media (max-width: 1060px) {
    #portal-login {
        grid-template-columns: 1fr;
    }
    #portal-login h3,
    #portal-login p,
    #portal-login form {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .account-welcome,
    .account-security-note {
        display: grid;
        grid-template-columns: 1fr;
    }
    .account-welcome {
        padding: 18px;
    }
    .account-welcome h2 {
        font-size: 1.42rem;
    }
    .account-sidebar nav a {
        min-height: 44px;
    }
    .account-card .primary-btn,
    .account-card .ghost-btn,
    #portal-login .primary-btn,
    #portal-login .ghost-btn,
    .account-card-wide .primary-btn,
    .account-card-wide .ghost-btn {
        width: 100%;
    }
}