/* Real Estate Speaker Hub
   Ink navy base, deep teal for actions, bright teal accent on navy,
   warm white page, gold for the Vetted badge only. */

:root {
    --ink: #0E1A2B;
    --teal: #0B7A72;
    --teal-dark: #095F59;
    --teal-bright: #2DD4BF;
    --page: #F7F5F0;
    --card: #FFFFFF;
    --slate: #475569;
    --line: #E2DED5;
    --chip: #E1F5EE;
    --chip-text: #085041;
    --gold: #C9A84C;
    --badge: #FAEEDA;
    --badge-text: #633806;
    --warn-bg: #FDF3E1;
    --warn-text: #6B4308;
    --ok-bg: #E1F5EE;
    --ok-text: #085041;
    --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: Archivo, Inter, system-ui, sans-serif;
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.main { flex: 1; padding-top: 36px; padding-bottom: 64px; }
.narrow { max-width: 460px; margin: 0 auto; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--slate); }
.lead { font-size: 1.08rem; color: var(--slate); max-width: 62ch; }
.eyebrow {
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--teal); margin: 0 0 .6em;
}

/* Header and footer */
.site-header { background: var(--ink); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--teal-bright); }
.brand:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: #E6EBF2; text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: #fff; }
.site-nav form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; font-size: .95rem; color: #E6EBF2; cursor: pointer; }
.link-button:hover { color: #fff; }
.site-footer { background: var(--ink); color: #C9D2DE; padding: 28px 0; font-size: .9rem; }
.site-footer p { margin: 0 0 .2em; }
.site-footer .muted { color: #8FA0B5; }

/* Buttons */
.button {
    display: inline-block; border: 1px solid transparent; border-radius: 999px;
    padding: 11px 22px; font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; text-align: center;
}
.button--primary { background: var(--teal); color: #fff; }
.button--primary:hover { background: var(--teal-dark); color: #fff; }
.button--accent, .site-nav a.button--accent { background: var(--teal-bright); color: var(--ink); }
.button--accent:hover, .site-nav a.button--accent:hover { background: #5EEAD4; color: var(--ink); }
.button--ghost { background: transparent; border-color: var(--teal); color: var(--teal); }
.button--ghost:hover { background: var(--chip); color: var(--teal-dark); }
.button--ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.button--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.button--gold { background: var(--badge); border-color: var(--gold); color: var(--badge-text); }
.button--small { padding: 7px 16px; font-size: .88rem; }
.button--block { display: block; width: 100%; }
.button[disabled] { opacity: .45; cursor: not-allowed; }

/* Cards and notices */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; }
.card--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card--row h2, .card--row p { margin-bottom: .2em; }
.card--quiet { background: transparent; border-style: dashed; }
.card--flush { padding: 0; overflow-x: auto; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: .4em; }
.card__head h2 { margin: 0; }
.notice { border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; }
.notice ul { margin: .4em 0 0; padding-left: 1.2em; }
.notice--ok { background: var(--ok-bg); color: var(--ok-text); }
.notice--warn { background: var(--warn-bg); color: var(--warn-text); }
.note { margin: 0 0 1em; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--warn-bg); color: var(--warn-text); border-radius: 0 10px 10px 0; white-space: pre-line; }
.checklist { margin: 0 0 1em; padding-left: 1.2em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title { margin-top: 32px; }

/* Status pills */
.status { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; background: #E9EDF2; color: var(--slate); white-space: nowrap; }
.status--pending { background: var(--warn-bg); color: var(--warn-text); }
.status--changes_requested { background: #FBE4E0; color: #7A2318; }
.status--approved { background: var(--ok-bg); color: var(--ok-text); }

/* Forms */
.form .field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.form label, .form legend { display: block; font-weight: 600; margin: 0 0 6px; padding: 0; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=url], .form input[type=date], .form input[type=search], .form input[type=tel], .form input[type=number], .form select, .form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1px solid #C9C4B8; border-radius: 10px; padding: 10px 12px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal-bright); outline-offset: 1px; border-color: var(--teal); }
.form input[type=file] { font: inherit; max-width: 100%; }
.hint { font-size: .88rem; color: var(--slate); margin: 6px 0 0; }
.field > .hint:first-of-type { margin-bottom: 8px; }
.req { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-left: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; margin: 0 0 14px !important; cursor: pointer; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--teal); }
.grid { display: grid; gap: 0 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--page); padding: 14px 0; border-top: 1px solid var(--line); }
.session { padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 16px; }
.session:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.photo-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.photo-thumb { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }

/* Pick-many chips: a checkbox dressed as a pill */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex !important; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid #C9C4B8; border-radius: 999px; padding: 6px 14px; font-size: .92rem; background: #fff; color: var(--ink); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.chips--compact .chip span { padding: 5px 10px; font-size: .85rem; min-width: 44px; text-align: center; }

/* Tags shown on profiles */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tag { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 500; background: var(--chip); color: var(--chip-text); }
.tag--role { background: rgba(45, 212, 191, .16); color: var(--teal-bright); border: 1px solid rgba(45, 212, 191, .4); }
.tag--vetted { background: var(--badge); color: var(--badge-text); border: 1px solid var(--gold); font-weight: 600; }

/* Profile page */
.profile { margin: 0 0 20px; }
.profile__hero { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.video { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.profile__photo { display: block; object-fit: cover; background: #1B2A40; }
.profile__photo--large { width: 100%; max-height: 420px; border-radius: 12px; }
.profile__photo--small { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--teal-bright); flex: none; }
.profile__photo--empty { width: 100%; padding: 80px 0; border-radius: 12px; text-align: center; color: #8FA0B5; }
.profile__name-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.profile__name { color: #fff; margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.profile__credentials { margin: 4px 0 0; color: #C9D2DE; font-weight: 500; }
.profile__headline { font-size: 1.1rem; color: #E6EBF2; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 18px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8FA0B5; }
.facts dd { margin: 0; font-weight: 600; }
.profile__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.profile__main section, .profile__side section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; }
.profile__side .tags { margin-bottom: 0; }
.prose { max-width: 68ch; }
.session-card { border-top: 1px solid var(--line); padding: 14px 0 0; margin-top: 14px; }
.session-card:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.session-card p { margin: 0; color: var(--slate); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 4px 0; }

/* Admin */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #C9C4B8; border-radius: 999px; padding: 7px 16px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 500; font-size: .92rem; }
.tab--active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab--active:hover { color: #fff; }
.count { display: inline-block; min-width: 22px; text-align: center; border-radius: 999px; padding: 0 7px; font-size: .78rem; font-weight: 600; background: rgba(71, 85, 105, .15); }
.tab--active .count { background: rgba(255, 255, 255, .2); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.review-actions__row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.review-actions__row form { margin: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 20px 0; }

@media (max-width: 760px) {
    .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
    .profile__hero, .profile__body { grid-template-columns: minmax(0, 1fr); }
    .profile__hero { padding: 20px; }
    .card { padding: 18px; }
    .table th:nth-child(2), .table td:nth-child(2) { display: none; }
}

/* Booking inquiries */
.inquire { border-color: var(--teal) !important; border-width: 2px !important; scroll-margin-top: 16px; }
.inquire .hint { margin: 0 0 14px; }
.inquire .hint.center { margin: 10px 0 0; text-align: center; }
.inquire .form .field { margin-bottom: 14px; }
.opt { font-size: .78rem; font-weight: 500; color: var(--slate); margin-left: 4px; }
.grid--tight { gap: 0 12px; }
.profile__side .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0 0 24px; }
.details dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.message { background: var(--page); border-radius: 10px; padding: 16px 18px; max-width: none; }
.actions--top { margin-top: 22px; }
.tag--new { background: var(--teal); color: #fff; font-size: .72rem; padding: 2px 9px; margin-left: 6px; }
.row--unread td { background: #F2FBF8; }
.page-head h1 { margin-bottom: .4em; }

@media (max-width: 760px) {
    .details { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Directory: shared pieces ---------- */
.wrap--wide { max-width: 1240px; }
.page { flex: 1; }
.flash { padding-top: 20px; }
.flash .notice { margin-bottom: 0; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.preview-bar { background: var(--badge); color: var(--badge-text); text-align: center; font-size: .86rem; font-weight: 500; padding: 8px 16px; }
.button--outline-light, .site-nav a.button--outline-light { background: transparent; border-color: #5B6B82; color: #F7F5F0; }
.button--outline-light:hover, .site-nav a.button--outline-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.button--white { background: #fff; color: var(--ink); }
.button--white:hover { background: var(--chip); color: var(--ink); }
.button--large { padding: 15px 30px; font-size: 1.05rem; }
.button--with-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button--with-icon.is-on { background: var(--chip); }
.button--ghost-light.is-on { background: rgba(45, 212, 191, .18); border-color: var(--teal-bright); color: var(--teal-bright); }
.shortlist-form { margin: 0; display: inline-flex; }
.notice--row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.notice--row form { margin: 0; }
.tags--small .tag { font-size: .8rem; padding: 3px 10px; }
.tags--small { margin: 0; gap: 6px; }
.tag--plain { background: #EEF1F5; color: var(--slate); }

/* Header additions */
.header-search { flex: 1 1 260px; max-width: 420px; display: flex; align-items: center; background: #fff; border-radius: 10px; padding: 3px 3px 3px 12px; }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); min-height: 36px; outline: none; }
.header-search:focus-within { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.header-search button { display: flex; align-items: center; justify-content: center; width: 38px; height: 36px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; cursor: pointer; }
.header-search button:hover { background: var(--teal-dark); }
.shortlist-link, .site-nav a.shortlist-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-bright); }
.site-nav a.shortlist-link:hover { color: #5EEAD4; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.site-footer__brand { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.1rem; color: #F7F5F0; }
.site-footer__links { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer__links a { color: #C9D2DE; text-decoration: none; }
.site-footer__links a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 10px !important; }
.site-footer__social a { color: var(--teal-bright); text-decoration: none; font-weight: 600; }
.site-footer__social a:hover { color: #fff; text-decoration: underline; }

/* ---------- Home page ---------- */
.hero { background: var(--ink); color: #F7F5F0; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 52px; padding-bottom: 68px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__eyebrow { margin: 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-bright); font-weight: 600; }
.hero h1 { margin: 0; color: #F7F5F0; font-size: clamp(2.3rem, 5.4vw, 3.75rem); line-height: 1.05; }
.hero__lead { margin: 0; font-size: 1.16rem; line-height: 1.55; color: #C5CEDA; max-width: 560px; }
.hero__doors { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-search { background: #fff; border-radius: 14px; padding: 10px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.hero-search__field { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 4px 10px; border-left: 1px solid #E3E7ED; }
.hero-search__field:first-child { border-left: 0; }
.hero-search__field label { font-size: .75rem; color: var(--slate); font-weight: 600; }
.hero-search__field select { width: 100%; border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); min-height: 32px; padding: 0; }
.hero-search__go { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--teal); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; padding: 14px 26px; border: 0; border-radius: 10px; cursor: pointer; }
.hero-search__go:hover { background: var(--teal-dark); }
.hero__panel { flex: 1 1 360px; min-width: 0; background: #16263D; border: 1px solid #2E4160; border-radius: 16px; padding: 28px; }
.hero__panel-title { margin: 0 0 16px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.2rem; color: #F7F5F0; }
.hero__panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hero__panel li { padding-left: 18px; border-left: 3px solid var(--teal-bright); }
.hero__panel strong { display: block; color: #F7F5F0; font-weight: 600; }
.hero__panel span { display: block; color: #C5CEDA; font-size: .93rem; line-height: 1.45; }
.band { padding: 52px 0 12px; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 22px; }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.band__head h2 { margin: 0; }
.band__head a { font-weight: 500; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.speaker-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.speaker-card__photo { position: relative; height: 260px; background: #D9DEE6; }
.speaker-card__photo a { display: block; width: 100%; height: 100%; }
.speaker-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.speaker-card__badge { position: absolute; left: 12px; bottom: 12px; }
.speaker-card__heart { position: absolute; right: 10px; top: 10px; }
.heart { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(14, 26, 43, .18); }
.heart:hover { background: var(--chip); }
.speaker-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.speaker-card__name { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.speaker-card__name span { font-weight: 600; color: var(--slate); font-size: .95rem; }
.speaker-card__name:hover { color: var(--teal); }
.speaker-card__role { font-size: .82rem; color: var(--teal); font-weight: 600; margin-top: 2px; }
.speaker-card__line { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--slate); }
.speaker-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; color: var(--slate); }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-links a { font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 11px 20px; border-radius: 999px; text-decoration: none; }
.topic-links a:hover { border-color: var(--teal); color: var(--teal); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step__number { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--teal); margin-bottom: 6px; }
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--slate); }
.cta-band { background: var(--teal); margin-top: 60px; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 52px; padding-bottom: 52px; }
.cta-band__inner > div { flex: 999 1 480px; min-width: 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; line-height: 1.55; color: #E1F5EE; max-width: 620px; }

/* ---------- Search page ---------- */
.search { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
.filters { flex: 1 1 250px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters form { display: flex; flex-direction: column; gap: 20px; }
.filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.filters h2 { margin: 0; font-size: 1.2rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filters legend, .filters__field label { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: 6px; display: block; }
.tick { display: flex; align-items: center; gap: 10px; font-size: .95rem; min-height: 28px; cursor: pointer; }
.tick input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; flex: none; }
.filters select, .sort select { width: 100%; font: inherit; font-size: .95rem; min-height: 44px; border: 1px solid #B8C2D0; border-radius: 8px; padding: 0 10px; background: #fff; color: var(--ink); }
.filters select:focus, .sort select:focus { outline: 2px solid var(--teal-bright); outline-offset: 1px; border-color: var(--teal); }
.filters__hint { font-size: .8rem; color: var(--slate); margin: 6px 0 0; }
.filters form.is-auto .filters__apply { display: none; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.results__head h1 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 1.9rem); font-weight: 700; }
.sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.sort label { font-size: .88rem; color: var(--slate); white-space: nowrap; }
.sort select { width: auto; }
.results__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.chip-remove { background: var(--chip); color: var(--chip-text); border-radius: 999px; padding: 7px 14px; text-decoration: none; font-size: .88rem; }
.chip-remove:hover { background: #CDEEE3; color: var(--chip-text); }
.result-list { display: flex; flex-direction: column; gap: 14px; }
.result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.result__photo { flex: 0 0 132px; height: 164px; border-radius: 10px; background: #D9DEE6; overflow: hidden; display: block; }
.result__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.result__main { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.result__name { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.result__name span { font-weight: 600; color: var(--slate); font-size: 1rem; }
.result__name:hover { color: var(--teal); }
.result__role { font-size: .88rem; color: var(--teal); font-weight: 600; }
.result__line { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--slate); }
.result__meta { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .88rem; color: var(--slate); margin-top: 4px; }
.result__actions { flex: 1 1 170px; display: flex; flex-direction: column; gap: 10px; }
.result__actions .button { border-radius: 10px; width: 100%; }
.result__actions .shortlist-form { display: flex; }
.results__foot { font-size: .88rem; margin: 0; }
.shortlist-bar { background: var(--ink); color: #F7F5F0; border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.shortlist-bar span { color: #C5CEDA; }
.empty { text-align: center; padding: 40px 24px; }
.empty .button { margin-top: 8px; }

/* ---------- Shortlist page ---------- */
.shortlist-page { padding-top: 32px; padding-bottom: 56px; }
.shortlist-page .result-list { margin-bottom: 20px; }
.compare__scroll { overflow-x: auto; }
.table--compare th, .table--compare td { vertical-align: top; min-width: 150px; padding: 12px 14px; font-size: .93rem; }
.table--compare tbody th { min-width: 120px; text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--slate); font-weight: 600; }
.table--compare thead th { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.table--compare thead a { color: var(--ink); text-decoration: none; font-family: Archivo, sans-serif; }
.table--compare thead a:hover { color: var(--teal); }
.share__row { display: flex; gap: 10px; flex-wrap: wrap; }
.share__row input { flex: 1 1 280px; min-width: 0; font: inherit; font-size: .9rem; color: var(--slate); border: 1px solid #C9C4B8; border-radius: 10px; padding: 10px 12px; background: var(--page); }
.inquire--wide .form { max-width: 640px; }
.inquire--wide .hint { margin: 10px 0 0; }
.inquire--wide > .hint { margin: 0 0 16px; }

/* ---------- Plain text pages ---------- */
.prose-page { max-width: 760px; }
.prose-page ol, .prose-page ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose-page li { margin-bottom: .5em; }
.prose-page .card p:last-child, .prose-page .card ul:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .filters { max-width: none; flex-basis: 100%; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 760px) {
    .hero__inner { padding-top: 36px; padding-bottom: 44px; gap: 32px; }
    .hero-search__field { border-left: 0; border-bottom: 1px solid #E3E7ED; flex-basis: 100%; }
    .hero-search__go { flex-basis: 100%; }
    .result__photo { flex-basis: 96px; height: 120px; }
    .result__actions { flex-direction: row; flex-wrap: wrap; }
    .result__actions .button, .result__actions .shortlist-form { flex: 1 1 140px; width: auto; }
    .cta-band { margin-top: 40px; }
}
.result__actions .button { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.result__actions { flex-basis: 180px; }

/* Filter panel: always open on large screens, a fold-out on phones */
.filters summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; pointer-events: none; margin-bottom: 18px; }
.filters summary::-webkit-details-marker { display: none; }
.filters__count { font-size: .8rem; font-weight: 600; background: var(--chip); color: var(--chip-text); border-radius: 999px; padding: 2px 10px; }
@media (max-width: 900px) {
    .filters summary { pointer-events: auto; cursor: pointer; margin-bottom: 0; }
    .filters details[open] summary { margin-bottom: 18px; }
    .filters summary::after { content: "Show"; font-size: .88rem; font-weight: 600; color: var(--teal); margin-left: auto; }
    .filters details[open] summary::after { content: "Hide"; }
    .filters { padding: 16px 18px; }
}

/* ---------- Invites and admin extras ---------- */
.tag--founding { background: transparent; color: #E6EBF2; border: 1px solid #5B6B82; }
.button--danger { background: #B42318; color: #fff; }
.button--danger:hover { background: #912018; color: #fff; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: flex-start; }
.row-actions form { margin: 0; }
.confirm { text-align: right; }
.confirm summary { cursor: pointer; color: var(--slate); font-size: .88rem; padding: 7px 4px; list-style: none; }
.confirm summary::-webkit-details-marker { display: none; }
.confirm summary:hover { color: #B42318; }
.confirm[open] { flex-basis: 100%; background: var(--warn-bg); border-radius: 10px; padding: 8px 12px 12px; }
.confirm p { margin: 0 0 8px; font-size: .86rem; }
.invite-link { border: 2px solid var(--teal); }
.check a { font-weight: 600; }

/* ---------- Legal and About pages ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.doc h3 { margin: 1.3em 0 .4em; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.doc__meta { color: var(--slate); font-size: .92rem; }
.doc__summary { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 8px; }
.doc__summary p:last-child, .doc__summary ul:last-child { margin-bottom: 0; }

/* Calls for Speakers board */
.status--call-open, .status--call-rolling { background: var(--ok-bg); color: var(--ok-text); }
.status--call-closed { background: #FBE4E0; color: #7A2318; }
.status--call-invite_only { background: var(--badge); color: var(--badge-text); }
.call-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 14px; align-items: end; margin: 0 0 22px; max-width: none; }
.call-filters .field { margin: 0; }
.call-filters__paid { margin: 0 0 10px !important; white-space: nowrap; }
.call-list { display: grid; gap: 12px; }
.call { display: flex; justify-content: space-between; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.call__main { min-width: 0; }
.call__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.call h2 { font-size: 1.12rem; margin: 0 0 2px; }
.call h2 a { color: var(--ink); text-decoration: none; }
.call h2 a:hover { color: var(--teal); text-decoration: underline; }
.call__org { margin: 0; color: var(--slate); font-weight: 500; }
.call__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; flex-shrink: 0; text-align: right; }
.call__deadline span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.call__deadline strong { display: block; font-size: 1.02rem; }
.call__deadline em { font-style: normal; font-size: .84rem; color: var(--slate); }
.call__deadline em.is-soon { color: #B42318; font-weight: 600; }
.card--private { background: #F3F1EB; border-style: dashed; }
.card h2 .tag { vertical-align: middle; margin-left: 8px; font-family: Inter, system-ui, sans-serif; }
.bulk summary { cursor: pointer; font-weight: 600; }
.bulk p { margin: 10px 0; }
.confirm--left { text-align: left; margin-top: 18px; }
.form--wide { max-width: none; }
@media (max-width: 720px) {
    .call-filters { grid-template-columns: minmax(0, 1fr); }
    .call { flex-direction: column; }
    .call__side { flex-direction: row; align-items: center; text-align: left; }
}

/* Numbers */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--page); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat strong { display: block; font-family: Archivo, Inter, sans-serif; font-size: 1.7rem; line-height: 1.15; }
.stat span { color: var(--slate); font-size: .88rem; }
a.stat { text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--teal); }
.stat--alert { background: var(--warn-bg); border-color: #EBD3A4; }
@media (max-width: 720px) { .stat-row, .stat-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Admin */
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); margin: 0 0 22px; }
.admin-nav a { padding: 0 0 10px; text-decoration: none; color: var(--slate); font-weight: 500; font-size: .94rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.admin-nav a:hover { color: var(--ink); }
.admin-nav a.is-current { color: var(--ink); border-bottom-color: var(--teal); }
.dash { margin-top: 20px; align-items: start; }
.dash .card { margin: 0; }
.dash__row { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.dash__row:first-of-type { border-top: 0; }
.dash__row .muted { text-align: right; font-size: .88rem; flex-shrink: 0; }
.member-search { grid-template-columns: minmax(0, 1fr) auto; max-width: 560px; }

/* Proof on profiles */
.quote { margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 20px; }
.quote blockquote { margin: 0 0 8px; font-size: 1.04rem; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { color: var(--slate); font-size: .92rem; }
.quote figcaption strong { color: var(--ink); }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.engagements li { padding-left: 18px; position: relative; }
.engagements li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@media (max-width: 720px) { .engagements { grid-template-columns: minmax(0, 1fr); } }

/* Browse pages */
.landing { padding-top: 28px; padding-bottom: 40px; }
.landing h1 { max-width: 22ch; }
.landing .lead { max-width: 70ch; }
.landing .result-list { margin-top: 22px; }
.landing__more { margin-top: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--slate); margin-bottom: 14px; }
.crumbs a { color: var(--slate); }

.call-detail h2 { font-size: 1.12rem; margin: 22px 0 6px; }
.call-detail .prose { margin: 0; }
.call-detail .actions--top { margin-top: 24px; }
.landing .results__foot { margin-top: 28px; }

/* Replies and reviews */
.status--reply-available { background: var(--ok-bg); color: var(--ok-text); }
.status--reply-unavailable { background: #FBE4E0; color: #7A2318; }
.status--reply-need_details { background: var(--warn-bg); color: var(--warn-text); }
.rating { display: flex; flex-wrap: wrap; gap: 8px; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.stars span { color: #D9D4C7; }
.profile__rating { margin: 0 0 10px; font-size: .95rem; }
.profile__rating a { color: #fff; }
.quote--review .stars { margin-bottom: 6px; }
.quote--review blockquote::before, .quote--review blockquote::after { content: none; }
.reply-speed { margin: -6px 0 18px; text-align: center; font-size: .88rem; color: var(--teal-dark); font-weight: 600; }

/* Find me a speaker */
.narrow--wide { max-width: 760px; }
.help-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.help-band h2 { margin: 0 0 6px; }
.help-band p { margin: 0; max-width: 62ch; color: var(--slate); }
.pick-list { display: grid; gap: 8px; margin: 16px 0 20px; }
.pick { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--teal); background: #F2FBF8; }
.pick input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.pick__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pick__body > .muted { font-size: .9rem; }
.pick__why { font-size: .86rem; color: var(--teal-dark); }
.pick__body .tag { align-self: flex-start; }

/* Badge page */
.badge-preview { display: flex; justify-content: center; padding: 26px; border-radius: 12px; margin-bottom: 16px; }
.badge-preview--dark { background: #F1EEE7; }
.badge-preview--light { background: var(--teal-dark); }
.form textarea.code, textarea.code { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; color: var(--ink); background: #fff; border: 1px solid #C9C4B8; border-radius: 10px; padding: 10px 12px; }

/* Launch checklist */
.launch { list-style: none; margin: 0 0 16px; padding: 0; }
.launch__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.launch__item:first-child { border-top: 0; }
.launch__item p { margin: 2px 0 0; font-size: .92rem; }
.launch__item label { cursor: pointer; }
.launch__mark { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #C9C4B8; display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: #fff; margin-top: 1px; }
.launch__item.is-done .launch__mark { background: var(--teal); border-color: var(--teal); }
.launch__item input[type=checkbox] { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 1px 0; accent-color: var(--teal); }
code { background: #EEF1F5; border-radius: 6px; padding: 1px 6px; font-size: .9em; }

.form label.pick { display: flex; font-weight: 400; margin: 0; }
.form label.pick input[type=checkbox] { width: 18px; height: 18px; margin: 0; }
.form label.pick { padding: 12px 14px; }

/* Ratings in lists, verified mark, direct contact, QR code */
.rating-inline { display: inline-block; margin-left: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.rating-inline .muted { font-weight: 400; }
.speaker-card .rating-inline { margin: 2px 0 0; font-size: .9rem; }
.tag--verified { background: var(--ok-bg); color: var(--ok-text); border-color: transparent; }
.quote__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.quote__proof { display: block; font-size: .84rem; margin-top: 2px; }
.rating-summary { display: flex; align-items: center; gap: 16px; }
.rating-summary > strong { font-family: Archivo, Inter, sans-serif; font-size: 2.6rem; line-height: 1; }
.rating-summary p { margin: 2px 0 0; }
.rating-summary .stars { font-size: 1.2rem; }
.notice--slim { padding: 8px 12px; margin: 8px 0; font-size: .92rem; }
.direct { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.direct h2 { font-size: 1.05rem; margin: 0 0 10px; }
.direct__row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.direct__row > span { color: var(--slate); }
.direct__row a { font-weight: 600; word-break: break-all; text-align: right; }
.direct .button { margin-top: 6px; }
.qr { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; margin: 18px 0; }
.qr__code { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.qr__code svg { display: block; width: 100%; height: auto; }
.qr__side .field { margin-bottom: 14px; }
.qr__side label { display: block; font-weight: 600; margin-bottom: 6px; }
.qr__side input[type=text] { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #C9C4B8; border-radius: 10px; padding: 10px 12px; }
@media (max-width: 720px) { .qr { grid-template-columns: minmax(0, 1fr); } .qr__code { max-width: 240px; } }

/* Accounts for people looking for a speaker */
.join-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
.join-split__why h1 { margin-bottom: .3em; }
.benefits { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 14px; }
.benefits li { position: relative; padding-left: 30px; }
.benefits li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.benefits li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .join-split { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.seeker-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seeker-search input[type=search] { flex: 1 1 260px; min-width: 0; border: 1px solid #C9C4B8; border-radius: 10px; padding: 11px 14px; font: inherit; background: #fff; }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; padding-top: 0; }
.link-list li:last-child { padding-bottom: 0; }
.link-list form { margin: 0; }
.link-button--quiet { color: var(--slate); font-size: .88rem; text-decoration: underline; }
.link-button--quiet:hover { color: var(--ink); }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.inline-form input[type=text], .inline-form select { flex: 1 1 200px; min-width: 0; border: 1px solid #C9C4B8; border-radius: 10px; padding: 9px 12px; font: inherit; background: #fff; }
.row-edit { display: inline-block; text-align: left; }
.row-edit summary { list-style: none; cursor: pointer; }
.row-edit summary::-webkit-details-marker { display: none; }
.row-edit__body { margin-top: 12px; display: grid; gap: 12px; min-width: min(420px, 70vw); }
.row-edit__body .hint { margin: 0; flex: 1 1 100%; }

.tab--quiet { border-style: dashed; color: var(--slate); }
.list-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; margin: -6px 0 18px; padding: 14px 18px; background: #FBFAF6; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; }
.list-tools form { margin: 0; }
.list-tools__note label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 6px; }
.list-tools__note textarea { width: 100%; border: 1px solid #C9C4B8; border-radius: 10px; padding: 9px 12px; font: inherit; background: #fff; margin-bottom: 8px; resize: vertical; }
.list-tools__side { display: grid; gap: 10px; justify-items: end; min-width: 220px; }
@media (max-width: 720px) { .list-tools { grid-template-columns: minmax(0, 1fr); } .list-tools__side { justify-items: start; min-width: 0; } }

.save-search { margin: 0 0 0 auto; font-size: .9rem; }
.save-to-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: #C7D0DC; }
.save-to-list select { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .9rem; }
.save-to-list select option { color: var(--ink); }

.note--small { margin: 8px 0 0; padding: 8px 12px; font-size: .9rem; }
.status--response-available { background: #E3F6EF; color: #0B5D57; }
.status--response-need_details { background: var(--warn-bg); color: var(--warn-text); }
.status--response-unavailable { background: #EEF0F3; color: var(--slate); }

.call-filters--board { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; }
@media (max-width: 900px) { .call-filters--board { grid-template-columns: minmax(0, 1fr); } }
.tag--source { font-size: .76rem; }
.source-line { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: .92rem; }
.engagements--one { grid-template-columns: minmax(0, 1fr); }
.report-link { margin: 26px 0 0; font-size: .86rem; color: var(--slate); text-align: right; }
.report-link a { color: var(--slate); }
.inquire .notice--row, .card .notice--row { margin-top: 12px; }

/* Resources: articles, guides, lists and essays */
.resources { padding-top: 34px; padding-bottom: 60px; }
.resources h1 { margin-bottom: .25em; }
.resources__kinds { margin: -6px 0 22px; }
.chip-remove--on { background: var(--ink); color: #fff; }
.chip-remove--on:hover { background: var(--ink); color: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 8px 0 28px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.article-card__cover { display: block; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.article-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card__blank { display: flex; align-items: flex-end; height: 100%; padding: 18px 20px; color: #2DD4BF; font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; background: radial-gradient(circle at 85% 0%, rgba(45,212,191,.22), rgba(45,212,191,0) 60%), var(--ink); }
.article-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { margin: 0 0 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--teal-dark); font-weight: 600; }
.article-card h3 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.25; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; }
.article-card__summary { margin: 0 0 12px; color: var(--slate); font-size: .95rem; }
.article-card__foot { margin: auto 0 0; font-size: .84rem; color: var(--slate); }

.article { max-width: 780px; padding-top: 30px; padding-bottom: 64px; }
.article__head h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.08; margin: .15em 0 .35em; }
.article__meta { color: var(--slate); font-size: .92rem; margin: 0 0 26px; }
.article__cover { width: 100%; border-radius: 16px; margin: 0 0 30px; display: block; }
.prose--article { font-size: 1.09rem; line-height: 1.72; }
.prose--article h2 { font-size: 1.6rem; margin: 1.7em 0 .5em; line-height: 1.2; }
.prose--article h3 { font-size: 1.24rem; margin: 1.5em 0 .4em; }
.prose--article p { margin: 0 0 1.1em; }
.prose--article ul, .prose--article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose--article li { margin-bottom: .45em; }
.prose--article blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal); color: var(--slate); font-size: 1.14rem; }
.prose--article a { color: var(--teal-dark); }
.prose--article img { max-width: 100%; border-radius: 12px; }
.prose--article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.prose--article th, .prose--article td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.prose--article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose--article code { background: #EEF0F3; border-radius: 5px; padding: 1px 5px; font-size: .92em; }
.article__speakers, .article__more { margin-top: 44px; }
.article__next { margin-top: 44px; background: #F2FBF8; border-color: #BFE9DD; }
.article__next h2 { margin-top: 0; }
.article__more .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .article__more .article-grid { grid-template-columns: minmax(0, 1fr); } }

.md-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.md-toolbar button { border: 1px solid #C9C4B8; background: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink); }
.md-toolbar button:hover { border-color: var(--teal); }
.md-body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; line-height: 1.6; }
.cover-preview { display: block; max-width: 100%; border-radius: 10px; margin: 0 0 10px; }
.check--inline { display: inline-flex !important; margin: 0 8px 0 0 !important; }
.article-card__cover, .article-card__cover:hover { text-decoration: none; }
.article-card__cover:hover .article-card__blank { color: #5EEAD4; }

/* Visitors screen, suggestions, saved-search switches */
.day-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding: 6px 0 0; border-bottom: 1px solid var(--line); margin: 6px 0 8px; }
.day-bars__bar { flex: 1 1 0; min-width: 2px; background: var(--teal); border-radius: 3px 3px 0 0; }
.day-bars__bar:hover { background: var(--teal-dark); }
.table--compact th, .table--compact td { padding: 8px 10px; font-size: .93rem; }
.table--compact td { word-break: break-word; }
.row-actions--start { justify-content: flex-start; align-items: center; margin-top: 12px; }
.link-list__actions { display: inline-flex; gap: 14px; align-items: center; }
.link-list__actions form { margin: 0; }
.stat-row + .card { margin-top: 20px; }
.results__chips + .notice, .results__chips + .card { margin-top: 14px; }
.hint--after { margin: -4px 0 20px; }

/* Public events board */
.call-filters--events { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; }
.call-filters--events .call-filters__checks { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 980px) { .call-filters--events { grid-template-columns: minmax(0, 1fr); } }
.call-filters__checks { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.call-filters__checks .check { margin: 0 !important; white-space: nowrap; font-size: .92rem; }
.status--call-not_yet, .status--call-unknown { background: #EEF1F5; color: var(--slate); }
.tag--fee { background: #FDECC8; color: #7A4B00; font-weight: 600; }
.notice--fee { background: #FDECC8; border: 1px solid #E8C877; color: #5C3900; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 18px; }
.call__verified { margin: 8px 0 0; font-size: .84rem; color: var(--slate); }
.call__deadline--locked em { font-size: .84rem; color: var(--slate); }
.results__count { margin: 0 0 12px; color: var(--slate); font-size: .95rem; }
.event-lock { background: #F2FBF8; border: 1px solid #BFE9DD; border-radius: var(--radius); padding: 20px 24px; margin: 18px 0 24px; }
.event-lock h2 { margin: 0 0 6px; font-size: 1.15rem; }
.event-lock p { margin: 0 0 14px; }
.event-post { margin-top: 28px; }
.events-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.events-band h2 { margin: 0 0 8px; }
.events-band p { margin: 0; max-width: 62ch; }
.call__note { margin: 8px 0 0; font-size: .92rem; background: #FFF9E8; border-left: 3px solid var(--gold); padding: 6px 10px; border-radius: 4px; }
.event-browse { margin-top: 36px; }
.event-browse h2 { font-size: 1.1rem; margin: 22px 0 10px; }
.event-browse__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.event-browse__list--states { gap: 6px 18px; font-size: .95rem; }
.tracker h2 { margin-top: 0; }
.tracker .actions { margin: 12px 0 18px; }
.tracker__note { max-width: 640px; }
.call-filters--admin { grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
@media (max-width: 980px) { .call-filters--admin { grid-template-columns: minmax(0, 1fr); } }
.events-news { margin: 0 0 18px; padding: 10px 14px; background: #E6F4F1; border-radius: 10px; font-size: .95rem; }
.follow > summary { cursor: pointer; font-weight: 600; }
.follow[open] > summary { margin-bottom: 16px; }
.event-organizer { margin: 28px 0; padding: 22px 24px; border-radius: 14px; background: var(--ink, #0E1A2B); color: #fff; }
.event-organizer h2 { margin: 0 0 8px; font-size: 1.2rem; color: #fff; }
.event-organizer p { margin: 0 0 14px; color: #D5DEE8; max-width: 70ch; }
.event-organizer .actions { margin: 0 0 12px; }
.event-organizer .button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.event-organizer .button--ghost:hover { background: rgba(255,255,255,.1); }
.event-organizer .hint { margin: 0; color: #AEBBCB; }
.event-organizer .hint a { color: #2DD4BF; }
.call--compact h3 { margin: 6px 0 2px; font-size: 1.05rem; }
.call__deadline em { display: block; font-style: normal; font-size: .85rem; color: var(--slate, #475569); }
.strength__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.strength__head h2 { margin: 0; }
.strength__score { font-size: 1.6rem; font-family: Archivo, Inter, sans-serif; }
.strength__score span { font-size: .9rem; font-weight: 500; color: var(--slate, #475569); }
.strength__bar { height: 10px; border-radius: 999px; background: #E2E8F0; overflow: hidden; margin: 12px 0 14px; }
.strength__bar span { display: block; height: 100%; border-radius: 999px; background: #0B7A72; }
.strength__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.strength__points { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #E6F4F1; color: #0B7A72; font-size: .8rem; font-weight: 600; }
.call--compact h3 a { color: var(--ink); text-decoration: none; }
.call--compact h3 a:hover { color: var(--teal); text-decoration: underline; }
.profile__clip { margin: 0 0 18px; max-width: 640px; }
.profile__clip figcaption { margin-top: 8px; font-size: .95rem; color: var(--slate, #475569); }
.appearances { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.appearances li a { font-weight: 600; }
.appearances li span { display: block; font-size: .93rem; }
.tracker__show { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: #E6F4F1; }
.tracker__show p { margin: 0; max-width: 60ch; }
.follow .field input[readonly] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; }
tr.is-muted td { color: var(--slate, #475569); background: #FAF8F3; }
.form input[type=file] { display: block; width: 100%; padding: 10px; border: 1px dashed #C9C4B8; border-radius: 10px; background: #fff; font: inherit; }

/* Home page: the strip under the hero and the section that tell speakers what the site gives them. */
.speaker-strip { background: var(--chip); border-bottom: 1px solid #C5E6DA; }
.speaker-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.speaker-strip p { margin: 0; flex: 1 1 420px; font-size: 1.05rem; }
.speaker-strip strong { font-family: Archivo, Inter, system-ui, sans-serif; font-size: 1.15rem; }
.speaker-strip .actions { margin: 0; }
.speaker-strip .button--ghost { background: #fff; }
.for-speakers { scroll-margin-top: 16px; padding-top: 64px; }
.for-speakers__title { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 0 0 12px; }
.for-speakers__lead { font-size: 1.12rem; color: var(--slate); max-width: 700px; margin: 0 0 30px; }
.for-speakers__points .card { display: flex; flex-direction: column; gap: 10px; }
.for-speakers__points svg { color: var(--teal); }
.for-speakers__points h3 { margin: 0; font-size: 1.3rem; }
.for-speakers__points p { margin: 0; color: var(--slate); }
.open-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.open-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.open-panel__head h3 { margin: 0; font-size: 1.5rem; color: #fff; }
.open-panel__head p, .open-panel__foot p { margin: 0; color: #C7D0DB; font-size: .95rem; }
.open-panel__events { gap: 16px; }
.open-event { background: #fff; color: var(--ink); text-decoration: none; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.open-event:hover { background: var(--chip); color: var(--ink); }
.open-event .tag { align-self: flex-start; font-weight: 600; }
.open-event strong { font-family: Archivo, Inter, system-ui, sans-serif; font-size: 1.12rem; line-height: 1.25; overflow-wrap: anywhere; }
.open-event span:not(.tag) { color: var(--slate); font-size: .95rem; }
.open-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.open-panel__foot p { flex: 1 1 320px; }
.open-panel__foot .actions { margin: 0; }
@media (max-width: 760px) { .open-panel { padding: 22px; } }

/* Home page: eight topics, then a button that shows the rest. */
.topic-more { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 12px; }
.topic-more summary { align-self: flex-start; list-style: none; cursor: pointer; font-weight: 600; color: var(--teal); border: 1px solid var(--teal); border-radius: 999px; padding: 8px 18px; background: #fff; }
.topic-more summary::-webkit-details-marker { display: none; }
.topic-more summary:hover { background: var(--chip); }
.topic-more summary:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.topic-more summary::after { content: " +"; }
.topic-more[open] summary::after { content: " \2212"; }
.topic-more__close, .topic-more[open] .topic-more__open { display: none; }
.topic-more[open] .topic-more__close { display: inline; }
