/* ── tokens ──────────────────────────────────────────────── */
:root {
    --sb-w: 232px;
    --sb-bg: #0f172a;
    --sb-border: rgba(255,255,255,0.07);
    --nav-text: #94a3b8;
    --nav-hover: rgba(255,255,255,0.055);
    --nav-active-bg: rgba(99,102,241,0.16);
    --nav-active-text: #a5b4fc;
    --nav-active-bar: #6366f1;

    --accent: #6366f1;
    --accent-h: #4f46e5;
    --accent-soft: #eef2ff;
    --accent-text: #4338ca;

    --bg: #f1f5f9;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --subtle: #f8fafc;

    --r: 10px;
    --r-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);

    --drawer-w: 440px;
    --topbar-h: 66px;
    --tr: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* ── layout ─────────────────────────────────────────────── */
.app {
    display: flex;
    min-height: 100vh;
}

/* ── sidebar ────────────────────────────────────────────── */
.sidebar {
    width: var(--sb-w);
    background: var(--sb-bg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--sb-border);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.logo-text {
    color: #f1f5f9;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1;
}

.logo-sub {
    color: var(--nav-text);
    font-weight: 400;
    font-size: 13px;
}

.sidebar-nav {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--nav-text);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background var(--tr), color var(--tr);
    position: relative;
}

.nav-item:hover {
    background: var(--nav-hover);
    color: #cbd5e1;
}

.nav-item.active {
    background: var(--nav-active-bg);
    color: var(--nav-active-text);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    height: 56%;
    width: 3px;
    background: var(--nav-active-bar);
    border-radius: 0 3px 3px 0;
}

.nav-item i {
    font-size: 14px;
    width: 17px;
    text-align: center;
    flex-shrink: 0;
}

.nav-label { flex: 1; }

.nav-badge {
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(255,255,255,0.07);
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--tr), color var(--tr);
}

.nav-item.active .nav-badge {
    background: rgba(99,102,241,0.28);
    color: var(--nav-active-text);
}

.sidebar-footer {
    margin-top: auto;
    padding: 12px 16px;
    border-top: 1px solid var(--sb-border);
    display: flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 11.5px;
}

.sf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* ── main ───────────────────────────────────────────────── */
.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── topbar ─────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-h);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.topbar-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.topbar-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.3px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--tr), color var(--tr), border-color var(--tr);
    flex-shrink: 0;
}

.btn-icon:hover {
    background: var(--bg);
    color: var(--text);
    border-color: #cbd5e1;
}

.btn-create {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
    height: 34px;
    border: none;
    border-radius: var(--r);
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tr);
    white-space: nowrap;
}

.btn-create:hover { background: var(--accent-h); }

/* ── stats ──────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    background: var(--border);
    gap: 1px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.stat-card {
    background: var(--surface);
    padding: 14px 16px;
    cursor: pointer;
    transition: background var(--tr);
    user-select: none;
}

.stat-card:hover { background: var(--subtle); }

.stat-card.active { background: var(--accent-soft); }

.stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
}

/* ── content ────────────────────────────────────────────── */
.sections-wrap {
    padding: 20px 24px;
    flex: 1;
}

.resource-section { display: none; }
.resource-section.visible { display: block; }

/* ── table card ─────────────────────────────────────────── */
.table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.record-count {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead th {
    background: var(--subtle);
    padding: 9px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 13.5px;
}

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

.admin-table tbody tr:hover td { background: var(--subtle); }

.cell-id {
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.cell-muted { color: #cbd5e1; }

/* ── badges ─────────────────────────────────────────────── */
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-green   { background: #dcfce7; color: #15803d; }
.badge-gray    { background: #f1f5f9; color: #475569; }
.badge-indigo  { background: #eef2ff; color: #4338ca; }
.badge-amber   { background: #fef3c7; color: #b45309; }
.badge-red     { background: #fee2e2; color: #b91c1c; }

/* ── action buttons ─────────────────────────────────────── */
.action-group {
    display: flex;
    gap: 4px;
}

.act-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12.5px;
    transition: all var(--tr);
}

.act-btn:hover             { background: var(--bg); color: var(--text); }
.act-btn.danger:hover      { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.act-btn.primary:hover     { background: var(--accent-soft); color: var(--accent); border-color: #a5b4fc; }

/* ── image thumb ────────────────────────────────────────── */
.img-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
}

/* ── empty state ────────────────────────────────────────── */
.empty-state {
    padding: 44px 20px;
    text-align: center;
    color: var(--muted);
}

.empty-state i {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.3;
}

/* ── drawer ─────────────────────────────────────────────── */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.drawer-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--drawer-w);
    background: var(--surface);
    z-index: 101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.drawer.open { transform: translateX(0); }

.drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.drawer-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.drawer-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.drawer-close-btn { margin-top: 1px; }

.drawer-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* form inside drawer */
.drawer-scroll .form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
    display: block;
}

.drawer-scroll .form-control,
.drawer-scroll .form-select {
    border-color: var(--border);
    border-radius: var(--r);
    font-size: 13.5px;
    padding: 8px 12px;
    width: 100%;
    background: var(--surface);
    color: var(--text);
}

.drawer-scroll .form-control:focus,
.drawer-scroll .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    outline: none;
}

.drawer-scroll textarea.form-control { resize: vertical; }

.drawer-scroll .row { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.drawer-scroll .col-12 { flex: 0 0 100%; }
.drawer-scroll .col-6 { flex: 0 0 calc(50% - 6px); }

.form-text {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
}

.drawer-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.btn-save {
    padding: 8px 20px;
    border: none;
    border-radius: var(--r);
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tr);
}

.btn-save:hover { background: var(--accent-h); }
.btn-save:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-cancel {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--tr);
}

.btn-cancel:hover { background: var(--bg); color: var(--text); }

/* preview box */
.preview-box {
    margin-top: 10px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--r);
    background: var(--subtle);
    font-size: 12.5px;
    color: var(--muted);
}

.preview-box img {
    max-width: 110px;
    max-height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
}

/* ── user picker ────────────────────────────────────────── */
.user-picker-wrap {
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--surface);
}

.user-picker-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--subtle);
}

.user-picker-search {
    flex: 1;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0 10px;
    font-size: 12.5px;
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: border-color var(--tr), box-shadow var(--tr);
}

.user-picker-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.1);
}

.user-filter-tabs {
    display: flex;
    gap: 3px;
}

.user-filter-btn {
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr);
    white-space: nowrap;
}

.user-filter-btn:hover { background: var(--bg); color: var(--text); }

.user-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.user-filter-btn.vip.active {
    background: #b45309;
    border-color: #b45309;
}

.user-picker {
    max-height: 200px;
    overflow-y: auto;
}

.user-pick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background var(--tr);
    user-select: none;
}

.user-pick-item:last-child { border-bottom: none; }
.user-pick-item:hover { background: var(--subtle); }

.user-pick-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.user-pick-item input[type="checkbox"]:checked + .user-pick-info .user-pick-name {
    color: var(--accent-text);
    font-weight: 600;
}

.user-pick-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.user-pick-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-pick-phone {
    font-size: 11.5px;
    color: var(--muted);
}

.user-pick-badge { flex-shrink: 0; }

.user-pick-empty {
    padding: 16px 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ── detail modal ───────────────────────────────────────── */
.modal-dialog.modal-lg.modal-dialog-centered.modal-dialog-scrollable {
    max-width: min(1180px, calc(100vw - 32px));
}

.custom-modal {
    border: none;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.custom-modal .modal-header {
    padding: 18px 22px 14px;
    background: var(--subtle);
    border-bottom: 1px solid var(--border);
}

.custom-modal .modal-body {
    padding: 20px 22px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.detail-tile {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 11px 14px;
}

.detail-tile p {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.detail-tile strong { font-size: 15px; }

.detail-section-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.detail-section-head .detail-section-title {
    margin-bottom: 0;
}

.detail-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
}

.detail-sort-select {
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    padding: 0 10px;
    outline: none;
}

.detail-sort-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.1);
}

.detail-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: auto;
    background: var(--surface);
}

.detail-table-wrap .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.detail-table-wrap-sm {
    max-height: 240px;
}

.detail-table-wrap-lg {
    max-height: 420px;
}

/* ── toast ──────────────────────────────────────────────── */
.toast-host {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 200;
    pointer-events: none;
}

.app-toast {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: var(--r);
    background: #0f172a;
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    pointer-events: auto;
    max-width: 300px;
    min-width: 180px;
}

.app-toast.show { transform: translateY(0); opacity: 1; }
.app-toast.error { background: #dc2626; }
.app-toast i { font-size: 15px; flex-shrink: 0; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

@media (max-width: 960px) {
    :root { --sb-w: 200px; }
}

@media (max-width: 800px) {
    .sidebar { display: none; }
    :root { --drawer-w: 100vw; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .sections-wrap { padding: 12px; }
    .topbar { padding: 0 14px; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .detail-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .detail-sort-wrap {
        justify-content: space-between;
    }

    .detail-table-wrap-sm {
        max-height: 220px;
    }

    .detail-table-wrap-lg {
        max-height: 360px;
    }
}

.qr-thumb {
    width: 40px !important;
    height: 40px !important;
}

/* ── tags input ─────────────────────────────────────────── */
.tags-input-wrap {
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    transition: border-color var(--tr), box-shadow var(--tr);
    overflow: hidden;
}

.tags-input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.tags-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 10px 4px;
    min-height: 10px;
}

.tags-chips:empty { padding: 0; }

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px 3px 10px;
    background: var(--accent-soft);
    color: var(--accent-text);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: none;
    background: transparent;
    color: var(--accent-text);
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
    opacity: 0.55;
    transition: opacity var(--tr), background var(--tr);
    flex-shrink: 0;
}

.tag-remove:hover {
    opacity: 1;
    background: rgba(67,56,202,0.18);
}

.tags-add-row {
    display: flex;
    align-items: center;
    padding: 6px 8px 8px;
    gap: 0;
}

.tags-add-input {
    flex: 1;
    height: 32px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 7px 0 0 7px;
    padding: 0 10px;
    font-size: 13px;
    color: var(--text);
    background: var(--subtle);
    outline: none;
    transition: border-color var(--tr), background var(--tr);
}

.tags-add-input:focus {
    border-color: var(--accent);
    background: var(--surface);
}

.tags-add-btn {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--accent);
    border-radius: 0 7px 7px 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: background var(--tr);
    flex-shrink: 0;
}

.tags-add-btn:hover { background: var(--accent-h); }

/* cv existing file hint inside form */
.cv-existing-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.cv-existing-hint a {
    color: #c2410c;
    font-weight: 600;
    text-decoration: none;
}

.cv-existing-hint a:hover { text-decoration: underline; }

/* cv download link in table */
.cv-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #fed7aa;
    transition: background var(--tr), border-color var(--tr);
    white-space: nowrap;
}

.cv-link:hover {
    background: #ffedd5;
    border-color: #fb923c;
    color: #9a3412;
}

/* abilities badges in table */
.abilities-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
