    /* ═══════════════════════════════════════════
    Client Dashboard — Obsidian Glass Design
    Anti-Generic UX / Bento Box / No-Jargon
    ═══════════════════════════════════════════ */

    /* ── Mesh Background ──────────────────── */
    body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    }

    /* ── Top Bar ─────────────────────────── */
    .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    }

    .topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    }

    .topbar-brand svg {
    width: 16px;
    height: 16px;
    }

    .topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    }

    .topbar-user-name {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: none;
    }

    @media (min-width: 640px) {
    .topbar-user-name {
    display: block;
    }
    }

    .topbar-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    }

    .topbar-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    }

    .topbar-btn svg {
    width: 13px;
    height: 13px;
    }

    /* ── Layout ────────────────────────────── */
    .dashboard-wrapper {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
    }

    /* ── Section Navigation ────────────────── */
    .section-nav {
    display: flex;
    gap: 4px;
    padding: 3px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(16px);
    }

    .section-nav::-webkit-scrollbar {
    display: none;
    }

    .nav-tab {
    flex: 1;
    min-width: max-content;
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
    }

    .nav-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    }

    .nav-tab.active {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    }

    .nav-tab svg {
    width: 14px;
    height: 14px;
    }

    /* ── Dashboard Header ────────────────── */
    .dash-header {
    margin-bottom: 1.75rem;
    }

    .dash-client-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    }

    .dash-client-url {
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    }

    /* ── Cards ─────────────────────────────── */
    .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-antigravity);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .card:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-hover);
    }

    .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.82rem;
    }

    .card-header svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    }

    .card-header .badge {
    margin-left: auto;
    }

    .card-body {
    padding: 1.25rem;
    }

    /* ── Stats Grid ────────────────────────── */
    .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    }

    .stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-antigravity);
    }

    .stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
    }

    .stat-value.accent {
    color: var(--accent);
    }

    .stat-value.success {
    color: var(--success);
    }

    .stat-value.warning {
    color: var(--warning);
    }

    .stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    }

    /* ── Table ─────────────────────────────── */
    .data-table {
    width: 100%;
    border-collapse: collapse;
    }

    .data-table th {
    text-align: left;
    padding: 0.6rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    }

    .data-table td {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

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

    .data-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
    }

    /* ── Badges ────────────────────────────── */
    .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    }

    .badge-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    }

    .badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.15);
    }

    .badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
    }

    .badge-accent {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.15);
    }

    .badge-muted {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    }

    /* ── Action Buttons ────────────────────── */
    .btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    }

    .btn-sm:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    }

    .btn-sm svg {
    width: 12px;
    height: 12px;
    }

    /* ── Progress Bar ─────────────────────── */
    .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
    }

    .progress-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent);
    transition: width 0.6s ease;
    }

    .progress-fill.success {
    background: var(--success);
    }

    /* ── Timeline ──────────────────────────── */
    .timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .timeline-item:last-child {
    border-bottom: none;
    }

    .timeline-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .timeline-icon svg {
    width: 15px;
    height: 15px;
    }

    .timeline-icon.report {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    }

    .timeline-icon.study {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    }

    .timeline-icon.audit {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    }

    .timeline-content {
    flex: 1;
    min-width: 0;
    }

    .timeline-title {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    }

    .timeline-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    }

    /* ── Kit Digital Checklist ─────────────── */
    .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

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

    .checklist-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    }

    .checklist-icon svg {
    width: 14px;
    height: 14px;
    }

    .checklist-icon.done {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    }

    .checklist-icon.pending {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.15);
    }

    .checklist-content {
    flex: 1;
    }

    .checklist-name {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 2px;
    }

    .checklist-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    }

    .checklist-progress {
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    margin-top: 4px;
    }

    /* ── Positions Table ──────────────────── */
    .pos-keyword {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    }

    .pos-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    }

    .pos-trend {
    font-size: 0.68rem;
    margin-left: 6px;
    }

    .pos-trend.up {
    color: var(--success);
    }

    .pos-trend.down {
    color: var(--danger);
    }

    /* ── Loading State ─────────────────────── */
    .loading-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255,
    0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    }

    @keyframes shimmer {
    0% {
    background-position: -200% 0;
    }

    100% {
    background-position: 200% 0;
    }
    }

    /* ── Empty State ──────────────────────── */
    .empty-state {
    text-align: center;
    padding: 2rem;
    }

    .empty-state svg {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    }

    .empty-state p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    }

    /* ── Sections ──────────────────────────── */
    .section {
    display: none;
    animation: section-in 0.35s ease;
    }

    .section.active {
    display: block;
    }

    @keyframes section-in {
    from {
    opacity: 0;
    transform: translateY(8px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
    }

    /* ── Study Detail & Checklist ─────────── */
    .study-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: border-color 0.25s ease;
    }

    .study-card:hover {
    border-color: var(--border-hover);
    }

    .study-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    }

    .study-header:hover {
    background: rgba(255,255,255,0.02);
    }

    .study-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 2px;
    }

    .study-card.expanded .study-toggle-icon {
    transform: rotate(180deg);
    }

    .study-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    }

    .study-card.expanded .study-detail {
    max-height: 3000px;
    }

    .study-detail-inner {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
    }

    .study-summary {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 1rem 0;
    }

    .study-summary h2 { font-size: 1rem; color: var(--text-primary); margin: 1.2rem 0 0.5rem; font-weight: 600; }
    .study-summary h3 { font-size: 0.9rem; color: var(--text-primary); margin: 1rem 0 0.4rem; font-weight: 600; }
    .study-summary strong { color: var(--text-primary); }
    .study-summary ul, .study-summary ol { padding-left: 1.2rem; margin: 0.5rem 0; }
    .study-summary li { margin-bottom: 0.3rem; }
    .study-summary p { margin: 0.5rem 0; }

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

    .action-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: opacity 0.2s ease;
    }

    .action-item:last-child {
    border-bottom: none;
    }

    .action-checkbox {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border-hover);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 1px;
    padding: 0;
    }

    .action-checkbox:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    }

    .action-checkbox.done {
    background: var(--success);
    border-color: var(--success);
    }

    .action-checkbox.done svg {
    color: #fff;
    }

    .action-item.completed .action-text {
    text-decoration: line-through;
    opacity: 0.5;
    }

    .action-text {
    flex: 1;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    }

    .action-meta {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
    }

    .action-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }

    .action-tag.critical { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
    .action-tag.high { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
    .action-tag.medium { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
    .action-tag.low { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }

    .action-tag.cat {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    }

    .checklist-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
    }

    .checklist-section-title:first-child {
    border-top: none;
    margin-top: 0;
    }

    /* ── Mobile Sidebar Navigation ────────── */
    .hamburger-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.15);
    touch-action: manipulation;
    }

    .hamburger-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    }

    .hamburger-btn svg {
    width: 18px;
    height: 18px;
    }

    .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    }

    .sidebar-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    }

    .mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
    }

    .mobile-sidebar.open {
    transform: translateX(0);
    }

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

    .sidebar-brand {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    }

    .sidebar-brand svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    }

    .sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.15);
    }

    .sidebar-close svg {
    width: 20px;
    height: 20px;
    }

    .sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    }

    .sidebar-nav .nav-tab {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    }

    /* ── Responsive ──────────────────────── */
    @media (max-width: 768px) {
    .section-nav {
    display: none;
    }

    .hamburger-btn {
    display: flex;
    }

    .sidebar-overlay {
    display: block;
    }

    .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .topbar {
    padding: 0.65rem 1rem;
    }

    .dashboard-wrapper {
    padding: 1rem 0.85rem 3rem;
    }

    .data-table {
    font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
    padding: 0.5rem 0.65rem;
    }

    .hide-mobile {
    display: none;
    }
    }
    /* ── WCAG 2.1 AA: Focus Styles ────────── */
    :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
    }

    .nav-tab:focus-visible {
    outline-offset: -2px;
    }

    button:focus:not(:focus-visible) {
    outline: none;
    }

    /* ── Screen Reader Only ────────────────── */
    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    }

    /* ── Skeleton Loaders ─────────────────── */
    .skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    }

    .skeleton-line {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    }

    .skeleton-line.w-75 { width: 75%; }
    .skeleton-line.w-50 { width: 50%; }
    .skeleton-line.w-33 { width: 33%; }

    .skeleton-stat {
    height: 48px;
    border-radius: 10px;
    }

    /* shimmer keyframes defined above (line ~595) */

    /* ── Toast Notifications ──────────────── */
    .toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    }

    .toast {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    animation: toastIn 0.3s ease forwards;
    }

    .toast.toast-out {
    animation: toastOut 0.3s ease forwards;
    }

    .toast-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.2);
    }

    .toast-success {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.2);
    }

    .toast-info {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.2);
    }

    @keyframes toastIn {
    to { opacity: 1; transform: translateX(0); }
    }

    @keyframes toastOut {
    to { opacity: 0; transform: translateX(100%); }
    }

    /* ── Empty State ──────────────────────── */
    .empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-secondary);
    }

    .empty-state svg {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    }

    .empty-state p {
    font-size: 0.82rem;
    margin-top: 0.35rem;
    }

