/*
 * Warm dark palette for the research portal.
 *
 * Linked only from advanced-search.blade.php. Kept out of chatbot.css so the
 * chat pages, which run their own light palette, cannot inherit these values.
 */
:root {
    /* Surfaces. Warm near-blacks; the page previously mixed Tailwind gray
       (#111827) with a navy (#1a1e2c) and a purple-navy (#1a1a3a), so three
       different blacks met at every panel edge. */
    --rs-bg: #16171b;
    --rs-sidebar: #191b20;
    --rs-surface-1: #1e2025;
    --rs-surface-2: #272a30;
    --rs-surface-3: #31343c;
    --rs-border: #33363d;
    --rs-border-strong: #454951;

    /* Text. Warm off-white rather than #e0e0e0 on a blue-black. */
    --rs-text: #ece7df;
    --rs-text-muted: #a8a29a;
    --rs-text-dim: #8a857d;

    /* Accents. Gold carries the warmth and marks state; indigo is reserved for
       buttons, so the page is not a single blue hue end to end. */
    --rs-accent: #d9a441;
    --rs-accent-hover: #e6b45c;
    --rs-accent-soft: rgba(217, 164, 65, 0.12);
    --rs-action: #6366f1;
    --rs-action-hover: #818cf8;
    --rs-action-soft: rgba(99, 102, 241, 0.14);
    --rs-success: #34d399;
    --rs-success-soft: rgba(52, 211, 153, 0.14);
    --rs-warn: #fbbf24;
    --rs-warn-soft: rgba(251, 191, 36, 0.14);
    --rs-danger: #f87171;
    --rs-danger-soft: rgba(248, 113, 113, 0.14);
    --rs-neutral-soft: rgba(236, 231, 223, 0.08);

    /* The inset highlight is what reads as elevation on a dark background.
       The outer shadow alone (previously rgba(0,0,0,0.1)) is invisible. */
    --rs-elevate: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.45);
    --rs-elevate-lg: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.6);
    --rs-radius: 12px;
    --rs-radius-sm: 8px;

    --rs-font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
