/* ============================================================
   TrainedResponder — module deep-dive pages (/modules/*)
   Loaded on top of marketing.css by the module views only.

   Everything here is either page furniture (mp-hero, mp-jump, mp-grid)
   or a *product figure* — a hand-built HTML/CSS replica of
   a real screen (mp-fig, mp-board, mp-cal, mp-dispatch). The figures
   deliberately mirror the shipped UI's grammar (count pills, the
   green availability wash, the hatch for a marked-off day) so a
   prospect sees the actual product language, not a stock mockup.
   They are drawn, not screenshotted, so they stay sharp at any width
   and never go stale against a UI tweak.

   Section-level furniture (.tr-section, .tr-eyebrow, .tr-path,
   .tr-cta, .tr-ai-note) is reused from marketing.css on purpose.
   ============================================================ */

:root {
    /* The one color marketing.css doesn't carry: the availability green from
       the member calendar. Kept desaturated so it reads as a status wash next
       to the brand orange rather than competing with it. */
    --mp-green: #1f7a4d;
    --mp-green-text: #15603a;
    --mp-green-wash: rgba(31, 122, 77, 0.16);
    --mp-green-line: rgba(31, 122, 77, 0.30);
}

/* ── Hero ───────────────────────────────────────────────── */
.mp-hero {
    background: linear-gradient(115deg, var(--tr-navy-ink) 0%, var(--tr-navy) 62%, #24628f 100%);
    color: #fff;
    padding: 9.5rem 0 4.5rem;
}
.mp-crumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 1.25rem;
}
.mp-crumb a { color: rgba(255, 255, 255, 0.68); }
.mp-crumb a:hover { color: #ffb066; }
.mp-crumb i { font-size: 0.72rem; margin: 0 0.45rem; opacity: 0.6; }

.mp-hero .tr-eyebrow { color: #ffb066; }
.mp-hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    line-height: 1.03;
    margin-bottom: 1.1rem;
}
.mp-hero h1 .tr-accent { color: #ffb066; }
.mp-hero-lead {
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 46rem;
    margin-bottom: 1.9rem;
}
.mp-hero-cta { gap: 0.9rem; }
.mp-hero .btn { padding: 0.8rem 1.6rem; font-size: 1.02rem; font-weight: 600; border-radius: 8px; }

/* Jump rail — the page is long, so say what's in it up front. */
.mp-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.mp-jump a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}
.mp-jump a:hover { background: #fff; color: var(--tr-navy-deep); border-color: #fff; }
.mp-jump a i { font-size: 0.82rem; color: #ffb066; }
.mp-jump a:hover i { color: var(--tr-orange-dark); }

/* marketing.css names each dark section explicitly for the amber focus ring;
   these two are ours, and a navy ring on navy is an invisible one. */
.mp-hero a:focus-visible,
.mp-dark a:focus-visible { outline-color: #ffb066; }

/* ── Section helpers ────────────────────────────────────── */
.mp-alt { background: var(--tr-light); }
.mp-dark { background: var(--tr-navy-ink); color: rgba(255, 255, 255, 0.9); }
.mp-dark .tr-eyebrow { color: #ffb066; }
.mp-dark .tr-section-title { color: #fff; }
.mp-dark .tr-section-lead { color: rgba(255, 255, 255, 0.8); }

.mp-lede { color: var(--tr-slate); font-size: 1.04rem; }

/* ── Product figure frame ───────────────────────────────── */
/* A drawn stand-in for a real screen. The title bar carries the page name the
   way the app's own card headers do, so the figure reads as "this is a screen"
   without pretending to be a browser chrome screenshot. */
.mp-fig {
    background: #fff;
    border: 1px solid var(--tr-line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 51, 87, 0.13);
    overflow: hidden;
}
.mp-dark .mp-fig { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.mp-fig-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1rem;
    background: var(--tr-navy-ink);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
}
.mp-fig-bar i { color: #ffb066; margin-right: 0.45rem; }
.mp-fig-bar-meta { color: rgba(255, 255, 255, 0.62); font-weight: 400; font-size: 0.8rem; }
.mp-fig-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--tr-line);
    background: #fbfcfd;
    font-size: 0.82rem;
    color: var(--tr-gray);
}
.mp-fig-sub strong { color: var(--tr-navy-ink); }
.mp-fig-foot {
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--tr-line);
    background: #fbfcfd;
    font-size: 0.79rem;
    color: var(--tr-gray);
}
.mp-fig-scroll { overflow-x: auto; }
/* Caption under a figure, in the voice of a manual, not a headline. */
.mp-cap {
    font-size: 0.86rem;
    color: var(--tr-gray);
    margin: 0.85rem 0 0;
    text-align: center;
}
.mp-dark .mp-cap { color: rgba(255, 255, 255, 0.62); }

/* Fake form controls inside a figure sub-bar (week picker, filters). */
.mp-ctl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.24rem 0.6rem;
    border: 1px solid var(--tr-line);
    border-radius: 6px;
    background: #fff;
    color: var(--tr-slate);
    font-size: 0.8rem;
}
.mp-ctl i { color: var(--tr-gray); font-size: 0.7rem; }
.mp-ctl-group { display: inline-flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }

/* ── The readiness board ────────────────────────────────── */
.mp-board {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    min-width: 40rem;
}
.mp-board th, .mp-board td {
    padding: 0.5rem 0.4rem;
    text-align: center;
    border-bottom: 1px solid var(--tr-line);
    white-space: nowrap;
}
.mp-board thead th {
    font-size: 0.78rem;
    color: var(--tr-navy-ink);
    font-weight: 700;
    padding-top: 0.7rem;
}
.mp-board thead th span {
    display: block;
    font-weight: 400;
    color: var(--tr-gray);
    font-size: 0.72rem;
}
.mp-board .mp-board-row-h {
    text-align: left;
    font-weight: 400;
    color: var(--tr-slate);
    padding-left: 1rem;
    min-width: 13rem;
    white-space: normal;
}
.mp-board tr.mp-board-all { background: #f7f9fb; }
.mp-board tr.mp-board-all .mp-board-row-h { font-weight: 700; color: var(--tr-navy-ink); }
.mp-board .is-focus { background: rgba(27, 79, 126, 0.07); }
.mp-board thead .is-focus { background: rgba(27, 79, 126, 0.12); }
.mp-board .mp-none { color: #aab4be; }

/* Count pills — the board's whole readable surface. */
.mp-pill {
    display: inline-block;
    min-width: 2.4rem;
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--tr-navy);
    color: var(--tr-navy);
    background: #fff;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.5;
}
.mp-pill-solid { background: var(--tr-navy); border-color: var(--tr-navy); color: #fff; }
.mp-pill-thin { border-color: #c3cfda; color: var(--tr-gray); }

.mp-stale {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: rgba(234, 113, 37, 0.14);
    color: var(--tr-orange-text);
    font-size: 0.74rem;
    font-weight: 600;
}

/* The drill-down that opens when a count is clicked. */
.mp-drill { height: 100%; }
.mp-drill-list { list-style: none; margin: 0; padding: 0; }
.mp-drill-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--tr-line);
}
.mp-drill-list li:last-child { border-bottom: none; }
.mp-initials {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(27, 79, 126, 0.10);
    color: var(--tr-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 700;
}
.mp-drill-list li > span:not([class]),
.mp-dispatch li > span:not([class]) { flex: 1 1 auto; min-width: 0; }
.mp-drill-name { display: block; font-weight: 600; color: var(--tr-navy-ink); font-size: 0.9rem; line-height: 1.25; }
.mp-drill-sub { display: block; color: var(--tr-gray); font-size: 0.78rem; }
.mp-drill-when {
    margin-left: auto;
    text-align: right;
    color: var(--mp-green-text);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.mp-drill-when span { display: block; color: var(--tr-gray); font-weight: 400; font-size: 0.74rem; }

/* "How to read this" — numbered notes beside a figure. */
.mp-notes { list-style: none; padding: 0; margin: 0; counter-reset: mpnote; }
.mp-notes li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.15rem;
    color: var(--tr-slate);
    font-size: 0.96rem;
    line-height: 1.55;
}
.mp-notes li:last-child { margin-bottom: 0; }
.mp-notes li::before {
    counter-increment: mpnote;
    content: counter(mpnote);
    position: absolute;
    left: 0;
    top: -0.05rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--tr-navy);
    color: #fff;
    font-family: var(--tr-font-display);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-notes li strong { color: var(--tr-navy-ink); }
.mp-dark .mp-notes li { color: rgba(255, 255, 255, 0.82); }
.mp-dark .mp-notes li strong { color: #fff; }
.mp-dark .mp-notes li::before { background: var(--tr-orange); color: var(--tr-navy-ink); }

/* ── The member availability calendar ───────────────────── */
.mp-cal-strip {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--tr-line);
    font-size: 0.82rem;
    color: var(--tr-slate);
}
.mp-cal-strip-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--tr-gray);
    margin-bottom: 0.2rem;
}
.mp-cal-strip a { color: var(--tr-navy); font-weight: 600; text-decoration: underline; }

.mp-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--tr-line);
    background: #fbfcfd;
    font-size: 0.78rem;
    color: var(--tr-gray);
}
.mp-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.mp-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--tr-line); }
.mp-swatch-avail { background: var(--mp-green-wash); border-color: var(--mp-green-line); }
.mp-swatch-off { background-image: repeating-linear-gradient(45deg, rgba(92,102,112,0.22) 0 3px, transparent 3px 7px); }
.mp-swatch-evt { background: var(--tr-navy); border-color: var(--tr-navy); }
.mp-legend-hint { margin-left: auto; color: var(--tr-slate); }
.mp-legend-hint strong { color: var(--tr-navy-ink); }

.mp-cal { display: grid; grid-template-columns: repeat(7, 1fr); }
.mp-cal-h {
    padding: 0.45rem 0.3rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tr-gray);
    border-bottom: 1px solid var(--tr-line);
}
.mp-cal-d {
    position: relative;
    min-height: 72px;
    padding: 0.3rem 0.35rem 1.1rem;
    border-right: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
}
.mp-cal-d:nth-child(7n) { border-right: none; }
.mp-cal-n { font-size: 0.78rem; font-weight: 600; color: var(--tr-navy-ink); }
.mp-cal-d.is-out .mp-cal-n { color: #c3cfda; }

/* Available: the wash sits in the bottom band and carries the window text —
   exactly how the shipped calendar renders it. */
.mp-cal-d.is-avail { background: rgba(31, 122, 77, 0.05); }
.mp-cal-win {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.12rem 0.2rem;
    background: var(--mp-green-wash);
    border-top: 1px solid var(--mp-green-line);
    color: var(--mp-green-text);
    font-size: 0.66rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Marked off: light hatch, muted number. Same state to the board as a plain
   cell — the hatch only shows the member which days they changed themselves. */
.mp-cal-d.is-off {
    background-image: repeating-linear-gradient(45deg, rgba(92,102,112,0.13) 0 4px, transparent 4px 9px);
}
.mp-cal-d.is-off .mp-cal-n { color: #98a3ad; }

.mp-cal-e {
    display: block;
    margin-top: 0.25rem;
    padding: 0.08rem 0.3rem;
    border-radius: 4px;
    background: var(--tr-navy);
    color: #fff;
    font-size: 0.63rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-cal-e.is-amber { background: var(--tr-orange-dark); }

@media (max-width: 575.98px) {
    .mp-cal-d { min-height: 58px; padding-bottom: 0.95rem; }
    .mp-cal-win { font-size: 0.58rem; }
    .mp-cal-e { display: none; }
}

/* ── The tap cycle ──────────────────────────────────────── */
.mp-cycle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    align-items: start;
}
.mp-cycle-step { position: relative; text-align: center; }
/* Chevron between steps — the sequence carries the meaning, no numbering. */
.mp-cycle-step + .mp-cycle-step::before {
    content: "";
    position: absolute;
    left: -1.05rem;
    top: 1.9rem;
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--tr-orange);
    border-right: 3px solid var(--tr-orange);
    transform: rotate(45deg);
}
.mp-cell-demo {
    position: relative;
    width: 100%;
    max-width: 8.5rem;
    min-height: 74px;
    margin: 0 auto 0.85rem;
    padding: 0.35rem 0.4rem 1.15rem;
    background: #fff;
    border: 1px solid var(--tr-line);
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(15, 51, 87, 0.08);
    overflow: hidden;
    text-align: left;
}
.mp-cell-demo .mp-cal-n { font-size: 0.82rem; }
.mp-cell-demo.is-off { background-image: repeating-linear-gradient(45deg, rgba(92,102,112,0.13) 0 4px, transparent 4px 9px); }
.mp-cell-demo.is-avail { background: rgba(31, 122, 77, 0.05); }
.mp-cycle-step h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.mp-cycle-step p { color: var(--tr-gray); font-size: 0.86rem; margin: 0; }

/* The inline From/To picker, drawn in place of a day cell. */
.mp-picker {
    max-width: 8.5rem;
    min-height: 74px;
    margin: 0 auto 0.85rem;
    background: #fff;
    border: 1px solid var(--tr-navy);
    border-radius: 9px;
    box-shadow: 0 10px 22px rgba(15, 51, 87, 0.18);
    padding: 0.5rem 0.55rem;
    text-align: left;
}
.mp-picker-h {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--tr-navy-ink);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.mp-picker-row { display: flex; gap: 0.3rem; margin-bottom: 0.35rem; }
.mp-picker-in {
    flex: 1;
    border: 1px solid var(--tr-line);
    border-radius: 4px;
    padding: 0.12rem 0.25rem;
    font-size: 0.6rem;
    color: var(--tr-slate);
    background: #fbfcfd;
    text-align: center;
}
.mp-picker-btns { display: flex; gap: 0.3rem; justify-content: flex-end; }
.mp-picker-btn {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--tr-navy);
    color: var(--tr-navy);
    background: #fff;
}
.mp-picker-btn.is-primary { background: var(--tr-navy); color: #fff; }

@media (max-width: 767.98px) {
    .mp-cycle { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; }
    .mp-cycle-step:nth-child(odd)::before { display: none; }
}

/* Undo toast — the safety net that makes tapping explorable. */
.mp-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--tr-navy-ink);
    color: #fff;
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    box-shadow: 0 12px 28px rgba(10, 39, 66, 0.28);
}
.mp-toast i { color: var(--mp-green); }
.mp-toast a { color: #ffb066; font-weight: 700; text-decoration: underline; }

/* ── Dispatch board ─────────────────────────────────────── */
.mp-dispatch { list-style: none; margin: 0; padding: 0; }
.mp-dispatch li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--tr-line);
}
.mp-dispatch li:last-child { border-bottom: none; }
.mp-dispatch-name { display: block; font-weight: 600; color: var(--tr-navy-ink); font-size: 0.9rem; line-height: 1.25; }
.mp-dispatch-sub { display: block; color: var(--tr-gray); font-size: 0.76rem; }
.mp-dispatch-sub i { margin-right: 0.25rem; }
.mp-chip {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 0.14rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}
.mp-chip-yes { background: rgba(31, 122, 77, 0.12); color: var(--mp-green-text); }
.mp-chip-no { background: rgba(181, 78, 6, 0.12); color: var(--tr-orange-text); }
.mp-chip-wait { background: #eef2f6; color: var(--tr-gray); }

.mp-tally { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.mp-tally > span { text-align: center; }
.mp-tally b {
    display: block;
    font-family: var(--tr-font-display);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--tr-navy-ink);
}
.mp-tally > span > span { font-size: 0.74rem; color: var(--tr-gray); text-transform: uppercase; letter-spacing: 0.07em; }

/* A phone showing the one-tap response, beside the board. */
.mp-phone {
    max-width: 17rem;
    margin: 0 auto;
    background: var(--tr-navy-ink);
    border-radius: 22px;
    padding: 0.7rem;
    box-shadow: 0 20px 44px rgba(10, 39, 66, 0.32);
}
.mp-phone-screen { background: #fff; border-radius: 15px; padding: 0.9rem 0.85rem; }
.mp-phone-from { font-size: 0.7rem; color: var(--tr-gray); margin-bottom: 0.45rem; }
.mp-phone-msg {
    background: #eef2f6;
    border-radius: 12px 12px 12px 3px;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    color: var(--tr-slate);
    line-height: 1.45;
    margin-bottom: 0.6rem;
}
.mp-phone-msg strong { color: var(--tr-navy-ink); }
.mp-phone-reply {
    background: var(--tr-navy);
    color: #fff;
    border-radius: 12px 12px 3px 12px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: auto;
    width: fit-content;
}

/* ── Capability grid ────────────────────────────────────── */
.mp-grid-card {
    background: #fff;
    border: 1px solid var(--tr-line);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
}
.mp-dark .mp-grid-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}
.mp-grid-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(234, 113, 37, 0.11);
    color: var(--tr-orange-dark);
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}
.mp-dark .mp-grid-icon { background: rgba(255, 176, 102, 0.14); color: #ffb066; }
.mp-grid-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.mp-dark .mp-grid-card h3 { color: #fff; }
.mp-grid-card p { color: var(--tr-slate); font-size: 0.93rem; margin: 0; }
.mp-dark .mp-grid-card p { color: rgba(255, 255, 255, 0.76); }

/* ── Fine print / cross-links ───────────────────────────── */
.mp-fine {
    margin-top: 2.75rem;
    text-align: center;
    color: var(--tr-gray);
    font-size: 0.92rem;
}
.mp-fine a { color: var(--tr-navy); font-weight: 600; text-decoration: underline; }
.mp-dark .mp-fine { color: rgba(255, 255, 255, 0.66); }
.mp-dark .mp-fine a { color: #ffb066; }

@media (max-width: 991.98px) {
    .mp-hero { padding: 8rem 0 3.5rem; }
}
@media (max-width: 575.98px) {
    .mp-hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .mp-jump a { transition: none !important; }
}

/* ── Cross-page rail ────────────────────────────────────── */
/* The four Operations pages are one set; the hero rail is how a reader moves
   between them, so the current page is marked rather than linked out of. */
.mp-jump a.is-current {
    background: #ffb066;
    border-color: #ffb066;
    color: var(--tr-navy-ink);
    font-weight: 700;
    cursor: default;
}
.mp-jump a.is-current i { color: var(--tr-navy-ink); }

/* ── Staffing board ─────────────────────────────────────── */
.mp-staff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}
.mp-staff-col {
    border: 1px solid var(--tr-line);
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
    background: #fbfcfd;
}
.mp-staff-col.is-pool { background: #fff; border-style: dashed; }
.mp-staff-col.is-pool .mp-staff-req { margin-bottom: 1.05rem; }
.mp-staff-h {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tr-navy-ink);
}
.mp-staff-h em { font-style: normal; color: var(--tr-gray); font-weight: 600; }
.mp-staff-req {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--tr-orange-text);
    margin-top: 0.1rem;
}
/* Fill gauge: green when the role is covered, orange while it still needs bodies. */
.mp-gauge { height: 5px; border-radius: 3px; background: #e6ecf2; overflow: hidden; margin: 0.5rem 0 0.55rem; }
.mp-gauge span { display: block; height: 100%; background: var(--mp-green); }
.mp-gauge.is-short span { background: var(--tr-orange); }
.mp-who { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--tr-slate); padding: 0.15rem 0; }
.mp-who .mp-initials { width: 22px; height: 22px; font-size: 0.58rem; }
.mp-slot-open { font-size: 0.74rem; color: #98a3ad; font-style: italic; padding: 0.2rem 0; }

/* ── Roster / hours tables ──────────────────────────────── */
.mp-roster { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 32rem; }
.mp-roster th, .mp-roster td { padding: 0.5rem 0.85rem; text-align: left; border-bottom: 1px solid var(--tr-line); }
.mp-roster thead th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tr-gray);
    font-weight: 700;
}
.mp-roster tbody td:first-child { color: var(--tr-navy-ink); font-weight: 600; }
.mp-roster tr:last-child td { border-bottom: none; }
.mp-roster .mp-num { text-align: right; font-variant-numeric: tabular-nums; }
.mp-roster tr.is-total td { background: #f7f9fb; font-weight: 700; color: var(--tr-navy-ink); border-top: 2px solid var(--tr-line); }

/* Present/Absent, drawn as the segmented control it is. */
.mp-toggle { display: inline-flex; border: 1px solid var(--tr-line); border-radius: 999px; overflow: hidden; }
.mp-toggle span { padding: 0.12rem 0.65rem; font-size: 0.74rem; font-weight: 600; color: var(--tr-gray); background: #fff; }
.mp-toggle span.is-on { background: var(--mp-green); color: #fff; }
.mp-tag {
    display: inline-block;
    padding: 0.06rem 0.55rem;
    border-radius: 999px;
    background: rgba(234, 113, 37, 0.12);
    color: var(--tr-orange-text);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}
.mp-tag-green { background: rgba(31, 122, 77, 0.12); color: var(--mp-green-text); }

/* ── What posted afterward ──────────────────────────────── */
.mp-receipt { list-style: none; margin: 0; padding: 0; }
.mp-receipt li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--tr-line);
    font-size: 0.88rem;
    color: var(--tr-slate);
}
.mp-receipt li:last-child { border-bottom: none; }
.mp-receipt li > i { color: var(--mp-green); margin-top: 0.15rem; flex-shrink: 0; }
.mp-receipt strong { display: block; color: var(--tr-navy-ink); }

/* ── State form overlay ─────────────────────────────────── */
/* Drawn as the government form it is — flat, ruled, no rounded corners — with
   our values in navy so the "we fill their blank, we don't redraw it" claim is
   visible rather than asserted. */
.mp-form { background: #fff; border: 1px solid #d6dde5; padding: 1.1rem 1.25rem; }
.mp-form-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 2px solid var(--tr-navy-ink);
    padding-bottom: 0.5rem;
    margin-bottom: 0.85rem;
}
.mp-form-t { font-size: 0.86rem; font-weight: 700; color: var(--tr-navy-ink); line-height: 1.25; }
.mp-form-no { font-size: 0.66rem; color: var(--tr-gray); white-space: nowrap; text-align: right; }
.mp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1rem; }
.mp-form-f { border-bottom: 1px solid #c3cfda; padding-bottom: 0.15rem; min-width: 0; }
.mp-form-f span {
    display: block;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tr-gray);
}
.mp-form-f b {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tr-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-form-f.is-wide { grid-column: 1 / -1; }

/* ── Equipment cards ────────────────────────────────────── */
.mp-gear {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}
.mp-gear-item { border: 1px solid var(--tr-line); border-radius: 10px; padding: 0.8rem; background: #fbfcfd; }
.mp-gear-item > i { color: var(--tr-navy); font-size: 1.15rem; }
.mp-gear-item b { display: block; font-size: 0.85rem; color: var(--tr-navy-ink); margin-top: 0.45rem; }
.mp-gear-item em { display: block; font-style: normal; font-size: 0.74rem; color: var(--tr-gray); margin-bottom: 0.5rem; }

/* A claim's bottom line, stated plainly. */
.mp-money {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--tr-line);
    background: #fbfcfd;
}
.mp-money span { font-size: 0.8rem; color: var(--tr-gray); }
.mp-money b { font-family: var(--tr-font-display); font-size: 1.5rem; color: var(--tr-navy-ink); }

/* The ruled grid inside a state form figure — the state's table, our values. */
.mp-form-tbl { width: 100%; border-collapse: collapse; margin-top: 0.9rem; font-size: 0.68rem; }
.mp-form-tbl th, .mp-form-tbl td { border: 1px solid #c3cfda; padding: 0.2rem 0.35rem; text-align: left; white-space: nowrap; }
.mp-form-tbl thead th {
    font-size: 0.54rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tr-gray);
    font-weight: 700;
}
.mp-form-tbl tbody td { color: var(--tr-navy); font-weight: 600; }
.mp-form-tbl .mp-num { text-align: right; font-variant-numeric: tabular-nums; }
.mp-form-tbl tr.is-total td { background: #f4f7fa; color: var(--tr-navy-ink); }
