/* H&I speaker list admin + check-in (website and app) */
.ha, .hc { --ha-navy: var(--navy, #04076a); --ha-ink: var(--ink, #12153f); --ha-muted: var(--muted, #4c5280); --ha-line: #dbe3f6; }
.ha { position: relative; }
.ha [hidden], .hc [hidden] { display: none !important; }
.ha-box { background: #fff; border-radius: 16px; box-shadow: var(--shadow, 0 6px 20px rgba(4,7,106,.07)); padding: 18px; margin-bottom: 14px; }
.ha-h2 { font-size: 20px; font-weight: 800; color: var(--ha-navy); margin: 0 0 8px; }
.ha-p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.5; color: var(--ha-ink); }
.ha-small { font-size: 13.5px; color: var(--ha-muted); }
.ha-lbl { display: block; font-size: 13.5px; font-weight: 700; color: var(--ha-navy); margin: 12px 0 6px; }
.ha-lbl .ha-in { margin-top: 6px; font-weight: 400; }
.ha-in { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--ha-line); background: #fff; color: var(--ha-ink); }
textarea.ha-in { resize: vertical; min-height: 64px; }
.ha-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: var(--ha-navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px; border-radius: 11px; padding: 10px 15px; cursor: pointer; text-decoration: none; min-height: 42px; }
.ha-btn:disabled { opacity: .55; cursor: default; }
.ha-btn.ha-soft { background: #e5f0fe; color: var(--ha-navy); }
.ha-btn.ha-line { background: #fff; color: var(--ha-navy); border: 1px solid var(--ha-line); }
.ha-btn.ha-red { background: #fff; color: #9a2019; border: 1px solid #f0c9c5; }
.ha-btn.ha-sm { font-size: 14px; padding: 7px 12px; min-height: 36px; border-radius: 9px; }
.ha-link { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ha-navy); cursor: pointer; padding: 8px 0; margin-left: 12px; }
.ha-signin form { display: grid; gap: 4px; max-width: 420px; }
.ha-signin .ha-btn { margin-top: 12px; justify-self: start; }
.ha-err { color: #9a2019; font-weight: 700; font-size: 14.5px; margin: 10px 0 0; }
.ha-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14.5px; color: var(--ha-muted); }
.ha-who b { color: var(--ha-ink); }
.ha-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.ha-tab { border: 1px solid var(--ha-line); background: #fff; color: var(--ha-navy); font: inherit; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.ha-tab[aria-selected="true"] { background: var(--ha-navy); color: #fff; border-color: var(--ha-navy); }
.ha-n { background: #b3261e; color: #fff; border-radius: 999px; font-size: 12px; padding: 0 7px; line-height: 19px; }
.ha-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.ha-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ha-bar .ha-chips { margin: 0; }
.ha-chip { border: 1px solid var(--ha-line); background: #fff; color: var(--ha-navy); font: inherit; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.ha-chip[aria-pressed="true"] { background: var(--ha-navy); color: #fff; border-color: var(--ha-navy); }
.ha-search { flex: 1 1 220px; width: auto; }
.ha-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ha-bar .ha-acts { margin-top: 0; }
.ha-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.ha-row, .ha-item { display: block; width: 100%; box-sizing: border-box; text-align: left; border: 0; font: inherit; color: var(--ha-ink); background: #fff; border-radius: 16px; box-shadow: var(--shadow, 0 6px 20px rgba(4,7,106,.07)); padding: 13px 14px; }
.ha-row { cursor: pointer; }
.ha-item { margin-bottom: 10px; }
.ha-row-x { display: block; }
.ha-row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ha-nm { font-weight: 750; font-size: 16.5px; color: var(--ha-navy); }
.ha-nm small { font-weight: 650; font-size: 13.5px; color: var(--ha-muted); }
.ha-sub { display: block; font-size: 13.5px; color: var(--ha-muted); margin-top: 5px; line-height: 1.4; }
.ha-sub b { color: var(--ha-ink); }
.ha-faint { color: #7c82a8; font-size: 12.5px; }
.ha-days { display: flex; gap: 2px; margin-top: 6px; }
.ha-days span { width: 19px; height: 19px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 750; background: #eef1fa; color: #a3a8c3; }
.ha-days span.on { background: var(--ha-navy); color: #fff; }
.ha-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ha-ok { background: #e0f7e9; color: #0f6b39; } .ha-warn { background: #fff4d6; color: #7a5300; } .ha-bad { background: #fde8e6; color: #9a2019; }
.ha-mute { background: #eef0f6; color: #4a4f72; } .ha-new { background: #e5f0fe; color: var(--ha-navy); }
.ha-flag { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #9a2019; }
.ha-empty { padding: 22px 6px; color: var(--ha-muted); font-size: 15px; }
.ha-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 8px; }
.ha-stat { background: #fff; border-radius: 14px; box-shadow: var(--shadow, 0 6px 20px rgba(4,7,106,.07)); padding: 12px 14px; }
.ha-stat b { display: block; font-size: 26px; color: var(--ha-navy); line-height: 1.1; }
.ha-stat span { font-size: 13px; font-weight: 650; color: var(--ha-muted); }
.ha-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ha-two .ha-box .ha-btn { margin-top: 14px; }
.ha-prog { margin-top: 12px; font-size: 15px; color: var(--ha-ink); }
.ha-dlg { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: 0 20px 60px rgba(4,7,106,.3); }
.ha-dlg::backdrop { background: rgba(2,4,72,.45); }
.ha-dlg form { padding: 20px; }
.ha-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ha-pick { margin: 0; }
.ha-dlg-acts { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ha-dlg-acts .ha-acts { margin-top: 0; }
.ha-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ha-navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; z-index: 9999; box-shadow: 0 8px 24px rgba(4,7,106,.3); max-width: calc(100vw - 32px); text-align: center; }
.ha-toast[hidden] { display: none; }
@media (max-width: 760px) {
  .ha-two { grid-template-columns: 1fr; }
  .ha-stats { grid-template-columns: repeat(3, 1fr); }
  .ha-list { grid-template-columns: 1fr; }
  .ha-search { flex-basis: 100%; }
  .ha-g2 { grid-template-columns: 1fr; gap: 0; }
  .ha-toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
/* Check-in (what a speaker sees) */
.hc .ha-box { max-width: 560px; }
.hc-sum { background: #eef4ff; border-radius: 12px; padding: 12px 14px; font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.hc-btns { display: grid; gap: 10px; }
.hc-btns .ha-btn { width: 100%; min-height: 48px; font-size: 16px; }
.hc-done { text-align: center; }
.hc-ok { width: 56px; height: 56px; border-radius: 50%; background: #e0f7e9; color: #0f6b39; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ha-check { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 14px 0 0; color: var(--ha-ink); }
.ha-check input { width: 18px; height: 18px; }
.ha-lrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #eef1fa; }
.ha-lrow:first-of-type { border-top: 0; }
.ha-lrow b { color: var(--ha-navy); }
.ha-signin form[hidden], .spk-gate[hidden], [data-listwrap][hidden], [data-spk-gate][hidden], [data-spk-main][hidden] { display: none !important; }
