@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0,0");

/* Единые дизайн-токены LitHome Apple Flat Minimalism (без теней и градиентов) */
:root {
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --glass-surface: #ffffff;
  --glass-popover: #ffffff;
  --secondary-control: #ededf0;
  --field: #ededf0;
  --field-on-canvas: #e5e5ea;
  --hover: #e4e4e9;
  --selected: #e6e6eb;
  --text: #1d1d1f;
  --secondary-text: #616166;
  --muted-text: #86868b;
  --divider: #e2e2e7;
  --focus-ring: #1d1d1f;

  --primary: #007aff;
  --primary-hover: #0066d6;
  --primary-soft: #eaf3ff;
  --primary-text: #ffffff;
  --accent-primary: #1d1d1f;

  --semantic-ok: #18794e;
  --semantic-ok-bg: #e9f6ef;
  --semantic-warn: #a15200;
  --semantic-warn-bg: #fef3e2;
  --semantic-err: #c92a2a;
  --semantic-err-bg: #fdecec;
  --semantic-info: #0062cc;
  --semantic-info-bg: #eaf3ff;

  --shell-inset: 12px;
  --sidebar-width: 232px;
  --sidebar-padding: 12px;
  --page-gap: 16px;
  --field-gap: 12px;
  --related-gap: 8px;
  --joined-gap: 3px;
  --control-height: 36px;
  --control-height-sm: 32px;
  --nav-item-height: 36px;

  --radius-control: 10px;
  --radius-joined-inner: 4px;
  --radius-surface: 16px;
  --radius-modal: 18px;
  --radius-sidebar: 18px;
  --radius-pill: 999px;
  --sidebar-shadow: none;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scrollbar-gutter: stable; }
strong, b { font-weight: 500; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; }

::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
::-webkit-scrollbar-thumb { background: #d0d0d7; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8b3; }

body, .lh-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; font-weight: 400; line-height: 20px;
  color: var(--text); background-color: var(--canvas);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; scrollbar-gutter: stable;
}
body.is-no-page-scroll { overflow: hidden !important; height: 100dvh !important; }

.lh-ms-ico { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; user-select: none; flex-shrink: 0; vertical-align: middle; }
.lh-ms-ico.is-sz-11, .lh-ms-ico.is-sz-12 { font-size: 14px; }
.lh-ms-ico.is-sz-13, .lh-ms-ico.is-sz-14 { font-size: 16px; }
.lh-ms-ico.is-sz-15, .lh-ms-ico.is-sz-16 { font-size: 17px; }
.lh-ms-ico.is-sz-17, .lh-ms-ico.is-sz-18 { font-size: 19px; }
.lh-ms-ico.is-sz-20 { font-size: 20px; }
