/* ============================================================
   speaker-profile.css — Individual speaker profile page
   Used by: speaker.html
   Requires: base.css (load base.css FIRST, then this file)

   Shared rules (reset, :root, nav, .btn base, .ceng-btn engagement,
   footer base, a/img) live in base.css. This file holds only the
   speaker-profile-specific rules, plus the few intentional overrides
   where this page diverges from the base tokens.
   ============================================================ */

/* ── PAGE-LEVEL TOKEN OVERRIDES ──────────────────────────── */
/* speaker.html uses a brighter edit-accent and slightly darker
   muted text than the base palette; keep them page-scoped. */
:root {
  --tm:   #555;     /* base is #666 */
  --g10:  #ddd;     /* base is #D3D1C7 */
  --edit: #2563EB;  /* base is #185FA5 — bright blue edit accent */
}

html { scroll-behavior: smooth; }
img  { display: block; }

/* ── EDIT MODE BANNER ────────────────────────────────────── */
.edit-banner { background: var(--red); color: #fff; text-align: center; padding: 9px 20px; font-size: 13px; font-weight: 700; display: none; align-items: center; justify-content: center; gap: 12px; position: sticky; top: 60px; z-index: 99; }
.edit-banner.on { display: flex; }
.edit-banner button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-family: 'Karla', sans-serif; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.page { max-width: 1100px; margin: 0 auto; padding: 32px 20px 60px; }
.cols { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.main-col { min-width: 0; }
.side-col { min-width: 0; position: sticky; top: 76px; }
@media (max-width: 860px) { .side-col { position: static; } }

/* ── HERO ────────────────────────────────────────────────── */
.hero { background: #fff; border: 1px solid var(--br); border-radius: var(--ra); overflow: hidden; margin-bottom: 20px; }
.hero-inner { display: flex; gap: 0; align-items: stretch; }
.hero-photo { width: 220px; min-height: 260px; flex-shrink: 0; background: var(--nl); position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: var(--n2); background: linear-gradient(135deg, var(--nl), #d0e4f7); }
.hero-body { flex: 1; padding: 28px 110px 24px 28px; }
.hero-badge { position: absolute; top: 18px; right: 22px; display: flex; gap: 14px; align-items: flex-start; }
.hero-badge-btn { background: none; border: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 92px; }
.hero-badge-img { width: 88px; height: 88px; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18)); transition: transform .15s; }
.hero-badge-btn:hover .hero-badge-img { transform: scale(1.07); }
.hero-badge-cap { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--tm); text-align: center; line-height: 1.2; max-width: 92px; }
/* Badge explainer modal */
.badge-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.badge-modal.open { display: flex; }
.badge-modal-box { background: #fff; border-radius: 16px; max-width: 380px; width: 100%; padding: 30px 26px 26px; text-align: center; position: relative; }
.badge-modal-x { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; color: #aaa; cursor: pointer; line-height: 1; }
.badge-modal-img { width: 124px; height: 124px; filter: drop-shadow(0 3px 12px rgba(0,0,0,0.2)); }
.badge-modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 27px; color: var(--nvy); margin-top: 12px; letter-spacing: .5px; }
.badge-modal-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--nm); margin-top: 3px; }
.badge-modal-desc { font-size: 14px; color: var(--tm); line-height: 1.6; margin-top: 14px; }
.hero-eyb { font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--nm); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.hero-name { font-family: 'Bebas Neue', sans-serif; font-size: 44px; color: var(--nvy); letter-spacing: .5px; line-height: 1; margin-bottom: 6px; }
.hero-creds { font-size: 15px; font-weight: 700; color: var(--tm); margin-bottom: 6px; }
.hero-tagline { font-size: 14px; color: var(--tm); line-height: 1.5; margin-bottom: 12px; font-style: italic; }
.hero-loc { font-size: 13px; color: var(--tf); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }
.hero-tag { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: var(--nl); color: var(--n3); letter-spacing: .3px; }
.hero-tag.red { background: var(--rdl); color: var(--rdk); }
.hero-tag.gold { background: var(--aml); color: var(--amk); }
.hero-tag.green { background: var(--tll); color: var(--tlk); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.hero-actions-left { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hero-booking-btn { background: var(--amb); color: #412402; font-size: 12px; font-weight: 800; padding: 9px 18px; border-radius: var(--rs); border: none; cursor: pointer; font-family: 'Karla', sans-serif; white-space: nowrap; }
.hero-booking-btn:hover { background: var(--amk); }

/* ── BUTTONS (page variants + diverging outline) ─────────── */
/* .btn base comes from base.css; these variants are speaker-specific. */
.btn-navy { background: var(--nvy); color: #fff; }
.btn-navy:hover { background: #063a6e; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--rdk); }
.btn-outline { background: #fff; color: var(--nvy); border: 1px solid var(--br); }
.btn-outline:hover { border-color: var(--nm); color: var(--nm); }
.btn-edit { background: var(--edit); color: #fff; }
.btn-edit:hover { background: #1d4ed8; }
.btn-sm { padding: 6px 13px; font-size: 12px; }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar { background: var(--nvy); border-radius: var(--rs); padding: 16px 24px; display: flex; gap: 0; margin-bottom: 20px; overflow: hidden; }
.stat-item { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); padding: 0 12px; }
.stat-item:last-child { border-right: none; }
.stat-n { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: #fff; letter-spacing: .5px; line-height: 1; }
.stat-l { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; font-weight: 700; }
.stat-edit-sel { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: #fff; font-size: 12px; font-family: 'Karla', sans-serif; padding: 3px 6px; margin-top: 4px; max-width: 90px; outline: none; }
.stat-edit-sel option { background: var(--nvy); color: #fff; }

/* ── SECTION CARDS ───────────────────────────────────────── */
.section { background: #fff; border: 1px solid var(--br); border-radius: var(--ra); padding: 24px; margin-bottom: 20px; position: relative; }
.section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--nvy); letter-spacing: .5px; }
.section-edit-btn { display: none; background: var(--nl); color: var(--nm); border: 1px solid var(--n2); border-radius: var(--rs); padding: 5px 12px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: 'Karla', sans-serif; }
.section-edit-btn:hover { background: var(--nm); color: #fff; }
.edit-mode .section-edit-btn { display: inline-flex; align-items: center; gap: 5px; }
/* Owner edit chrome and empty scaffold sections: invisible unless edit mode.
   Public visitors can never be in edit mode, so .oedit also hides empty
   sections and upgrade prompts from the public view. */
body:not(.edit-mode) .oedit { display: none !important; }

/* ── LOCKED OVERLAY ──────────────────────────────────────── */
.locked { position: relative; overflow: hidden; }
.locked-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 0%, rgba(248,247,243,0.95) 40%, rgba(248,247,243,1) 100%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 20px; text-align: center; z-index: 2; }
.locked-icon { font-size: 22px; color: var(--bm); margin-bottom: 6px; }
.locked-msg { font-size: 12px; color: var(--tm); line-height: 1.5; margin-bottom: 10px; }
.locked-cta { background: var(--nvy); color: #fff; font-size: 11px; font-weight: 700; padding: 7px 16px; border-radius: var(--rs); cursor: pointer; border: none; font-family: 'Karla', sans-serif; }
.blur-content { filter: blur(5px); user-select: none; pointer-events: none; }

/* ── BIO ─────────────────────────────────────────────────── */
.bio-text { font-size: 14px; line-height: 1.8; color: var(--tm); }
.bio-text p { margin-bottom: 12px; }

/* ── TOPIC TAGS ──────────────────────────────────────────── */
.tag-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--g50); color: var(--tx); border: 0.5px solid var(--br); cursor: default; }
.topic-tag.clinical { background: #FBE9FF; color: #6B21A8; border-color: #D8A8F0; }
.topic-tag.ops { background: var(--nl); color: var(--n3); border-color: var(--n2); }
.topic-tag.leadership { background: var(--aml); color: var(--amk); border-color: #FAC775; }
.topic-tag.education { background: var(--tll); color: var(--tlk); border-color: #5DCAA5; }
.topic-tag.policy { background: #FFF0EB; color: var(--rdk); border-color: #F4A58A; }
.topic-tag.tech { background: var(--prl); color: var(--prk); border-color: #B8B4EE; }
.topic-tag.fire { background: #FFF0EB; color: #7A2006; border-color: #F4A58A; }
.topic-tag.research { background: #F0FDF4; color: #166534; border-color: #86EFAC; }
.topic-tag.wellness { background: #FDF4FF; color: #86198F; border-color: #E879F9; }

/* ── SESSIONS / ABSTRACTS ────────────────────────────────── */
.session-card { border: 1px solid var(--br); border-radius: var(--rs); padding: 16px; margin-bottom: 10px; }
.session-title { font-size: 14px; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.session-meta { font-size: 11px; color: var(--tf); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.session-abstract { font-size: 13px; color: var(--tm); line-height: 1.6; }

/* ── EMPLOYMENT / EDUCATION TIMELINE ─────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline-item { display: flex; gap: 14px; }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nm); flex-shrink: 0; margin-top: 5px; }
.timeline-title { font-size: 13px; font-weight: 700; color: var(--tx); }
.timeline-sub { font-size: 12px; color: var(--tm); }
.timeline-date { font-size: 11px; color: var(--tf); margin-top: 2px; }

/* ── SOCIAL LINKS ────────────────────────────────────────── */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--rs); font-size: 12px; font-weight: 700; background: var(--g50); border: 0.5px solid var(--br); color: var(--tx); transition: all .15s; }
.social-link:hover { background: var(--nl); border-color: var(--nm); color: var(--nm); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar-card { background: #fff; border: 1px solid var(--br); border-radius: var(--ra); padding: 20px; margin-bottom: 16px; }
.sidebar-title { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--tf); margin-bottom: 12px; }

/* ── PROPOSED TOPICS ─────────────────────────────────────── */
.proposed-item { padding: 10px 13px; background: var(--g50); border-radius: var(--rs); border: 0.5px solid var(--br); margin-bottom: 8px; }
.proposed-title { font-size: 13px; font-weight: 700; color: var(--tx); margin-bottom: 3px; }
.proposed-desc { font-size: 12px; color: var(--tm); line-height: 1.5; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonial { padding: 16px; background: var(--g50); border-radius: var(--rs); border-left: 3px solid var(--nm); margin-bottom: 10px; }
.testimonial-quote { font-size: 13px; color: var(--tm); line-height: 1.7; font-style: italic; margin-bottom: 8px; }
.testimonial-author { font-size: 11px; font-weight: 700; color: var(--tx); }
.testimonial-role { font-size: 10px; color: var(--tf); }

/* ── EDIT FORMS (diverges from base: uses --edit accent) ──── */
.edit-form { display: none; border-top: 1px solid var(--br); margin-top: 16px; padding-top: 16px; }
.edit-form.on { display: block; }
.ef-row { margin-bottom: 14px; }
.ef-row label { display: block; font-size: 11px; font-weight: 700; color: var(--tx); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.ef-row input, .ef-row textarea, .ef-row select { width: 100%; border: 1px solid var(--bm); border-radius: var(--rs); padding: 9px 12px; font-size: 13px; font-family: 'Karla', sans-serif; outline: none; transition: border .15s; background: #fff; }
.ef-row input:focus, .ef-row textarea:focus { border-color: var(--nm); box-shadow: 0 0 0 2px rgba(24,95,165,0.08); }
.ef-row textarea { resize: vertical; line-height: 1.55; }
.ef-actions { display: flex; gap: 8px; margin-top: 12px; }
.ef-save { background: var(--edit); color: #fff; border: none; border-radius: var(--rs); padding: 8px 18px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Karla', sans-serif; }
.ef-save:hover { background: #1d4ed8; }
.ef-cancel { background: #fff; color: var(--tm); border: 1px solid var(--br); border-radius: var(--rs); padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Karla', sans-serif; }
.ef-cancel:hover { background: var(--g50); }
.ef-msg { font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: var(--rs); margin-bottom: 10px; display: none; }
.ef-msg.ok { background: var(--tll); color: var(--tlk); display: block; }
.ef-msg.err { background: #FFF0EB; color: var(--rdk); display: block; }

/* ── TAG SELECTOR ────────────────────────────────────────── */
.tag-selector { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.tag-sel-item { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--g50); color: var(--tm); border: 1px solid var(--br); cursor: pointer; transition: all .15s; user-select: none; }
.tag-sel-item.on { background: var(--nm); color: #fff; border-color: var(--nm); }
.tag-sel-item:hover { border-color: var(--nm); color: var(--nm); }

/* ── FLOATING EDIT BUTTON ────────────────────────────────── */
.fab { position: fixed; bottom: 28px; right: 28px; z-index: 200; background: var(--edit); color: #fff; width: 52px; height: 52px; border-radius: 50%; border: none; font-size: 18px; cursor: pointer; box-shadow: 0 4px 16px rgba(37,99,235,0.4); display: none; align-items: center; justify-content: center; transition: all .2s; }
.fab:hover { background: #1d4ed8; transform: scale(1.05); }
.fab.on { display: flex; }

/* ── ACCOUNT TAB ─────────────────────────────────────────── */
.account-section { background: #fff; border: 1px solid var(--br); border-radius: var(--ra); padding: 24px; margin-bottom: 20px; }
.danger-zone { border: 1px solid #FECACA; border-radius: var(--rs); padding: 16px; margin-top: 20px; background: #FFF5F5; }
.danger-title { font-size: 12px; font-weight: 800; color: #DC2626; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

/* ── UNCLAIMED BANNER ────────────────────────────────────── */
.unclaimed-banner { background: var(--aml); border: 0.5px solid #FAC775; border-radius: var(--rs); padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.unclaimed-banner i { font-size: 20px; color: var(--amb); flex-shrink: 0; }
.unclaimed-banner p { font-size: 13px; color: var(--amk); line-height: 1.5; }
.unclaimed-banner strong { font-weight: 700; }

/* ── LOADING / NOT FOUND ─────────────────────────────────── */
.loading { text-align: center; padding: 80px 20px; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--br); border-top-color: var(--nm); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.not-found { text-align: center; padding: 80px 20px; }

/* ── UPGRADE CARD ────────────────────────────────────────── */
.upgrade-card { background: linear-gradient(135deg, var(--nvy), #0d4a8a); border-radius: var(--ra); padding: 20px; color: #fff; text-align: center; }
.upgrade-card h4 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: .5px; margin-bottom: 6px; }
.upgrade-card p { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 14px; }
.upgrade-btn { background: var(--amb); color: #412402; font-size: 12px; font-weight: 800; padding: 8px 18px; border-radius: var(--rs); border: none; cursor: pointer; font-family: 'Karla', sans-serif; }

/* ── MODAL (diverges from base: navy overlay + blur) ─────── */
.mover { position: fixed; inset: 0; background: rgba(4,44,83,0.55); backdrop-filter: blur(3px); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.mover.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--ra); padding: 28px; max-width: 440px; width: 100%; position: relative; max-height: 85vh; overflow-y: auto; }
.mclose { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--tf); padding: 4px; }

/* ── CONTACT DETAILS ─────────────────────────────────────── */
.contact-field { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 0.5px solid var(--br); }
.contact-field:last-child { border-bottom: none; }
.contact-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--nl); display: flex; align-items: center; justify-content: center; color: var(--nm); font-size: 13px; flex-shrink: 0; }
.contact-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--tf); margin-bottom: 1px; }
.contact-value { font-size: 13px; color: var(--tx); font-weight: 600; }
.visibility-toggle { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vis-opt { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--br); cursor: pointer; transition: all .15s; background: #fff; color: var(--tm); user-select: none; }
.vis-opt.on { background: var(--nm); color: #fff; border-color: var(--nm); }
.vis-opt.soon { opacity: .5; cursor: not-allowed; }
.vis-badge { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 10px; background: var(--aml); color: var(--amk); margin-left: 4px; vertical-align: middle; }

/* ── FOOTER (page color override) ────────────────────────── */
footer { color: rgba(255,255,255,0.5); font-size: 11px; }
footer a { color: rgba(255,255,255,0.6); }

/* ── ACHIEVEMENT BADGE SEAL ──────────────────────────────── */
.spk-badge-seal { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; position: relative; flex-shrink: 0; margin-left: 8px; vertical-align: middle; cursor: default; }
.spk-badge-seal::before { content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 2.5px; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spk-badge-seal.bronze { background: radial-gradient(135deg at 30% 30%, #f5e0c3, #c8834a, #8b5a2b); box-shadow: 0 2px 12px rgba(200,131,74,.35), inset 0 1px 2px rgba(255,255,255,.4); }
.spk-badge-seal.bronze::before { background: conic-gradient(#e8b989, #c8834a, #f5e0c3, #c8834a, #e8b989); }
.spk-badge-seal.silver { background: radial-gradient(135deg at 30% 30%, #f0f0f0, #a8a8a8, #6e6e6e); box-shadow: 0 2px 12px rgba(168,168,168,.4), inset 0 1px 2px rgba(255,255,255,.5); }
.spk-badge-seal.silver::before { background: conic-gradient(#e8e8e8, #a8a8a8, #f5f5f5, #a8a8a8, #e8e8e8); }
.spk-badge-seal.gold { background: radial-gradient(135deg at 30% 30%, #fff4c2, #e8b800, #a07800); box-shadow: 0 2px 16px rgba(232,184,0,.45), inset 0 1px 2px rgba(255,255,255,.5); }
.spk-badge-seal.gold::before { background: conic-gradient(#ffd700, #e8b800, #fff4c2, #e8b800, #ffd700); }
.spk-badge-seal.platinum { background: radial-gradient(135deg at 30% 30%, #f8f4ff, #b8a0e0, #6b4fa0); box-shadow: 0 2px 20px rgba(107,79,160,.45), inset 0 1px 2px rgba(255,255,255,.5); }
.spk-badge-seal.platinum::before { background: conic-gradient(#d4bfff, #9b79d4, #f0e8ff, #9b79d4, #d4bfff); }
.spk-badge-icon { font-size: 20px; line-height: 1; margin-bottom: 2px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.spk-badge-seal.bronze   .spk-badge-icon { color: #fff8f0; }
.spk-badge-seal.silver   .spk-badge-icon { color: #f8f8f8; }
.spk-badge-seal.gold     .spk-badge-icon { color: #fffbe6; }
.spk-badge-seal.platinum .spk-badge-icon { color: #f5f0ff; }
.spk-badge-label { font-size: 8px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; line-height: 1; text-align: center; }
.spk-badge-seal.bronze   .spk-badge-label { color: #fff3e8; }
.spk-badge-seal.silver   .spk-badge-label { color: #f0f0f0; }
.spk-badge-seal.gold     .spk-badge-label { color: #fff9d6; }
.spk-badge-seal.platinum .spk-badge-label { color: #ede8ff; }
.spk-badge-wrap { display: flex; align-items: center; margin-top: 10px; gap: 10px; }
.spk-badge-img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.mentor-badge-img { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.15)); }
.spk-badge-title { font-size: 12px; font-weight: 700; color: var(--tm); line-height: 1.3; }
.spk-badge-sub { font-size: 10px; color: var(--tf); line-height: 1.3; }


/* ── SIDEBAR BOOKING CARD ─────────────────────────────────── */
.booking-card { background: linear-gradient(135deg, var(--nvy), #0d4a8a); color: #fff; }
.booking-card-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 8px; }
.booking-card-text { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; margin-bottom: 14px; }
.booking-card-fee { font-size: 12px; color: var(--amb); font-weight: 700; margin-bottom: 12px; }
.booking-card-std { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.55; margin: 0 0 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.15); }
.booking-card-btn { width: 100%; background: var(--amb); color: #412402; font-size: 13px; font-weight: 800; padding: 10px; border-radius: var(--rs); border: none; cursor: pointer; font-family: 'Karla', sans-serif; }
.booking-card-btn:hover { background: var(--amk); }
/* ── LINKEDIN CONNECT ────────────────────────────────────── */
.linkedin-connected-state { display: none; }
.linkedin-not-connected   { display: block; }

/* ── UNCLAIMED PREVIEW / CLAIM ───────────────────────────── */
/* Fade the tail of previewed real content so it reads as "more behind the wall". */
.preview-fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.claim-gate {
  margin-top: 14px;
  background: var(--aml);
  border: 1px solid #FAC775;
  border-radius: var(--rs);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.claim-gate-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--amk); line-height: 1.4; }
.claim-gate-row i { color: var(--amb); flex-shrink: 0; }
.claim-gate .locked-cta { background: var(--nvy); }
.claim-gate .locked-cta:hover { background: var(--nm); }
.claim-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--aml);
  color: var(--amk);
  border: 1px dashed #FAC775;
  cursor: pointer;
  transition: background .15s;
}
.claim-pill:hover { background: #FBE6C0; }
/* Blur only the detail rows of an unclaimed conference entry, keep name + year sharp. */
.conf-item.conf-locked .conf-role,
.conf-item.conf-locked .conf-topic { filter: blur(4px); user-select: none; pointer-events: none; }
.notme-link {
  font-size: 11px;
  color: var(--tm);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Karla', sans-serif;
}
.notme-link:hover { color: var(--nm); }

/* ── CONFERENCE HISTORY SIDEBAR ──────────────────────────── */
.conf-list { display: flex; flex-direction: column; gap: 0; }
.conf-item { display: flex; align-items: start; gap: 10px; padding: 10px 12px; background: var(--g50); border-radius: var(--rs); border: 0.5px solid var(--br); margin-bottom: 6px; }
.conf-year { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--nvy); line-height: 1; flex-shrink: 0; width: 38px; text-align: center; }
.conf-info { flex: 1; min-width: 0; }
.conf-name { font-size: 12px; font-weight: 700; color: var(--tx); margin-bottom: 2px; }
.conf-role { font-size: 10px; color: var(--tm); }
.conf-topic { font-size: 11px; color: var(--tf); margin-top: 2px; font-style: italic; line-height: 1.4; }
.conf-name a.conf-link { color: inherit; text-decoration: none; }
.conf-name a.conf-link:hover { color: var(--nm); text-decoration: underline; }
.conf-name a.conf-link i { font-size: 9px; opacity: .45; margin-left: 4px; }
.conf-name a.conf-link:hover i { opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-inner { flex-direction: column; }
  /* Full-width but portrait-shaped (not a short wide band) so object-fit:cover
     no longer has to zoom a portrait headshot into a landscape slot — which
     cropped the top of the head AND the chin (nose-up close-up). A 4/5 ratio is
     close to the processed photos' portrait ratio, so cover barely crops
     portraits, mildly crops squares, and center-top-crops landscapes — the whole
     face stays visible across source aspect ratios. min-height:0 cancels the
     inherited 260px. */
  .hero-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-photo img { object-position: center top; }
  .hero-body { padding: 22px 18px; }
  .hero-name { font-size: 34px; }
  .hero-badge { position: static; margin-bottom: 12px; gap: 18px; }
  .hero-badge-btn { width: 76px; }
  .hero-badge-img { width: 70px; height: 70px; }
  .hero-badge-cap { max-width: 76px; }
  .hero-actions, .hero-actions-left { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .hero-booking-btn { width: 100%; justify-content: center; min-height: 44px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 8px; }
  .fab { bottom: 16px; right: 16px; }
}

/* ── PRINT / ONE-SHEET ───────────────────────────────────── */
@media print {
  @page { size: letter portrait; margin: 0.6in 0.65in; }
  body > *:not(#onesheet-print) { display: none !important; }
  #onesheet-print { display: block !important; }
  .onesheet-page { font-family: 'Karla', Arial, sans-serif; color: #1a1a1a; font-size: 10pt; line-height: 1.4; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Hero: photo + identity side by side */
  .os-header { border-bottom: 3px solid #042C53; padding-bottom: 12pt; margin-bottom: 12pt; }
  .os-hero { display: flex; gap: 16pt; align-items: center; }
  .os-photo { width: 80px; height: 80px; flex-shrink: 0; object-fit: cover; border-radius: 6pt; border: 1.5pt solid #042C53; }
  .os-photo-ph { width: 80px; height: 80px; flex-shrink: 0; border-radius: 6pt; background: #042C53; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28pt; font-weight: 800; letter-spacing: 1pt; }
  .os-hero-body { flex: 1; min-width: 0; }
  .os-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10pt; }
  .os-name { font-size: 22pt; font-weight: 800; color: #042C53; letter-spacing: 0.5pt; margin: 0 0 2pt; line-height: 1.1; }
  .os-creds { font-size: 11pt; color: #555; font-weight: 600; margin: 0 0 4pt; }
  .os-tagline { font-size: 10pt; color: #444; font-style: italic; margin: 3pt 0 4pt; line-height: 1.4; }
  .os-role { font-size: 9pt; color: #185FA5; font-weight: 700; margin: 2pt 0; }
  .os-meta { font-size: 8.5pt; color: #888; margin-top: 2pt; }
  .os-badges { text-align: right; flex-shrink: 0; }
  /* Stat bar with icons */
  .os-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 7pt; margin-bottom: 12pt; padding: 7pt 11pt; background: #f3f7fb; border-radius: 5pt; font-size: 10pt; font-weight: 700; color: #042C53; }
  .os-stat { display: inline-flex; align-items: center; gap: 4pt; }
  .os-stat-ico { width: 11pt; height: 11pt; color: #185FA5; }
  .os-stat-sep { color: #b9c4d0; }
  .os-role-item { margin-bottom: 4pt; font-size: 9pt; }
  .os-role-title { font-weight: 700; color: #1a1a1a; }
  .os-role-org { color: #185FA5; }
  .os-section { margin-bottom: 10pt; }
  .os-section-title { font-size: 8pt; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5pt; color: #042C53; border-bottom: 0.5pt solid #ccc; padding-bottom: 2pt; margin-bottom: 5pt; }
  .os-bio { font-size: 9.5pt; line-height: 1.55; color: #333; }
  .os-tags { display: flex; flex-wrap: wrap; gap: 3pt; }
  .os-tag { font-size: 8pt; font-weight: 700; padding: 1.5pt 6pt; border-radius: 20pt; background: #E6F1FB; color: #0C447C; border: 0.5pt solid #85B7EB; }
  .os-prog { margin-bottom: 6pt; }
  .os-prog-title { font-size: 9.5pt; font-weight: 700; color: #1a1a1a; }
  .os-prog-meta { font-size: 8pt; color: #888; margin: 1pt 0 2pt; }
  .os-prog-desc { font-size: 9pt; color: #444; line-height: 1.4; }
  .os-conf-item { display: flex; gap: 8pt; margin-bottom: 3pt; font-size: 9pt; }
  .os-conf-year { font-weight: 700; color: #042C53; min-width: 28pt; }
  .os-edu-item { margin-bottom: 4pt; font-size: 9pt; }
  .os-edu-deg { font-weight: 700; }
  .os-edu-inst { color: #185FA5; }
  .os-two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18pt; }
  .os-footer { border-top: 0.5pt solid #ccc; padding-top: 6pt; margin-top: 10pt; font-size: 7.5pt; color: #aaa; display: flex; justify-content: space-between; }
  .os-badge { display: inline-block; background: #042C53; color: #fff; font-size: 7pt; font-weight: 700; padding: 1.5pt 6pt; border-radius: 3pt; margin-right: 4pt; }
}

/* ── HERO SHARE (logged-in users) ─────────────────────────── */
.hero-share { display: inline-flex; gap: 6px; align-items: center; margin-left: 4px; }
.hero-share-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,0.55); margin-right: 2px; }
.share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border: none; cursor: pointer; font-size: 14px;
  transition: transform .12s, opacity .12s;
}
.share-btn:hover { transform: translateY(-1px); opacity: .9; }
.share-btn.li { background: #0A66C2; }
.share-btn.fb { background: #1877F2; }
.share-btn.cp { background: rgba(255,255,255,0.18); }
@media (max-width: 680px) { .hero-share { margin-left: 0; margin-top: 6px; } }


/* ── EDIT-VIEW LAYOUT: owner identity cards first, edit jump nav ─ */
.side-col { display: flex; flex-direction: column; }
.side-col > * { order: 0; }
.edit-jumps { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-left: 10px; }
.edit-jumps a {
  font-size: 10px; font-weight: 700; color: #fff; background: rgba(255,255,255,.16);
  padding: 3px 9px; border-radius: 20px; text-decoration: none; white-space: nowrap;
}
.edit-jumps a:hover { background: rgba(255,255,255,.3); }
@media (max-width: 680px) { .edit-jumps { display: none; } }


/* ── LINKEDIN QUICK-FILL BANNER (full width, edit view) ─ */
.li-banner { background: #fff; border: 1.5px solid #B5D4F4; border-left: 4px solid #0A66C2; border-radius: var(--ra); margin-bottom: 20px; overflow: hidden; }
.li-banner-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; cursor: pointer; }
.li-banner-title { font-size: 14px; font-weight: 800; color: var(--nvy); display: flex; align-items: center; gap: 9px; }
.li-banner-chev { color: var(--tf); font-size: 12px; transition: transform .2s; transform: rotate(180deg); }
.li-banner.collapsed .li-banner-chev { transform: rotate(0deg); }
.li-banner-body { padding: 0 18px 16px; }
.li-banner.collapsed .li-banner-body { display: none; }
.li-banner-sub { font-size: 12.5px; color: var(--tm); line-height: 1.55; margin: 0 0 12px; max-width: 720px; }
.li-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.li-btn-connect { background: #0A66C2; color: #fff; font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: var(--rs); border: none; cursor: pointer; font-family: 'Karla', sans-serif; display: inline-flex; align-items: center; gap: 7px; }
.li-btn-connect:hover { background: #084d92; }
.li-btn-import { background: var(--nl); color: var(--nm); font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: var(--rs); border: 1px solid var(--n2); cursor: pointer; font-family: 'Karla', sans-serif; }
.li-btn-pdf { background: var(--g50); color: var(--tx); font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: var(--rs); border: 1px solid var(--bm); cursor: pointer; font-family: 'Karla', sans-serif; display: inline-flex; align-items: center; gap: 7px; }
.li-btn-pdf:hover { border-color: var(--nm); }


/* ── VISITOR CTA BANNER (public profiles, logged-out only) ─ */
.visitor-cta {
  background: linear-gradient(90deg, var(--amb), #f7b955);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 44px 10px 18px; position: relative; flex-wrap: wrap;
}
.visitor-cta-txt { font-size: 13px; color: var(--amk); }
.visitor-cta-txt strong { font-weight: 800; }
.visitor-cta-btn {
  background: var(--nvy); color: #fff; font-size: 12px; font-weight: 800;
  padding: 7px 16px; border-radius: 20px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.visitor-cta-btn:hover { background: var(--nm); }
.visitor-cta-x {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 18px; color: var(--amk);
  cursor: pointer; line-height: 1; padding: 4px 8px;
}
@media (max-width: 680px) {
  .visitor-cta { gap: 8px; padding: 9px 40px 9px 12px; }
  .visitor-cta-txt { font-size: 12px; }
}

/* ── EDIT-IN-PLACE ──────────────────────────────────────────
   While a section's edit form is open, hide the display copy
   so members edit the text they see — not a duplicate below.
   Applied via .editing on the container (see toggleSection). */
.section.editing > *:not(.section-hd):not(.edit-form),
.sidebar-card.editing > *:not(.sidebar-title):not(.edit-form) { display: none; }
.section.editing > .edit-form,
.sidebar-card.editing > .edit-form { border-top: none; margin-top: 0; padding-top: 4px; }

/* ── DATA IMPORT OPTION CARDS (li-banner) ───────────────────
   Each import path is its own numbered card; buttons align
   because each lives at the bottom of an equal-height card. */
.li-opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.li-opt {
  background: #fbfaf8; border: 1px solid var(--br); border-radius: var(--ra);
  padding: 14px; display: flex; flex-direction: column;
}
.li-opt-h {
  font-size: 13px; font-weight: 800; color: var(--nvy);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 6px;
}
.li-opt-n {
  width: 20px; height: 20px; border-radius: 50%; background: var(--nvy); color: #fff;
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.li-opt-badge {
  font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  background: var(--tll); color: var(--tlk); padding: 2px 7px; border-radius: 10px;
}
.li-opt-badge.adv { background: var(--prl); color: var(--prk); }
.li-opt-d { font-size: 11.5px; color: var(--tm); line-height: 1.55; margin-bottom: 10px; flex: 1; }
.li-opt-btn {
  width: 100%; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px;
}
@media (max-width: 820px) {
  .li-opt-grid { grid-template-columns: 1fr; }
}
