/* suna — общие шрифты и токены для сайта и приложения (docs/team/design.md, логотип combo-a). */
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-400.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/nunito-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-600.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Nunito";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-700.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-800.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-latin-800.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#F5F2EC; --surface:#FFFFFF; --surface-2:#FAF8F4;
  --ink:#1D2030; --muted:#585B6E; --line:#E3DED4; --line-strong:#8C877D;
  --brand-ink:#2A3778; --accent:#2A3778; --accent-ink:#FFFFFF; --accent-soft:#E6E8F5;
  --sun:#E8962E; --sun-ink:#1D2030; --sun-soft:#FCEBD2; --sun-text:#94560C;
  --high:#A4501F; --high-soft:#F7E4D6; --low:#2D6E95; --low-soft:#DDEBF3; --ok:#3B7550; --ok-soft:#E1EFE5;
  --danger:#8E3A2E; --danger-soft:#F6E3DF;
  --t-analysis:#3A47A0; --t-visit:#2C6A7A; --t-study:#7A3F86; --t-discharge:#8A5A12; --t-vaccine:#3B7550; --t-other:#585B6E;
  --font:"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --radius:14px; --shadow:0 1px 2px rgba(29,32,48,.06),0 4px 16px rgba(29,32,48,.04);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#121420; --surface:#1B1E2C; --surface-2:#232738;
  --ink:#EEECE6; --muted:#A6A9BC; --line:#30344A; --line-strong:#6B7090;
  --brand-ink:#EEECE6; --accent:#A8B3F0; --accent-ink:#121420; --accent-soft:#262C4F;
  --sun:#F4AE55; --sun-ink:#121420; --sun-soft:#3A2A15; --sun-text:#F4AE55;
  --high:#F0A274; --high-soft:#3D2619; --low:#7DB8DC; --low-soft:#1A3040; --ok:#8CC79C; --ok-soft:#1D3326;
  --danger:#EE9A8A; --danger-soft:#3E2220;
  --t-analysis:#A8B3F0; --t-visit:#7FC3D2; --t-study:#D3A2DC; --t-discharge:#E2B865; --t-vaccine:#8CC79C; --t-other:#A6A9BC;
  --shadow:none; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#121420; --surface:#1B1E2C; --surface-2:#232738;
  --ink:#EEECE6; --muted:#A6A9BC; --line:#30344A; --line-strong:#6B7090;
  --brand-ink:#EEECE6; --accent:#A8B3F0; --accent-ink:#121420; --accent-soft:#262C4F;
  --sun:#F4AE55; --sun-ink:#121420; --sun-soft:#3A2A15; --sun-text:#F4AE55;
  --high:#F0A274; --high-soft:#3D2619; --low:#7DB8DC; --low-soft:#1A3040; --ok:#8CC79C; --ok-soft:#1D3326;
  --danger:#EE9A8A; --danger-soft:#3E2220;
  --t-analysis:#A8B3F0; --t-visit:#7FC3D2; --t-study:#D3A2DC; --t-discharge:#E2B865; --t-vaccine:#8CC79C; --t-other:#A6A9BC;
  --shadow:none; color-scheme:dark}

/* логотип: светлая/тёмная версия через <picture> или класс */
.logo-dark{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .logo-light{display:none}:root:not([data-theme="light"]) .logo-dark{display:inline-block}}
:root[data-theme="dark"] .logo-light{display:none}
:root[data-theme="dark"] .logo-dark{display:inline-block}
