/* Tut redesign tokens (Tour4Cure design system — "Refined transcript" 3a).
   Every redesigned rule reads these --tut-* tokens; light theme only. */

:root {
    --tut-sky: #6BB9F2;
    --tut-sky-deep: #5BA3D9;
    --tut-teal: #006971;
    --tut-danger: #B42318;

    --tut-panel-bg: #F7FAFC;
    --tut-surface: #FFFFFF;
    --tut-surface-2: #EEF4F8;
    --tut-composer-bg: #FFFFFF;
    --tut-bot-bubble: #FFFFFF;
    --tut-bot-text: #1A2B3C;
    --tut-user-bubble: #E8EFF5;
    --tut-user-text: #1A2B3C;
    --tut-text: #1A2B3C;
    --tut-muted: #5A7184;
    --tut-caption: #6B7280;
    --tut-hairline: rgba(0, 61, 96, 0.12);
    --tut-selected-bg: #EEF4F8;
    --tut-selected-border: #5BA3D9;
    --tut-check-bg: #6BB9F2;
    --tut-check-ink: #003D60;
    --tut-btn-bg: #003D60;
    --tut-btn-text: #FFFFFF;
    --tut-link: #003D60;
    --tut-chip-bg: #FFFFFF;
    --tut-chip-border: rgba(0, 61, 96, 0.12);
    --tut-thumb-bg: #D8E6F0;
    --tut-scrim: rgba(23, 71, 99, 0.4);

    --tut-shadow-bubble: 0 2px 8px rgba(0, 61, 96, 0.06);
    --tut-shadow-card: 0 12px 40px rgba(0, 61, 96, 0.08);
    --tut-shadow-composer: 0 4px 22px rgba(0, 61, 96, 0.12);
    --tut-shadow-sheet: 0 -12px 40px rgba(0, 61, 96, 0.18);

    --tut-radius-control: 8px;
    --tut-radius-card: 20px;
    --tut-radius-bubble: 18px;
    --tut-radius-tail: 6px;
    --tut-tap: 44px;
    --tut-sidebar-w: 270px;
    --tut-sidebar-rail-w: 68px; /* the desktop sidebar collapsed to its icons */
    --tut-chat-w: 760px; /* the transcript and the composer are centred in a column this wide */

    /* stacking layers, lowest to highest */
    --tut-z-raised: 1;
    --tut-z-sheet: 20;
    --tut-z-popup: 400;
    --tut-z-nav-overlay: 1200;
    --tut-z-header: 1250; /* above the scrim, below the sidebar: ☰ and × stay reachable with the sidebar open */
    --tut-z-nav: 1300;

    --tut-font: 'Cairo', sans-serif;
    --tut-font-mono: 'IBM Plex Mono', monospace;
}

:focus-visible {
    outline: 2px solid var(--tut-sky);
    outline-offset: 2px;
}
