/* ============================================================================
   FADEZEN · Reset
   איפוס ממוקד — רק מה שבאמת מפריע, בלי לדרוס התנהגות נגישה של הדפדפן.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, fieldset {
  margin: 0;
}

ul[role="list"], ol[role="list"], ul.plain, ol.plain {
  margin: 0; padding: 0; list-style: none;
}

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: inherit;
}

a { color: inherit; text-decoration: none; }

input, textarea { background: none; border: 0; }
input:focus, textarea:focus, select:focus { outline: none; }

/* מסתירים את ה-X המובנה של search ב-WebKit — יש לנו כפתור משלנו */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

fieldset { border: 0; padding: 0; }
legend { padding: 0; }

table { border-collapse: collapse; }

:target { scroll-margin-block: var(--s-7); }

/* --- [hidden] מנצח כל display ---
   ברירת המחדל של הדפדפן ל-[hidden] היא display:none בלי מחלקה, ולכן
   כל כלל עם מחלקה גובר עליה. כך .bmode, .acct__btn ו-#btnSignin נשארו
   על המסך אחרי el.hidden = true — שלושה באגים זהים באותו שורש.
   כלל אחד כאן סוגר את המשפחה כולה. מי שצריך אלמנט מוסתר-אך-מוצג
   ישתמש במחלקה, לא בתכונה. */
[hidden] { display: none !important; }
