/* ============================================================
   Conference App — mobile-first PWA styles
   Theme colours are injected from config/conference.json via
   CSS custom properties on :root (see js/app.js applyBranding).
   ============================================================ */

:root {
  --c-primary: #00A0BD;
  --c-primary-dark: #00798F;
  --c-accent: #FCC100;
  --c-highlight: #E55A2D;
  --c-dark: #172737;
  --c-bg: #F4F7F8;
  --c-card: #FFFFFF;
  --c-text: #1d2b36;
  --c-text-soft: #5b6b77;
  --c-line: #e3e9ec;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(23, 39, 55, .08), 0 4px 14px rgba(23, 39, 55, .06);
  --header-h: 56px;
  --tabbar-h: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

html { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100%;
  line-height: 1.5;
  overscroll-behavior-y: none;
}

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; }
a { color: var(--c-primary-dark); }

/* ---------- Header ---------- */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: var(--c-dark);
  color: #fff;
  padding-top: var(--safe-top);
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.app-header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  max-width: 860px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell-btn { position: relative; padding: 8px; border-radius: 50%; color: #fff; }
.bell-btn:active { background: rgba(255,255,255,.12); }
.bell-badge {
  position: absolute; top: 2px; right: 0;
  background: var(--c-highlight); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-dark);
}

/* News ticker under header */
.ticker { display: flex; align-items: stretch; background: var(--c-accent); color: var(--c-dark); }
.ticker-inner {
  flex: 1; text-align: left; font-size: 13.5px; font-weight: 600;
  padding: 8px 4px 8px 14px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ticker-close { padding: 0 14px; font-size: 20px; font-weight: 700; }

/* ---------- Layout ---------- */
.view {
  max-width: 860px; margin: 0 auto;
  padding: calc(var(--header-h) + var(--safe-top) + 14px) 14px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);
  outline: none;
}
body.has-ticker .view { padding-top: calc(var(--header-h) + var(--safe-top) + 52px); }

.section-title { font-size: 20px; font-weight: 800; color: var(--c-dark); margin: 22px 0 10px; }
.section-title:first-child { margin-top: 4px; }
.section-sub { color: var(--c-text-soft); font-size: 14px; margin: -6px 0 12px; }

.card {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px;
}

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--c-line);
  padding-bottom: var(--safe-bottom);
  display: flex; justify-content: space-around;
}
.tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 0 6px; font-size: 11px; font-weight: 600; color: var(--c-text-soft);
  max-width: 120px;
}
.tabbar .tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .tab.active { color: var(--c-primary-dark); }
.tabbar .tab.active svg { stroke-width: 2.3; }

/* ---------- Home ---------- */
.hero {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 14px;
  background: var(--c-dark); color: #fff;
  min-height: 190px; display: flex; align-items: flex-end;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .85; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,39,55,.15) 0%, rgba(23,39,55,.5) 55%, rgba(23,39,55,.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 18px 16px 16px; width: 100%; }
.hero-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.hero-title { font-size: 30px; font-weight: 800; line-height: 1.1; margin: 2px 0 6px; }
.hero-meta { font-size: 14px; opacity: .95; display: flex; flex-wrap: wrap; gap: 4px 14px; }

.countdown-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-accent); color: var(--c-dark);
  font-weight: 700; font-size: 13px; border-radius: 999px;
  padding: 5px 12px; margin-top: 10px;
}

.nownext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 2px; }
.nownext .card { margin-bottom: 0; padding: 13px 14px; border-top: 4px solid var(--c-primary); }
.nownext .card.next { border-top-color: var(--c-accent); }
.nn-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-soft); }
.nn-title { font-weight: 700; font-size: 14.5px; line-height: 1.3; margin: 3px 0 2px; color: var(--c-dark); }
.nn-meta { font-size: 12.5px; color: var(--c-text-soft); }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-tile {
  background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--c-dark); text-align: center;
}
.quick-tile:active { transform: scale(.97); }
.quick-tile .qicon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.quick-tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.verse-card { background: var(--c-primary); color: #fff; border: none; }
.verse-card .verse { font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.verse-card .verse-ref { margin-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

.news-preview-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); align-items: flex-start; }
.news-preview-item:last-child { border-bottom: none; padding-bottom: 2px; }
.link-row { color: var(--c-primary-dark); font-weight: 700; font-size: 14px; padding: 8px 0 0; display: inline-block; }

/* ---------- Schedule ---------- */
.day-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px;
  position: sticky; top: calc(var(--header-h) + var(--safe-top)); z-index: 5;
  background: var(--c-bg); scrollbar-width: none;
}
body.has-ticker .day-tabs { top: calc(var(--header-h) + var(--safe-top) + 38px); }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab {
  flex: 0 0 auto; border-radius: 12px; padding: 7px 14px 6px;
  background: #fff; box-shadow: var(--shadow); text-align: center;
  border: 2px solid transparent; color: var(--c-text-soft);
}
.day-tab .d-label { display: block; font-size: 14px; font-weight: 800; line-height: 1.1; }
.day-tab .d-date { display: block; font-size: 11px; font-weight: 600; }
.day-tab.active { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.day-tab.today:not(.active) { border-color: var(--c-accent); }

.filter-row { display: flex; gap: 8px; margin: 2px 0 12px; flex-wrap: wrap; }
.filter-chip {
  border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 700;
  background: #fff; color: var(--c-text-soft); box-shadow: var(--shadow);
}
.filter-chip.active { background: var(--c-primary); color: #fff; }

.day-heading { font-size: 16px; font-weight: 800; color: var(--c-dark); margin: 4px 0 10px; }

.event-row {
  display: flex; gap: 12px; width: 100%; text-align: left;
  background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 14px; margin-bottom: 9px; position: relative; overflow: hidden;
  align-items: flex-start;
}
.event-row:active { transform: scale(.99); }
.event-row .accent { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.event-time { flex: 0 0 52px; text-align: right; padding-top: 1px; }
.event-time .t-start { font-weight: 800; font-size: 14px; color: var(--c-dark); display: block; line-height: 1.2; }
.event-time .t-end { font-size: 11.5px; color: var(--c-text-soft); }
.event-main { flex: 1; min-width: 0; }
.event-title { font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--c-dark); }
.event-meta { font-size: 12.5px; color: var(--c-text-soft); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
.event-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  border-radius: 6px; padding: 1.5px 7px; color: #fff; margin-top: 5px;
}
.event-row.now-live { outline: 2px solid var(--c-accent); }
.live-dot {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800;
  color: var(--c-highlight); text-transform: uppercase; letter-spacing: .06em;
}
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-highlight); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Speakers ---------- */
.speaker-card {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; margin-bottom: 10px;
}
.speaker-card:active { transform: scale(.99); }
.avatar {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 19px; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker-name { font-weight: 800; font-size: 15.5px; color: var(--c-dark); }
.speaker-role { font-size: 13px; color: var(--c-text-soft); margin-top: 1px; }
.chev { margin-left: auto; color: var(--c-line); flex: 0 0 auto; }

/* ---------- Map ---------- */
.map-card { padding: 0; overflow: hidden; }
.map-card img { display: block; width: 100%; }
.map-card .map-cap { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.map-cap .cap-title { font-weight: 800; color: var(--c-dark); font-size: 15px; }
.map-cap .cap-sub { font-size: 12.5px; color: var(--c-text-soft); }
.map-cap .expand { color: var(--c-primary-dark); font-weight: 700; font-size: 13px; flex: 0 0 auto; }

.loc-item { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.loc-item:last-child { border-bottom: none; }
.loc-name { font-weight: 700; font-size: 14.5px; color: var(--c-dark); }
.loc-desc { font-size: 13px; color: var(--c-text-soft); }

/* ---------- More / lists ---------- */
.menu-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 15px 16px; margin-bottom: 10px; font-weight: 700; font-size: 15px; color: var(--c-dark);
}
.menu-item:active { transform: scale(.99); }
.menu-item .qicon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.menu-item .qicon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-item .mi-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--c-text-soft); }

.back-row { display: inline-flex; align-items: center; gap: 6px; color: var(--c-primary-dark); font-weight: 700; font-size: 14px; margin-bottom: 12px; }

/* Accordion (info page) */
.acc-item { background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.acc-head { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--c-dark); }
.acc-head .qicon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.acc-head .qicon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acc-head .acc-arrow { margin-left: auto; transition: transform .2s; color: var(--c-text-soft); }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 16px 15px 64px; color: var(--c-text); font-size: 14px; white-space: pre-line; }
.acc-item.open .acc-body { display: block; }

/* ---------- Recordings ---------- */
.rec-card { padding: 14px 16px; }
.rec-title { font-weight: 700; font-size: 14.5px; color: var(--c-dark); }
.rec-meta { font-size: 12.5px; color: var(--c-text-soft); margin: 2px 0 8px; }
.rec-card audio { width: 100%; height: 40px; }
.rec-card video { width: 100%; border-radius: 10px; background: #000; }
.rec-card .news-embed { border-radius: 10px; overflow: hidden; }
.drive-audio { width: 100%; height: 110px; border: 0; border-radius: 10px; background: var(--c-bg); }
.rec-soon {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--c-bg); color: var(--c-text-soft); border-radius: 6px; padding: 3px 9px;
}
.note-box {
  background: color-mix(in srgb, var(--c-primary) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c-primary) 30%, #fff);
  color: var(--c-primary-dark); border-radius: var(--radius); padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px;
}

/* ---------- Feedback form ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 700; font-size: 14px; color: var(--c-dark); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 1.5px solid var(--c-line); border-radius: 10px;
  padding: 11px 12px; font: inherit; background: #fff; color: var(--c-text);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); }
.stars { display: flex; gap: 6px; }
.star-btn { font-size: 30px; line-height: 1; color: #d4dde2; padding: 2px; }
.star-btn.on { color: var(--c-accent); }
.aspect-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--c-line); }
.aspect-row:last-child { border-bottom: none; }
.aspect-label { font-size: 14px; font-weight: 600; color: var(--c-dark); flex: 1; }
.aspect-row .stars { gap: 3px; }
.aspect-row .star-btn { font-size: 24px; }
.btn-primary {
  display: block; width: 100%; text-align: center;
  background: var(--c-primary); color: #fff; font-weight: 800; font-size: 16px;
  border-radius: 12px; padding: 14px; box-shadow: var(--shadow);
}
.btn-primary:active { background: var(--c-primary-dark); }
.btn-primary[disabled] { opacity: .6; }
.success-box { text-align: center; padding: 30px 16px; }
.success-box .big { font-size: 44px; }
.success-box h3 { color: var(--c-dark); margin: 8px 0 6px; }
.success-box p { color: var(--c-text-soft); font-size: 14px; }

/* ---------- News panel ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(16, 26, 36, .45); z-index: 60; }
.news-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(400px, 92vw); background: var(--c-bg);
  box-shadow: -8px 0 30px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
  padding-top: var(--safe-top);
  animation: slide-in .22s ease;
}
@keyframes slide-in { from { transform: translateX(30%); opacity: 0; } to { transform: none; opacity: 1; } }
.news-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.news-head h2 { font-size: 19px; color: var(--c-dark); }
.news-list { overflow-y: auto; padding: 0 14px calc(18px + var(--safe-bottom)); flex: 1; }
.news-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 15px; margin-bottom: 10px; position: relative; overflow: hidden; }
.news-item .accent { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.news-item.unread::after { content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-highlight); }
.news-cat {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 6px; padding: 2px 8px; color: #fff; margin-bottom: 6px;
}
.news-title { font-weight: 800; font-size: 15px; color: var(--c-dark); line-height: 1.3; }
.news-time { font-size: 11.5px; color: var(--c-text-soft); margin: 3px 0 6px; }
.news-body { font-size: 13.5px; color: var(--c-text); white-space: pre-line; }
.news-empty { text-align: center; color: var(--c-text-soft); padding: 40px 20px; font-size: 14px; }

/* ---------- News page ---------- */
.news-page-card { padding: 0; overflow: hidden; position: relative; max-width: 640px; }
.news-page-card .accent { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 1; }
.news-page-card.unread::after { content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-highlight); z-index: 1; }
.news-media { width: 100%; display: block; max-height: 360px; object-fit: cover; }
.news-video { background: #000; object-fit: contain; }
.news-embed { position: relative; padding-top: 56.25%; background: #000; }
.news-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.npc-body { padding: 14px 16px 16px 20px; }
.news-linkbtn {
  display: inline-block; margin-top: 12px;
  background: var(--c-primary); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 10px;
}
.news-linkbtn:active { background: var(--c-primary-dark); }

/* ---------- Bottom sheet ---------- */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  background: #fff; border-radius: 20px 20px 0 0;
  max-height: 82vh; overflow-y: auto;
  padding: 10px 18px calc(24px + var(--safe-bottom));
  max-width: 640px; margin: 0 auto;
  animation: rise .22s ease;
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
}
@keyframes rise { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 40px; height: 4px; background: var(--c-line); border-radius: 2px; margin: 4px auto 10px; }
.sheet-close { position: absolute; top: 12px; right: 12px; }
.close-btn {
  width: 32px; height: 32px; border-radius: 50%; background: var(--c-bg);
  color: var(--c-text-soft); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.sheet .event-badge { margin: 0 0 8px; }
.sheet h2 { font-size: 20px; color: var(--c-dark); line-height: 1.25; margin-bottom: 6px; padding-right: 30px; }
.sheet .meta-line { display: flex; align-items: center; gap: 8px; color: var(--c-text-soft); font-size: 14px; margin: 3px 0; }
.sheet .meta-line svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: 0 0 auto; }
.sheet .desc { margin-top: 12px; font-size: 14.5px; white-space: pre-line; }
.sheet .speaker-card { box-shadow: none; background: var(--c-bg); }
.sheet .sub-head { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--c-text-soft); margin: 16px 0 8px; }

/* ---------- Image viewer ---------- */
.img-viewer { position: fixed; inset: 0; z-index: 70; background: #101a24; display: flex; flex-direction: column; }
.img-viewer-close { position: absolute; top: calc(var(--safe-top) + 12px); right: 14px; z-index: 2; background: rgba(255,255,255,.15); color: #fff; }
.img-viewer-stage { flex: 1; overflow: hidden; touch-action: none; position: relative; }
.img-viewer-stage img { position: absolute; top: 0; left: 0; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; max-width: none; }
.img-viewer-hint { text-align: center; color: rgba(255,255,255,.55); font-size: 12px; padding: 8px 0 calc(10px + var(--safe-bottom)); }

/* ---------- Inline icons ---------- */
.ico-line { display: inline-flex; align-items: center; gap: 5px; }
.ico-line svg { flex: 0 0 auto; }
.ticker-inner svg { vertical-align: -3px; margin-right: 6px; }
.news-cat svg { vertical-align: -2px; }
.note-box svg { vertical-align: -3px; }
.countdown-chip svg { flex: 0 0 auto; }
.empty-state .big svg, .success-box .big svg { display: inline-block; }
.rec-title .ico-line svg { vertical-align: -3px; }

/* ---------- Toasts ---------- */
.toast-wrap { position: fixed; top: calc(var(--header-h) + var(--safe-top) + 8px); left: 0; right: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.toast {
  pointer-events: auto; background: var(--c-dark); color: #fff;
  border-left: 4px solid var(--c-accent);
  border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.3);
  padding: 12px 16px; font-size: 13.5px; max-width: 480px; width: 100%;
  display: flex; gap: 10px; align-items: flex-start;
  animation: rise .25s ease;
}
.toast b { display: block; font-size: 14px; }
.toast .t-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; color: var(--c-text-soft); padding: 40px 20px; }
.empty-state .big { font-size: 40px; margin-bottom: 8px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.contact-row:last-child { border-bottom: none; }
.contact-row .c-label { color: var(--c-text-soft); }
.contact-row a { font-weight: 700; white-space: nowrap; }

@media (min-width: 640px) {
  .quick-grid { grid-template-columns: repeat(6, 1fr); }
  .nownext { max-width: 640px; }
  .hero { min-height: 240px; }
  .hero-title { font-size: 36px; }
}
