        :root {
            --green: #2e7d5b;
            --green-dark: #245f46;
            --green-light: #f0f7f4;
            --green-border: #d1eee0;
            --bg: #f7f8fa;
            --card: #ffffff;
            --border: #e2e5ea;
            --text: #1a1a1a;
            --text-secondary: #6b7280;
            --text-muted: #9ca3af;
            --error: #d44a4a;
            --warning: #b45309;
            --blue: #3b7fc4;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg); color: var(--text); padding: 1.5rem;
        }
        a { color: var(--green); text-decoration: none; }
        a:hover { text-decoration: underline; }

        /* Header */
        header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid #e2e5ea;
            position: sticky; top: 0; z-index: 400;
            background: #f7f8fa; margin: -1.5rem -1.5rem 0.8rem; padding: 1rem 1.5rem 0.8rem;
        }
        header h1 { color: #2e7d5b; font-size: 1.4rem; }
        header h1 span { font-weight: 400; }
        .user-info { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; color: #6b7280; }
        .header-actions { display: flex; gap: 1rem; align-items: center; font-size: 0.9rem; }
        .badge {
            padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem;
            font-weight: 600; text-transform: uppercase;
        }
        .badge-admin { background: #fef2f2; color: #d44a4a; border: 1px solid #d44a4a; }
        .badge-editor { background: #eff6ff; color: #3b7fc4; border: 1px solid #3b7fc4; }

        /* Toolbar: primary row */
        .toolbar-primary {
            display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
            margin-bottom: 0.5rem;
            position: sticky; top: 3.2rem; z-index: 399;
            background: #f7f8fa; margin-left: -1.5rem; margin-right: -1.5rem;
            padding: 0.5rem 1.5rem;
        }
        .search-box {
            flex: 1; min-width: 180px; padding: 0.5rem 0.8rem;
            background: #ffffff; border: 1px solid #e2e5ea; border-radius: 6px;
            color: #1a1a1a; font-size: 0.9rem;
        }
        .search-box:focus { border-color: #2e7d5b; outline: none; box-shadow: 0 0 0 3px rgba(46,125,91,0.12); }
        .search-box::placeholder { color: #9ca3af; }
        .toolbar-actions { display: flex; gap: 0.4rem; align-items: center; flex-shrink: 0; }
        .result-count { font-size: 0.78rem; color: #6b7280; white-space: nowrap; }

        /* Toolbar: filter row */
        .toolbar-filters {
            display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
            margin-bottom: 1rem; padding: 0.5rem 0.7rem;
            background: #ffffff; border: 1px solid #e2e5ea; border-radius: 6px;
        }
        .toolbar-filters.hidden { display: none; }
        .filter-label { font-size: 0.72rem; color: #6b7280; font-weight: 600; text-transform: uppercase; margin-right: 0.2rem; }
        .filter-select {
            padding: 0.35rem 0.5rem; background: #f7f8fa; border: 1px solid #e2e5ea;
            border-radius: 4px; color: #1a1a1a; font-size: 0.78rem; min-width: 100px;
        }
        .filter-select:focus { border-color: #2e7d5b; outline: none; box-shadow: 0 0 0 3px rgba(46,125,91,0.12); }
        .btn-filter-toggle {
            background: none; border: 1px solid #e2e5ea; border-radius: 4px;
            padding: 0.4rem 0.7rem; font-size: 0.78rem; color: #6b7280;
            cursor: pointer; white-space: nowrap;
        }
        .btn-filter-toggle:hover { background: #f0f2f5; }
        .btn-filter-toggle.active { background: #f0f7f4; border-color: #2e7d5b; color: #2e7d5b; }

        /* Main content: side-by-side on large screens */
        .main-content { display: flex; flex-direction: column; gap: 1rem; }

        /* Map */
        #map {
            width: 100%; height: 340px; border-radius: 8px;
            border: 1px solid #e2e5ea;
        }

        @media (min-width: 1100px) {
            .main-content { flex-direction: row; align-items: flex-start; }
            .map-col { flex: 0 0 50%; position: sticky; top: 1.5rem; }
            #map { height: calc(100vh - 10rem); }
            .table-col { flex: 1 1 50%; min-width: 0; overflow: hidden; }
        }

        /* Table */
        .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
        table {
            width: max-content; min-width: 100%; border-collapse: collapse;
            background: #ffffff; border-radius: 8px; overflow: hidden;
            border: 1px solid #e2e5ea;
        }
        th {
            background: #f0f2f5; padding: 0.3rem 0.4rem; text-align: left;
            font-size: 0.68rem; text-transform: uppercase; color: #6b7280;
            white-space: nowrap; border-bottom: 2px solid #e2e5ea;
            user-select: none;
        }
        th.sort-asc::after { content: " \25B2"; font-size: 0.55rem; color: #2e7d5b; }
        th.sort-desc::after { content: " \25BC"; font-size: 0.55rem; color: #2e7d5b; }
        td {
            padding: 0.3rem 0.4rem; border-top: 1px solid #f0f2f5;
            font-size: 0.75rem; white-space: nowrap; color: #1a1a1a;
        }
        tr:nth-child(even) td { background: #fafbfc; }
        tr:hover td { background: var(--green-light); }
        tr.hidden { display: none; }
        tr.row-flash td { animation: rowFlash 1.5s ease; }
        /* Pagination */
        .pagination {
            display: flex; align-items: center; gap: 0.3rem; padding: 0.8rem 0;
            font-size: 0.82rem; flex-wrap: wrap;
        }
        .pagination a {
            padding: 0.3rem 0.6rem; border: 1px solid #e2e5ea; border-radius: 4px;
            color: #2e7d5b; text-decoration: none; font-weight: 500;
        }
        .pagination a:hover { background: #f0f7f4; text-decoration: none; }
        .page-current {
            padding: 0.3rem 0.6rem; background: #2e7d5b; color: #fff;
            border-radius: 4px; font-weight: 600;
        }
        .page-ellipsis { color: #9ca3af; padding: 0 0.2rem; }
        .page-info { color: #9ca3af; margin-left: auto; font-size: 0.78rem; }
        /* Bulk action bar */
        .bulk-bar {
            display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;
            background: #eff6ff; border: 1px solid #3b7fc4; border-radius: 6px;
            font-size: 0.85rem; color: #374151; margin-bottom: 0.5rem;
        }
        .bulk-bar .btn-del { margin-left: 0.5rem; }
        @keyframes rowFlash {
            0% { background: #fef3c7; }
            100% { background: transparent; }
        }
        .empty { text-align: center; padding: 3rem; color: #6b7280; }
        .no-results { text-align: center; padding: 2rem; color: #6b7280; display: none; }

        /* Media thumbnail */
        .media-thumb {
            width: 30px; height: 30px; border-radius: 4px; object-fit: cover;
            cursor: pointer; border: 1px solid #e2e5ea; vertical-align: middle;
        }
        .media-placeholder {
            width: 30px; height: 30px; border-radius: 4px; background: #f0f2f5;
            display: inline-flex; align-items: center; justify-content: center;
            border: 1px solid #e2e5ea; vertical-align: middle;
        }
        .media-placeholder svg { width: 16px; height: 16px; fill: #9ca3af; }

        /* Lightbox */
        .lightbox {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.8); z-index: 10000; justify-content: center;
            align-items: center; cursor: pointer;
        }
        .lightbox.active { display: flex; }
        .lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }

        /* Inline media in view modal */
        .modal-media { margin-bottom: 1rem; text-align: center; }
        .modal-media img {
            max-width: 100%; max-height: 400px; object-fit: contain;
            border-radius: 8px; border: 1px solid #e2e5ea;
        }
        .modal-media video {
            max-width: 100%; max-height: 400px; border-radius: 8px;
            border: 1px solid #e2e5ea;
        }

        /* Buttons */
        .btn {
            padding: 0.2rem 0.4rem; border: none; border-radius: 3px;
            font-size: 0.65rem; cursor: pointer; font-weight: 600; transition: background 0.2s;
            text-decoration: none; display: inline-block;
        }
        .row-menu-wrap { position: relative; }
        .row-menu-btn {
            background: none; border: 1px solid #e2e5ea; border-radius: 4px;
            padding: 0.15rem 0.45rem; cursor: pointer; font-size: 1rem;
            color: #6b7280; line-height: 1;
        }
        .row-menu-btn:hover { background: #f0f2f5; color: #1a1a1a; }
        .row-menu {
            display: none; position: absolute; right: 0; top: 100%; margin-top: 2px;
            background: #ffffff; border: 1px solid #e2e5ea; border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 1000;
            min-width: 100px; overflow: hidden;
        }
        .row-menu.open { display: block; }
        .row-menu-item {
            display: block; width: 100%; padding: 0.45rem 0.8rem; border: none;
            background: none; text-align: left; font-size: 0.78rem; cursor: pointer;
            color: #1a1a1a; white-space: nowrap;
        }
        .row-menu-item:hover { background: #f7faf8; }
        .row-menu-item.danger { color: #d44a4a; }
        .row-menu-item.danger:hover { background: #fef2f2; }
        .btn-save { background: #2e7d5b; color: #ffffff; padding: 0.5rem 1.2rem; font-size: 0.9rem; border: none; }
        .btn-save:hover { background: #245f46; }
        .btn-cancel { background: #f0f2f5; color: #6b7280; padding: 0.5rem 1.2rem; font-size: 0.9rem; border: 1px solid #e2e5ea; }
        .btn-cancel:hover { background: #e2e5ea; }
        .btn-add {
            background: #2e7d5b; color: #ffffff; padding: 0.5rem 1.2rem;
            font-size: 0.9rem; white-space: nowrap; border: none;
        }
        .btn-add:hover { background: #245f46; }
        .btn-clear { background: #f0f2f5; color: #6b7280; padding: 0.5rem 0.8rem; font-size: 0.82rem; border: 1px solid #e2e5ea; }
        .btn-clear:hover { background: #e2e5ea; }
        .actions { display: flex; gap: 0.2rem; align-items: center; }
        th:last-child, td:last-child { width: 36px; text-align: center; }

        /* DwC-A export button */
        .btn-export {
            background: #f0f7f4; color: #2e7d5b; border: 1px solid #2e7d5b;
            padding: 0.5rem 1rem; font-size: 0.82rem; white-space: nowrap;
            text-decoration: none; border-radius: 4px; font-weight: 600;
        }
        .btn-export:hover { background: #d1eee0; text-decoration: none; }

        /* Modal */
        .modal-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.4); z-index: 5000; justify-content: center; align-items: flex-start;
            padding: 2rem; overflow-y: auto;
        }
        .modal-overlay.active { display: flex; }
        .modal {
            background: #ffffff; border-radius: 12px; padding: 2rem; width: 720px;
            max-width: 95vw; box-shadow: 0 4px 24px rgba(0,0,0,0.12); margin: auto;
            border: 1px solid #e2e5ea;
        }
        .modal-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 1.2rem;
        }
        .modal-header h2 { color: #2e7d5b; font-size: 1.2rem; }
        .modal-close {
            background: none; border: none; color: #9ca3af; font-size: 1.5rem;
            cursor: pointer; line-height: 1;
        }
        .modal-close:hover { color: #1a1a1a; }
        .modal-actions {
            margin-top: 1.2rem; display: flex; gap: 0.6rem; justify-content: flex-end;
        }

        /* Collapsible sections */
        details {
            border: 1px solid #e2e5ea; border-radius: 8px; margin-bottom: 0.6rem;
            background: #ffffff; overflow: hidden;
        }
        summary {
            cursor: pointer; padding: 0.7rem 1rem; font-weight: 600;
            color: #2e7d5b; user-select: none; font-size: 0.95rem;
            list-style: none; background: #f7faf8;
        }
        summary::-webkit-details-marker { display: none; }
        summary::before {
            content: "\25B6"; margin-right: 0.5rem; font-size: 0.7rem;
            display: inline-block; transition: transform 0.2s;
        }
        details[open] summary::before { transform: rotate(90deg); }
        details[open] summary { border-bottom: 1px solid #e2e5ea; }
        .field-grid {
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 0.5rem 1.2rem; padding: 0.8rem 1rem;
        }
        .field label {
            display: block; font-size: 0.75rem; color: #6b7280; margin-bottom: 0.15rem;
        }
        .field input, .field textarea {
            width: 100%; padding: 0.4rem 0.5rem; background: #ffffff;
            border: 1px solid #e2e5ea; border-radius: 4px; color: #1a1a1a;
            font-size: 0.85rem; font-family: inherit;
        }
        .field input:focus, .field textarea:focus { border-color: #2e7d5b; outline: none; box-shadow: 0 0 0 3px rgba(46,125,91,0.12); }
        .field textarea { resize: vertical; min-height: 50px; }
        .field .field-value {
            display: block; font-size: 0.85rem; padding: 0.35rem 0;
            color: #1a1a1a; min-height: 1.6em;
        }
        .field .field-value.empty { color: #9ca3af; font-style: italic; }

        /* GBIF suggest dropdown */
        .field { position: relative; }
        .gbif-suggest {
            position: absolute; left: 0; right: 0; top: 100%;
            background: #ffffff; border: 1px solid #e2e5ea; border-top: none;
            border-radius: 0 0 6px 6px; z-index: 50; max-height: 180px;
            overflow-y: auto; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .gbif-suggest-item {
            padding: 0.4rem 0.5rem; cursor: pointer; font-size: 0.82rem;
            border-bottom: 1px solid #f0f2f5;
        }
        .gbif-suggest-item:hover { background: #f7faf8; }
        .gbif-suggest-item .sci { font-style: italic; color: #2e7d5b; }
        .gbif-suggest-item .meta { font-size: 0.72rem; color: #6b7280; }

        .gbif-status { font-size: 0.72rem; margin-top: 0.15rem; }
        .gbif-status.loading { color: #6b7280; }
        .gbif-status.found { color: #2e7d5b; }
        .gbif-status.not-found { color: #d44a4a; }
        .gbif-status a { font-size: 0.72rem; }

        /* Quick-add essential fields */
        .quick-fields {
            display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem;
            margin-bottom: 1rem;
        }
        .quick-fields .field-full { grid-column: 1 / -1; }

        /* Tiered section headers (Required / Recommended) */
        .tier-header {
            display: flex; align-items: baseline; gap: 0.6rem;
            margin: 0.4rem 0 0.6rem;
            padding-bottom: 0.4rem; border-bottom: 1px solid #e2e5ea;
        }
        .tier-badge {
            display: inline-block; padding: 0.15rem 0.55rem;
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
            text-transform: uppercase; border-radius: 4px;
        }
        .tier-required .tier-badge { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
        .tier-recommended .tier-badge { background: #f0f7f4; color: #2e7d5b; border: 1px solid #b8dccd; }
        .tier-hint { font-size: 0.75rem; color: #6b7280; }
        .expand-toggle {
            display: flex; align-items: center; gap: 0.4rem;
            padding: 0.5rem 0; cursor: pointer; font-size: 0.82rem;
            color: #2e7d5b; font-weight: 600; border: none; background: none;
            margin-bottom: 0.5rem;
        }
        .expand-toggle:hover { text-decoration: underline; }
        .expand-toggle .arrow { transition: transform 0.2s; font-size: 0.7rem; }
        .expand-toggle.open .arrow { transform: rotate(90deg); }
        .all-fields-section { display: none; }
        .all-fields-section.visible { display: block; }
        .section-divider { border: none; border-top: 1px solid #e2e5ea; margin: 0.5rem 0 1rem; }

        /* Flash messages */
        .flash-msg {
            padding: 0.6rem 1rem; border-radius: 6px; margin-bottom: 1rem;
            font-size: 0.85rem; text-align: center;
            background: #f0f7f4; color: #2e7d5b; border: 1px solid #2e7d5b;
        }
        .flash-msg.error { background: #fef2f2; color: #d44a4a; border-color: #d44a4a; }
        .flash-msg.warning { background: #fffbeb; color: #b45309; border-color: #b45309; }

        /* CSV upload */
        .btn-upload {
            background: #eff6ff; color: #3b7fc4; border: 1px solid #3b7fc4;
            padding: 0.5rem 1rem; font-size: 0.82rem; white-space: nowrap;
            cursor: pointer; border-radius: 4px; font-weight: 600;
        }
        .btn-upload:hover { background: #dbeafe; }
        .btn-template {
            background: #f0f2f5; color: #6b7280; border: 1px solid #e2e5ea;
            padding: 0.5rem 0.8rem; font-size: 0.82rem; white-space: nowrap;
            text-decoration: none; border-radius: 4px; font-weight: 600;
        }
        .btn-template:hover { background: #e2e5ea; text-decoration: none; }
        .upload-input { display: none; }

        /* Footer */
        footer {
            margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e2e5ea;
            display: flex; justify-content: space-between; align-items: center;
            font-size: 0.8rem; color: #9ca3af;
        }
        .footer-links { display: flex; gap: 1rem; }
        .footer-links a { color: #9ca3af; font-size: 0.8rem; }
        .footer-links a:hover { color: #2e7d5b; }

        /* Summary card in view modal */
        .summary-card {
            background: #f7faf8; border: 1px solid #d1eee0; border-radius: 8px;
            padding: 1rem 1.2rem; margin-bottom: 1rem;
        }
        .summary-species { margin-bottom: 0.6rem; }
        .summary-sciname { font-size: 1.2rem; font-style: italic; color: #2e7d5b; font-weight: 600; }
        .summary-author { font-size: 0.85rem; color: #6b7280; }
        .summary-vernacular { font-size: 0.92rem; color: #374151; }
        .summary-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem 1.5rem;
            font-size: 0.82rem;
        }
        .summary-item { display: flex; gap: 0.4rem; }
        .summary-label { color: #6b7280; font-weight: 600; white-space: nowrap; }
        .summary-label::after { content: ":"; }

        /* Section field count badge */
        .section-count {
            float: right; font-size: 0.7rem; font-weight: 400;
            background: #e2e5ea; color: #6b7280; padding: 0.1rem 0.4rem;
            border-radius: 8px; margin-left: 0.5rem;
        }

        /* Audit info */
        .audit-info {
            margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid #e2e5ea;
            font-size: 0.78rem; color: #9ca3af;
        }

        @media (max-width: 600px) {
            header { flex-direction: column; gap: 0.5rem; text-align: center; }
            .user-info { flex-wrap: wrap; justify-content: center; }
            .header-actions { flex-wrap: wrap; justify-content: center; }
            .toolbar-primary { flex-direction: column; position: static; margin-left: 0; margin-right: 0; padding: 0; }
            header { position: static; margin: 0 0 1rem; padding: 0 0 1rem; }
            .toolbar-actions { flex-wrap: wrap; justify-content: center; width: 100%; }
            .toolbar-filters { flex-wrap: wrap; }
            .quick-fields { grid-template-columns: 1fr; }
            .field-grid { grid-template-columns: 1fr; }
            .modal { padding: 1rem; }
            .summary-grid { grid-template-columns: 1fr; }
            footer { flex-direction: column; gap: 0.5rem; text-align: center; }
        }

        /* UUID generate/refresh button */
        .uuid-field {
            display: flex;
            gap: 4px;
            align-items: stretch;
        }
        .uuid-field input {
            flex: 1;
            min-width: 0;
        }
        .btn-uuid {
            background: #e8f5e9;
            border: 1px solid #c8e6c9;
            border-radius: 6px;
            color: #2e7d5b;
            cursor: pointer;
            font-size: 1.1rem;
            padding: 0 8px;
            line-height: 1;
            transition: background 0.15s;
        }
        .btn-uuid:hover {
            background: #c8e6c9;
        }

        /* ── DwC tooltips ──────────────────────────────────────────────
           Auto-applied to any element that already has title="...". The
           native browser tooltip stays as a long-press / a11y fallback;
           this adds a styled, on-brand popover on hover/focus that works
           on keyboard nav. */
        label[title], th[title] {
            position: relative;
            cursor: help;
            border-bottom: 1px dotted var(--text-muted);
        }
        label[title]::after, th[title]::after {
            content: attr(title);
            position: absolute;
            bottom: calc(100% + 6px);
            left: 0;
            min-width: 200px;
            max-width: 320px;
            padding: 0.5rem 0.7rem;
            background: #1f2937;
            color: #f9fafb;
            font-size: 0.78rem;
            font-weight: 400;
            line-height: 1.4;
            border-radius: 6px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.12s ease, visibility 0.12s ease;
            white-space: normal;
            text-align: left;
            z-index: 500;
        }
        label[title]:hover::after,
        label[title]:focus-within::after,
        th[title]:hover::after,
        th[title]:focus-within::after {
            opacity: 1;
            visibility: visible;
        }

        /* ── Focus ring for keyboard navigation across all buttons ──── */
        .btn:focus-visible,
        .btn-add:focus-visible,
        .btn-cancel:focus-visible,
        .btn-save:focus-visible,
        .btn-uuid:focus-visible,
        .btn-upload:focus-visible {
            outline: 2px solid var(--green);
            outline-offset: 2px;
        }

        /* Disabled / loading states for buttons */
        .btn:disabled,
        .btn-add:disabled,
        .btn-save:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            filter: grayscale(0.2);
        }
        .btn.is-loading {
            position: relative;
            color: transparent !important;
        }
        .btn.is-loading::after {
            content: "";
            position: absolute;
            inset: 0;
            margin: auto;
            width: 14px;
            height: 14px;
            border: 2px solid currentColor;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            color: #fff;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ── Restore-draft banner (replaces native confirm()) ────────── */
        .draft-banner {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.6rem 0.9rem;
            margin-bottom: 0.8rem;
            background: #fef9c3;
            border: 1px solid #fde68a;
            border-left: 4px solid #d97706;
            border-radius: 6px;
            font-size: 0.88rem;
            color: #78350f;
        }
        .draft-banner .draft-actions {
            margin-left: auto;
            display: flex;
            gap: 0.4rem;
        }
        .draft-banner button {
            padding: 0.3rem 0.7rem;
            border: 1px solid #d97706;
            border-radius: 5px;
            background: #fff;
            color: #92400e;
            cursor: pointer;
            font-size: 0.82rem;
        }
        .draft-banner button.primary {
            background: #d97706;
            color: #fff;
        }
        .draft-banner button:hover { filter: brightness(0.95); }
        .draft-banner.is-hidden { display: none; }

        /* ── Stronger modal shadow to lift it off the data grid ─────── */
        .modal {
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22),
                        0 6px 16px rgba(0, 0, 0, 0.12);
        }

        /* ── Empty-state CTA on the records table ──────────────────── */
        .empty-state {
            padding: 2.2rem 1.4rem;
            text-align: center;
            background: var(--card);
            border: 1px dashed var(--border);
            border-radius: 8px;
            color: var(--text-secondary);
        }
        .empty-state h3 {
            color: var(--text);
            font-size: 1.05rem;
            margin-bottom: 0.4rem;
        }
        .empty-state .cta-row {
            display: inline-flex;
            gap: 0.5rem;
            margin-top: 0.7rem;
        }
