/* ── Admin Portal CSS — Shareef Associates ──────────────────────────────── */

/* ── CSS Variables ──────────────────────────────────────────────────────── */
:root {
    --color-primary:           #2CA01C;
    --color-primary-dark:      #228515;
    --color-primary-light:     rgba(44, 160, 28, 0.12);
    --color-bg:                #F0F2F5;
    --color-card:              #ffffff;
    --color-text:              #1A1A2A;
    --color-muted:             #6B7280;
    --color-border:            #E2E8F0;
    --color-danger:            #DC2626;
    --color-warning:           #D97706;
    --color-info:              #0284C7;
    --radius-card:             10px;
    --shadow-card:             0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --shadow-lg:               0 4px 24px rgba(0, 0, 0, 0.10);
    --font-base:               'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast:         .15s ease;
    --transition-base:         0.25s ease;

    /* Sidebar */
    --sidebar-bg:              #15202E;
    --sidebar-width:           248px;
    --sidebar-collapsed:       64px;
    --sidebar-text:            #94A3B8;
    --sidebar-text-active:     #ffffff;
    --sidebar-hover-bg:        rgba(255, 255, 255, 0.06);
    --sidebar-active-bg:       rgba(44, 160, 28, 0.18);
    --sidebar-active-color:    #4ADE80;
    --sidebar-active-border:   #2CA01C;
    --sidebar-sub-bg:          rgba(0,0,0,0.15);
    --sidebar-border:          rgba(255, 255, 255, 0.07);
    --sidebar-section-label:   rgba(255,255,255,0.28);

    /* Topbar */
    --topbar-height:           58px;
}

/* ── Base reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--transition-base);
    min-width: 0;
    background: var(--color-bg);
}

.content-area {
    flex: 1;
    padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    overflow: hidden;
    transition: width var(--transition-base), transform var(--transition-base);
    box-shadow: 2px 0 12px rgba(0,0,0,0.18);
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 18px;
    height: var(--topbar-height);
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-decoration: none;
}
.sidebar-brand:hover { text-decoration: none; }
.sidebar-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(44,160,28,.4);
}
.sidebar-brand-text {
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.01em;
}

/* Scrollable menu */
.sidebar-menu {
    flex: 1;
    padding: 10px 0 6px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}
.sidebar-menu::-webkit-scrollbar { width: 4px; }
.sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* Section label */
.sidebar-section-label {
    padding: 14px 18px 4px;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sidebar-section-label);
    white-space: nowrap;
    overflow: hidden;
}

/* Menu item (anchor) */
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 18px;
    margin: 1px 8px;
    border-radius: 7px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    border: none;
    border-left: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: calc(100% - 16px);
    transition: background var(--transition-fast), color var(--transition-fast);
    font-family: var(--font-base);
    line-height: 1.4;
}
.sidebar-item i {
    font-size: 17px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    opacity: .75;
    transition: opacity var(--transition-fast);
}
.sidebar-item span { overflow: hidden; text-overflow: ellipsis; }
.sidebar-item:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text-active);
    text-decoration: none;
}
.sidebar-item:hover i { opacity: 1; }
.sidebar-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-color);
}
.sidebar-item.active i {
    color: var(--sidebar-active-color);
    opacity: 1;
}

/* Group toggle */
.sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    margin: 1px 8px;
    border-radius: 7px;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.sidebar-group-toggle:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text-active);
}
.sidebar-group-toggle.open,
.sidebar-group-toggle.active { color: var(--sidebar-text-active); }
.sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 11px;
    overflow: hidden;
    flex: 1;
}
.sidebar-item-left i {
    font-size: 17px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: .75;
}
.sidebar-group-toggle:hover .sidebar-item-left i,
.sidebar-group-toggle.open .sidebar-item-left i { opacity: 1; }
.sidebar-item-left span { overflow: hidden; text-overflow: ellipsis; }
.sidebar-chevron {
    font-size: 11px;
    flex-shrink: 0;
    opacity: .5;
    transition: transform var(--transition-base);
}
.sidebar-group-toggle.open .sidebar-chevron { transform: rotate(180deg); opacity: .8; }

/* Submenu */
.sidebar-group-items {
    display: none;
    padding: 2px 0 4px;
}
.sidebar-group-items.show { display: block; }

.sidebar-subitem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px 7px 52px;
    margin: 1px 8px;
    border-radius: 6px;
    color: #7A8FA6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    transition: background var(--transition-fast), color var(--transition-fast);
    position: relative;
}
.sidebar-subitem::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .4;
    flex-shrink: 0;
}
.sidebar-subitem:hover {
    color: var(--sidebar-text-active);
    background: rgba(255,255,255,.05);
    text-decoration: none;
}
.sidebar-subitem:hover::before { opacity: .8; }
.sidebar-subitem.active {
    color: var(--sidebar-active-color);
    background: rgba(44,160,28,.12);
    font-weight: 600;
}
.sidebar-subitem.active::before { background: var(--sidebar-active-color); opacity: 1; }

/* Bottom pinned section */
.sidebar-bottom {
    flex-shrink: 0;
    border-top: 1px solid var(--sidebar-border);
    padding: 6px 0 4px;
}

/* Logout hover */
.sidebar-logout:hover { color: #FC8181 !important; background: rgba(220,38,38,.12) !important; }

/* FY + role footer */
.sidebar-footer {
    border-top: 1px solid var(--sidebar-border);
    padding: .5rem 1.1rem;
    font-size: .7rem;
    color: rgba(255,255,255,.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 2px;
}
.sidebar-footer strong { color: rgba(255,255,255,.55); }
.sf-role {
    background: rgba(255,255,255,.08);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: .63rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.45);
}

/* Mobile overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.topbar {
    height: var(--topbar-height);
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: .75rem;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

/* Hamburger toggle */
.topbar-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1.35rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}
.topbar-toggle:hover { background: var(--color-bg); }

/* Search */
.topbar-search { flex: 1; max-width: 380px; margin: 0 auto; }
.topbar-search-wrap { position: relative; }
.topbar-search-wrap i {
    position: absolute;
    left: .7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    font-size: .85rem;
    pointer-events: none;
}
.topbar-search input[type="search"] {
    width: 100%;
    padding: .4rem .75rem .4rem 2.1rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: .85rem;
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
}
.topbar-search input[type="search"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    background: #fff;
}

/* Right cluster */
.topbar-right {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
}

/* Icon button */
.topbar-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.topbar-icon-btn:hover { background: var(--color-bg); color: var(--color-text); }

.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: var(--color-danger);
    color: #fff;
    border-radius: 8px;
    font-size: .6rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: 2px solid var(--color-card);
}

/* User button */
.topbar-user-btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .6rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: .85rem;
    font-family: var(--font-base);
    color: var(--color-text);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.topbar-user-btn:hover { background: var(--color-bg); }
.topbar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.topbar-username { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet 768–991: icon-only sidebar */
@media (max-width: 991.98px) and (min-width: 768px) {
    .sidebar { width: var(--sidebar-collapsed); }
    .main-content { margin-left: var(--sidebar-collapsed); }
    .topbar-toggle { display: flex; }

    .sidebar-brand-text,
    .sidebar-item span,
    .sidebar-item-left span,
    .sidebar-chevron,
    .sidebar-group-items,
    .sidebar-section-label,
    .sidebar-footer .sf-role { display: none !important; }

    .sidebar-brand { justify-content: center; padding: 0; }
    .sidebar-item {
        justify-content: center;
        padding: 10px 0;
        margin: 2px 6px;
        width: calc(100% - 12px);
    }
    .sidebar-item i { width: auto; opacity: .9; }
    .sidebar-group-toggle { justify-content: center; padding: 10px 0; margin: 2px 6px; }
    .sidebar-item-left { justify-content: center; }
    .sidebar-footer { justify-content: center; padding: .5rem; }
    .sidebar-subitem { padding: 8px 0; justify-content: center; }
    .sidebar-subitem::before { display: none; }
}

/* Mobile <768: hidden drawer, slide in on toggle */
@media (max-width: 767.98px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .topbar-toggle { display: flex; }
    .topbar-search { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid var(--color-border) !important;
}
.card-header {
    background: var(--color-card) !important;
    border-bottom: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) var(--radius-card) 0 0 !important;
}

/* ── Stat / summary tiles ───────────────────────────────────────────────── */
.stat-card {
    border-radius: var(--radius-card);
    background: var(--color-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.10); transform: translateY(-1px); }

/* ── Page title row ─────────────────────────────────────────────────────── */
.page-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.page-title-row h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: .15rem;
}

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table {
    font-size: .855rem;
    color: var(--color-text);
    margin-bottom: 0;
}
.table > :not(caption) > * > * {
    vertical-align: middle;
    padding: .65rem .85rem;
    border-bottom-color: var(--color-border);
}
/* Header */
.table thead th {
    background: #F8FAFC;
    color: var(--color-muted);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--color-border) !important;
    white-space: nowrap;
}
/* Hover rows */
.table-hover > tbody > tr:hover > * {
    background-color: #F6FBF5;
}
/* Overdue danger row — keep readable */
.table-danger > td, tr.table-danger > td {
    background-color: #FEF2F2 !important;
}
.table-danger:hover > td { background-color: #FDE8E8 !important; }
/* Bordered variant */
.table-bordered > :not(caption) > * > * { border-color: var(--color-border); }
/* Sticky first column in wide grids */
.table-sticky-col td:first-child,
.table-sticky-col th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}
.table-sticky-col thead th:first-child { background: #F8FAFC; z-index: 2; }
/* Table wrapper card */
.table-responsive { border-radius: 0 0 var(--radius-card) var(--radius-card); }
/* Footer total rows */
tfoot > tr > th, tfoot > tr > td {
    background: #F8FAFC;
    font-weight: 600;
    border-top: 2px solid var(--color-border) !important;
}
/* Action column — prevent wrapping on any table */
.table td .btn + .btn { margin-left: 4px; }
.table td:has(.btn-xs) { white-space: nowrap; width: 1%; }
/* Small badge-style type column */
.table .badge {
    font-size: .72rem;
    font-weight: 500;
    padding: .28em .6em;
    border-radius: 5px;
}

/* ── Tiny buttons ───────────────────────────────────────────────────────── */
.btn-xs {
    padding: 4px 8px;
    font-size: .75rem;
    line-height: 1.4;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-xs i { font-size: .8rem; line-height: 1; }

/* ── Table action column — always inline, never wraps ───────────────────── */
.table td.text-end,
.table th.text-end {
    white-space: nowrap;
}
.table td.text-end .btn-xs + .btn-xs { margin-left: 4px; }

/* Action cell: use flex to keep buttons on one line */
.table .action-col {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.table .action-col .btn-xs { vertical-align: middle; }

/* ── Sticky Actions column (last th/td) ─────────────────────────────────── */
.table-sticky-actions thead tr th:last-child,
.table-sticky-actions tbody tr td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fff;
    box-shadow: -3px 0 8px rgba(0,0,0,.06);
}
.table-sticky-actions thead tr th:last-child {
    background: #F8FAFC;
    z-index: 3;
}

/* ── Hover lift ─────────────────────────────────────────────────────────── */
.hover-lift { transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.10) !important; }

/* ── Scrollbars ─────────────────────────────────────────────────────────── */
.overflow-auto::-webkit-scrollbar { height: 6px; width: 6px; }
.overflow-auto::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }

/* ── Flash / Alerts ─────────────────────────────────────────────────────── */
.alert { border-radius: var(--radius-card); }

/* ── Notification dropdown ──────────────────────────────────────────────── */
.notif-dropdown { width: 320px; max-height: 420px; overflow-y: auto; }

/* ── Admin footer ───────────────────────────────────────────────────────── */
.admin-footer {
    padding: .75rem 1.5rem;
    font-size: .78rem;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    background: var(--color-card);
    text-align: center;
}

/* ── Bootstrap btn-primary → design-system green ────────────────────────── */
.btn-primary {
    --bs-btn-bg:               var(--color-primary);
    --bs-btn-border-color:     var(--color-primary);
    --bs-btn-hover-bg:         var(--color-primary-dark);
    --bs-btn-hover-border-color: var(--color-primary-dark);
    --bs-btn-active-bg:        var(--color-primary-dark);
    --bs-btn-active-border-color: var(--color-primary-dark);
    --bs-btn-disabled-bg:      var(--color-primary);
    --bs-btn-disabled-border-color: var(--color-primary);
    --bs-btn-focus-shadow-rgb: 44, 160, 28;
}
.btn-outline-primary {
    --bs-btn-color:            var(--color-primary);
    --bs-btn-border-color:     var(--color-primary);
    --bs-btn-hover-bg:         var(--color-primary);
    --bs-btn-hover-border-color: var(--color-primary);
    --bs-btn-active-bg:        var(--color-primary);
    --bs-btn-active-border-color: var(--color-primary);
}
.text-primary { color: var(--color-primary) !important; }
.bg-primary    { background-color: var(--color-primary) !important; }

/* ── Dashboard: Quick Actions ───────────────────────────────────────────── */
.qb-quick-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.qb-action-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-card);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 1px 3px rgba(44,160,28,0.25);
}
.qb-action-btn:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(44,160,28,0.30);
    text-decoration: none;
}
.qb-action-icon { font-size: 1rem; line-height: 1; }
.qb-action-label { white-space: nowrap; }

/* ── Dashboard: KPI Cards ───────────────────────────────────────────────── */
.kpi-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.kpi-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.10); transform: translateY(-1px); }

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.kpi-icon--green { background: rgba(44,160,28,.12); color: var(--color-primary); }
.kpi-icon--blue  { background: rgba(13,110,253,.10); color: #0d6efd; }
.kpi-icon--red   { background: rgba(220,38,38,.10);  color: var(--color-danger); }

.kpi-body { min-width: 0; }
.kpi-value { font-size: 1.85rem; font-weight: 700; line-height: 1; color: var(--color-text); }
.kpi-value--sm { font-size: 1.35rem; }
.kpi-label { font-size: .8rem; color: var(--color-muted); margin-top: .25rem; }

.fy-icon-wrap { flex-shrink: 0; }

/* ── Client profile avatar (view.php) ───────────────────────────────────── */
.client-avatar-lg {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.section-heading {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: .5rem;
}

.profile-dl {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: .4rem .75rem;
    font-size: .875rem;
    margin: 0;
}
.profile-dl dt { font-weight: 400; color: var(--color-muted); align-self: start; padding-top: .05rem; }
.profile-dl dd { margin: 0; color: var(--color-text); word-break: break-word; }

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
    .sidebar, .topbar, .sidebar-overlay, .btn, .pagination, .admin-footer { display: none !important; }
    .main-content { margin-left: 0 !important; }
    .content-area { padding: 0 !important; }
    .card { border: none !important; box-shadow: none !important; }
}
