/* ================================================================
   עונים לי — סצנות המכונות של עמוד הבית.
   ארבע מכונות מסך-מלא בשפת ה-bold-editorial: לוח מרכזייה, מכונת
   כתיבה, דלפק סינון וחוגת הפעלה. הגלילה היא היד על המכונה
   (machines.js) — סקראב טהור שנעצר עם האצבע.
   הבסיס כאן = המצב הסופי המלא: בלי JS, עם reduced-motion, עם
   "עצירת הנפשות" בסרגל הנגישות, או במסך צר/נמוך — הדף סטטי ושלם.
   html.mx-live (נוסף ב-machines.js) מפעיל את מצב הבמה.
   ================================================================ */

/* ---- שלד סצנות ---- */
.mx-scene { margin-block: 7vh; }
.mx-track { position: relative; }
.mx-live .mx-track { height: 200vh; }
.mx-live .mx-track-tall { height: 220vh; }
.mx-stage { padding: 46px 16px; }
.mx-live .mx-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  display: grid; place-items: center;
  padding: 0 16px;
}
.mx-col { display: flex; flex-direction: column; align-items: center; gap: 2.6vh; width: 100%; }
.mx-tags { align-self: flex-start; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mx-live .mx-tags { position: absolute; top: 20px; inset-inline-start: 22px; z-index: 5; }
.mx-tag {
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  font-weight: 700; font-size: .88rem; letter-spacing: .07em;
  padding: 4px 14px;
  transform: rotate(-2deg);
}
.mx-demo {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  padding: 2px 10px;
  white-space: nowrap;
}
.mx-cap { color: var(--ink-soft); font-weight: 700; margin: 0; text-align: center; }
.mx-slam {
  margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.25; max-width: 24ch;
  will-change: transform, opacity;
}
.mx-fine { margin: 0; color: var(--ink-soft); font-size: .92rem; font-weight: 700; max-width: 54ch; text-align: center; }
.mx-col .sect-more { margin: 0; text-align: center; }

/* ---- פסי שקט נרטיביים בין מכונות ---- */
.mx-quiet { min-height: 38vh; display: grid; place-items: center; text-align: center; padding: 34px 20px; }
.mx-quiet p {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem); max-width: 26ch; line-height: 1.3;
  border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 16px 8px 18px;
}

/* ═══════════ מכונה א — לוח המרכזייה ═══════════ */
.swb {
  width: min(860px, 94vw);
  background: var(--ink); color: var(--paper);
  border-radius: 14px;
  box-shadow: -12px 12px 0 var(--yellow);
  padding: clamp(14px, 2.4vh, 24px) clamp(16px, 3vw, 30px);
  display: grid; gap: clamp(8px, 1.5vh, 14px);
}
.swb-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.swb-head { justify-content: space-between; border-bottom: 1px solid rgb(251 250 246 / .22); padding-bottom: 10px; }
.swb-title { font-weight: 700; font-size: .95rem; letter-spacing: .08em; }
.swb-clock { font-family: var(--font-mono); font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 700; color: var(--yellow); font-variant-numeric: tabular-nums; }
.swb-inlabel { font-weight: 700; font-size: .9rem; }
.swb-num { font-family: var(--font-mono); font-size: .95rem; color: rgb(251 250 246 / .75); }
.swb-rings { display: inline-flex; align-items: center; gap: 9px; margin-inline-start: auto; }
.swb-lamp {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px 2px rgb(255 232 26 / .8);
  will-change: opacity;
}
.swb-ringtxt { font-weight: 700; font-size: .92rem; min-width: 9ch; }
.swb-note {
  justify-self: start; margin: 2px 0;
  background: #fff; color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: -5px 5px 0 rgb(0 0 0 / .35);
  padding: 9px 16px;
  font-weight: 700; font-size: .95rem;
  transform: rotate(-1.6deg);
  will-change: opacity;
}
.swb-connect { gap: 16px; }
.swb-jack {
  position: relative; width: 46px; height: 46px; flex: none;
  border: 3px solid var(--paper); border-radius: 50%;
  display: grid; place-items: center;
  overflow: visible;
}
.swb-jackglow { position: absolute; inset: -7px; border-radius: 50%; border: 2.5px solid var(--yellow); will-change: opacity; }
.swb-plug {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink);
  position: relative; will-change: transform;
}
.swb-plug::after { /* חוט התקע */
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 3px; height: 34px; margin-left: -1.5px;
  background: var(--yellow); opacity: .55;
}
.swb-contxt { font-weight: 700; font-size: clamp(.95rem, 2vw, 1.1rem); }
.swb-lines { display: grid; gap: clamp(7px, 1.2vh, 12px); }
.swb-line {
  margin: 0; display: flex; align-items: baseline; gap: 12px;
  background: var(--paper); color: var(--ink);
  border-radius: 3px; padding: clamp(8px, 1.4vh, 12px) 16px;
  box-shadow: -4px 4px 0 rgb(0 0 0 / .35);
  font-size: clamp(.92rem, 1.9vw, 1.05rem); line-height: 1.55;
  will-change: opacity;
}
.swb-line .swb-chip { flex: none; font-weight: 700; font-size: .85rem; padding: 1px 10px; }
.swb-line[data-spk="bot"] .swb-chip { background: var(--yellow); }
.swb-line[data-spk="caller"] .swb-chip { border: 2px solid var(--ink); }
.swb-line span { min-width: 0; }

/* ═══════════ מכונה ב — מכונת הסיכום ═══════════ */
.tw { width: min(660px, 94vw); position: relative; }
.tw-mask { display: flex; align-items: flex-end; justify-content: center; }
.mx-live .tw-mask { height: min(44vh, 400px); overflow: hidden; }
.tw-sheet {
  width: min(520px, 88vw);
  background: #fff; color: var(--ink);
  border: 2.5px solid var(--ink); border-bottom: 0;
  box-shadow: -8px 8px 0 rgb(0 0 0 / .1);
  padding: clamp(16px, 3vh, 26px) clamp(18px, 3.4vw, 30px) 14px;
  font-family: var(--font-mono);
  font-size: clamp(.86rem, 1.9vw, 1rem);
  line-height: 2.05;
  will-change: transform, opacity;
}
.tw-sheet p { margin: 0; white-space: nowrap; }
.tw-sheet .tw-h { font-weight: 700; letter-spacing: .05em; border-bottom: 2px dashed var(--rule-soft); padding-bottom: 6px; margin-bottom: 8px; }
.tw-line { will-change: clip-path; }
.tw-platen {
  position: relative; z-index: 2;
  height: 34px; border-radius: 8px;
  background: var(--ink);
  box-shadow: -10px 10px 0 var(--yellow);
}
.tw-platen i { position: absolute; top: -7px; width: 26px; height: 14px; background: var(--ink); border-radius: 4px 4px 0 0; }
.tw-platen i:first-child { right: 12%; }
.tw-platen i:last-child { left: 12%; }
.tw-base {
  margin: -2px auto 0; width: 88%;
  background: var(--ink); border-radius: 0 0 18px 18px;
  padding: 13px 18px 15px;
  display: flex; justify-content: center; gap: 9px; flex-wrap: wrap;
}
.tw-base i {
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 3px 0 rgb(0 0 0 / .55);
  border: 2px solid rgb(0 0 0 / .4);
}
.mxb-wa { margin: 26px auto 0; will-change: transform, opacity; }
/* מנטרל את ה-blur של סצנת-השיחה הישנה מ-style.css (.motion .wa-card) — כאן המנוע שולט */
.motion .mxb-wa { filter: none; transition: none; opacity: 1; }
.mx-live .mxb-wa {
  margin: 0;
  position: absolute; top: 4%; left: 50%; z-index: 3;
  width: min(480px, 86vw);
}

/* ═══════════ מכונה ג — דלפק הסינון ═══════════ */
.dsk-slip {
  width: min(560px, 92vw); position: relative;
  background: #fff; color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: -9px 9px 0 rgb(0 0 0 / .1);
  padding: 16px 18px 58px;
  will-change: transform, opacity;
}
.dsk-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 9px; margin-bottom: 13px;
  font-size: .85rem; font-weight: 700;
}
.dsk-head time { font-family: var(--font-mono); color: var(--ink-soft); font-weight: 700; }
.dsk-say { margin: 0 0 .8em; font-size: clamp(.95rem, 2vw, 1.06rem); line-height: 1.6; will-change: opacity; }
.dsk-say b { font-weight: 700; }
.dsk-bot b { background: var(--yellow); padding: 0 .3em; }
.dsk-stamp {
  position: absolute; bottom: 12px; inset-inline-end: 16px;
  background: var(--yellow); border: 2.5px solid var(--ink);
  box-shadow: -4px 4px 0 rgb(0 0 0 / .18);
  padding: 5px 16px;
  font-weight: 700; font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  transform: rotate(-6deg);
  will-change: transform, opacity;
}
.dsk-tray {
  border: 2px dashed var(--ink);
  padding: 10px 20px; margin: 0;
  font-weight: 700; font-size: clamp(.95rem, 2vw, 1.1rem);
  will-change: opacity;
}

/* ═══════════ מכונה ד — חוגת ההפעלה ═══════════ */
.mxd-grid { display: grid; gap: 3vh; justify-items: center; align-items: center; }
@media (min-width: 900px) {
  .mx-live .mxd-grid { grid-template-columns: auto minmax(300px, 420px); gap: 5vw; }
  .mx-live .mxd-side { justify-items: start; }
  .mx-live .mxd-side .mxd-steps li { text-align: start; }
}
.mxd-dial { position: relative; width: min(310px, 66vw, 38vh); aspect-ratio: 1; }
.mxd-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--ink);
  box-shadow: -12px 12px 0 var(--yellow);
  will-change: transform;
}
.mxd-hole {
  position: absolute; width: 16.5%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(.9rem, 2vw, 1.1rem);
  font-style: normal;
}
.mxd-hub {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); border: 3px solid rgb(0 0 0 / .35);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.mxd-stop {
  position: absolute; left: 2%; top: 38%;
  width: 7%; height: 13%;
  background: var(--yellow); border: 2px solid var(--ink);
  border-radius: 40% 40% 50% 50%;
  rotate: 18deg;
  z-index: 2;
}
.mxd-code {
  margin: 0; direction: ltr; text-align: center;
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.6rem); letter-spacing: .03em;
  background: var(--yellow); padding: 8px 18px;
  border: 2px solid var(--ink);
  will-change: clip-path;
}
.mxd-side { display: grid; gap: 2vh; justify-items: center; }
.mxd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.8vh, 16px); }
.mxd-steps li { display: flex; align-items: baseline; gap: 12px; max-width: 40ch; text-align: start; }
.mxd-steps h3 { font-size: clamp(1.05rem, 2.2vw, 1.25rem); margin: 0 0 3px; }
.mxd-steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.mxd-steps b {
  flex: none; display: inline-grid; place-items: center;
  min-width: 2em; height: 2em; font-size: 1.05rem; font-weight: 700;
  background: var(--yellow);
  border-radius: 46% 54% 50% 50% / 52% 48% 55% 45%;
  transform: rotate(-3deg);
}
.mx-live .mxd-steps li { opacity: .28; transition: opacity .45s ease; }
.mx-live .mxd-steps li.is-lit { opacity: 1; }
.mx-live .mxd-steps li b { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); transition: background .45s ease, box-shadow .45s ease; }
.mx-live .mxd-steps li.is-lit b { background: var(--yellow); box-shadow: inset 0 0 0 2px transparent; }
.mxd-ok {
  display: inline-block; width: .55em; height: .55em; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 12px 2px rgb(255 232 26 / .9);
  margin-inline-end: .35em;
}

/* Enlarged text uses the complete static machines. Let their content reflow
   instead of preserving the compact one-screen animation geometry. */
html.a11y-large-text .mx-demo,
html.a11y-large-text .tw-sheet p {
  white-space: normal;
}

html.a11y-large-text .tw-sheet p,
html.a11y-large-text .mxd-code {
  overflow-wrap: anywhere;
}

/* ═══════════ לוח הממסרים (how-it-works) — מסלול שיחה אחת ═══════════ */
.rly {
  width: min(680px, 94vw); position: relative;
  display: grid; gap: clamp(8px, 1.4vh, 14px);
  padding-inline-start: 40px;
}
.rly::before { /* קו המסלול */
  content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 13px;
  width: 3px; background: var(--ink);
}
.rly-st { position: relative; margin: 0; display: block; }
.rly-lamp {
  position: absolute; inset-inline-start: -34px; top: 14px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--yellow); border: 2.5px solid var(--ink);
  box-shadow: 0 0 12px 1px rgb(255 232 26 / .75);
  will-change: opacity, transform;
}
.rly-card {
  background: #fff; border: 2px solid var(--ink);
  box-shadow: -5px 5px 0 rgb(0 0 0 / .12);
  padding: clamp(8px, 1.3vh, 12px) 16px;
  font-size: clamp(.9rem, 1.9vw, 1.02rem); line-height: 1.5;
  will-change: opacity;
}
.rly-card b { font-weight: 700; }
.rly-chip {
  display: inline-block; font-weight: 700; font-size: .78rem;
  background: var(--yellow); padding: 0 8px; margin-inline-end: 8px;
}

/* ═══════════ הקופה הרושמת (pricing) ═══════════ */
.reg-grid { display: grid; gap: 3vh; justify-items: center; align-items: center; }
@media (min-width: 900px) {
  .mx-live .reg-grid { grid-template-columns: minmax(260px, 330px) minmax(320px, 480px); gap: 5vw; align-items: start; }
}
.reg {
  width: min(300px, 80vw);
  display: grid; gap: 0; justify-items: center;
}
.reg-flag {
  width: 82%; min-height: 92px;
  background: var(--paper); border: 3px solid var(--ink);
  border-radius: 10px 10px 0 0;
  display: grid; place-items: center; text-align: center;
  padding: 12px 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.1;
  will-change: transform;
}
.reg-flag small { display: block; font-family: var(--font); font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.reg-body {
  width: 100%; border-radius: 12px 12px 8px 8px;
  background: var(--ink);
  box-shadow: -10px 10px 0 var(--yellow);
  padding: 16px 18px 18px;
  display: grid; gap: 10px;
}
.reg-keys { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.reg-keys i { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: 0 3px 0 rgb(0 0 0 / .55); border: 2px solid rgb(0 0 0 / .4); }
.reg-drawer { height: 22px; border: 2px solid rgb(251 250 246 / .5); border-radius: 4px; }
.reg-items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1.1vh, 10px); width: min(480px, 92vw); }
.reg-items li {
  display: flex; align-items: baseline; gap: 10px;
  background: #fff; border: 2px solid var(--ink);
  box-shadow: -4px 4px 0 rgb(0 0 0 / .1);
  padding: clamp(7px, 1.2vh, 11px) 14px;
  font-size: clamp(.88rem, 1.8vw, 1rem); font-weight: 700; line-height: 1.45;
  will-change: opacity;
}
.reg-items .reg-tick { flex: none; font-weight: 700; font-size: .78rem; background: var(--yellow); padding: 0 7px; will-change: opacity; }

/* ═══════════ המזכירה האלקטרונית (ai-call-answering) ═══════════ */
.cas {
  width: min(560px, 92vw);
  background: var(--ink); color: var(--paper);
  border-radius: 14px;
  box-shadow: -12px 12px 0 var(--yellow);
  padding: clamp(16px, 2.6vh, 26px) clamp(18px, 3vw, 30px);
  display: grid; gap: clamp(10px, 1.8vh, 16px);
}
.cas-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid rgb(251 250 246 / .22); padding-bottom: 10px; }
.cas-title { font-weight: 700; font-size: .95rem; letter-spacing: .08em; }
.cas-count {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--yellow);
  will-change: opacity;
}
.cas-deck { display: flex; justify-content: center; gap: clamp(30px, 7vw, 70px); padding: 8px 0 4px; }
.cas-reel {
  width: clamp(78px, 16vw, 110px); aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); border: 3px solid rgb(0 0 0 / .4);
  position: relative; will-change: transform;
}
.cas-reel::before { /* חישורי הסליל */
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%; border: 2.5px dashed var(--ink);
}
.cas-reel::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--ink); }
.cas-note { margin: 0; text-align: center; font-weight: 700; font-size: clamp(.95rem, 2vw, 1.1rem); color: rgb(251 250 246 / .92); will-change: opacity; }
.cas-flip {
  margin: 0; background: var(--paper); color: var(--ink);
  border-radius: 3px; padding: clamp(9px, 1.5vh, 13px) 16px;
  box-shadow: -4px 4px 0 rgb(0 0 0 / .35);
  font-weight: 700; font-size: clamp(.92rem, 1.9vw, 1.04rem); line-height: 1.55;
  will-change: opacity;
}
.cas-flip b { background: var(--yellow); padding: 0 .3em; font-weight: 700; }

/* ═══════════ המכשיר החתום (kosher-phones) ═══════════ */
.ksh-grid { display: grid; gap: 3.5vh; justify-items: center; align-items: center; }
@media (min-width: 900px) {
  .mx-live .ksh-grid { grid-template-columns: minmax(300px, 460px) auto; gap: 6vw; }
}
.ksh-phone-wrap { position: relative; padding: 22px; border: 2.5px dashed var(--ink); }
.ksh-seal {
  position: absolute; top: -16px; inset-inline-start: 18px;
  background: var(--yellow); border: 1.5px solid var(--ink);
  font-weight: 700; font-size: .85rem; letter-spacing: .06em;
  padding: 3px 12px; transform: rotate(-2deg);
}
.ksh-phone {
  width: clamp(120px, 24vw, 150px); aspect-ratio: 10 / 19;
  background: var(--paper); border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: -7px 7px 0 rgb(0 0 0 / .12);
  display: grid; grid-template-rows: 34% 1fr; gap: 8px;
  padding: 12px 10px;
}
.ksh-screen { border: 2px solid var(--ink); border-radius: 5px; background: #fff; }
.ksh-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; align-content: start; }
.ksh-pad i { aspect-ratio: 1.6; border: 2px solid var(--ink); border-radius: 4px; background: #fff; }
.ksh-net { display: grid; gap: clamp(8px, 1.4vh, 13px); width: min(460px, 92vw); }
.ksh-nethead { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; letter-spacing: .06em; }
.ksh-netlamp {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink);
  box-shadow: 0 0 10px 1px rgb(255 232 26 / .8);
  will-change: opacity;
}
.ksh-card {
  margin: 0; background: #fff; border: 2px solid var(--ink);
  box-shadow: -5px 5px 0 rgb(0 0 0 / .12);
  padding: clamp(8px, 1.4vh, 12px) 16px;
  font-size: clamp(.9rem, 1.9vw, 1.02rem); line-height: 1.55;
  will-change: opacity;
}
.ksh-card b { font-weight: 700; }

/* ---- מצב חי: מצבי-פתיחה (הבסיס למעלה = המצב הסופי, לדף סטטי שלם) ---- */
.mx-live .swb-note, .mx-live .swb-line, .mx-live .swb-contxt, .mx-live .swb-jackglow,
.mx-live .mx-slam, .mx-live .dsk-slip, .mx-live .dsk-say, .mx-live .dsk-stamp,
.mx-live .dsk-tray, .mx-live .mx-fine, .mx-live .mxb-wa,
.mx-live .rly-card, .mx-live .reg-items li, .mx-live .reg-items .reg-tick,
.mx-live .cas-note, .mx-live .cas-flip, .mx-live .ksh-card { opacity: 0; }
.mx-live .rly-lamp { opacity: .18; }

/* ---- נייד: אותן מכונות, קומפקטיות — כל סצנה חייבת להיכנס למסך נעוץ אחד ---- */
@media (max-width: 799px) {
  .mx-quiet { min-height: 26vh; }
  .mx-stage { padding: 38px 14px; }
  .mx-live .mx-stage { padding: 0 12px; }
  .mx-live .mx-tags { position: static; align-self: center; justify-content: center; }
  .mx-col { gap: 1.5vh; }
  .mx-tag { font-size: .76rem; padding: 3px 10px; }
  .mx-demo { font-size: .68rem; }
  .mx-cap { font-size: .86rem; }
  .mx-slam { font-size: clamp(1.1rem, 5.4vw, 1.45rem); }
  .mx-fine { font-size: .78rem; }
  .mx-col .sect-more { font-size: .85rem; }

  .swb { padding: 11px 13px; gap: 7px; }
  .swb-head { padding-bottom: 7px; }
  .swb-title { font-size: .78rem; }
  .swb-clock { font-size: 1rem; }
  .swb-num { font-size: .78rem; }
  .swb-inlabel, .swb-ringtxt { font-size: .78rem; }
  .swb-lamp { width: 12px; height: 12px; }
  .swb-note { font-size: .76rem; padding: 6px 10px; }
  .swb-jack { width: 36px; height: 36px; border-width: 2.5px; }
  .swb-plug { width: 15px; height: 15px; }
  .swb-plug::after { height: 24px; }
  .swb-contxt { font-size: .82rem; }
  .swb-line { font-size: .76rem; padding: 6px 9px; gap: 7px; line-height: 1.4; }
  .swb-line .swb-chip { font-size: .68rem; padding: 0 6px; }

  .mx-live .tw-mask { height: min(38vh, 320px); }
  .tw-sheet { font-size: .74rem; line-height: 1.85; padding: 12px 12px 8px; }
  .tw-platen { height: 26px; }
  .tw-base { padding: 9px 12px 11px; gap: 6px; }
  .tw-base i { width: 15px; height: 15px; }
  .mx-live .mxb-wa { width: min(330px, 90vw); top: 2%; }

  .dsk-slip { padding: 11px 13px 48px; }
  .dsk-head { font-size: .74rem; }
  .dsk-say { font-size: .8rem; margin-bottom: .6em; }
  .dsk-stamp { font-size: .95rem; padding: 4px 12px; }
  .dsk-tray { font-size: .82rem; padding: 8px 14px; }

  .rly { padding-inline-start: 30px; gap: 7px; }
  .rly::before { inset-inline-start: 9px; }
  .rly-lamp { inset-inline-start: -26px; width: 13px; height: 13px; top: 11px; }
  .rly-card { font-size: .76rem; padding: 6px 10px; line-height: 1.42; }
  .rly-chip { font-size: .66rem; margin-inline-end: 6px; }

  .reg-grid { gap: 1.6vh; }
  .reg { width: min(200px, 60vw); }
  .reg-flag { min-height: 58px; font-size: 1.4rem; padding: 7px 8px; }
  .reg-flag small { font-size: .68rem; }
  .reg-body { padding: 8px 11px 10px; gap: 7px; }
  .reg-keys { gap: 6px; }
  .reg-keys i { width: 14px; height: 14px; }
  .reg-drawer { height: 15px; }
  .reg-items { width: 100%; gap: 5px; }
  .reg-items li { font-size: .74rem; padding: 5px 9px; gap: 7px; }
  .reg-items .reg-tick { font-size: .64rem; }

  .cas { padding: 12px 14px; gap: 9px; }
  .cas-title { font-size: .78rem; }
  .cas-count { font-size: .92rem; }
  .cas-deck { gap: 26px; padding: 4px 0 2px; }
  .cas-reel { width: clamp(58px, 16vw, 80px); }
  .cas-note { font-size: .8rem; }
  .cas-flip { font-size: .78rem; padding: 7px 10px; }

  .mxd-grid { gap: 1.5vh; }
  .mxd-dial { width: min(180px, 50vw, 24vh); }
  .mxd-hole { font-size: .74rem; }
  .mxd-hub { font-size: 1.3rem; }
  .mxd-code { font-size: .92rem; padding: 5px 10px; letter-spacing: .01em; }
  .mxd-side { gap: 1.4vh; }
  .mxd-steps { gap: 7px; }
  .mxd-steps li { gap: 8px; max-width: none; }
  .mxd-steps h3 { font-size: .88rem; margin-bottom: 1px; }
  .mxd-steps p { font-size: .74rem; line-height: 1.38; }
  .mxd-steps b { min-width: 1.6em; height: 1.6em; font-size: .82rem; }

  .ksh-grid { gap: 1.6vh; }
  .ksh-phone-wrap { padding: 12px; }
  .ksh-phone { width: clamp(78px, 20vw, 96px); border-radius: 12px; padding: 8px 7px; gap: 5px; }
  .ksh-pad { gap: 3px; }
  .ksh-seal { font-size: .68rem; padding: 2px 9px; top: -12px; }
  .ksh-nethead { font-size: .78rem; }
  .ksh-netlamp { width: 11px; height: 11px; }
  .ksh-net { gap: 6px; }
  .ksh-card { font-size: .76rem; padding: 6px 10px; line-height: 1.42; }
}

/* ═══════════ wire-and-tags re-skin (17.07.2026) ═══════════
   המכונות הופכות לתחנות על הקו: תוויות ומשטחים = תגי-כבל מנוקבים.
   שכבת override בלבד — הלוגיקה והסצנות ללא שינוי. */
.mx-tag {
  position: relative;
  border-width: 3px;
  border-radius: 4px 14px 4px 4px;
  padding: 5px 26px 5px 14px;
  box-shadow: 0 3px 0 rgb(32 29 24 / .4);
}
.mx-tag::before {
  content: "";
  position: absolute;
  top: 5px;
  inset-inline-start: 7px;
  width: 8px;
  height: 8px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.mx-demo { border-width: 2px; border-radius: 3px 10px 3px 3px; }
.rly-card {
  border-width: 3px;
  border-radius: 4px 16px 4px 4px;
  background: var(--tagbg, #FDFAF1);
  box-shadow: 0 4px 0 rgb(32 29 24 / .18);
}
.rly-chip { border-radius: 3px 8px 3px 3px; }
.reg-flag { border-radius: 6px 20px 4px 4px; }
.reg-body { border-radius: 6px 18px 8px 8px; }
.cas { border-radius: 6px 22px 8px 8px; }
.ksh-phone-wrap { border-radius: 6px 20px 6px 6px; }
.ksh-seal {
  border-width: 2.5px;
  border-radius: 3px 10px 3px 3px;
  box-shadow: 0 3px 0 rgb(32 29 24 / .4);
}
.ksh-card, .ksh-net { border-radius: 4px 14px 4px 4px; }
