/* Bursaries page extras (loaded by viewBursaries only): the Save button on each card, the Saved filter, the Start here box,
   the "Do I qualify?" line and the reminder line under a saved card. Kept apart from app.css so the plan's stylesheets,
   which the example PDFs are checked against, do not change. */
.bursary .b-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bursary .b-head h3 { margin: 0; padding-top: 6px; }
.b-save { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1.5px solid #cfdcd7; border-radius: 999px;
  background: var(--surface); color: var(--brand); font: 600 .88rem/1.2 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.b-save span { font-size: 1.05rem; line-height: 1; }
.b-save:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.b-save[aria-pressed="true"] { border-color: var(--accent); background: #fdf1d3; color: #6b4e00; }
.b-save:focus-visible, .b-saved-only:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.b-save:disabled { opacity: .6; cursor: progress; }
.bursary.b-is-saved { border-color: #e3c873; }
.bursary.b-flash { box-shadow: 0 0 0 3px var(--accent); transition: box-shadow .3s; }

.b-saved-only { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1.5px solid #e3c873; border-radius: 999px;
  background: var(--surface); color: #6b4e00; font: 600 .85rem/1.2 var(--font); cursor: pointer; }
.b-saved-only.on { background: #fdf1d3; }

.b-fit { margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.b-fit-ok { border-left-color: #2f8f6b; } .b-fit-below { border-left-color: #c9822b; } .b-fit-check { border-left-color: #9bb8b1; }

.b-remind { margin: 0 0 8px; font-size: .86rem; color: var(--ink-2); }
.b-remind .text-link { padding: 0; border: 0; background: none; color: var(--brand); font: 600 .86rem var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.b-remind-msg { color: #8a3b12; }

.b-start { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.b-start h2 { margin: 0 0 6px; font-size: 1rem; }
.b-start ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.b-start li { font-size: .9rem; color: var(--ink-2); }
.b-start li a { margin-right: 6px; font-weight: 700; color: var(--brand); }
.b-start-when { display: inline-block; font-weight: 600; }
.b-start .b-when-open { color: var(--brand); } .b-start .b-when-urgent { color: #6b4e00; } .b-start .b-when-closed, .b-start .b-when-none { color: var(--ink-3); font-weight: 500; }
@media (min-width: 960px) { .b-start ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .b-save, .bursary.b-flash { transition: none; } }
/* Phones: the sticky count bar stays one row ("43 of 43 bursaries · ★ (2) · Filters ↑") */
@media (max-width: 480px) { .b-so-label { display: none; } .b-saved-only { padding: 4px 10px; } .b-count .b-to-filters { margin-left: auto; } }
