/* nocostpdfedit – fonts and colour tokens, shared by the site pages and the editor.
   Geist and Geist Mono (SIL Open Font License 1.1) are self-hosted: no request goes to a font server. */
@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-latin-ext-wght-normal.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:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-latin-wght-normal.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}
@font-face{font-family:"Geist Mono Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-mono-latin-ext-wght-normal.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:"Geist Mono Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-mono-latin-wght-normal.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}

@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Geist Mono Variable";font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/geist-mono-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* Light theme (default). Red is the action colour, orange is the second colour. */
:root{
  --bg:#FAF9F7; --sheet:#FFFFFF; --raised:#F3F0EC; --hover:#F3F0EC; --field:#FFFFFF;
  --ink:#1B1411; --muted:#6A5F58; --line:#E6E0DA;
  --accent:#D4380D; --accent-hover:#BB300A; --on-accent:#FFFFFF; --accent-soft:#FDEBE3;
  --orange:#B54F08; --orange-soft:#FFF1DC;
  --safe:#1F7A4D; --danger:#B42318; --danger-soft:#FDECEA;
  --canvas:#EFEBE6;                       /* the desk behind PDF pages in the editor */
  --shadow:0 18px 44px -18px rgba(90,30,8,.28);
  --font:"Geist Variable",system-ui,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;   /* the last names are for Chinese */
  --mono:"Geist Mono Variable",ui-monospace,"Cascadia Mono",Consolas,monospace;
  color-scheme:light;
}
/* Dark theme: neutral black and grey. Only the red and orange accents carry colour. */
html[data-theme=dark]{
  --bg:#0D0D0E; --sheet:#17171A; --raised:#222226; --hover:#222226; --field:#0D0D0E;
  --ink:#F2F2F4; --muted:#A0A0A8; --line:#2D2D33;
  --accent:#FF5B2E; --accent-hover:#FF7A52; --on-accent:#111113; --accent-soft:#33160D;
  --orange:#FFA347; --orange-soft:#2C2216;
  --safe:#5DD39E; --danger:#FF8A7A; --danger-soft:#33141A;
  --canvas:#060607;
  --shadow:0 18px 44px -18px rgba(0,0,0,.75);
  color-scheme:dark;
}
