/* The theme: Archivo and every colour of both themes. This is the only file
   that may hold a colour; everything else uses these tokens.
   Dark "mid grey" is the default and sits on the root block: ground #2b2d31, cards
   #34373c, hover #3d4046, borders #474b53, text #eceef1, muted #a9aeb6, primary
   button #eceef1 with dark text. Light is the one other block, selected by
   data-theme="light": ground #f2f3f5, white cards, ink #121417, black primary button.
   A page opens dark unless the visitor chose light: the server writes data-theme from
   the veyca_theme cookie (theme.py) and nothing in the styles or scripts follows the
   system's colour scheme (#1043). Red marks only an error (and Power), amber only a
   warning; there is no colour accent. Muted text and control borders are darker/lighter
   than the mock's so they meet WCAG 2.1 AA (4.5:1 text, 3:1 controls). */

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    src: url(/static/vendor/archivo/5.3.0/archivo-latin-ext.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    src: url(/static/vendor/archivo/5.3.0/archivo-latin.woff2) format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #2b2d31;
    --surface: #34373c;
    --surface-2: #3d4046;
    --line: #474b53;
    --line-strong: #5a5f68;
    --control-line: #8b919b;
    --ink: #eceef1;
    --ink-2: #c9cdd3;
    --ink-3: #a9aeb6;
    --red: #f04438;
    --red-ink: #fda29b;
    --red-soft: #3a1512;
    --red-line: #6b231d;
    --amber: #f5a524;
    --amber-ink: #fdc86b;
    --amber-soft: #352607;
    --amber-line: #6a4a0c;
    --inv-bg: #eceef1;
    --inv-ink: #121417;
    --inv-hover: #d2d5da;
    --focus: #eceef1;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
    --overlay: rgba(0, 0, 0, .6);
    --qr-bg: #ffffff;
    --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-data: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    --radius: 8px;
    --radius-lg: 12px;
    --side-w: 236px;
    --visit-bar-h: 0px;     /* the support visit's bar, measured by static/js/lib/visitor_bar.js while one is shown */
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #f2f3f5;
    --surface: #ffffff;
    --surface-2: #f6f7f9;
    --line: #e4e6ea;
    --line-strong: #cfd3d9;
    --control-line: #80868f;
    --ink: #121417;
    --ink-2: #474c54;
    --ink-3: #5f656e;
    --red: #d92d20;
    --red-ink: #b42318;
    --red-soft: #fdecea;
    --red-line: #f1b6b0;
    --amber: #e3960f;
    --amber-ink: #935e00;
    --amber-soft: #fff4de;
    --amber-line: #f0d9a8;
    --inv-bg: #121417;
    --inv-ink: #ffffff;
    --inv-hover: #2a2e34;
    --focus: #121417;
    --shadow: 0 1px 2px rgba(18, 20, 23, .04), 0 4px 14px rgba(18, 20, 23, .05);
    --overlay: rgba(0, 0, 0, .5);
    --qr-bg: #ffffff;
    color-scheme: light;
}
