/* ============================================================
   BULLETIN v1 (2026-10-14) — a decision desk for topic opportunities + announcements.
   Layout: full-bleed hero (title, search, actions, stat chips) · pinned announcement ·
   [topic cards grouped by day | insight rail]. Scoped to .blt-page.
   Day groups are <table>/<tr> rendered as cards (UI tests find topics by `tr`).
   ============================================================ */
.blt-page {
  --b-ink: #0B1F17; --b-ink-2: #2F3B36; --b-muted: #61706A; --b-faint: #98A39E;
  --b-line: #E4E4DE; --b-line-2: #ECEDE8; --b-soft: #EFF2F1; --b-tint: #F8FAF9; --b-em: #00734A; --b-em-2: #059669;
  --b-violet: #7C3AED; --b-radius: 16px;
  --b-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -22px rgba(16, 24, 40, .28);
  --b-pop: 0 24px 56px -20px rgba(15, 23, 42, .38), 0 2px 6px rgba(15, 23, 42, .06);
  position: relative; color: var(--b-ink);
}
.blt-page svg.lucide { width: 15px; height: 15px; flex: 0 0 auto; }
.blt-page [hidden] { display: none !important; }
.blt-page button:focus-visible, .blt-page a:focus-visible, .blt-page .blt-card:focus-visible { outline: 2px solid var(--b-em-2); outline-offset: 2px; }

/* ── Hero band (same family as the Dashboard / Profile bands) ──
   Solid themed band touching the header and both sides of the content area; the cards
   below are pulled up 44px so they sit on the band's lower edge (no white gap). */
.blt-page .blt-hero {
  --gl: max(var(--page-gutter, 24px), env(safe-area-inset-left, 0px));
  --gr: max(var(--page-gutter, 24px), env(safe-area-inset-right, 0px));
  position: relative; isolation: isolate; overflow: hidden; justify-self: stretch; min-width: 0;
  margin: calc(-1 * var(--page-gutter, 24px)) calc(-1 * var(--gr)) 0 calc(-1 * var(--gl));
  padding: 16px var(--gr) 60px var(--gl);
  border-bottom: 1px solid #D3E7DB;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(11, 143, 90, .17), transparent 68%),
    radial-gradient(420px 200px at 58% -20%, rgba(245, 158, 11, .13), transparent 70%),
    radial-gradient(520px 260px at 92% 0%, rgba(99, 102, 241, .11), transparent 66%),
    radial-gradient(460px 220px at 70% 120%, rgba(45, 212, 191, .12), transparent 70%),
    linear-gradient(112deg, #E3F3EA 0%, #EEF8F2 46%, #EAF2FB 100%);
}
.blt-page .blt-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(11, 143, 90, .16) 1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); opacity: .55;
}
.blt-page .blt-hero::after {
  content: ""; position: absolute; right: -90px; top: -150px; z-index: -1; width: 360px; height: 360px; pointer-events: none;
  border-radius: 50%; border: 44px solid rgba(11, 143, 90, .05);
}
.blt-page .blt-hero > *, .blt-page > #blt-pinned, .blt-page > .blt-layout { width: 100%; max-width: 1480px; margin-left: auto; margin-right: auto; }
.blt-page > #blt-pinned:empty { display: none; }
.blt-page > #blt-pinned:not(:empty), .blt-page > #blt-pinned:empty + .blt-layout { position: relative; z-index: 1; margin-top: -44px; }
.blt-page .blt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; margin-bottom: 12px; }
.blt-page .blt-intro { min-width: 0; }
.blt-page .blt-head h1 { margin: 0; font-size: 30px; letter-spacing: -.025em; line-height: 1.1; }
.blt-page .blt-head p { max-width: 560px; margin: 3px 0 0; color: var(--b-muted); font-size: 13.5px; }
.blt-page .blt-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.blt-page .blt-acts .btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-height: 0; }
.blt-page .blt-search { position: relative; display: flex; align-items: center; }
.blt-page .blt-search svg { position: absolute; z-index: 1; left: 11px; color: var(--b-faint); pointer-events: none; }
.blt-page .blt-search input { width: 250px; height: 38px; min-height: 0; padding: 0 12px 0 34px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 10px; background: rgba(255, 255, 255, .82); font: inherit; font-size: 13px; }
.blt-page .blt-search input:focus { outline: none; border-color: var(--b-em-2); box-shadow: 0 0 0 3px rgba(5, 150, 105, .14); background: #fff; }
.blt-page .blt-stats { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; min-height: 34px; }
.blt-page .blt-stat { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 5px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 999px; background: rgba(255, 255, 255, .78); color: var(--b-muted); font: inherit; font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.blt-page .blt-stat:hover { background: #fff; color: var(--b-ink); border-color: #C9DED4; }
.blt-page .blt-stat b { color: var(--b-ink); font-size: 14.5px; font-weight: 750; font-variant-numeric: tabular-nums; }
.blt-page .blt-stat-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--b-soft); color: var(--b-ink-2); }
.blt-page .blt-stat-ic svg { width: 13px; height: 13px; }
.blt-page .blt-stat.is-amber .blt-stat-ic { background: #FFFBEB; color: #B45309; }
.blt-page .blt-stat.is-rose .blt-stat-ic { background: #FFF1F2; color: #BE123C; }
.blt-page .blt-stat.is-blue .blt-stat-ic { background: #E0F2FE; color: #0369A1; }
.blt-page .blt-stat.is-green .blt-stat-ic { background: #ECFDF5; color: #047857; }
.blt-page .blt-stat.is-violet .blt-stat-ic { background: #F5F3FF; color: #6D28D9; }

/* ── Pinned announcement ───────────────────────────────────── */
.blt-page .blt-pin { display: flex; margin-bottom: 0; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #DDD6FE; border-radius: 14px; background: linear-gradient(90deg, #F5F3FF, #fff 70%); box-shadow: 0 10px 26px -20px rgba(76, 29, 149, .5); }
.blt-page .blt-pin-ic { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--b-violet); color: #fff; }
.blt-page .blt-pin-ic svg { width: 18px; height: 18px; }
.blt-page .blt-pin-main { flex: 1; min-width: 0; }
.blt-page .blt-pin-main p { margin: 0; }
.blt-page .blt-pin-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.blt-page .blt-pin-title em { padding: 2px 8px; border-radius: 999px; background: #EDE9FE; color: #6D28D9; font-size: 11px; font-style: normal; font-weight: 700; }
.blt-page .blt-pin-text { margin-top: 2px !important; color: #4C4566; font-size: 12.5px; }
.blt-page .blt-pin-meta { margin-top: 2px !important; color: var(--b-faint); font-size: 11.5px; }
.blt-page .blt-pin-acts { display: flex; flex: 0 0 auto; gap: 8px; }
.blt-page .blt-pin-acts .btn { display: inline-flex; align-items: center; gap: 6px; }

/* ── Layout ────────────────────────────────────────────────── */
.blt-page .blt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.blt-page .blt-main { min-width: 0; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: #fff; box-shadow: var(--b-shadow); }
.blt-page .blt-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; position: sticky; top: calc(var(--header-height, 56px) + 16px); }

/* toolbar */
.blt-page .blt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-bottom: 1px solid var(--b-line-2); }
.blt-page .blt-tabs { display: inline-flex; gap: 2px; max-width: 100%; min-width: 0; padding: 3px; overflow-x: auto; border-radius: 11px; background: var(--b-soft); scrollbar-width: none; }
.blt-page .blt-tabs::-webkit-scrollbar { display: none; }
.blt-page .blt-tabs button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: 8px; background: none; color: var(--b-muted); font: inherit; font-size: 12.5px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.blt-page .blt-tabs button:hover { color: var(--b-ink); }
.blt-page .blt-tabs button.is-on { background: #fff; color: var(--b-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.blt-page .blt-tabs em { padding: 0 6px; border-radius: 999px; background: #E2E8F0; color: #475569; font-size: 10.5px; font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; }
.blt-page .blt-tabs em:empty { display: none; }
.blt-page .blt-tabs button.is-on em { background: #FFEDD5; color: #C2410C; }
.blt-page .blt-sort, .blt-page .blt-pick { position: relative; display: inline-flex; align-items: center; }
.blt-page .blt-sort { margin-left: auto; }
.blt-page .blt-sort svg, .blt-page .blt-pick svg { position: absolute; left: 10px; color: var(--b-muted); pointer-events: none; }
.blt-page .blt-sort select, .blt-page .blt-pick select { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 32px; min-height: 0; padding: 0 28px 0 32px; border: 1px solid var(--b-line); border-radius: 9px; background-color: #fff; color: var(--b-ink-2); font: inherit; font-size: 12.5px; font-weight: 600; }
.blt-page .blt-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--b-line-2); background: #FCFDFC; }
.blt-page .blt-sub.is-ann .blt-seg, .blt-page .blt-sub.is-ann .blt-pick { display: none; }
.blt-page .blt-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--b-soft); }
.blt-page .blt-seg button { height: 26px; padding: 0 9px; border: 0; border-radius: 7px; background: none; color: var(--b-muted); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.blt-page .blt-seg button.is-on { background: #fff; color: var(--b-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.blt-page .blt-count { margin-left: auto; color: var(--b-faint); font-size: 12px; font-weight: 600; }

/* ── Day groups + cards ────────────────────────────────────── */
.blt-page #bulletin-list { padding: 2px 12px 12px; border-radius: 0 0 var(--b-radius) var(--b-radius); background: linear-gradient(180deg, #F7FAF8, #F3F6F4); }
.blt-page .blt-loading { padding: 24px 0; }
.blt-page .blt-dh { display: flex; align-items: baseline; gap: 8px; margin: 10px 2px 6px; }
.blt-page .blt-dh b { font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--b-ink-2); }
.blt-page .blt-dh span { color: var(--b-faint); font-size: 12px; font-weight: 600; }
.blt-page .blt-dh.is-today b { color: #C2410C; }
.blt-page table.blt-cards, .blt-page table.blt-cards tbody { display: block; width: 100%; border: 0; }
.blt-page table.blt-cards tbody { display: grid; gap: 6px; }
.blt-page tr.blt-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px 10px 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); border: 1px solid var(--b-line); border-radius: 13px; background: #fff; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; }
.blt-page tr.blt-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--p); }
.blt-page tr.blt-card:hover { border-color: #D9CBB4; box-shadow: 0 10px 24px -20px rgba(120, 72, 10, .45); }
.blt-page tr.blt-card td { display: block; min-width: 0; padding: 0; border: 0; }
.blt-page .blt-topic { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
.blt-page .blt-proposed { margin-top: 1px; color: var(--b-muted); font-size: 12px; overflow-wrap: anywhere; }
.blt-page .blt-summary { margin-top: 4px; color: var(--b-ink-2); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.blt-page .blt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 7px; }
.blt-page .blt-ch { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 20px; padding: 0 7px; overflow: hidden; text-overflow: ellipsis; border-radius: 999px; background: var(--b-soft); color: #475569; font-size: 11px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.blt-page .blt-ch svg { width: 11px; height: 11px; }
.blt-page .blt-ch--p-urgent { background: #FFF1F2; color: #BE123C; }
.blt-page .blt-ch--p-high { background: #FFF7ED; color: #C2410C; }
.blt-page .blt-ch--p-low { background: #F8FAFC; color: #94A3B8; }
.blt-page .blt-ch--cat { background: #ECFDF5; color: #047857; }
.blt-page .blt-ch--kw { border: 1px solid var(--b-line); background: #fff; }
.blt-page .blt-ch--ts { background: #EEF2FF; color: #4338CA; }
.blt-page .blt-ch--t1 { background: #ECFDF5; color: #047857; }
.blt-page .blt-ch--fresh { background: #FFFBEB; color: #B45309; }
.blt-page .blt-ch--warn { background: #FFF1F2; color: #BE123C; }
.blt-page .blt-ch--ok { background: #ECFDF5; color: #047857; }
.blt-page .blt-ch--ann { background: #F5F3FF; color: #6D28D9; }
.blt-page .blt-ch--reads { background: #F5F3FF; color: #5B21B6; }
.blt-page a.blt-ch--link { border: 1px solid var(--b-line); background: #fff; color: var(--b-em); }
.blt-page a.blt-ch--link:hover { background: var(--b-tint); }
.blt-page .blt-who { display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; color: var(--b-muted); font-size: 11.5px; }
.blt-page .blt-av { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #DBEAFE; color: #1E40AF; font-size: 9px; font-weight: 800; }
.blt-page .blt-statusline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--b-line-2); font-size: 12px; }
.blt-page .blt-status { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--b-soft); color: #475569; font-size: 11px; font-weight: 750; text-transform: capitalize; }
.blt-page .blt-status--converted { background: #ECFDF5; color: #047857; }
.blt-page .blt-status--declined { background: #FFF1F2; color: #BE123C; }
.blt-page .blt-status--expired { background: #F1F5F9; color: #64748B; }
.blt-page .blt-joblink { display: inline-flex; align-items: center; gap: 4px; color: var(--b-em); font-weight: 650; text-decoration: none; }
.blt-page .blt-joblink:hover { text-decoration: underline; }
.blt-page .blt-reason { color: var(--b-muted); }
.blt-page .blt-c-side { display: flex !important; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
.blt-page .blt-age { color: var(--b-faint); font-size: 11px; font-weight: 600; white-space: nowrap; }
.blt-page .blt-c-acts { display: flex; align-items: center; gap: 6px; }
.blt-page .blt-c-acts .btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; min-height: 0; padding: 0 11px; font-size: 12.5px; }
.blt-page .blt-ib { display: grid; place-items: center; width: 32px; height: 32px; min-height: 0; padding: 0; border: 1px solid var(--b-line); border-radius: 9px; background: #fff; color: var(--b-muted); cursor: pointer; }
.blt-page .blt-ib:hover { background: var(--b-tint); color: var(--b-ink); }
.blt-page tr.blt-card--ann { background: linear-gradient(90deg, #FBFAFF, #fff 60%); }
.blt-page .blt-more { display: flex; justify-content: center; padding: 8px 0 2px; }
.blt-page .blt-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 16px; color: var(--b-muted); text-align: center; }
.blt-page .blt-empty svg.lucide { width: 30px; height: 30px; color: var(--b-faint); }
.blt-page .blt-empty p { display: grid; gap: 4px; margin: 0; }
.blt-page .blt-empty b { color: var(--b-ink-2); font-size: 14px; }

/* ── Rail ─────────────────────────────────────────────────── */
.blt-page .blt-rc { padding: 12px 14px; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: #fff; box-shadow: var(--b-shadow); }
.blt-page .blt-rc header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.blt-page .blt-rc h2 { margin: 0; font-size: 13.5px; font-weight: 750; }
.blt-page .blt-rc header button { padding: 0; border: 0; background: none; color: var(--b-em); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.blt-page .blt-rail-empty { margin: 0; color: var(--b-faint); font-size: 12px; }
.blt-page .blt-rail-sub { margin: 0; color: var(--b-faint); font-size: 11.5px; font-weight: 600; }
.blt-page .blt-an { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 8px 0; border: 0; border-top: 1px solid var(--b-soft); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.blt-page .blt-an:first-child { border-top: 0; }
.blt-page .blt-an:hover b { color: var(--b-violet); }
.blt-page .blt-an-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F5F3FF; color: #6D28D9; }
.blt-page .blt-an span:nth-child(2) { display: grid; min-width: 0; }
.blt-page .blt-an b { overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.blt-page .blt-an small { color: var(--b-muted); font-size: 11px; }
.blt-page .blt-an em { padding: 1px 7px; border-radius: 999px; background: #EDE9FE; color: #6D28D9; font-size: 10.5px; font-style: normal; font-weight: 750; }
.blt-page .blt-split { display: flex; height: 8px; margin: 6px 0 10px; overflow: hidden; border-radius: 4px; background: var(--b-soft); }
.blt-page .blt-split i { display: block; height: 100%; }
.blt-page .blt-legend, .blt-page .blt-reasons { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.blt-page .blt-legend li { display: flex; align-items: center; gap: 8px; color: var(--b-ink-2); }
.blt-page .blt-legend s { display: inline-block; width: 9px; height: 9px; border-radius: 3px; text-decoration: none; }
.blt-page .blt-legend b, .blt-page .blt-reasons b { margin-left: auto; font-variant-numeric: tabular-nums; }
.blt-page .blt-reasons li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
.blt-page .blt-reasons span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.blt-page .blt-reasons i { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 3px; background: var(--b-soft); }
.blt-page .blt-reasons i s { display: block; height: 100%; border-radius: 3px; background: #F43F5E; text-decoration: none; }
.blt-page .blt-reasons + .blt-rail-sub { margin-top: 8px; }

/* ── ⋯ menu ───────────────────────────────────────────────── */
.blt-page .blt-menu { position: absolute; z-index: 60; display: grid; width: 200px; padding: 6px; border: 1px solid var(--b-line); border-radius: 12px; background: #fff; box-shadow: var(--b-pop); }
.blt-page .blt-menu button, .blt-page .blt-menu a { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--b-ink-2); font: inherit; font-size: 13px; text-align: left; text-decoration: none; cursor: pointer; }
.blt-page .blt-menu button:hover, .blt-page .blt-menu a:hover { background: var(--b-tint); }
.blt-page .blt-menu .is-danger { color: #BE123C; }
.blt-drawer .btn.blt-danger-quiet { color: #BE123C; }
.blt-drawer .btn.blt-danger-quiet:hover { background: #FFF1F2; }

/* ── Drawer ───────────────────────────────────────────────── */
.blt-drawer-overlay { position: fixed; inset: 0; z-index: calc(var(--z-overlay, 290) + 10); display: flex; justify-content: flex-end; background: rgba(11, 31, 23, .28); }
.blt-drawer { display: flex; flex-direction: column; width: min(500px, 100%); height: 100%; background: #fff; box-shadow: -20px 0 50px -24px rgba(4, 47, 36, .45); color: #0B1F17; font-size: 13px; animation: blt-in .18s cubic-bezier(.16, 1, .3, 1); }
@keyframes blt-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
/* ── v1.2: compact rows, priority fog, density, time filter ─────────── */
.blt-page .blt-density { margin-left: auto; }
.blt-page .blt-sub .blt-sort { margin-left: 0; }
.blt-page .blt-density button { display: inline-flex; align-items: center; gap: 5px; height: 26px; }
.blt-page .blt-density svg { width: 13px; height: 13px; }
@media (max-width: 1599px) and (min-width: 768px) { .blt-page .blt-density span { display: none; } .blt-page .blt-density button { padding: 0 8px; } }
.blt-page .blt-range { display: inline-flex; align-items: center; gap: 6px; color: var(--b-faint); }
.blt-page .blt-range[hidden], .blt-page .blt-sub.is-ann .blt-range { display: none; }
.blt-page .blt-range input { width: 138px; height: 32px; min-height: 0; padding: 0 8px; border: 1px solid var(--b-line); border-radius: 9px; background: #fff; color: var(--b-ink-2); font: inherit; font-size: 12.5px; }

.blt-page tr.blt-card { padding: 9px 12px 9px 16px; }
.blt-page .blt-c-title { display: flex; align-items: flex-start; gap: 7px; min-width: 0; }
.blt-page .blt-c-title .blt-topic { flex: 1 1 auto; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blt-page .is-detailed .blt-c-title .blt-topic { -webkit-line-clamp: unset; display: block; }
.blt-page .blt-pchip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 3px; height: 19px; margin-top: 1px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 750; letter-spacing: .02em; text-transform: uppercase; }
.blt-page .blt-pchip svg { width: 11px; height: 11px; }
.blt-page tr.blt-card .blt-summary { -webkit-line-clamp: 1; margin-top: 2px; color: var(--b-muted); }
.blt-page.is-detailed tr.blt-card .blt-summary { -webkit-line-clamp: 3; color: var(--b-ink-2); }
.blt-page .blt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; margin-top: 5px; color: var(--b-muted); font-size: 11.5px; font-weight: 600; }
.blt-page .blt-m { display: inline-flex; align-items: center; gap: 4px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
.blt-page .blt-m svg { flex: 0 0 auto; width: 12px; height: 12px; opacity: .75; }
.blt-page .blt-m--cat { padding: 0 7px; border-radius: 999px; background: #ECFDF5; color: #047857; line-height: 19px; }
.blt-page .blt-m--ts { color: #4338CA; }
.blt-page .blt-m--t1 { color: #047857; }
.blt-page .blt-m--warn { color: #BE123C; }
.blt-page a.blt-m--link { color: var(--b-em); }
.blt-page a.blt-m--link:hover { text-decoration: underline; }
.blt-page .blt-meta .blt-who { margin: 0; font-size: 11.5px; }
.blt-page .blt-meta .blt-av { width: 17px; height: 17px; font-size: 8px; }
.blt-page .blt-statusline { margin-top: 5px; padding-top: 5px; }
.blt-page .blt-c-acts .btn.secondary[data-followup] { color: var(--b-em); }

/* priority fog: urgent/high rows carry a soft tint from the left edge, low rows recede */
.blt-page tr.blt-card.is-p-urgent { border-color: #FBD5DC; background: linear-gradient(100deg, #FFF1F3 0%, #FFF8F9 38%, #fff 72%); }
.blt-page tr.blt-card.is-p-high { border-color: #FBE3C4; background: linear-gradient(100deg, #FFF6EA 0%, #FFFBF5 38%, #fff 72%); }
.blt-page tr.blt-card.is-p-urgent:hover { border-color: #F8A9B8; box-shadow: 0 10px 24px -18px rgba(225, 29, 72, .45); }
.blt-page tr.blt-card.is-p-high:hover { border-color: #F7C98D; }
.blt-page tr.blt-card.is-p-low { background: #FBFCFC; }
.blt-page tr.blt-card.is-p-low .blt-topic { color: var(--b-ink-2); font-weight: 650; }
.blt-page tr.blt-card.is-p-urgent::before, .blt-page tr.blt-card.is-p-high::before { top: 8px; bottom: 8px; box-shadow: 0 0 10px var(--p); }
.blt-page .blt-pchip.blt-ch--p-urgent { background: #FFE4E8; color: #BE123C; }
.blt-page .blt-pchip.blt-ch--p-high { background: #FFEDD5; color: #C2410C; }

/* v1.4: deleted view, bulk select, expiry */
.blt-page .blt-tabs button.blt-tab-del { color: #94A3B8; }
.blt-page .blt-tabs button.blt-tab-del svg { width: 13px; height: 13px; }
.blt-page .blt-tabs button.blt-tab-del.is-on { color: #BE123C; }
.blt-page .blt-tabs button[hidden] { display: none; }
.blt-page tr.blt-card--deleted { background: repeating-linear-gradient(135deg, #FAFBFB 0 10px, #F5F7F7 10px 20px); cursor: default; }
.blt-page tr.blt-card--deleted .blt-topic { color: #52605A; text-decoration: line-through; text-decoration-color: rgba(82, 96, 90, .35); }
.blt-page .blt-pchip--del { background: #F1F5F9; color: #64748B; }
.blt-page .blt-pick-box { flex: 0 0 auto; width: 16px; height: 16px; min-height: 0; margin: 2px 2px 0 0; accent-color: #059669; cursor: pointer; }
.blt-page tr.blt-card.is-picked { border-color: #34D399; box-shadow: 0 0 0 2px rgba(16, 185, 129, .18); }
.blt-page .blt-bulk { position: sticky; top: calc(var(--header-height, 56px) + 6px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 12px 0; padding: 8px 10px 8px 14px; border: 1px solid #A7F3D0; border-radius: 12px; background: #ECFDF5; box-shadow: 0 10px 24px -18px rgba(4, 120, 87, .5); font-size: 13px; color: #065F46; }
.blt-page .blt-bulk[hidden] { display: none; }
.blt-page .blt-bulk .blt-linkbtn { padding: 0; border: 0; background: none; color: #047857; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.blt-page .blt-bulk-acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.blt-page .blt-bulk .btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; min-height: 0; padding: 0 11px; font-size: 12.5px; }
.blt-page .blt-bulk .btn svg { width: 14px; height: 14px; }
.blt-page .btn.blt-danger-quiet { color: #BE123C; }

/* drawer: jobs from this topic */
.blt-jobs { display: grid; gap: 6px; }
.blt-job { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #ECEDE8; border-radius: 10px; background: #FAFBFA; color: inherit; text-decoration: none; }
.blt-job:hover { border-color: #A7D7C0; background: #F2FBF6; }
.blt-job-ic { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: #ECFDF5; color: #047857; }
.blt-job-ic svg { width: 14px; height: 14px; }
.blt-job-main { display: grid; flex: 1; min-width: 0; }
.blt-job-main b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.blt-job-main small { color: #7A8782; font-size: 11.5px; }
.blt-job-st { padding: 2px 8px; border-radius: 999px; background: #EEF2F1; color: #475569; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }

/* decline reasons manager */
.blt-modal--panel > .blt-panel { box-sizing: border-box; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); gap: 12px; padding: 20px; overflow: auto; border: 1px solid #E5E9E7; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -20px rgba(4, 47, 36, .45), 0 2px 6px rgba(16, 24, 40, .06); }
.blt-panel .blt-rs-row { background: #FBFCFB; }
.blt-panel .blt-mhead { position: relative; padding-right: 40px; }
.blt-panel .blt-mhead .blt-x { position: absolute; top: 0; right: 0; }
.blt-rs-head, .blt-rs-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 44px 104px; align-items: center; gap: 10px; }
.blt-rs-head { padding: 0 10px; color: #98A39E; font-size: 10.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.blt-rs-head span:nth-child(2), .blt-rs-head span:nth-child(3) { text-align: center; }
.blt-rs { display: grid; gap: 5px; max-height: min(46vh, 360px); margin: 0; padding: 0; overflow: auto; list-style: none; }
.blt-rs-row { padding: 6px 8px 6px 6px; border: 1px solid #ECEDE8; border-radius: 11px; background: #fff; }
.blt-rs-row:hover { border-color: #DCE3DF; background: #FBFCFB; }
.blt-rs-label { width: 100%; height: 32px; min-height: 0; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #1F2A26; font: inherit; font-size: 13.5px; font-weight: 600; }
.blt-rs-label:hover { border-color: #E4E4DE; }
.blt-rs-label:focus { border-color: #34D399; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, .15); }
.blt-rs-use { justify-self: center; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #F1F5F4; color: #475569; font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.blt-rs-acts { display: flex; justify-content: flex-end; gap: 4px; }
.blt-rs-acts .blt-ib { width: 30px; height: 30px; }
.blt-rs-acts .blt-ib:disabled { opacity: .35; cursor: default; }
.blt-modal .blt-ib.is-danger:hover { border-color: #FDA4AF; background: #FFF1F2; color: #BE123C; }
.blt-rs-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px; border: 1px dashed #DDE3E0; border-radius: 11px; color: #7A8782; font-size: 13px; }
.blt-rs-empty svg { width: 16px; height: 16px; }
.blt-rs-new { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: #F6F8F7; }
.blt-rs-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: #047857; }
.blt-rs-plus svg { width: 14px; height: 14px; }
.blt-rs-new input[name="label"] { flex: 1 1 200px; min-width: 0; height: 34px; min-height: 0; }
.blt-rs-new .btn { height: 34px; min-height: 0; }
.blt-panel .blt-mfoot { align-items: center; }
.blt-rs-hint { margin-right: auto; color: #98A39E; font-size: 11.5px; }
.blt-switch { position: relative; display: inline-flex !important; flex-direction: row !important; align-items: center; justify-self: center; gap: 7px; margin: 0; color: #475569; font-size: 12px; font-weight: 600; cursor: pointer; }
.blt-switch input { position: absolute; width: 1px !important; height: 1px !important; min-height: 0 !important; opacity: 0; }
.blt-switch i { position: relative; flex: 0 0 auto; width: 32px; height: 18px; border-radius: 999px; background: #D5DCD9; transition: background .15s ease; }
.blt-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.blt-switch input:checked + i { background: #F59E0B; }
.blt-switch input:checked + i::after { transform: translateX(14px); }
.blt-switch input:focus-visible + i { outline: 2px solid #10B981; outline-offset: 2px; }
.blt-modal .blt-check--warn { padding: 8px 10px; border-radius: 9px; background: #FFFBEB; color: #92400E; }

@media (prefers-reduced-motion: reduce) { .blt-drawer { animation: none; } .blt-page tr.blt-card { transition: none; } }
.blt-drawer-band { height: 6px; flex: 0 0 auto; background: var(--p, #059669); }
.blt-drawer-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid #EFF2F1; }
.blt-drawer-head > div { flex: 1; min-width: 0; }
.blt-drawer-head h2 { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.blt-drawer svg.lucide { width: 14px; height: 14px; }
.blt-x { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid #E4E4DE; border-radius: 9px; background: #fff; color: #61706A; font-size: 18px; cursor: pointer; }
.blt-drawer-body { flex: 1; overflow: auto; padding: 4px 18px 18px; }
.blt-dsec { padding: 12px 0; border-bottom: 1px solid #EFF2F1; }
.blt-dsec:last-child { border-bottom: 0; }
.blt-dsec h3 { margin: 0 0 8px; color: #98A39E; font-size: 10.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.blt-dtext, .blt-dbody { margin: 0; color: #2F3B36; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.blt-dbody { font-size: 14px; }
.blt-dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 7px 12px; margin: 0; font-size: 12.5px; }
.blt-dl dt { color: #61706A; }
.blt-dl dd { margin: 0; overflow-wrap: anywhere; }
.blt-dl a { color: #00734A; font-weight: 650; text-decoration: none; }
.blt-dl a:hover { text-decoration: underline; }
.blt-drawer-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid #EFF2F1; }
.blt-drawer-foot .btn { display: inline-flex; align-items: center; gap: 6px; }
.blt-drawer-foot .blt-push { margin-left: auto; }

/* ── Modals (add topic, announcement, decline, reasons) ───── */
.blt-modal > form, .blt-modal > .stack { width: min(600px, calc(100vw - 32px)); }
.blt-modal .blt-mhead { display: flex; align-items: flex-start; gap: 12px; }
.blt-modal .blt-mhead h2 { margin: 0; }
.blt-modal .blt-mhead p { margin: 3px 0 0; color: #61706A; font-size: 12.5px; }
/* long unbroken titles must never push the modal wider than the screen */
.blt-modal > form, .blt-modal > .stack { box-sizing: border-box; min-width: 0; max-width: calc(100vw - 24px); overflow-x: hidden; }
.blt-modal .blt-mhead > div { flex: 1 1 auto; min-width: 0; }
.blt-modal .blt-mhead h2 { overflow-wrap: anywhere; }
.blt-modal .blt-mhead p { overflow-wrap: anywhere; word-break: break-word; }
.blt-modal .blt-mtopic { margin-top: 6px !important; padding: 7px 10px; border-left: 3px solid #FDA4AF; border-radius: 0 8px 8px 0; background: #FFF7F8; color: #3B4742 !important; font-weight: 600; line-height: 1.4; }
.blt-modal .blt-mtopic span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blt-modal .blt-mnote { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 9px; background: #F4F7F6; color: #52605A; font-size: 12.5px; line-height: 1.45; }
.blt-modal .blt-mnote svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; color: #64748B; }
.blt-modal select, .blt-modal textarea, .blt-modal input:not([type=checkbox]):not([type=radio]) { box-sizing: border-box; max-width: 100%; }
.blt-modal .blt-mic { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: #FFF7ED; color: #C2410C; }
.blt-modal .blt-mic svg { width: 18px; height: 18px; }
.blt-modal .blt-mic--ann { background: #F5F3FF; color: #6D28D9; }
.blt-modal .blt-mic--no { background: #FFF1F2; color: #BE123C; }
.blt-modal .blt-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.blt-modal .blt-mfoot { display: flex; justify-content: flex-end; gap: 8px; }
.blt-modal .blt-mfoot .btn { display: inline-flex; align-items: center; gap: 6px; }
.blt-modal .blt-dup { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #FFFBEB; color: #92400E; font-size: 12.5px; }
.blt-modal .blt-dup svg { width: 15px; height: 15px; }
.blt-modal .blt-linkbtn { padding: 0; border: 0; background: none; color: #00734A; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.blt-modal .blt-aud { display: grid; gap: 6px; margin: 0; padding: 10px 12px; border: 1px solid #E4E4DE; border-radius: 10px; }
.blt-modal .blt-aud[hidden] { display: none; }
.blt-modal .blt-aud legend { padding: 0 4px; color: #61706A; font-size: 12px; font-weight: 650; }
.blt-modal .blt-radio, .blt-modal .blt-check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.blt-modal .blt-radio input, .blt-modal .blt-check input { width: auto; height: auto; min-height: 0; margin: 0; accent-color: #059669; }
.blt-modal .blt-people { display: grid; gap: 6px; }
.blt-modal .blt-people-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; max-height: 180px; overflow: auto; padding: 4px; border: 1px solid #ECEDE8; border-radius: 8px; }
.blt-modal .blt-people-list label { display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 4px; font-size: 12.5px; font-weight: 500; }
.blt-modal .blt-people-list input { width: auto; height: auto; min-height: 0; }
.blt-modal .blt-people-list small { color: #98A39E; }
.blt-modal .blt-reason-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.blt-modal .blt-reason-chips button { min-height: 30px; height: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; padding: 5px 11px; border: 1px solid #E4E4DE; border-radius: 999px; background: #fff; color: #2F3B36; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.blt-modal .blt-reason-chips button:hover { border-color: #FDA4AF; }
.blt-modal .blt-reason-chips button.is-on { border-color: #F43F5E; background: #FFF1F2; color: #BE123C; }
.blt-modal .blt-reason-list { display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.blt-modal .blt-reason-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #F8FAF9; font-size: 13px; }
.blt-modal .blt-reason-row small { color: #B45309; font-size: 11px; font-weight: 650; }
.blt-modal .blt-ib { display: grid; place-items: center; width: 30px; height: 30px; min-height: 0; padding: 0; border: 1px solid #E4E4DE; border-radius: 8px; background: #fff; color: #61706A; cursor: pointer; }
.blt-modal .blt-ib svg { width: 14px; height: 14px; }
.blt-modal .blt-reason-new { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blt-modal .blt-reason-new input[name="label"] { flex: 1 1 220px; min-width: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .blt-page .blt-layout { grid-template-columns: minmax(0, 1fr); }
  .blt-page .blt-rail { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 767px) {
  .blt-page .blt-hero { padding: 14px var(--gr) 54px var(--gl); }
  .blt-page .blt-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 12px; }
  .blt-page .blt-acts { justify-content: flex-start; }
  .blt-page .blt-search { flex: 1 0 100%; }
  .blt-page .blt-search input { width: 100%; }
  .blt-page .blt-acts .btn { flex: 1; justify-content: center; }
  .blt-page .blt-stats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gr)) 0 calc(-1 * var(--gl)); padding: 0 var(--gr) 2px var(--gl); scrollbar-width: none; }
  .blt-page .blt-stats::-webkit-scrollbar { display: none; }
  .blt-page .blt-pin { flex-wrap: wrap; }
  .blt-page .blt-pin-acts { width: 100%; }
  .blt-page .blt-pin-acts .btn { flex: 1; justify-content: center; }
  .blt-page .blt-bar { padding: 10px; }
  .blt-page .blt-tabs { flex: 1 1 100%; }
  .blt-page .blt-sort { margin-left: 0; }
  .blt-page .blt-sub { padding: 8px 10px 0; }
  .blt-page .blt-count { flex: 1 0 100%; margin-left: 0; }
  .blt-page #bulletin-list { padding: 2px 10px 10px; }
  .blt-page tr.blt-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 12px 12px 16px; }
  .blt-page .blt-c-side { flex-direction: row-reverse !important; align-items: center; justify-content: space-between; }
  .blt-page .blt-c-acts { flex: 1; }
  .blt-page .blt-c-acts .btn { flex: 1; justify-content: center; }
  .blt-page .blt-rail { grid-template-columns: minmax(0, 1fr); }
  .blt-modal .blt-row2, .blt-modal .blt-people-list { grid-template-columns: minmax(0, 1fr); }
  .blt-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .blt-dl dd { margin-bottom: 6px; }
  .blt-page .blt-density { margin-left: 0; }
  .blt-page .blt-density span { display: none; }
  .blt-page .blt-range { flex: 1 1 100%; }
  .blt-page .blt-range input { flex: 1; width: auto; min-width: 0; }
  .blt-page .blt-m { max-width: 160px; }
  .blt-rs-head { display: none; }
  .blt-rs-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "l l l" "n u a"; row-gap: 4px; }
  .blt-rs-row .blt-rs-label { grid-area: l; }
  .blt-rs-row .blt-switch { grid-area: n; justify-self: start; }
  .blt-rs-row .blt-rs-use { grid-area: u; }
  .blt-rs-row .blt-rs-acts { grid-area: a; }
  .blt-rs-hint { display: none; }
}

/* v1.5: jobs-from-topic badge; dashboard card expiry tag (dashboard rows are unscoped) */
.blt-page .blt-jobcount { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border: 1px solid #A7F3D0; border-radius: 999px; background: #ECFDF5; color: #047857; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.blt-page .blt-jobcount:hover { background: #D1FAE5; }
.blt-page .blt-jobcount svg { width: 12px; height: 12px; }
.dash-bul-exp { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 999px; background: #FFF7ED; color: #C2410C; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
