:root {
    --bg: #f6f1e8;
    --surface: #fffdf9;
    --surface-soft: #efe7d8;
    --text: #1f2a24;
    --muted: #6f776f;
    --brand: #0f766e;
    --brand-dark: #0b5b55;
    --accent: #d97706;
    --line: rgba(31, 42, 36, 0.08);
    --shadow: 0 18px 45px rgba(31, 42, 36, 0.08);
}

body {
    font-family: "Cairo", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 30%),
        linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
    color: var(--text);
    min-height: 100vh;
    text-align: start;
    overflow-x: hidden;
}

*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: rgba(255, 253, 249, 0.85);
    backdrop-filter: blur(14px);
}

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(217, 119, 6, 0.24), transparent 38%),
        linear-gradient(135deg, #123c38 0%, #0b2f2c 100%);
    color: rgba(255, 255, 255, 0.9);
}

.footer-top {
    row-gap: 1rem;
}

.footer-brand-title {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-tagline {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-nav {
    row-gap: 0.65rem;
}

.footer-divider {
    height: 1px;
    margin: 1.2rem 0 1rem;
    background: rgba(255, 255, 255, 0.12);
}

.navbar-brand {
    letter-spacing: 0.04em;
}

.navbar-actions {
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.navbar-actions .btn,
.navbar-actions form {
    flex-shrink: 0;
}

.navbar-links-shell {
    width: 100%;
}

.navbar-primary-links,
.navbar-secondary-links {
    align-items: center;
    gap: 0.25rem;
}

.navbar-link-spacer {
    display: none;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.hero-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.hero-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.hero-headline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-bar-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hero-bar-actions {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-bar {
        gap: 0.75rem;
    }
    .hero-bar-brand {
        width: 100%;
        flex: none;
    }
    .hero-headline {
        white-space: normal;
    }
    .hiw-section {
        padding: 2.5rem 0;
    }
    .hiw-header {
        margin-bottom: 1.5rem;
    }
    .urgent-strip-title {
        font-size: 0.9rem;
    }
}

/* ── How it works ──────────────────────────────────────────────────────── */
.hiw-section {
    padding: 4rem 0;
    background: var(--surface-soft);
}

.hiw-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hiw-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.hiw-step-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
}

.hiw-step-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.hiw-step-body {
    flex: 1;
}

.hiw-step-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.hiw-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.hiw-step-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767.98px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hiw-step-icon {
        width: 2rem;
        height: 2rem;
    }
    .hiw-step-icon svg {
        width: 1rem;
        height: 1rem;
    }
    .hiw-step {
        gap: 0.75rem;
    }
    .hiw-step-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    .hiw-step-desc {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .hiw-step-num {
        font-size: 0.65rem;
    }
}

.eyebrow {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-panel,
.content-panel,
.info-card,
.form-panel,
.filter-panel,
.empty-state,
.dashboard-card,
.stat-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.stat-card,
.trust-box {
    background: var(--surface-soft);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    margin-top: 0.5rem;
}

.section-header {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
}

.case-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.case-card-media img,
.gallery-image,
.dashboard-thumb {
    width: 100%;
    display: block;
    object-fit: cover;
}

.case-card-media img {
    aspect-ratio: 16 / 10;
}

.case-card-placeholder,
.gallery-placeholder,
.dashboard-placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(217, 119, 6, 0.18));
    color: var(--brand-dark);
    font-weight: 800;
}

.case-card-body {
    padding: 1.35rem;
}

.case-progress {
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
}

.case-progress .progress-bar {
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 999px;
}

.filter-panel,
.form-panel,
.content-panel,
.info-card,
.empty-state,
.dashboard-card,
.stat-panel {
    padding: 1.5rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-image {
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
}

.case-description {
    color: var(--text);
    line-height: 1.9;
}

.detail-sidebar {
    position: sticky;
    top: 1.5rem;
}

.dashboard-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 1.1rem;
}

.dashboard-placeholder {
    min-height: 140px;
    border-radius: 1.1rem;
}

.footer-link,
.nav-link {
    color: var(--text);
    text-decoration: none;
}

.footer-link:hover,
.nav-link:hover {
    color: var(--brand);
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.site-footer .footer-link:hover {
    color: #ffffff;
}

.footer-credit-row {
    min-height: 3rem;
}

.footer-love-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    text-align: center;
}

.footer-heart {
    width: 1rem;
    height: 1rem;
    color: rgba(248, 113, 113, 0.78);
    flex: 0 0 auto;
}

.footer-basmalah {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    text-align: center;
}

.nav-link {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link.active {
    background: rgba(15, 118, 110, 0.12);
    color: var(--brand-dark);
    font-weight: 700;
}

.navbar-cta {
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.92);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(31, 42, 36, 0.06);
}

.navbar-cta:hover,
.navbar-cta:focus {
    color: var(--brand-dark);
    border-color: rgba(15, 118, 110, 0.2);
    background: rgba(15, 118, 110, 0.08);
}

.navbar-cta.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.navbar-cta.navbar-cta-brand {
    border-color: rgba(15, 118, 110, 0.22);
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.navbar-cta.navbar-cta-brand.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.navbar-cta.navbar-cta-success {
    border-color: rgba(25, 135, 84, 0.2);
    background: rgba(25, 135, 84, 0.08);
    color: #16613f;
}

.navbar-cta.navbar-cta-success.active {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.narrow-page {
    max-width: 900px;
    margin: 0 auto;
}

.list-group-item {
    background: transparent;
    border-color: var(--line);
}

.pagination {
    gap: 0.25rem;
    align-items: center;
}

.pagination .page-item {
    display: flex;
}

.pagination .page-item a.page-link,
.pagination .page-item span.page-link {
    border-radius: 999px !important;
    width: 2.4rem !important;
    height: 2.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    box-shadow: 0 2px 6px rgba(31, 42, 36, 0.05);
    line-height: 1;
}

.pagination .page-item a.page-link:hover {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--brand-dark);
}

.pagination .page-item.active span.page-link {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.pagination .page-item.disabled a.page-link {
    opacity: 0.4;
    pointer-events: none;
}

.language-select {
    min-width: 110px;
    border: 1px solid var(--line);
    background-color: var(--surface);
}

@media (min-width: 992px) {
    .navbar-collapse {
        gap: 1rem;
    }

    .navbar-links-shell {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    .navbar-primary-links,
    .navbar-secondary-links {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .navbar-link-spacer {
        display: block;
        flex: 1 1 6rem;
        min-width: clamp(3rem, 7vw, 8rem);
    }

    .navbar-actions {
        justify-content: flex-end;
        margin-inline-start: 1rem;
        flex-wrap: nowrap;
    }

    .navbar-actions .btn {
        white-space: nowrap;
    }
}

.sticky-lg-top {
    top: 1.5rem;
}

.campaign-cover {
    max-height: 360px;
    object-fit: cover;
}

.update-card,
.queue-card,
.table-card,
.staff-sidebar,
.staff-topbar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.update-card,
.queue-card,
.table-card,
.staff-sidebar,
.staff-topbar {
    padding: 1.25rem;
}

.metric-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.metric-card {
    background: var(--surface-soft);
    border-radius: 1rem;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.metric-card .metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.metric-card .metric-label {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.staff-shell {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    align-items: start;
}

.staff-sidebar {
    position: sticky;
    top: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.15), transparent 32%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(239, 231, 216, 0.92));
}

.staff-brand-panel {
    position: relative;
    padding-bottom: 1rem;
}

.staff-wordmark {
    font-weight: 800;
    font-size: 1rem;
    color: var(--brand-dark);
    letter-spacing: -0.01em;
}

.staff-nav-block + .staff-nav-block {
    margin-top: 1.1rem;
}

.staff-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    margin: 1rem 0;
}

.staff-nav {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.staff-nav a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    transition: 0.2s ease;
}

.staff-nav a:hover,
.staff-nav a.active {
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.staff-nav a.active {
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.staff-sidebar-footer {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.staff-main {
    display: grid;
    gap: 1.5rem;
}

.staff-ghost-link,
.staff-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.2s ease;
}

.staff-ghost-link {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.staff-ghost-link:hover {
    color: var(--brand-dark);
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(15, 118, 110, 0.08);
}

.staff-topbar {
    margin-bottom: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.16), transparent 26%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(11, 91, 85, 0.96));
    color: #fff;
    border-color: rgba(15, 118, 110, 0.16);
}

.staff-topbar .eyebrow {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.staff-topbar .section-note {
    color: rgba(255, 255, 255, 0.82);
}

/* CTA button inside topbar — white with brand text */
.staff-topbar .btn-brand {
    background: #fff;
    border-color: #fff;
    color: var(--brand-dark);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.staff-topbar .btn-brand:hover,
.staff-topbar .btn-brand:focus {
    background: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.88);
    color: var(--brand-dark);
}

/* Back button inside topbar */
.staff-topbar .bo-form-back {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    font-weight: 600;
}

.staff-topbar .bo-form-back:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.staff-topbar-inner {
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.staff-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.staff-count-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    min-width: 4rem;
    text-align: center;
    line-height: 1.2;
}

.staff-count-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.staff-count-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.2rem;
}

.staff-topbar-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    align-items: end;
}

.staff-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.staff-shortcut {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.staff-shortcut:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.table-card {
    overflow: hidden;
}

.table-card .table {
    margin-bottom: 0;
}

.table-card .table > :not(caption) > * > * {
    padding: 1rem 1rem;
    background: transparent;
    border-bottom-color: var(--line);
    vertical-align: middle;
}

.table-card tbody tr:hover td {
    background: rgba(15, 118, 110, 0.03);
}

.table-card .table thead th {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.row-title {
    font-weight: 700;
}

.row-meta,
.section-note,
.table-note,
.sidebar-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.backoffice-check,
.inline-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 100%;
    padding-top: 2rem;
}

.backoffice-check .form-check-input,
.inline-check .form-check-input {
    float: none;
    margin: 0;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.permission-grid > div,
.permission-grid > label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(15, 118, 110, 0.03);
}

.permission-grid input {
    margin: 0;
    flex-shrink: 0;
}

.review-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.action-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.asset-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.asset-card {
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.85rem;
    background: rgba(15, 118, 110, 0.03);
}

.asset-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.8rem;
    margin-bottom: 0.75rem;
}

.asset-card--doc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.asset-doc-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-doc-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Form back button */
.bo-form-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.bo-form-back:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: rgba(15, 118, 110, 0.04);
}

.bo-form-back svg {
    width: 1rem;
    height: 1rem;
}

/* ── Update parent picker ─────────────────────────────────────────── */
.update-parent-label {
    font-size: 0.9rem;
    color: var(--text);
}
.update-parent-toggle {
    display: inline-flex;
    gap: 0.5rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem;
}
.update-parent-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.update-parent-btn svg {
    width: 0.85rem;
    height: 0.85rem;
}
.update-parent-btn.active {
    background: var(--brand);
    color: #fff;
}

/* Form action buttons */
.bo-form-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.bo-btn-save {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    gap: 0.4rem;
}

.bo-btn-save:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.bo-btn-save svg {
    width: 0.9rem;
    height: 0.9rem;
}

.bo-btn-cancel {
    color: var(--text-muted);
    border-color: var(--line);
    background: var(--surface);
}

.bo-btn-cancel:hover {
    color: var(--text);
    border-color: #aaa;
    background: var(--surface-soft);
}


.stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.stat-strip span {
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

.message-card {
    display: grid;
    gap: 1rem;
}

.message-card + .message-card {
    margin-top: 1rem;
}

.queue-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.queue-card:hover {
    transform: translateY(-2px);
}

.pagination-wrap {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .detail-sidebar {
        position: static;
    }

    .staff-shell {
        grid-template-columns: 1fr;
    }

    .staff-sidebar {
        display: none;
    }

    .staff-topbar-grid {
        grid-template-columns: 1fr;
    }

    .staff-shortcuts {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .footer-credit-row {
        text-align: center;
    }
}

/* ── Mobile bottom navigation ─────────────────────────────────────────── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 1040;
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(31, 42, 36, 0.08);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.65rem 0.25rem;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    min-height: 56px;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item svg {
    width: 1.4rem;
    height: 1.4rem;
    transition: transform 0.15s ease;
}

.mobile-nav-item.active {
    color: var(--brand-dark);
}

.mobile-nav-item.active svg {
    transform: scale(1.1);
}

.mobile-nav-item:active svg {
    transform: scale(0.92);
}

/* ── Mobile global improvements ───────────────────────────────────────── */
@media (max-width: 991.98px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container, .container-fluid {
        overflow-x: hidden;
    }


    /* body padding for bottom nav */
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
        font-size: 1.02rem;
    }

    /* hide footer on mobile — bottom nav replaces it */
    .site-footer {
        display: none;
    }

    /* hide hamburger — bottom nav handles navigation */
    .navbar-toggler {
        display: none !important;
    }

    /* collapse is never needed on mobile */
    #mainNav {
        display: none !important;
    }

    /* compact mobile navbar */
    .navbar {
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    /* larger touch targets on all buttons */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* nav link touch targets */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* full-width cards on small phones */
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* hero stat strip full width */
    .hero-stat-strip {
        width: 100% !important;
        justify-content: space-between;
    }

    .hero-stat-item {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    /* preview panel full height */
    .hero-preview-panel {
        margin-top: 0.5rem;
    }

    /* urgent scroll track on mobile */
    .urgent-scroll-track {
        padding-bottom: 0.5rem;
    }

    .urgent-card {
        flex: 0 0 180px;
    }

    /* list page header stacks cleanly */
    .list-page-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .list-page-header-inner .btn {
        width: 100%;
    }

    /* case detail meta chips wrap */
    .detail-meta-row {
        gap: 0.4rem;
    }

    /* share grid single column on very small */
    .share-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* timeline indentation reduced */
    .timeline {
        padding-inline-start: 1.1rem;
    }

    /* pagination bigger touch targets */
    .pagination .page-item a.page-link,
    .pagination .page-item span.page-link {
        width: 2.8rem !important;
        height: 2.8rem !important;
        font-size: 1rem;
    }
}

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

    .hero-stat-strip {
        width: 100% !important;
    }
}

/* ── Case detail ──────────────────────────────────────────────────────── */
.detail-breadcrumb {
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    padding: 0.65rem 0;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.detail-back-link svg {
    width: 1rem;
    height: 1rem;
}

.detail-back-link:hover {
    color: var(--brand-dark);
}

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.detail-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--muted);
}

.detail-meta-chip svg {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
}

.detail-hero-image {
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--surface-soft);
}

.detail-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* ── Image gallery ─────────────────────────────────────────────────────── */
.gallery-main {
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--surface-soft);
    position: relative;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: var(--surface-soft);
    opacity: 0.55;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--brand);
    opacity: 1;
}

.text-brand {
    color: var(--brand-dark);
}

/* WhatsApp button */
.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
}

/* Share grid */
.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.share-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.share-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.share-btn--whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.25);
    color: #1a9e4e;
}

.share-btn--telegram {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.22);
    color: #0078b3;
}

.share-btn--x {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text);
}

.share-btn--copy {
    background: var(--surface-soft);
    border-color: var(--line);
    color: var(--text);
}

/* ── List page header ─────────────────────────────────────────────────── */
.list-page-header {
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.1), transparent 35%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.list-page-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-clear-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
}

.filter-clear-link:hover {
    color: #b91c1c;
}

.filter-check-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-urgent-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #dc2626;
}

.list-results-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-results-count {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.list-filtered-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
}

.empty-state-icon {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--surface-soft);
    color: var(--muted);
}

.empty-state-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* ── Hero stat strip ──────────────────────────────────────────────────── */
.hero-stat-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.6rem 1rem;
    width: fit-content;
    box-shadow: var(--shadow);
}

.hero-stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0 0.85rem;
}

.hero-stat-item:first-child { padding-inline-start: 0; }
.hero-stat-item:last-child  { padding-inline-end: 0; }

.hero-stat-divider {
    width: 1px;
    height: 1.4rem;
    background: var(--line);
    flex-shrink: 0;
}

.hero-stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

/* ── Hero preview panel ───────────────────────────────────────────────── */
.hero-preview-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--line);
}

.hero-preview-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.hero-preview-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-decoration: none;
}

.hero-preview-all:hover {
    color: var(--brand);
}

.hero-cases-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    -webkit-overflow-scrolling: touch;
}

.hero-cases-scroll::-webkit-scrollbar { height: 4px; }
.hero-cases-scroll::-webkit-scrollbar-track { background: transparent; }
.hero-cases-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.hero-case-card {
    flex: 0 0 160px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}

.hero-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15,118,110,0.1);
    border-color: rgba(15,118,110,0.25);
}

.hero-case-thumb {
    height: 90px;
    overflow: hidden;
}

.hero-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-case-body {
    padding: 0.6rem 0.75rem 0.7rem;
    flex: 1;
}

.hero-case-urgent {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(220,38,38,0.1);
    color: #dc2626;
    margin-bottom: 0.3rem;
}

.hero-case-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-case-meta {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-case-bar-wrap {
    height: 3px;
    background: rgba(15,118,110,0.12);
    border-radius: 999px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.hero-case-bar {
    height: 100%;
    background: var(--brand);
    border-radius: 999px;
}

.hero-preview-empty {
    padding: 1.5rem 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-preview-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--muted);
    background: var(--surface-soft);
}

.hero-preview-trust svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand);
    flex-shrink: 0;
}

/* ── Urgent strip ─────────────────────────────────────────────────────── */
.urgent-strip-section {
    padding: 2rem 0 1rem;
}

.urgent-strip-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.urgent-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.urgent-strip-badge svg {
    width: 0.85rem;
    height: 0.85rem;
}

.recent-strip-badge {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.recent-card {
    border-color: rgba(13, 148, 136, 0.25);
}

.recent-card:hover {
    border-color: #0d9488;
}

.campaign-strip-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.campaign-card {
    border-color: rgba(99, 102, 241, 0.2);
}

.campaign-card:hover {
    border-color: #6366f1;
}

.urgent-card-urgent-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.campaign-bar {
    background: #6366f1;
}

.urgent-strip-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.urgent-strip-link {
    margin-inline-start: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-decoration: none;
}

.urgent-strip-link:hover {
    color: var(--brand);
}

.urgent-scroll-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    -webkit-overflow-scrolling: touch;
}

.urgent-scroll-track::-webkit-scrollbar {
    height: 4px;
}

.urgent-scroll-track::-webkit-scrollbar-track {
    background: transparent;
}

.urgent-scroll-track::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
}

.urgent-card {
    flex: 0 0 220px;
    background: var(--surface);
    border: 1.5px solid rgba(220, 38, 38, 0.18);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.06);
}

.urgent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.1);
}

.urgent-card-thumb {
    height: 120px;
    overflow: hidden;
}

.urgent-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.urgent-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(217, 119, 6, 0.16));
    color: #dc2626;
    font-weight: 800;
    font-size: 0.85rem;
}

.urgent-card-body {
    padding: 0.85rem;
}

.urgent-card-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.urgent-card-meta {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.urgent-card-progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
    overflow: hidden;
}

.urgent-card-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #dc2626, var(--accent));
}

/* ── Timeline ─────────────────────────────────────────────────────────── */
.timeline {
    display: grid;
    gap: 0;
    position: relative;
    padding-inline-start: 1.6rem;
    overflow: hidden;
}

.timeline::before {
    content: "";
    position: absolute;
    inset-inline-start: 0.45rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), rgba(15, 118, 110, 0.1));
    border-radius: 999px;
}

.timeline-item {
    position: relative;
    padding: 0 0 1.75rem 1.25rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    inset-inline-start: -1.5rem;
    top: 0.25rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    border: 2px solid var(--surface);
    background: var(--brand);
    box-shadow: 0 0 0 2px var(--brand);
}

.timeline-dot--campaign {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    box-shadow: 0 4px 14px rgba(31, 42, 36, 0.05);
    transition: box-shadow 0.2s ease;
}

.timeline-body:hover {
    box-shadow: 0 8px 24px rgba(31, 42, 36, 0.09);
}

.timeline-title {
    font-size: 0.97rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.timeline-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-decoration: none;
}

.timeline-link:hover {
    color: var(--brand);
}

/* ── Backoffice section ────────────────────────────────────────────── */
.staff-section {
    padding-top: 0;
    padding-bottom: 2rem;
}

.staff-section .container-xxl {
    max-width: 100%;
    padding-inline: 1.5rem;
}

@media (min-width: 992px) {
    .staff-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .staff-section .container-xxl {
        padding-inline: 2rem;
    }
}

/* ── Mobile top bar ───────────────────────────────────────────────── */
.staff-mobile-topbar {
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0 1rem;
}

.staff-mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.staff-mobile-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.staff-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.staff-drawer-toggle:hover {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--brand-dark);
}

.staff-drawer-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* ── Drawer overlay ───────────────────────────────────────────────── */
.staff-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1059;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.staff-drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Navigation drawer ────────────────────────────────────────────── */
.staff-drawer {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: min(300px, 88vw);
    height: 100%;
    z-index: 1060;
    overflow-y: auto;
    transform: translateX(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 36%),
        linear-gradient(180deg, #fffdf9 0%, #efe7d8 100%);
    border-inline-end: 1px solid var(--line);
    box-shadow: 4px 0 32px rgba(31, 42, 36, 0.14);
}

[dir="rtl"] .staff-drawer {
    transform: translateX(110%);
    box-shadow: -4px 0 32px rgba(31, 42, 36, 0.14);
}

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

.staff-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.staff-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.staff-drawer-close:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
}

/* ── Backoffice mobile bottom nav ─────────────────────────────────── */
.staff-mobile-bottomnav {
    position: fixed;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 1040;
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(31, 42, 36, 0.08);
}

.staff-mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.65rem 0.25rem;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    min-height: 56px;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.staff-mobile-nav-item svg {
    width: 1.4rem;
    height: 1.4rem;
    transition: transform 0.15s ease;
}

.staff-mobile-nav-item.active {
    color: var(--brand-dark);
}

.staff-mobile-nav-item.active svg {
    transform: scale(1.1);
}

.staff-mobile-nav-item:active svg {
    transform: scale(0.9);
}

/* ── Staff member card (mobile list view) ─────────────────────────── */
.staff-member-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(31, 42, 36, 0.06);
}

.staff-member-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem 0.75rem;
}

.staff-member-card-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 0;
}

.staff-member-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(217, 119, 6, 0.18));
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 1rem;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.staff-member-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-member-fullname {
    font-size: 0.8rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-member-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem 0.9rem;
    border-top: 1px solid var(--line);
    background: rgba(15, 118, 110, 0.02);
}

.staff-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.staff-badge-superadmin {
    background: rgba(217, 119, 6, 0.12);
    color: #92400e;
}

.staff-badge-reviewer {
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.staff-badge-active {
    background: rgba(25, 135, 84, 0.1);
    color: #166534;
}

.staff-badge-inactive {
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
}

.staff-badge-perms {
    background: var(--surface-soft);
    color: var(--muted);
    border: 1px solid var(--line);
}

/* ── Staff desktop table ──────────────────────────────────────────── */
.staff-table .staff-table-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.staff-table-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.staff-table-email {
    color: var(--muted);
    font-size: 0.9rem;
}

.staff-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.staff-status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.staff-status-active {
    background: rgba(25, 135, 84, 0.1);
    color: #166534;
}

.staff-status-active .staff-status-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.staff-status-inactive {
    background: rgba(220, 38, 38, 0.07);
    color: #991b1b;
}

.staff-status-inactive .staff-status-dot {
    background: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}

.staff-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.staff-edit-btn svg {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
}

.staff-edit-btn:hover {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--brand-dark);
}

/* ── Staff empty state ────────────────────────────────────────────── */
.staff-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.staff-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-grid;
    place-items: center;
    border-radius: 1.1rem;
    background: var(--surface-soft);
    color: var(--muted);
}

.staff-empty-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.staff-empty-text {
    color: var(--muted);
    margin-bottom: 0.25rem;
}

/* Topbar responsive adjustments */
@media (max-width: 767.98px) {
    .staff-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .staff-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ── Override Bootstrap badges inside staff panel ────────────────── */
.staff-main .badge {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0;
}
.staff-main .badge.text-bg-success {
    background: rgba(25, 135, 84, 0.12) !important;
    color: #166534 !important;
}
.staff-main .badge.text-bg-danger {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #991b1b !important;
}
.staff-main .badge.text-bg-warning {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #92400e !important;
}
.staff-main .badge.text-bg-secondary {
    background: var(--surface-soft) !important;
    color: var(--muted) !important;
    border: 1px solid var(--line);
}
.staff-main .badge.text-bg-dark {
    background: rgba(15, 118, 110, 0.12) !important;
    color: var(--brand-dark) !important;
}
.staff-main .badge.text-bg-primary {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #1d4ed8 !important;
}

/* ── Backoffice inline action buttons ────────────────────────────── */
.bo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.82rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1;
}
.bo-btn:hover {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.22);
    color: var(--brand-dark);
}
.bo-btn svg { width: 0.82rem; height: 0.82rem; flex-shrink: 0; }

.bo-btn-approve {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.22);
    color: #166534;
}
.bo-btn-approve:hover {
    background: rgba(25, 135, 84, 0.15);
    border-color: rgba(25, 135, 84, 0.35);
    color: #14532d;
}
.bo-btn-reject {
    background: rgba(220, 38, 38, 0.07);
    border-color: rgba(220, 38, 38, 0.2);
    color: #991b1b;
}
.bo-btn-reject:hover {
    background: rgba(220, 38, 38, 0.13);
    border-color: rgba(220, 38, 38, 0.32);
    color: #7f1d1d;
}
.bo-btn-complete {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.22);
    color: var(--brand-dark);
}
.bo-btn-complete:hover {
    background: rgba(15, 118, 110, 0.17);
    border-color: rgba(15, 118, 110, 0.32);
    color: var(--brand-dark);
}

/* ── Staff form ───────────────────────────────────────────────────── */
.sf-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sf-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sf-toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.sf-toggle-chip:has(input:checked) {
    background: rgba(15, 118, 110, 0.08);
    border-color: var(--brand);
    color: var(--brand-dark);
}

.sf-toggle-chip input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--brand);
    flex-shrink: 0;
}

.sf-superadmin-notice {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 118, 110, 0.07);
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.sf-superadmin-notice svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.sf-perm-group {
    margin-bottom: 1.25rem;
}

.sf-perm-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--line);
}

.sf-perm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.45rem;
}

.sf-perm-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface-soft);
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.sf-perm-item:has(input:checked) {
    background: rgba(15, 118, 110, 0.06);
    border-color: rgba(15, 118, 110, 0.35);
    color: var(--brand-dark);
}

.sf-perm-item input[type="checkbox"] {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--brand);
}

/* ── Backoffice funding cell ──────────────────────────────────────── */
.bo-funding-cell {
    min-width: 130px;
}
.bo-funding-amounts {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.bo-funding-raised { color: var(--brand-dark); }
.bo-funding-sep    { color: var(--text-muted); font-weight: 400; }
.bo-funding-goal   { color: var(--text-muted); font-weight: 400; }
.bo-progress-bar {
    height: 5px;
    background: rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.35rem;
}
.bo-progress-fill {
    height: 100%;
    background: var(--brand);
    border-radius: 999px;
    transition: width 0.3s ease;
}
.bo-progress-fill.bo-progress-complete {
    background: #16a34a;
}
.bo-funding-pct {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.bo-btn-toggle {
    background: rgba(25, 135, 84, 0.07);
    border-color: rgba(25, 135, 84, 0.2);
    color: #166534;
}
.bo-btn-toggle:hover {
    background: rgba(25, 135, 84, 0.14);
    border-color: rgba(25, 135, 84, 0.32);
    color: #14532d;
}
.bo-btn-toggle-off {
    background: var(--surface-soft);
    border-color: var(--line);
    color: var(--muted);
}
.bo-btn-toggle-off:hover {
    background: rgba(15, 118, 110, 0.07);
    border-color: rgba(15, 118, 110, 0.18);
    color: var(--brand-dark);
}

/* ── Filter bar header ────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.filter-bar-icon {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.6rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
    flex-shrink: 0;
}
.filter-bar-icon svg { width: 0.9rem; height: 0.9rem; }
.filter-bar-title { font-weight: 700; font-size: 0.88rem; color: var(--text); }

/* ── Metric cards with icons ──────────────────────────────────────── */
.metric-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 0.8rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
    margin-bottom: 0;
}
.metric-icon svg { width: 1rem; height: 1rem; }
.metric-icon--urgent  { background: rgba(220, 38, 38, 0.1);  color: #dc2626; }
.metric-icon--users   { background: rgba(59, 130, 246, 0.1); color: #1d4ed8; }
.metric-icon--staff   { background: rgba(217, 119, 6, 0.12); color: #92400e; }
.metric-icon--approve { background: rgba(25, 135, 84, 0.1);  color: #166534; }

/* ── Queue item cards ─────────────────────────────────────────────── */
.queue-item {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    transition: box-shadow 0.15s ease;
}
.queue-item:last-child { margin-bottom: 0; }
.queue-item:hover { box-shadow: 0 4px 16px rgba(31, 42, 36, 0.08); }
.queue-item--urgent {
    border-inline-start-width: 3px;
    border-inline-start-color: #dc2626;
}

/* ── Backoffice empty state ───────────────────────────────────────── */
.bo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
}
.bo-empty-icon {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 1rem;
    background: var(--surface-soft);
    color: var(--muted);
    margin-bottom: 0.25rem;
}
.bo-empty-icon svg { width: 1.5rem; height: 1.5rem; }
.bo-empty-title { font-weight: 700; font-size: 0.95rem; margin: 0; color: var(--text); }
.bo-empty-text { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ── Visibility chip ──────────────────────────────────────────────── */
.vis-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
.vis-chip--public  { background: rgba(25, 135, 84, 0.1);  color: #166634; }
.vis-chip--private { background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); }
.vis-chip-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

/* ── Active dot (taxonomy) ────────────────────────────────────────── */
.active-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.82rem;
    font-weight: 700;
}
.active-dot::before {
    content: '';
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}
.active-dot--yes { color: #166534; }
.active-dot--no  { color: var(--muted); }

/* ── Message cards (contact inbox) ───────────────────────────────── */
.message-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(31, 42, 36, 0.05);
}
.message-item:last-child { margin-bottom: 0; }
.message-item--resolved { opacity: 0.6; }
.message-sender-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.message-sender-identity {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.message-avatar {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(217, 119, 6, 0.16));
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    text-transform: uppercase;
}
.message-sender-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.message-sender-meta { font-size: 0.8rem; color: var(--muted); }
.message-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    background: var(--surface-soft);
    border-radius: 0.75rem;
    border: 1px solid var(--line);
}

/* ── Topbar standardisation ───────────────────────────────────────── */
.staff-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .staff-topbar-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Shortcut buttons (dashboard) ────────────────────────────────── */
.staff-shortcut-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}
.staff-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.staff-shortcut:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.staff-shortcut svg { width: 0.85rem; height: 0.85rem; flex-shrink: 0; }

/* ── Compact dashboard topbar ─────────────────────────────────────── */
.dash-topbar-compact {
    padding: 1rem 1.25rem;
}
.dash-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.dash-topbar-title .eyebrow {
    font-size: 0.7rem;
}

/* ── Dashboard stat strip ─────────────────────────────────────────── */
.dash-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.dash-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}
.dash-stat-num {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

/* ── Backoffice mobile fixes ──────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Enough room above the fixed staff bottom nav */
    .staff-section {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* Main metric grid: 3 columns → 6 cards = 2 balanced rows */
    .metric-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    /* Analytics grid: 2 columns → 5 cards = 2+2+1, last card spans full row */
    .metric-grid--analytics {
        grid-template-columns: repeat(2, 1fr);
    }
    .metric-grid--analytics .metric-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }
    .metric-card {
        padding: 0.65rem 0.75rem;
        border-radius: 0.75rem;
        gap: 0.5rem;
    }
    .metric-card .metric-value {
        font-size: 1.15rem;
    }
    .metric-card .metric-label {
        font-size: 0.7rem;
    }

    /* Compact topbar on mobile */
    .dash-topbar-compact {
        padding: 0.85rem 1rem;
    }
    .dash-stat-item {
        font-size: 0.72rem;
        padding: 0.25rem 0.55rem;
    }
    .dash-stat-num {
        font-size: 0.9rem;
    }

    /* Shortcut bar — smaller buttons, ensure wrap */
    .staff-shortcut-bar {
        gap: 0.4rem;
    }
    .staff-shortcut {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
        gap: 0.3rem;
    }

    /* Queue items readable on small screens */
    .queue-item {
        padding: 0.75rem 0.9rem;
    }
    .queue-card {
        padding: 1rem;
    }
}
