/* === BASE STYLES (migrated from lib_admin.php inline) === */
:root {
                --bg-body: #f8f9fb;
                --bg-card: #ffffff;
                --text-main: #0f172a;
                --text-muted: #94a3b8;
                --border: #e5e7eb;
                --primary: #3b82f6;
                --primary-hover: #2563eb;
                --danger: #ef4444;
                --danger-bg: #fee2e2;
                --success: #22c55e;
                --success-bg: #d1fae5;
                --radius: 8px;
                --radius-sm: 4px;
                --font-mono: 'JetBrains Mono', ui-monospace, monospace;
                --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            }

            * { box-sizing: border-box; }
            
            body {
                font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
                background-color: var(--bg-body);
                color: var(--text-main);
                margin: 0;
                padding: 20px;
                line-height: 1.5;
                font-size: 14px;
            }

            a { color: var(--primary); text-decoration: none; }
            a:hover { text-decoration: underline; }

            /* Layout Utilities */
            .container { max-width: 1200px; margin: 0 auto; }
            .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm, var(--shadow)); margin-bottom: 16px; }
            .flex { display: flex; gap: 10px; align-items: center; }
            .flex-wrap { flex-wrap: wrap; }
            .justify-between { justify-content: space-between; }
            .grid { display: grid; gap: 15px; }
            .grid-2 { grid-template-columns: 1fr 1fr; }
            
            @media(max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }

            /* Typography */
            h1 { font-size: 1.4rem; font-weight: 700; margin: 0 0 10px 0; color: var(--text-main); letter-spacing: -0.02em; }
            h2 { font-size: 0.95rem; font-weight: 600; margin: 0 0 14px 0; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text-main); }
            .text-sm { font-size: 0.85rem; }
            .text-muted { color: var(--text-muted); }

            /* Forms */
            label { display: block; font-weight: 500; margin-bottom: 5px; color: #374151; font-size: 0.85rem; }
            input, select, textarea {
                width: 100%;
                padding: 8px 12px;
                border: 1px solid #d1d5db;
                border-radius: 6px;
                background-color: #fff;
                font-size: 0.9rem;
                transition: border-color 0.15s ease;
                font-family: inherit;
            }
            input:focus, select:focus, textarea:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            }
            input[readonly] { background-color: #f9fafb; color: #6b7280; cursor: default; }

            /* Buttons */
            .btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 8px 16px;
                border-radius: 6px;
                font-weight: 500;
                font-size: 0.85rem;
                cursor: pointer;
                border: 1px solid transparent;
                transition: all 0.15s;
                text-decoration: none !important;
                background: #fff;
                color: #374151;
                border-color: #d1d5db;
            }
            .btn:hover { background-color: #f9fafb; border-color: #9ca3af; }
            
            .btn-primary { background-color: var(--primary); color: #fff; border-color: transparent; font-weight: 600; }
            .btn-primary:hover { background-color: var(--primary-hover); }
            
            .btn-danger { background-color: #fee2e2; color: #b91c1c; border-color: #fecaca; }
            .btn-danger:hover { background-color: #fecaca; }

            .btn-success { background-color: #d1fae5; color: #047857; border-color: #a7f3d0; }
            .btn-success:hover { background-color: #a7f3d0; }

            .btn-sm { padding: 4px 8px; font-size: 0.75rem; }

            /* Tables */
            .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); }
            table { width: 100%; border-collapse: collapse; min-width: 800px; background: #fff; }
            th { text-align: left; background: var(--bg-inset, #f1f3f5); color: var(--text-secondary, #475569); font-weight: 600; padding: 8px 14px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
            td { padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--text-main); }
            tr:last-child td { border-bottom: none; }
            tr:hover td { background-color: #f9fafb; }
            code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace; background: #f3f4f6; padding: 2px 4px; border-radius: 4px; font-size: 0.8em; color: #c026d3; }

            /* Badges */
            .badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-family: var(--font-mono, monospace); }
            .badge-active { background: #d1fae5; color: #065f46; }
            .badge-inactive { background: #f3f4f6; color: #374151; }
            .badge-queued { background: #e0f2fe; color: #075985; }
            .badge-processing { background: #ffedd5; color: #9a3412; }
            .badge-failed { background: #fee2e2; color: #991b1b; }
            .badge-done { background: #dcfce7; color: #166534; }

            /* Alerts */
            .alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; border: 1px solid transparent; }
            .alert-error { background-color: #fef2f2; border-color: #fecaca; color: #991b1b; }
            .alert-success { background-color: #ecfdf5; border-color: #a7f3d0; color: #065f46; }

            /* Navigation */
            .nav { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
            .nav-item { padding: 8px 14px; border-radius: 6px; color: #4b5563; font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
            .nav-item:hover { background-color: #e5e7eb; color: #111; text-decoration: none; }
            .nav-item.active { background-color: #111; color: #fff; }
            
            .sub-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; background: #eef0f3; padding: 8px; border-radius: 8px; }
            .sub-nav-item { padding: 5px 10px; font-size: 0.8rem; font-weight: 500; color: #4b5563; border-radius: 4px; transition: all 0.2s; }
            .sub-nav-item:hover { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,0.05); text-decoration: none; }
            .sub-nav-item.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

            /* Docs Specific */
            .docs-code-block { background: #1e1e1e; color: #d4d4d4; padding: 15px; border-radius: 8px; overflow-x: auto; font-family: monospace; font-size: 0.85rem; line-height: 1.5; border: 1px solid #333; }
            .spec-table th { background: #f3f4f6; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; color: #6b7280; }

/* Setia Panel v2 — Industrial Precision Design System
   Aesthetic: data-dense control center, monospaced accents, tight grid, sharp borders.
   Font: DM Sans (body) + JetBrains Mono (data). Loaded from Google Fonts. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* === DESIGN TOKENS === */
:root {
    --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
    --bg-body: #f8f9fb;
    --bg-card: #ffffff;
    --bg-inset: #f1f3f5;
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-soft: #eff6ff;
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --success: #22c55e;
    --success-soft: #f0fdf4;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --info: #06b6d4;
    --info-soft: #ecfeff;
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === TOAST NOTIFICATIONS === */
.toast-container { position: fixed; top: 16px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; padding: 10px 16px; border-radius: var(--radius); font-size: 0.8rem; font-weight: 500; font-family: var(--font-body); box-shadow: var(--shadow-lg); animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); }
.toast-success { background: rgba(5, 46, 22, 0.92); color: #bbf7d0; }
.toast-error { background: rgba(69, 10, 10, 0.92); color: #fecaca; }
.toast-info { background: rgba(23, 37, 84, 0.92); color: #bfdbfe; }
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* === STATUS INDICATORS === */
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot-green { background: var(--success); box-shadow: 0 0 0 2px var(--success-soft); }
.status-dot-red { background: var(--danger); box-shadow: 0 0 0 2px var(--danger-soft); }
.status-dot-yellow { background: var(--warning); box-shadow: 0 0 0 2px var(--warning-soft); }
.status-dot-gray { background: #94a3b8; }
.status-dot-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* === PROGRESS BAR === */
.progress-bar { height: 5px; background: var(--bg-inset); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 3px; transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.progress-bar-fill-green { background: linear-gradient(90deg, #22c55e, #4ade80); }
.progress-bar-fill-blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.progress-bar-fill-red { background: linear-gradient(90deg, #ef4444, #f87171); }
.progress-bar-fill-yellow { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; filter: grayscale(0.5); }
.empty-state-title { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; font-family: var(--font-body); }
.empty-state p { font-size: 0.8rem; margin: 4px 0 0; }

/* === HTMX LOADING === */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-block; }
.htmx-request { opacity: 0.6; pointer-events: none; transition: opacity 0.15s; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.5s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === SIDEBAR === */
.layout-sidebar { display: flex; min-height: 100vh; margin: -20px; }
.sidebar {
    width: 240px; background: #0f172a; color: #cbd5e1; padding: 0;
    flex-shrink: 0; display: flex; flex-direction: column;
    transition: width 0.2s var(--transition); overflow: hidden;
    border-right: 1px solid #1e293b;
}
.sidebar.collapsed { width: 56px; }
.sidebar-header { padding: 14px 16px; border-bottom: 1px solid #1e293b; display: flex; align-items: center; gap: 10px; }
.sidebar-header h2 { font-size: 0.85rem; margin: 0; border: none; padding: 0; color: #f8fafc; white-space: nowrap; font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.02em; }
.sidebar-toggle { background: none; border: none; color: #475569; cursor: pointer; font-size: 1rem; padding: 4px; border-radius: var(--radius-sm); transition: all var(--transition); }
.sidebar-toggle:hover { color: #e2e8f0; background: #1e293b; }
.sidebar-nav { flex: 1; padding: 6px 8px; }
.sidebar-item {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px;
    color: #94a3b8; text-decoration: none; font-size: 0.8rem; font-weight: 500;
    transition: all var(--transition); white-space: nowrap; border-radius: 6px;
    margin-bottom: 1px; font-family: var(--font-body);
}
.sidebar-item:hover { background: #1e293b; color: #e2e8f0; text-decoration: none; }
.sidebar-item.active { background: #1d4ed8; color: #fff; font-weight: 600; }
.sidebar-item-icon { width: 18px; text-align: center; flex-shrink: 0; font-size: 0.9rem; }
.sidebar-item-label { overflow: hidden; }
.sidebar-item-badge { margin-left: auto; background: rgba(255,255,255,0.08); color: #94a3b8; padding: 1px 7px; border-radius: 10px; font-size: 0.65rem; font-family: var(--font-mono); font-weight: 600; }
.sidebar-item.active .sidebar-item-badge { background: rgba(255,255,255,0.15); color: #fff; }
.sidebar-footer { padding: 12px 16px; border-top: 1px solid #1e293b; font-size: 0.65rem; color: #334155; font-family: var(--font-mono); }
.sidebar-section { padding: 12px 10px 4px; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: #475569; font-weight: 600; font-family: var(--font-mono); }
.collapsed .sidebar-item-label,
.collapsed .sidebar-item-badge,
.collapsed .sidebar-header h2,
.collapsed .sidebar-section,
.collapsed .sidebar-footer { display: none; }
.collapsed .sidebar-item { justify-content: center; padding: 8px; }
.collapsed .sidebar-nav { padding: 6px 4px; }
.content-area { flex: 1; padding: 24px 32px; overflow-x: hidden; min-width: 0; background: var(--bg-body); }
@media(max-width: 768px) {
    .sidebar { position: fixed; left: -240px; z-index: 1000; height: 100vh; box-shadow: var(--shadow-lg); }
    .sidebar.mobile-open { left: 0; }
    .content-area { padding: 16px; }
    .mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; }
    .sidebar.mobile-open ~ .mobile-overlay { display: block; }
}

/* === BREADCRUMB === */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px; font-family: var(--font-mono); }
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb-sep { color: #d1d5db; font-size: 0.65rem; }

/* === TABS === */
.tab-bar { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-item {
    padding: 10px 16px; font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none;
    white-space: nowrap; transition: all var(--transition); font-family: var(--font-body);
}
.tab-item:hover { color: var(--text-main); text-decoration: none; }
.tab-item.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-item .tab-count {
    background: var(--bg-inset); color: var(--text-muted); padding: 1px 6px;
    border-radius: 10px; font-size: 0.65rem; margin-left: 5px;
    font-family: var(--font-mono); font-weight: 600;
}
.tab-item.active .tab-count { background: var(--primary-soft); color: var(--primary); }

/* === CARD VARIANTS === */
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-header h2 { margin: 0; border: none; padding: 0; font-size: 0.85rem; font-weight: 600; color: var(--text-main); }
.card-compact { padding: 14px 18px; }
.card-stat { text-align: center; padding: 20px 14px; }
.card-stat-value {
    font-size: 2rem; font-weight: 700; color: var(--text-main);
    font-family: var(--font-mono); letter-spacing: -0.03em; line-height: 1;
    margin-bottom: 6px;
}
.card-stat-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-family: var(--font-body); }

/* === TIMELINE === */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 14px; }
.timeline-item::before {
    content: ''; position: absolute; left: -18px; top: 5px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--primary); border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 1px var(--border);
}
.timeline-item-time { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 2px; }
.timeline-item-content { font-size: 0.8rem; color: var(--text-secondary); }

/* === DATATABLE === */
.datatable-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; flex-wrap: wrap; }
.datatable-search {
    padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.8rem; min-width: 220px; background: var(--bg-card);
    font-family: var(--font-body); transition: all var(--transition);
}
.datatable-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08); }
.datatable-pagination { display: flex; align-items: center; gap: 6px; margin-top: 14px; justify-content: center; }
.datatable-pagination .btn { min-width: 32px; font-size: 0.75rem; }
.datatable-info { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
.datatable-sort { cursor: pointer; user-select: none; transition: color var(--transition); }
.datatable-sort:hover { color: var(--primary); }
.datatable-sort::after { content: ' \2195'; font-size: 0.65em; color: #d1d5db; }
.datatable-sort.asc::after { content: ' \2191'; color: var(--primary); }
.datatable-sort.desc::after { content: ' \2193'; color: var(--primary); }

/* === ENTITY FORM === */
.form-group { margin-bottom: 18px; }
.form-group label { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-label-badge { font-size: 0.55rem; padding: 2px 6px; border-radius: var(--radius-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-mono); }
.form-label-required { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.form-label-recommended { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.form-label-optional { background: var(--bg-inset); color: var(--text-muted); border: 1px solid var(--border); }
.form-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.form-field-locked { position: relative; }
.form-field-locked input,
.form-field-locked textarea { background-color: #fefce8; border-color: #fde68a; }
.form-lock-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); cursor: pointer; font-size: 0.85rem; opacity: 0.6; transition: opacity var(--transition); }
.form-lock-icon:hover { opacity: 1; }
.form-ai-suggestion {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff); border: 1px solid #bfdbfe;
    border-radius: var(--radius); padding: 10px 14px; margin-top: 8px; font-size: 0.78rem;
    display: flex; align-items: center; gap: 10px; font-family: var(--font-body);
}
.form-ai-suggestion::before { content: '✦'; color: var(--primary); font-size: 0.9rem; }
.form-ai-suggestion .btn { padding: 3px 10px; font-size: 0.7rem; }
.form-repeater-row { display: flex; gap: 8px; align-items: start; margin-bottom: 6px; }
.form-repeater-row input { flex: 1; }
.form-repeater-remove { color: var(--danger); cursor: pointer; padding: 8px; font-size: 0.9rem; opacity: 0.5; transition: opacity var(--transition); }
.form-repeater-remove:hover { opacity: 1; }
.form-repeater-add {
    font-size: 0.75rem; cursor: pointer; color: var(--primary); background: var(--primary-soft);
    border: 1px dashed var(--primary); padding: 6px 14px; border-radius: var(--radius);
    font-family: var(--font-body); font-weight: 500; transition: all var(--transition);
}
.form-repeater-add:hover { background: #dbeafe; border-style: solid; }

/* === ADDITIONAL UTILITIES === */
.mono { font-family: var(--font-mono); }
.text-xs { font-size: 0.7rem; }
.text-sm { font-size: 0.8rem; }
.gap-sm { gap: 6px; }
.gap-md { gap: 12px; }
.gap-lg { gap: 20px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.p-0 { padding: 0; }

/* Page-level entrance animation */
.content-area > *:first-child { animation: fadeUp 0.25s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Scrollbar styling for content area */
.content-area::-webkit-scrollbar { width: 6px; }
.content-area::-webkit-scrollbar-track { background: transparent; }
.content-area::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.content-area::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* JSON-LD Tree Viewer */
.jsonld-tree { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; }
.jsonld-context { color: var(--text-muted); font-size: 0.7rem; margin-bottom: 8px; }
.jsonld-node { border-left: 2px solid var(--border); margin: 4px 0; padding-left: 12px; }
.jsonld-node-header { padding: 4px 0; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.jsonld-node-header:hover { background: var(--bg-inset); border-radius: var(--radius-sm); }
.jsonld-expand { font-size: 0.65rem; color: var(--text-muted); width: 12px; }
.jsonld-type { font-weight: 700; font-size: 0.8rem; }
.jsonld-id { color: var(--text-muted); }
.jsonld-prop { padding: 1px 0; padding-left: 4px; }
.jsonld-key { color: #0369a1; font-weight: 500; }
.jsonld-key-meta { color: #7c3aed; font-weight: 600; }
.jsonld-val { color: var(--text-main); }
.jsonld-url { color: var(--primary); font-size: 0.75rem; }
.jsonld-array { color: var(--text-muted); font-size: 0.7rem; }

/* Command Palette */
.cmd-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; backdrop-filter: blur(2px); }
.cmd-dialog { position: fixed; top: 20%; left: 50%; transform: translateX(-50%); width: 500px; max-width: 90vw; z-index: 9999; background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.cmd-input { width: 100%; padding: 14px 18px; border: none; font-size: 0.95rem; font-family: var(--font-body); outline: none; border-bottom: 1px solid var(--border); }
.cmd-results { max-height: 300px; overflow-y: auto; padding: 6px; }
.cmd-item { padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; display: flex; justify-content: space-between; }
.cmd-item:hover { background: var(--bg-inset); }
.cmd-item-hint { color: var(--text-muted); font-size: 0.75rem; }

/* Export button */
.btn-ghost { background: transparent; border: none; color: var(--text-secondary); padding: 6px 10px; font-size: 0.8rem; cursor: pointer; border-radius: var(--radius-sm); }
.btn-ghost:hover { background: var(--bg-inset); color: var(--text-main); }
