/* Heebo hebrew — SIL Open Font License 1.1. See ../fonts/Heebo-OFL.txt. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* Heebo latin — SIL Open Font License 1.1. See ../fonts/Heebo-OFL.txt. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/heebo-latin.woff2) format('woff2');
  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;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
}
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); letter-spacing: -0.035em; }
h2 { font-size: 1.65rem; letter-spacing: -0.025em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9375rem; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { letter-spacing: normal; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--ink); }
img, video { max-width: 100%; }
code, pre { font-family: var(--font-mono); }
code { color: var(--accent); background: var(--accent-soft); border-radius: 5px; padding: 2px 6px; }
.text-muted { color: var(--ink-muted) !important; }
.text-secondary { color: var(--ink-secondary) !important; }
.bg-light { background-color: var(--surface-secondary) !important; }
.skip-link {
    position: fixed;
    inset-block-start: 8px;
    inset-inline-start: 16px;
    z-index: 2000;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
/* State changes stay visible without decorative movement. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media (forced-colors: active) {
    .card, .btn, .badge, .form-control, .form-select, .folder-item { border: 1px solid CanvasText; }
}
