/* TAPS internal dashboard — reuses app.css tokens, adds back-office density. */

.taps-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.taps-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 16px;
}

.taps-header__tag {
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.taps-header__name {
    color: var(--muted);
    font-size: 14px;
    margin-right: 16px;
}

.taps-main {
    padding-block: 32px 72px;
}

.taps-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.taps-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.taps-table th,
.taps-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.taps-table th {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--panel-raised);
}

.taps-table tbody tr:last-child td {
    border-bottom: none;
}

.taps-table tbody tr:hover {
    background: var(--panel-raised);
}

.taps-table a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.taps-table a:hover {
    color: var(--accent);
}

.deadline-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.deadline-pill--ok {
    background: rgba(30, 123, 82, 0.14);
    color: var(--success);
}

.deadline-pill--soon {
    background: rgba(214, 162, 74, 0.16);
    color: var(--accent);
}

.deadline-pill--overdue {
    background: rgba(214, 84, 64, 0.14);
    color: #D65440;
}

.taps-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .taps-grid {
        grid-template-columns: 1fr;
    }
}

.note-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.note-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.note-list li:last-child {
    border-bottom: none;
}

.note-meta {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 4px;
}

.note-type {
    color: var(--accent-2);
}

.doc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-checklist li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.doc-checklist li:last-child {
    border-bottom: none;
}

.doc-checklist form {
    display: inline-flex;
    gap: 6px;
}

.doc-checklist .button {
    padding: 4px 10px;
    font-size: 12px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.back-link:hover {
    color: var(--accent);
}

.suggestion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.suggestion-row:last-child {
    border-bottom: none;
}

.suggestion-row .button {
    padding: 6px 14px;
    font-size: 13px;
    white-space: nowrap;
}

/* --- Role dashboards: nav, tabs, filters, pills, pager (2026-09-30) ---- */

.taps-header { padding-bottom: 0; }

.taps-header__user { display: flex; align-items: center; gap: 12px; }
.taps-header__user .taps-header__name { margin: 0; text-decoration: none; }

.taps-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding-block: 0;
}

.taps-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.taps-nav a:hover { color: var(--ink); }

.taps-nav a.is-current {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 100;
}
.skip-link:focus { left: 8px; }
.skip-link { padding: 12px 16px; }

.taps-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--border);
}

.taps-tab {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.taps-tab:hover { color: var(--ink); }
.taps-tab--active { color: var(--accent); border-bottom-color: var(--accent); }

.taps-tab__count {
    display: inline-block;
    min-width: 22px;
    padding: 1px 7px;
    margin-left: 4px;
    text-align: center;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.taps-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}
.taps-filters input[type="search"] { flex: 1 1 260px; min-width: 0; }
.taps-filters select { width: auto; }

.taps-hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; }

.taps-table-wrap { overflow-x: auto; border-radius: var(--radius); }
.taps-table-wrap .taps-table { min-width: 720px; }

.taps-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
span.taps-sub { display: inline; }

.taps-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0 0 12px; }
.taps-inline-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.taps-inline-form select { width: auto; }

.taps-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}
.taps-pager a { margin-left: 16px; }

.taps-owner { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.taps-owner--mine { color: var(--success); }

.pay-pill, .role-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.pay-pill--paid { background: rgba(30, 123, 82, 0.16); color: var(--success); }
.pay-pill--pending { background: rgba(214, 162, 74, 0.16); color: var(--accent); }
.pay-pill--failed { background: rgba(214, 84, 64, 0.14); color: #D65440; }
.pay-pill--refunded { background: rgba(140, 150, 170, 0.18); color: var(--muted); }
.role-pill--admin { background: var(--accent); color: var(--accent-ink); }
.role-pill--lead { background: rgba(214, 162, 74, 0.16); color: var(--accent); }
.role-pill--specialist { background: rgba(255, 255, 255, 0.08); color: var(--muted); }

.is-revoked { opacity: 0.55; }

.button--danger {
    background: transparent;
    border: 1px solid #D65440;
    color: #D65440;
}
.button--danger:hover { background: #D65440; color: #fff; }

.form-error {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid rgba(214, 84, 64, 0.5);
    border-radius: var(--radius);
    background: rgba(214, 84, 64, 0.1);
    color: #E8806E;
    font-size: 14px;
}

.manage summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.manage__panel {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    min-width: 300px;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1px;
    margin: 0 0 24px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.stat-strip > div { background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.stat-strip__n { font-family: var(--font-display, inherit); font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }

.attention { border-color: rgba(214, 162, 74, 0.4); }
.attention__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.attention__item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
}
.attention__item:hover { border-color: var(--accent); }
.attention__count {
    min-width: 36px; text-align: center;
    font-family: var(--font-display, inherit); font-size: 20px; font-weight: 800;
    color: var(--accent);
}
.attention__item--money .attention__count { color: #5FD3A0; }
.attention__text { flex: 1; }
.attention__text small { display: block; color: var(--muted); font-size: 12px; }

.feed { list-style: none; margin: 0 0 12px; padding: 0; }
.feed li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed small { color: var(--muted); font-size: 12px; }

.quick-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.payment-card__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.payment-card__amount { font-weight: 700; display: flex; gap: 10px; align-items: center; }
.payment-card__facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 24px;
    margin: 14px 0;
}
.payment-card__facts dt { font-size: 12px; color: var(--muted); }
.payment-card__facts dd { margin: 0; font-size: 14px; }
.payment-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-card__actions input[type="text"] { flex: 1 1 240px; min-width: 0; }
.payment-line + .payment-line { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

/* Compact staff-side form controls (filters, inline forms, payment notes) */
.taps-filters input:not([type="checkbox"]):not([type="hidden"]),
.taps-filters select,
.taps-inline-form input:not([type="checkbox"]):not([type="hidden"]),
.taps-inline-form select,
.taps-bulk select,
.taps-saved__save input,
.taps-header__search input,
.payment-card__actions input[type="text"],
.manage__panel input:not([type="hidden"]) {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel-raised);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.taps-filters input:focus,
.taps-filters select:focus,
.taps-inline-form input:focus,
.taps-inline-form select:focus,
.payment-card__actions input:focus {
    outline: none;
    border-color: var(--accent);
}

.taps-filters .button,
.taps-inline-form .button,
.payment-card__actions .button { padding: 9px 16px; font-size: 14px; }

.deadline-pill { white-space: nowrap; }
.taps-header .site-nav, .taps-header__inner { gap: 16px; }

/* --- Staff dashboards on phones ------------------------------------------- */

/* Grid tracks default to min-content, so one long email or note could widen a
   whole column past the viewport (the TAPS candidate page was 503px at 360). */
.taps-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.taps-grid > * { min-width: 0; }

@media (max-width: 900px) {
    .taps-grid { grid-template-columns: minmax(0, 1fr); }
}

.locator__facts dd,
.taps-table td,
.note-list li,
.feed li,
.payment-card__facts dd {
    overflow-wrap: anywhere;
}

/* Status colours as text: the base red/green missed 4.5:1 on the tinted pills. */
.deadline-pill--ok,
.pay-pill--paid { color: #5FD3A0; }
.deadline-pill--overdue,
.pay-pill--failed,
.button--danger { color: #E8806E; }
.button--danger { border-color: #E8806E; }
.button--danger:hover { background: #D65440; border-color: #D65440; color: #fff; }

/* Filter/inline-form controls: visible keyboard focus (the border-only cue was too faint). */
.taps-filters input:focus-visible,
.taps-filters select:focus-visible,
.taps-inline-form input:focus-visible,
.taps-inline-form select:focus-visible,
.payment-card__actions input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

@media (max-width: 700px) {
    .taps-main { padding-block: 20px 56px; }

    /* Header: brand + user on one row where they fit, nav wraps in 44px rows. */
    .taps-header__inner { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; }
    .taps-header__user { gap: 4px; min-width: 0; }
    .taps-header__user .taps-header__name {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        max-width: 48vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .taps-nav { gap: 0 4px; }
    .taps-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }

    .taps-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
    .back-link,
    .manage summary { display: inline-flex; align-items: center; min-height: 44px; }
    .taps-pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: 8px; }

    /* 44px controls, 16px text so iOS does not zoom on focus. */
    .taps-filters input:not([type="checkbox"]):not([type="hidden"]),
    .taps-filters select,
    .taps-inline-form input:not([type="checkbox"]):not([type="hidden"]),
    .taps-inline-form select,
    .payment-card__actions input[type="text"],
    .manage__panel input:not([type="hidden"]) { min-height: 44px; font-size: 16px; }

    .taps-filters select,
    .taps-inline-form select { flex: 1 1 140px; }

    .taps-filters .button,
    .taps-inline-form .button,
    .payment-card__actions .button,
    .doc-checklist .button,
    .suggestion-row .button { min-height: 44px; }

    /* Links and chips that were 13-26px tall. */
    .taps-table td a,
    .roles-table td a,
    .taps-main dt a,
    .payment-card__head strong a { display: inline-flex; align-items: center; min-height: 44px; }
    .taps-main .composer__templates { gap: 8px; }
    .taps-main .composer__templates button { min-height: 44px; padding: 0 14px; }
    .taps-main label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
    .taps-main input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--accent); }

    .doc-checklist li { flex-wrap: wrap; }
    .doc-checklist form { flex-wrap: wrap; }
    .manage__panel { min-width: 0; }
    .note-meta, .taps-table th, .taps-sub { font-size: 12px; }

    /* Tables become one card per row (cells labelled by staff.js). */
    .taps-table-wrap { overflow: visible; }
    .taps-table-wrap .taps-table.is-stacked { min-width: 0; }

    .taps-table.is-stacked,
    .taps-table.is-stacked tbody,
    .taps-table.is-stacked tr,
    .taps-table.is-stacked td { display: block; width: 100%; }

    .taps-table.is-stacked { background: none; border: 0; }

    .taps-table.is-stacked thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .taps-table.is-stacked tr {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 12px;
        padding: 4px 14px;
    }

    .taps-table.is-stacked td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 10px 0;
        text-align: right;
        border-bottom: 1px solid var(--border);
    }

    .taps-table.is-stacked td:last-child { border-bottom: 0; }

    .taps-table.is-stacked td::before {
        content: attr(data-label);
        flex: none;
        max-width: 45%;
        text-align: left;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .taps-table.is-stacked td { flex-wrap: wrap; }
    .taps-table.is-stacked td .taps-sub { flex: 1 0 100%; text-align: right; }
    .taps-table.is-stacked td[data-label=""] { justify-content: flex-start; text-align: left; }
    .taps-table.is-stacked td[data-label=""]::before { content: none; }
    .taps-table.is-stacked td a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
    .taps-table.is-stacked td > * { min-width: 0; }
}

/* Staff productivity: header search, saved filters, bulk bar, days-in-stage */
.taps-header__search { margin-left: auto; margin-right: 16px; }
.taps-header__search input[type="search"] { width: 180px; min-height: 36px; padding: 6px 10px; }
@media (max-width: 700px) { .taps-header__search { display: none; } }
.taps-saved { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.taps-saved__chip { display: inline-flex; align-items: center; border: 1px solid var(--border, rgba(255,255,255,.14)); border-radius: 999px; }
.taps-saved__chip a { padding: 4px 10px; text-decoration: none; }
.taps-saved__chip button { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px 8px; min-width: 32px; min-height: 32px; }
.taps-saved__save { display: inline-flex; gap: 6px; margin-left: auto; }
.taps-saved__save input { width: 150px; min-height: 36px; padding: 6px 10px; }
.taps-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--border, rgba(255,255,255,.14)); border-radius: 8px; }
.taps-bulk select { width: auto; min-height: 36px; }
.taps-bulk__count { opacity: .8; }
.stuck-pill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; border: 1px solid #b3541e; color: #f0a070; }
.taps-check { width: 20px; height: 20px; }
.taps-inline-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Employer dashboard: KPI tiles, dashboard actions, activity timeline */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 20px; }
.kpi { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.kpi dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.kpi dd { margin: 0; font-family: 'Archivo', sans-serif; font-size: 30px; font-weight: 800; color: var(--ink); }
.dashboard-actions { margin: 0 0 24px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.timeline time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Reject-with-reason control on the document checklist */
.reject-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.reject-form select, .reject-form input[type="text"] { min-height: 36px; background: transparent; color: inherit; border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; font: inherit; }
.reject-form input[type="text"] { flex: 1 1 200px; }

/* Payment queue: how long a payment has waited, and the duplicate-transaction warning */
.pay-wait { margin-left: 8px; font-size: 12px; color: var(--text-muted, #A9A9A9); }
.pay-wait--overdue { color: #E5736A; font-weight: 600; }

/* Admin: canned replies */
.reply-template--off { opacity: 0.6; }
.reply-template__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }

.taps-more { display: inline-block; padding: 6px 0; font-size: 13px; }

/* Pipeline board (/admin/pipeline, /taps/pipeline) */
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; margin-top: 20px; }
.pipeline__col { border: 1px solid var(--border); padding: 12px; min-width: 0; }
.pipeline__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pipeline__head h2 { font-size: 16px; margin: 0; }
.pipeline__count { font-weight: 700; color: var(--accent); }
.pipeline__meta, .pipeline__empty { font-size: 13px; color: var(--muted); margin: 6px 0; }
.pipeline__late { color: #E5736B; }
.pipeline__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.pipeline__card { border: 1px solid var(--border); padding: 10px; display: grid; gap: 4px; font-size: 14px; }
.pipeline__card.is-late { border-color: #E5736B; }
.pipeline__card a { text-decoration: none; }
.pipeline__sub { font-size: 12px; color: var(--muted); }
.pipeline__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pipeline__tag { font-size: 11px; border: 1px solid var(--border-strong); padding: 1px 6px; }
.pipeline__tag--late { border-color: #E5736B; color: #E5736B; }
.pipeline__tag--msg { border-color: var(--accent); color: var(--accent); }

.taps-scopes { border: 1px solid var(--border, rgba(255,255,255,.14)); padding: .5rem .75rem; margin: .25rem 0; display: grid; gap: .25rem; }
.taps-scopes legend { font-size: .8rem; padding: 0 .25rem; }
.taps-scopes label { display: flex; gap: .5rem; align-items: center; font-size: .85rem; }

/* Admin quick-jump palette (palette.js) */
.palette { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--panel-raised); color: var(--ink); padding: 0; width: min(560px, calc(100vw - 32px)); margin-top: 12vh; }
.palette::backdrop { background: rgba(0, 0, 0, 0.6); }
.palette__input { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--ink); font: inherit; font-size: 16px; padding: 14px 16px; min-height: 48px; }
.palette__input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.palette__list { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.palette__list li { padding: 10px 12px; border-radius: 4px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.palette__list li[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.palette__hint { margin: 0; padding: 8px 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.taps-header__palette { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: var(--radius); min-height: 36px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; margin-right: 12px; }
.taps-header__palette:hover { color: var(--ink); border-color: var(--border-strong); }
@media (max-width: 700px) { .taps-header__palette { display: none; } }

/* Staff follow-up reminders */
.reminder-overdue { color: #E5736A; }
.reminder-done { color: var(--accent-2); text-decoration: underline; opacity: 1; margin-top: 4px; }

/* Admin: second row with the links of the current section */
.taps-subnav { display: flex; flex-wrap: wrap; gap: 4px 6px; padding-block: 8px; border-top: 1px solid var(--border); }
.taps-subnav a { color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; padding: 6px 12px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }
.taps-subnav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.taps-subnav a.is-current { color: var(--accent-ink); background: var(--accent); }
@media (max-width: 700px) { .taps-subnav a { min-height: 44px; padding: 8px 14px; } }

/* Row of buttons on the right of a list header (add / export). */
.taps-toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
