/* Teh Tarik Talk — design system v2 ("Programme Hub" app style, TTT colours). Built on self-hosted Bootstrap 5. */
@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }

:root {
  --blue: #0872F9; --blue-d: #0660d6; --turq: #00D5DB; --cream: #FFF8ED; --navy: #123650; --caramel: #B97842;
  --bg: #F6F1E7; --card: #FFFFFF; --line: #ECE5D8; --ink: #123650; --soft: #5E7488; --faint: #94A3B1;
  --tile-blue: #E3EEFF; --tile-turq: #D6F7F8; --tile-caramel: #F6E6D6; --tile-navy: #E2E8EE; --tile-red: #FCE4E2; --tile-green: #DDF4E4;
  --r: 22px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(18,54,80,.04), 0 10px 30px -18px rgba(18,54,80,.35);
  --bs-body-font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink); --bs-body-bg: var(--bg);
  --bs-primary: var(--blue); --bs-primary-rgb: 8, 114, 249;
  --bs-link-color: var(--blue); --bs-link-color-rgb: 8, 114, 249; --bs-link-hover-color: var(--blue-d);
  --bs-border-color: var(--line); --bs-border-radius: 12px; --bs-border-radius-lg: 16px;
}
body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.wordmark, .display-font { font-family: "Fredoka", "Jakarta", sans-serif; font-weight: 700; letter-spacing: .3px; }
a { text-underline-offset: 3px; }
.text-soft { color: var(--soft) !important; } .text-faint { color: var(--faint) !important; }
.text-caramel { color: var(--caramel) !important; } .text-turq { color: #009ea3 !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; top: 1rem; }
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.25em; }
.narrow { max-width: 760px; } .event-h1 { font-size: clamp(2rem, 6vw, 3rem); }

/* ---------- buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .7rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .32rem .8rem; font-size: .85rem; }
.btn-primary { --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--blue-d); --bs-btn-hover-border-color: var(--blue-d); --bs-btn-active-bg: #0552b5; --bs-btn-disabled-bg: var(--blue); --bs-btn-disabled-border-color: var(--blue); }
.btn-accent, .btn-turq { background: var(--turq); color: var(--navy); border: 0; }
.btn-accent:hover, .btn-turq:hover { background: #00c2c8; color: var(--navy); }
.btn-dark-ttt { background: var(--navy); color: #fff; border: 0; } .btn-dark-ttt:hover { background: #0d2a40; color: #fff; }
.btn-ghost, .btn-outline-navy { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover, .btn-outline-navy:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-icon { width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%; }
.btn:focus-visible, a:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus, button:focus-visible { outline: 3px solid rgba(0,213,219,.65); outline-offset: 2px; box-shadow: none; }

/* ---------- cards & tiles ---------- */
.card-ttt, .tile { background: var(--card); border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.card-ttt .card-body, .tile-body { padding: 1.35rem; }
@media (min-width: 768px) { .card-ttt .card-body { padding: 1.75rem; } }
.tile { padding: 1.15rem 1.2rem; position: relative; display: block; color: inherit; text-decoration: none; height: 100%; }
a.tile:hover { transform: translateY(-1px); color: inherit; }
.tile .tile-arrow { position: absolute; top: 1rem; right: 1rem; color: var(--faint); }
.tile-label { font-weight: 600; color: var(--ink); font-size: .92rem; margin-top: .85rem; }
.tile-value { font-weight: 800; font-size: 1.85rem; letter-spacing: -.03em; line-height: 1.15; }
.tile-sub { color: var(--soft); font-size: .85rem; }
.ico-box { width: 2.75rem; height: 2.75rem; border-radius: 13px; display: grid; place-items: center; background: var(--tile-blue); color: var(--blue); flex: 0 0 auto; }
.ico-box .ic { width: 1.3rem; height: 1.3rem; }
.ico-turq { background: var(--tile-turq); color: #008a8f; } .ico-caramel { background: var(--tile-caramel); color: var(--caramel); }
.ico-navy { background: var(--tile-navy); color: var(--navy); } .ico-red { background: var(--tile-red); color: #b42318; } .ico-green { background: var(--tile-green); color: #157f3c; }
.tile-dark, .card-dark { background: var(--navy); color: #fff; }
.tile-dark .tile-label, .tile-dark .tile-value, .card-dark h2, .card-dark h3 { color: #fff; }
.tile-dark .tile-sub, .card-dark .text-soft { color: rgba(255,255,255,.7) !important; }
.tile-dark .kicker { color: var(--turq); font-size: .78rem; font-weight: 700; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 .8rem; }
.section-head h2 { font-size: 1.2rem; margin: 0; } .section-head p { margin: 0; color: var(--soft); font-size: .88rem; }
.section-head a { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: .3rem; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .8rem; line-height: 1.25; font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.chip-blue { background: var(--tile-blue); border-color: transparent; color: var(--blue); }
.chip-turq { background: var(--tile-turq); border-color: transparent; color: #007f84; }
.chip-red { background: var(--tile-red); border-color: transparent; color: #b42318; }
.chip-caramel { background: var(--tile-caramel); border-color: transparent; color: #8a5426; }
.chip-dark { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }

/* list rows (schedule, tasks) */
.list-card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: .5rem 1.35rem; }
.list-row { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.list-row:last-child { border-bottom: 0; }
.list-row .main { flex: 1; min-width: 0; }
.list-row .t { font-weight: 700; line-height: 1.3; }
.list-row .s { color: var(--soft); font-size: .85rem; }
a.list-row:hover .t { color: var(--blue); }

/* progress */
.bar { height: 8px; background: #EEE8DC; border-radius: 99px; overflow: hidden; display: flex; }
.bar > span { display: block; height: 100%; background: var(--blue); }
.bar > span.turq { background: var(--turq); } .bar > span.amber { background: #F5B94C; }
.capacity-bar { height: 8px; background: #EEE8DC; border-radius: 99px; overflow: hidden; display: flex; }
.capacity-bar .c { background: var(--turq); } .capacity-bar .i { background: #F5B94C; }

/* calendar */
.cal { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal th { font-size: .75rem; font-weight: 700; color: var(--faint); text-align: center; padding: .4rem 0; }
.cal td { border-top: 1px solid var(--line); text-align: center; padding: .55rem 0 .45rem; vertical-align: top; height: 3.6rem; }
.cal .d { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 600; }
.cal .out .d { color: #C3CBD3; }
.cal .today .d { background: var(--navy); color: #fff; }
.cal .has-ev .d { background: var(--tile-blue); color: var(--blue); font-weight: 800; }
.cal .today.has-ev .d { background: var(--blue); color: #fff; }
.cal .dots { display: flex; gap: 3px; justify-content: center; height: 6px; margin-top: 2px; }
.cal .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); } .cal .dot.task { background: var(--caramel); }
.cal a { color: inherit; text-decoration: none; }
.cal-big td { height: 6.5rem; text-align: left; padding: .4rem; }
.cal-big .ev { display: block; font-size: .72rem; font-weight: 700; background: var(--tile-blue); color: var(--blue); border-radius: 6px; padding: .28rem .5rem; line-height: 1.3; margin-top: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-big .tk { display: block; font-size: .7rem; font-weight: 600; background: var(--tile-caramel); color: #8a5426; border-radius: 6px; padding: .28rem .5rem; line-height: 1.3; margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-big .tk.done { text-decoration: line-through; opacity: .6; }
.legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--soft); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: .3rem; } .legend i.task { background: var(--caramel); }

/* forms */
.form-label { font-weight: 700; margin-bottom: .3rem; font-size: .92rem; }
.form-label .opt { font-weight: 500; color: var(--soft); font-size: .82rem; }
.form-control, .form-select { border: 1.5px solid var(--line); padding: .7rem .9rem; border-radius: 14px; background-color: #fff; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--blue); }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: .15em; border: 1.5px solid #B9C4CF; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.form-check-label { font-weight: 500; }
.uplabel { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }

/* status badges (admin) */
.st-badge { font-size: .74rem; font-weight: 700; padding: .32rem .72rem; line-height: 1.25; border-radius: 999px; white-space: nowrap; display: inline-block; }
.st-submitted { background: #EEF1F5; color: #44546a; } .st-under_review { background: var(--tile-blue); color: #0b4fb3; }
.st-invited { background: #FFF1D6; color: #7a4d14; } .st-confirmed { background: var(--tile-turq); color: #006d71; }
.st-waitlisted { background: #EFE7FF; color: #5b2bb5; } .st-not_selected { background: #F1F1F1; color: #666; }
.st-declined, .st-cancelled { background: var(--tile-red); color: #9b1c1c; } .st-invitation_expired { background: var(--tile-caramel); color: #8a5426; }
.st-attended { background: var(--tile-green); color: #146c2e; } .st-no_show { background: #FFE5D0; color: #8a3b00; }
.due-overdue { background: var(--tile-red); color: #b42318; } .due-soon { background: #FFF1D6; color: #7a4d14; } .due-later { background: #EEF1F5; color: #44546a; }

/* ============================ PUBLIC ============================ */
.site-header { background: rgba(246,241,231,.88); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1020; }
.site-header .navbar { padding: .8rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { max-height: 42px; width: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.brand-mark .ic { width: 22px; height: 22px; color: var(--turq); }
.brand-word { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1; letter-spacing: .4px; }
.brand-word small { display: block; font-family: "Jakarta"; font-weight: 600; font-size: .7rem; letter-spacing: 0; color: var(--soft); margin-top: 3px; }
.site-header .nav-link { font-weight: 700; color: var(--ink); padding: .45rem .9rem !important; border-radius: 999px; }
.site-header .nav-link:hover { background: #fff; }

.hero { padding: 1.6rem 0 1rem; }
.hero-card { background: var(--navy); color: #fff; border-radius: 28px; padding: 1.8rem 1.5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero-card { padding: 3rem; } }
.hero-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,213,219,.35), rgba(0,213,219,0) 70%); }
.hero-card > * { position: relative; z-index: 1; }
.hero-title { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: clamp(2.5rem, 9vw, 4.4rem); line-height: .95; margin: 0; color: #fff; letter-spacing: .5px; }
.hero-title span { color: var(--turq); }
.sticker { display: inline-block; background: var(--turq); color: var(--navy); font-weight: 800; font-size: clamp(1rem, 3.4vw, 1.25rem); padding: .4rem 1rem; border-radius: 12px; transform: rotate(-2deg); margin: 1rem 0 .3rem; }
.hero-lead { font-size: 1.15rem; font-weight: 600; color: rgba(255,255,255,.85); margin: .9rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.chips li { background: rgba(255,255,255,.1); color: #fff; border-radius: 999px; padding: .32rem .85rem; font-weight: 700; font-size: .88rem; display: inline-flex; gap: .35rem; align-items: center; }
.chips.light li { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.hero-art { max-width: 280px; width: 100%; margin: 0 auto; display: block; }
.hero-actions .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero-actions .btn-ghost:hover { border-color: #fff; color: #fff; }

.next-card { border-radius: 26px; background: #fff; box-shadow: var(--shadow); padding: 1.4rem; }
@media (min-width: 768px) { .next-card { padding: 2rem; } }
.countdown { display: inline-flex; align-items: center; gap: .4rem; background: var(--tile-turq); color: #007f84; font-weight: 800; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
.info-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.2rem 0; }
.info-tile { background: var(--bg); border-radius: 18px; padding: 1rem 1.1rem; }
.info-tile .ico-box { width: 2.3rem; height: 2.3rem; border-radius: 11px; margin-bottom: .55rem; }
.info-tile .k { font-size: .75rem; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.info-tile .v { font-weight: 800; line-height: 1.25; }
.info-tile .v small { display: block; font-weight: 500; color: var(--soft); font-size: .82rem; }
.info-tile.wide { grid-column: 1 / -1; }

.event-meta { list-style: none; padding: 0; margin: 1rem 0; }
.event-meta li { display: flex; gap: .75rem; align-items: flex-start; padding: .45rem 0; font-weight: 700; }
.event-meta .ico { flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--blue); }
.event-meta .ico .ic { width: 18px; height: 18px; }
.event-meta small { display: block; font-weight: 500; color: var(--soft); }
.badge-soft { display: inline-block; background: var(--tile-blue); color: var(--blue); font-weight: 700; padding: .32rem .8rem; border-radius: 999px; font-size: .78rem; }
.badge-demo { background: #FFF1D6; color: #7a5b00; } .badge-cancel { background: var(--tile-red); color: #9b1c1c; }

.notice-box { background: #fff; border: 1.5px dashed var(--caramel); border-radius: 18px; padding: .95rem 1.1rem; display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.notice-box .ico { color: var(--caramel); }
.section { padding: 2.4rem 0; }
.section-alt { background: transparent; }
.section-title { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: .35rem; }
.eyebrow { font-weight: 700; letter-spacing: .08em; font-size: .75rem; text-transform: uppercase; color: var(--caramel); }
.eyebrow-turq { color: var(--turq); }

.speaker-card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.3rem; display: flex; gap: 1rem; align-items: center; height: 100%; }
.speaker-photo { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; flex: 0 0 auto; background: var(--tile-caramel); }
.speaker-ph { width: 84px; height: 84px; border-radius: 22px; flex: 0 0 auto; display: grid; place-items: center; border: 2px dashed rgba(185,120,66,.5); background: var(--tile-caramel); color: var(--caramel); font-family: "Fredoka"; font-weight: 700; font-size: 1.6rem; text-align: center; line-height: 1; }
.speaker-ph small { display: block; font-family: "Jakarta"; font-size: .55rem; font-weight: 700; color: var(--soft); margin-top: .25rem; letter-spacing: 0; }
.speaker-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.speaker-card p { color: var(--soft); font-weight: 500; margin: 0; font-size: .9rem; }
.speaker-card .bio { color: var(--ink); margin-top: .4rem; font-size: .85rem; }

.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li { position: relative; padding: .45rem 0 .45rem 2.1rem; font-weight: 600; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: .42rem; width: 1.5rem; height: 1.5rem; border-radius: 8px; background: var(--tile-turq); color: #007f84; display: grid; place-items: center; font-size: .8rem; font-weight: 900; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: .7rem; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; background: #fff; border-radius: 18px; padding: 1rem; font-weight: 700; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--navy); color: #fff; margin-bottom: .55rem; font-weight: 800; }
.steps li small { display: block; font-weight: 500; color: var(--soft); margin-top: .15rem; }
.sponsor-band { background: var(--navy); color: #fff; border-radius: 26px; padding: 1.8rem; }
.sponsor-band h2, .sponsor-band h3, .sponsor-band .display-font { color: #fff; }
.sponsor-band img { max-height: 54px; background: #fff; padding: .4rem .8rem; border-radius: 10px; }
.past-card { display: block; text-decoration: none; color: inherit; height: 100%; }
.cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }

.form-card fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.form-card legend { font-weight: 800; font-size: 1.15rem; margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); width: 100%; display: flex; gap: .55rem; align-items: center; }
.pill-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-options label { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; cursor: pointer; user-select: none; }
.pill-options input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill-options input:focus-visible + label { outline: 3px solid rgba(0,213,219,.65); outline-offset: 2px; }
.is-invalid-group .pill-options label { border-color: #dc3545; }
.invalid-msg { color: #b02a37; font-weight: 700; font-size: .88rem; margin-top: .3rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.zakat-box { background: var(--cream); border-radius: 18px; padding: 1.4rem 1.5rem; border: 1px solid #F0E2CC; }
.zakat-box > * + * { margin-top: 1.1rem; }
.q-block { margin-bottom: 1.15rem; }
.form-card .consent-box, .consent-box { background: #F3F7FC; border-radius: 18px; padding: 1.4rem 1.5rem; border: 1px solid #D9E4F2; }
.consent-h { font-size: 1.1rem; font-weight: 800; margin: 0 0 .8rem; }
.consent-box .form-check { margin-bottom: .6rem; }

.rsvp-wrap { max-width: 560px; margin: 0 auto; }
.status-pill { display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-weight: 700; }
.st-ok { background: var(--tile-turq); color: #006d71; } .st-warn { background: #FFF1D6; color: #7a4d14; } .st-bad { background: var(--tile-red); color: #9b1c1c; }
.pass { max-width: 420px; margin: 0 auto; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(18,54,80,.5); }
.pass-head { background: var(--navy); color: #fff; padding: 1.3rem 1.5rem; }
.pass-head h1 { color: #fff; font-size: 1.35rem; margin: .4rem 0 0; }
.pass-head .brand-word small { color: var(--turq); }
.pass-qr { padding: 1.2rem 1.5rem .6rem; text-align: center; }
.pass-qr svg { width: 100%; max-width: 280px; height: auto; display: block; margin: 0 auto; }
.pass-body { padding: .2rem 1.5rem 1.5rem; }
.pass-name { font-weight: 800; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; }
.pass-tear { border-top: 2px dashed var(--line); margin: 1rem -1.5rem; position: relative; }
.pass-tear::before, .pass-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.pass-tear::before { left: -11px; } .pass-tear::after { right: -11px; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 2.4rem 0 2rem; margin-top: 2.5rem; border-radius: 28px 28px 0 0; }
.site-footer a { color: #fff; }
.site-footer .brand-word { color: #fff; }
.faq details { background: #fff; border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details[open] summary { margin-bottom: .5rem; color: var(--blue); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(246,241,231,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 1030; }
@media (min-width: 992px) { .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 84px; }
@media (min-width: 992px) { body.has-sticky { padding-bottom: 0; } }
@media print {
  body { background: #fff !important; }
  .site-header, .site-footer, .no-print, .sticky-cta { display: none !important; }
  .pass { box-shadow: none; border: 2px solid #123650; }
  .pass-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ============================ ADMIN HUB ============================ */
body.admin { font-size: .95rem; }
.hub { min-height: 100vh; }
.hub-side { display: none; }
.hub-main { padding: 0 1rem 6.5rem; max-width: 1240px; margin: 0 auto; }
.hub-top { display: flex; align-items: center; gap: .75rem; padding: 1rem 0 .4rem; }
.hub-top .ico-box { background: var(--navy); color: var(--turq); width: 2.5rem; height: 2.5rem; border-radius: 12px; }
.hub-top h1 { font-size: 1.35rem; margin: 0; line-height: 1.1; }
.hub-top .sub { color: var(--soft); font-size: .82rem; }
.hub-top .actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: .45rem .35rem calc(.45rem + env(safe-area-inset-bottom)); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .7rem; font-weight: 600; color: var(--soft); text-decoration: none; padding: .5rem .55rem; border-radius: 14px; }
.bottom-nav a .ic { width: 1.35rem; height: 1.35rem; }
.bottom-nav a.active { background: var(--turq); color: var(--navy); font-weight: 800; }
@media (min-width: 992px) {
  .hub { display: grid; grid-template-columns: 250px 1fr; }
  .hub-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: var(--navy); color: #fff; padding: 1.3rem .9rem; overflow-y: auto; }
  .hub-side .brandline { display: flex; align-items: center; gap: .6rem; padding: 0 .5rem 1.3rem; color: #fff; text-decoration: none; }
  .hub-side .brandline .brand-mark { background: var(--turq); } .hub-side .brandline .brand-mark .ic { color: var(--navy); }
  .hub-side .brandline small { color: rgba(255,255,255,.6); }
  .hub-side .grp { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 1rem .7rem .35rem; }
  .hub-side a.nl { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 12px; color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; }
  .hub-side a.nl:hover { background: rgba(255,255,255,.07); color: #fff; }
  .hub-side a.nl.active { background: var(--turq); color: var(--navy); font-weight: 800; }
  .hub-side .me { margin-top: auto; padding: 1rem .5rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
  .hub-side .me a { color: #fff; }
  .bottom-nav { display: none; }
  .hub-main { padding: 0 2rem 3rem; width: 100%; }
  .hub-top { padding: 1.6rem 0 .6rem; }
  .hub-top .ico-box { display: none; }
  .hub-top h1 { font-size: 1.7rem; }
}
.hub-main .card { border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.hub-main .card-body { padding: 1.2rem 1.3rem; }
.hub-main .table { --bs-table-bg: transparent; margin-bottom: 0; }
.hub-main .table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); font-weight: 700; border-bottom-color: var(--line); }
.hub-main .table td { border-color: var(--line); }
.admin .form-control, .admin .form-select { border-width: 1.5px; padding: .5rem .75rem; border-radius: 12px; font-size: .92rem; }
.admin .form-select { padding-right: 2rem; }
.admin .form-control-sm, .admin .form-select-sm { padding: .3rem .55rem; font-size: .85rem; border-radius: 10px; }
.admin .form-select-sm { padding-right: 1.8rem; }
.admin .alert { border: 0; border-radius: 16px; font-weight: 600; }
.stat { background: #fff; border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow); height: 100%; }
.stat .n { font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -.03em; }
.stat .l { font-weight: 600; color: var(--soft); font-size: .78rem; margin-top: .3rem; }
.table-apps td, .table-apps th { vertical-align: middle; }
.table-apps .name { font-weight: 700; }
.bulkbar { position: sticky; bottom: 4.6rem; background: #fff; border-top: 1px solid var(--line); padding: .7rem 1rem; z-index: 10; border-radius: 0 0 var(--r) var(--r); }
@media (min-width: 992px) { .bulkbar { bottom: 0; } }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (min-width: 768px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.series-row { display: grid; grid-template-columns: 1fr; gap: .4rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.series-row:last-child { border-bottom: 0; }
@media (min-width: 768px) { .series-row { grid-template-columns: 2.2fr 1fr 2fr; align-items: center; gap: 1rem; } }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--navy); padding: 1rem; }
.login-card { background: var(--cream); border-radius: 26px; padding: 2rem; width: 100%; max-width: 420px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.login-card .brand-mark { background: var(--turq); } .login-card .brand-mark .ic { color: var(--navy); }

/* check-in (dark) */
body.checkin-body { background: var(--navy); }
body.checkin-body .hub-top h1, body.checkin-body .hub-top .sub { color: #fff; }
body.checkin-body .hub-top .sub { opacity: .7; }
.checkin-wrap { max-width: 560px; margin: 0 auto; }
#reader { width: 100%; border-radius: 20px; overflow: hidden; background: #000; min-height: 240px; }
#reader video { border-radius: 20px; }
.result-card { border-radius: 22px; padding: 1.2rem; margin-top: 1rem; color: var(--navy); background: #fff; display: none; }
.result-card.show { display: block; }
.result-card.ok { background: var(--tile-green); border: 4px solid #1f9d4b; }
.result-card.valid { background: #EAF3FF; border: 4px solid var(--blue); }
.result-card.warn { background: #FFF1D6; border: 4px solid #e0a020; }
.result-card.bad { background: var(--tile-red); border: 4px solid #c62828; }
.result-card .big { font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.result-card .who { font-size: 1.3rem; font-weight: 800; margin-top: .4rem; }
.checkin-counts { color: #fff; font-weight: 800; }
.card { --bs-card-bg: #fff; --bs-card-border-color: transparent; }
.hub-main .card, .card-ttt { background: #fff; }
a.chip, a.chip:hover { text-decoration: none; } a.stat, a .stat { color: var(--ink); }
@media (min-width: 992px) { .stick { position: sticky; top: 5.5rem; } }
/* form-only mode */
body.bare main { padding-top: 1rem; }
.poster { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.form-intro { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.bare-foot { text-align: center; font-size: .82rem; color: var(--soft); padding: 1.5rem 0 2rem; }
.bare-foot a { color: var(--soft); }
.form-intro h1, .hub-main h1 { font-weight: 800; }
.minw-220 { min-width: 220px; }
.btn-group .btn { border-radius: 0; padding: .3rem .7rem; font-weight: 600; }
.btn-group .btn:first-of-type { border-radius: 999px 0 0 999px; } .btn-group .btn:last-of-type { border-radius: 0 999px 999px 0; }
.btn-check:checked + .btn-outline-secondary { background: var(--navy); border-color: var(--navy); color: #fff; }

/* breathing room: text never sits on the edge of a coloured box */
.alert { padding: .95rem 1.2rem; border-radius: 14px; }
.alert.small { padding: .8rem 1.05rem; }
.card-body { padding: 1.25rem 1.35rem; }
.table > :not(caption) > * > * { padding: .6rem .65rem; }
.table-sm > :not(caption) > * > * { padding: .45rem .55rem; }
.form-text { margin-top: .4rem; }
.bottom-nav { gap: .25rem; padding-left: .4rem; padding-right: .4rem; }
.badge { padding: .38em .7em; }
.thumb { place-items: center; }
.received-logo { width: 100%; max-width: 340px; height: auto; display: block; margin-left: auto; margin-right: auto; }