/* EZTAX v0.1 — same tokens, type and Apple rhythm as the MBZ audience app (public/styles.css there). */
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 800; 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; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 800; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --tq: #1ED6D0; --tq-ink: #087370; --tq-soft: #e6fbfa;
  --ink: #0b0b0d; --ink-2: #17181c; --ink-3: #2a2c33;
  --bg: #f5f5f7; --paper: #fff; --line: #e3e5e8; --muted: #6e6e73; --text: #1d1d1f;
  --ok: #0f8a52; --bad: #c62d3b; --warn: #8a5a00;
  --r: 18px; --pad: 16px; --appbar: 56px; --col: 1180px;
  color-scheme: only light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Heebo', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; direction: rtl; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
a { color: var(--tq-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--tq-ink); outline-offset: 2px; border-radius: 8px; } /* a11y 18.10.2026: dark teal ring (5.7:1 on white; turquoise was 1.8:1) */
.appbar :focus-visible { outline-color: var(--tq-ink); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 10px; }
.skip { position: absolute; top: -60px; right: 8px; background: var(--tq); color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip:focus { top: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }

/* ---------- app bar: light Apple chrome (Michael MVP 24.10.2026) ---------- */
.appbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.84); color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #e5e5ea; }
.appbar-in { max-width: var(--col); margin: 0 auto; min-height: var(--appbar); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 0 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; padding: 0 4px; }
.brand-t { font-weight: 800; font-size: 17px; letter-spacing: .02em; color: var(--ink); }
.brand-t b { color: var(--tq-ink); }
.logo { display: inline-flex; direction: ltr; unicode-bidi: isolate; line-height: 0; color: inherit; }
.logo .logo-svg { display: block; height: 28px; width: auto; }
.brand .logo { padding-inline-start: 10px; border-inline-start: 1px solid #e5e5ea; color: var(--ink); }
.topnav { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav .tn { color: #3a3a3c; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.topnav .tn:hover { color: var(--ink); background: #eceef0; }
.topnav .tn.active { color: var(--ink); background: var(--tq); }
.topnav .tn.soon { color: #86868b; }
.topnav .tn small { font-size: 11px; font-weight: 700; color: #86868b; margin-inline-start: 4px; }
.appbar-actions { display: flex; align-items: center; gap: 6px; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--ink); border: 0; border-radius: 12px; }
.iconbtn:hover { background: #eceef0; }
.iconbtn.dark { color: var(--text); } .iconbtn.dark:hover { background: #eceef0; }
.firmpill { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #d2d2d7; background: #f5f5f7; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.firmpill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tq); flex: 0 0 auto; }
.firmpill.none .dot { background: #86868b; }
.firmpill span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 859px) {
  .appbar-in { grid-template-columns: 1fr auto; padding-top: 4px; }
  .topnav { grid-column: 1 / -1; order: 3; padding: 0 0 8px; }
  .firmpill { max-width: 150px; }
}

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; color: var(--text); z-index: 90; transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 8px; border-bottom: 1px solid #e5e5ea; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 0 16px; }
.dsec { font-size: 13px; font-weight: 700; color: var(--tq-ink); padding: 18px 20px 6px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 8px 20px; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 600; border-inline-start: 3px solid transparent; }
.dl:hover { background: var(--bg); }
.dl.active { background: var(--ink); color: #fff; border-inline-start-color: var(--tq); }
.dl.soon { color: #a1a1a6; font-weight: 500; }
.drawer-foot { padding: 14px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid #e5e5ea; }

/* ---------- full-bleed Apple bands ---------- */
main { display: block; }
.band { padding: 56px var(--pad); }
.band-in { max-width: var(--col); margin: 0 auto; }
.band.dark { background: var(--ink); color: #fff; }
.band.grey { background: var(--bg); }
.band.white { background: #fff; }
.band.tight { padding-top: 32px; padding-bottom: 32px; }
.eyebrow { display: block; font-size: 14px; font-weight: 700; color: var(--tq-ink); margin-bottom: 8px; letter-spacing: .01em; }
.dark .eyebrow { color: var(--tq); }
.h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: #424245; max-width: 34em; margin: 12px 0 0; }
.dark .lead { color: #a1a1a6; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center .btns { justify-content: center; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--tq); color: #1d1d1f; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.ap-btn:hover { filter: brightness(1.06); }
.ap-btn.ghost { background: transparent; color: var(--tq-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.dark .ap-btn.ghost { color: var(--tq); }
.ap-btn.grey { background: #e8e8ed; color: var(--text); }
.ap-btn.sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.ap-btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }

/* ---------- home hero + lineup (audience-app lineup cards) ---------- */
.home-hero { text-align: center; padding: 36px var(--pad) 8px; }
.home-hero .logo .logo-svg { height: 56px; margin: 0 auto; color: var(--ink); }
.home-hero .logo { display: flex; justify-content: center; color: var(--ink); margin-bottom: 18px; }
.home-hero .h1 b { color: var(--tq-ink); font-weight: 800; }
.lineup-k { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
.lineup-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.lineup-card { display: flex; flex-direction: column; align-items: stretch; text-decoration: none; color: inherit; height: 100%; }
.lineup-card:focus-visible { outline: 3px solid var(--tq-ink); outline-offset: 6px; border-radius: 26px; }
.ap-photo { margin: 0 0 16px; border-radius: 22px; overflow: hidden; background: #e8eaed; aspect-ratio: 16 / 10; }
.ap-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .ap-photo img { transition: transform .4s ease; } .lineup-card:hover .ap-photo img { transform: scale(1.02); } }
.lineup-t { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.lineup-s { font-size: 15px; color: #424245; margin: 0 0 14px; line-height: 1.45; flex: 1 1 auto; }
.lineup-card .ap-btn { align-self: center; pointer-events: none; }
.soon-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.soon-tile { border-radius: 18px; background: var(--bg); padding: 18px; color: #86868b; }
.soon-tile b { display: block; color: #424245; font-size: 17px; }
@media (min-width: 760px) {
  .lineup-grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .lineup-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .soon-grid { grid-template-columns: repeat(4, 1fr); }
  .home-hero { padding-top: 56px; }
  .home-hero .logo .logo-svg { height: 64px; }
}

/* ---------- stat triplets (label / big number / caption) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 8px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-k { font-size: 14px; font-weight: 600; color: #a1a1a6; }
.stat-n { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--tq); }
.stat-n.plain { color: #fff; }
.stat-c { font-size: 13px; color: #86868b; }
.white .stat-k, .grey .stat-k { color: var(--muted); }
.white .stat-n.plain, .grey .stat-n.plain { color: var(--text); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; white-space: nowrap; line-height: 1.5; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.found { background: #e3f6ed; color: var(--ok); }
.badge.missing { background: #fde8eb; color: var(--bad); }
.badge.michael { background: #fff3d6; color: var(--warn); }
.badge.published { background: #e7f0ff; color: #1f5fd1; }
.badge.approved { background: #e3f6ed; color: var(--ok); }
.badge.rejected { background: #fde8eb; color: var(--bad); }
.badge.requested, .badge.unknown { background: #f0f0f3; color: #515154; }
.badge.deviation { background: #fde8eb; color: var(--bad); }
.badge.needs_lawyer { background: #fff3d6; color: var(--warn); }
.badge.pending { background: #f0f0f3; color: #515154; }
.dark .badge.found { background: rgba(15,138,82,.22); color: #6fe0a8; }
.dark .badge.missing { background: rgba(198,45,59,.25); color: #ff9aa4; }
.dark .badge.michael { background: rgba(255,195,61,.2); color: #ffd27a; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f0f0f3; color: #424245; white-space: nowrap; text-decoration: none; }
.chip.tq { background: var(--tq-soft); color: var(--tq-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- filters + search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 18px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #e8e8ed; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button, .seg a { border: 0; background: transparent; color: #424245; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.seg .on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg .n { color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.sbox { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d2d2d7; border-radius: 999px; padding: 0 14px; color: var(--muted); min-height: 42px; max-width: 360px; }
.sbox:focus-within { border-color: var(--tq-ink); }
.sbox input { flex: 1; border: 0; background: transparent; font-size: 16px; padding: 8px 0; color: var(--text); outline: none; min-width: 0; }

/* ---------- municipality tiles ---------- */
.mgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .mgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .mgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.mtile { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; background: #fff; text-decoration: none; color: var(--text); border: 1px solid transparent; min-height: 132px; }
.grey .mtile { background: #fff; }
.mtile:hover { border-color: var(--tq); }
.mtile-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mtile-t { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.mtile-m { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); margin-top: auto; }
.mtile-m b { color: var(--text); font-weight: 600; }

/* ---------- municipality page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #86868b; margin-bottom: 18px; }
.crumbs a { color: #a1a1a6; text-decoration: none; } .crumbs a:hover { color: #fff; }
.white .crumbs a, .grey .crumbs a { color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; border-top: 1px solid #2a2c33; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #2a2c33; font-size: 15px; align-items: baseline; }
.fact-k { color: #86868b; font-weight: 600; font-size: 14px; }
.fact-v { color: #f5f5f7; overflow-wrap: anywhere; }
.fact-v a { color: var(--tq); }
.fact-v .none { color: #86868b; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.files { display: grid; gap: 12px; margin-top: 20px; }
.file { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: #fff; }
.file-ic { width: 44px; height: 52px; border-radius: 10px; background: var(--ink); color: var(--tq); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.file-b { min-width: 0; }
.file-n { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; direction: ltr; text-align: right; unicode-bidi: plaintext; }
.file-m { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.file-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) { .file { grid-template-columns: auto 1fr auto; } .file-a { grid-column: auto; } }
.viewer { margin-top: 20px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.viewer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.viewer iframe { display: block; width: 100%; height: 78vh; border: 0; background: #525659; }
@media (max-width: 759px) { .viewer iframe { height: 64vh; } }

/* structured placeholder (to be extracted from the order) */
.xgrid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 900px) { .xgrid { grid-template-columns: 1fr 1fr; } }
.xcard { border-radius: 22px; background: var(--bg); padding: 22px; }
.white .xcard { background: var(--bg); } .grey .xcard { background: #fff; }
.xcard-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.xcard-s { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.xtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.xtable th { text-align: right; font-size: 12px; font-weight: 700; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid #d2d2d7; white-space: nowrap; }
.xtable td { padding: 12px 6px; border-bottom: 1px dashed #d2d2d7; color: #c7c7cc; }
.xempty { margin-top: 12px; font-size: 14px; font-weight: 600; color: #86868b; display: flex; align-items: center; gap: 8px; }
.xempty::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c7c7cc; }

/* ---------- forms / upload ---------- */
.panel { border-radius: 28px; background: #fff; padding: 24px; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 32px rgba(0,0,0,.06); }
.grey .panel { background: #fff; }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr 1.3fr; align-items: start; } }
.step { display: flex; flex-direction: column; gap: 8px; }
.step-n { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.step-n i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--tq); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.inp, select.inp, textarea.inp { width: 100%; font-size: 16px; min-height: 48px; padding: 10px 14px; border: 1px solid #d2d2d7; border-radius: 14px; background: #fff; color: var(--text); }
textarea.inp { min-height: 96px; resize: vertical; line-height: 1.5; }
.inp:focus { outline: none; border-color: var(--tq-ink); box-shadow: 0 0 0 3px var(--tq-soft); }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 132px; padding: 18px; border: 2px dashed #c7c7cc; border-radius: 18px; background: var(--bg); text-align: center; color: #424245; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--tq-ink); background: var(--tq-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font-size: 16px; } .drop small { color: var(--muted); font-size: 13px; }
.drop .picked { color: var(--tq-ink); font-weight: 700; overflow-wrap: anywhere; }
.drop .picked[data-empty] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.formrow { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 640px) { .formrow.two { grid-template-columns: 1fr 1fr; } }
.lbl { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.formmsg { font-size: 14px; font-weight: 600; }
.formmsg.err { color: var(--bad); } .formmsg.ok { color: var(--ok); }
.note { padding: 14px 16px; border-radius: 16px; background: var(--bg); font-size: 15px; color: #424245; }
.note b { color: var(--text); }
.note.warn { background: #fff3d6; color: #6b4600; }
.note.tq { background: var(--tq-soft); color: #0b4f4c; }

/* ---------- lists ---------- */
.rows { border-radius: 22px; background: #fff; overflow: hidden; }
.grey .rows { background: #fff; } .white .rows { background: var(--bg); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #ececf0; color: var(--text); text-decoration: none; }
.row:last-child { border-bottom: 0; }
a.row:hover { background: var(--tq-soft); }
.row-t { font-weight: 700; overflow-wrap: anywhere; }
.row-s { grid-column: 1 / -1; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.row-e { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.empty { text-align: center; padding: 40px 20px; border-radius: 22px; background: #fff; color: var(--muted); }
.white .empty { background: var(--bg); }
.empty b { display: block; color: var(--text); font-size: 19px; margin-bottom: 4px; }

/* exceptional list per municipality */
.exg { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .exg { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .exg { grid-template-columns: repeat(3, 1fr); } }
.excard { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 22px; background: #fff; }
.excard-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.excard-t { font-size: 19px; font-weight: 700; }
.excard-docs { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.excard-docs a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.excard-m { font-size: 13px; color: var(--muted); margin-top: auto; }
.more-btn { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- bill result: findings template ---------- */
.engine { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 20px; border-radius: 28px; background: var(--ink); color: #fff; }
.engine .logo .logo-svg { height: 44px; color: #fff; }
.engine-t { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.engine-s { color: #a1a1a6; font-size: 17px; max-width: 30em; margin: 0; }
.against { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 760px) { .against { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .against { grid-template-columns: repeat(4, 1fr); } }
.ag { border-radius: 20px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.ag-k { font-size: 13px; font-weight: 700; color: var(--muted); }
.ag-n { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--text); }
.ag-n.tq { color: var(--tq-ink); }
.ag-s { font-size: 14px; color: #424245; }
.ag a { font-size: 14px; font-weight: 600; }
.finding { border-radius: 24px; background: #fff; padding: 22px; border: 2px dashed #d2d2d7; }
.finding.tpl { background: #fff; }
.finding-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.finding-tag { font-size: 12px; font-weight: 800; color: #86868b; letter-spacing: .04em; }
.fblock { padding: 14px 0; border-top: 1px solid #ececf0; }
.fblock:first-of-type { border-top: 0; padding-top: 0; }
.fblock-k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.fblock-k i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.fblock-v { color: #c7c7cc; font-size: 15px; }
.basis { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .basis { grid-template-columns: repeat(3, 1fr); } }
.basis-i { border-radius: 14px; background: var(--bg); padding: 10px 12px; font-size: 14px; }
.basis-i b { display: block; font-size: 12px; color: var(--muted); }
.basis-i span { color: #c7c7cc; }
.fb { margin-top: 6px; border-radius: 18px; background: var(--tq-soft); padding: 16px; }
.fb-t { font-weight: 800; color: #0b4f4c; font-size: 16px; margin-bottom: 2px; }
.fb-s { font-size: 14px; color: #0b4f4c; opacity: .85; margin: 0 0 10px; }
.legend { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 760px) { .legend { grid-template-columns: 1fr 1fr; } }
.legend-i { border-radius: 18px; background: #fff; padding: 16px 18px; font-size: 15px; color: #424245; }
.legend-i .badge { margin-bottom: 6px; }
.preview { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.preview img { display: block; max-width: 100%; margin: 0 auto; }
.preview iframe { display: block; width: 100%; height: 60vh; border: 0; }
.split { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .split { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* ---------- 'בבנייה' state (audience app) ---------- */
.bld { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 72px 20px; min-height: 56vh; background: #fff; }
.bld .logo .logo-svg { width: clamp(150px, 22vw, 220px); height: auto; color: var(--ink); }
.bld-t { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.bld-s { margin: 0; font-size: 17px; color: var(--muted); font-weight: 600; max-width: 30em; }

/* ---------- sheet (firm switcher) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 18px 20px 24px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet .row { padding-inline: 4px; }
.sheet .rows { background: var(--bg); }
@media (min-width: 760px) { .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 130; font-weight: 600; max-width: 90vw; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 28px var(--pad) 36px; border-top: 1px solid #e8e8ed; }
@media (min-width: 760px) { :root { --pad: 28px; } .band { padding: 80px var(--pad); } .band.tight { padding: 40px var(--pad); } .panel { padding: 32px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- bill result: LINE-BY-LINE ---------- */
.tplbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff3d6; color: #6b4600; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.tplbar::before { content: 'תבנית'; background: #6b4600; color: #fff3d6; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.lines { border-radius: 22px; background: #fff; overflow: hidden; }
.lines-h { display: none; }
.line { border-bottom: 1px solid #ececf0; }
.line:last-child { border-bottom: 0; }
.line-main { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 16px 18px; align-items: start; }
.line-text { font-weight: 700; }
.line-amt { font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; text-align: left; }
.line-verdict { grid-column: 1 / -1; }
.line-why, .line-ev { grid-column: 1 / -1; font-size: 14px; }
.line-why .k, .line-ev .k { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.ph { display: inline-block; height: 10px; border-radius: 6px; background: #ececf0; vertical-align: middle; }
.ph.w1 { width: 60%; } .ph.w2 { width: 40%; } .ph.w3 { width: 80%; } .ph.n { width: 64px; }
.badge.v-ok { background: #e3f6ed; color: var(--ok); }
.badge.v-not_ok { background: #fde8eb; color: var(--bad); }
.badge.v-uncertain { background: #fff3d6; color: var(--warn); }
.badge.v-should_not_exist { background: #1d1d1f; color: #ff9aa4; }
.line.v-should_not_exist .line-main { box-shadow: inset -4px 0 0 #c62d3b; }
.line.v-not_ok .line-main { box-shadow: inset -4px 0 0 #ff9aa4; }
.line.v-uncertain .line-main { box-shadow: inset -4px 0 0 #ffc23d; }
.line.v-ok .line-main { box-shadow: inset -4px 0 0 #6fe0a8; }
.evl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ev { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 10px; background: var(--bg); color: #424245; }
.ev b { font-size: 11px; color: var(--muted); }
.unc { margin: 0 18px 16px; border-radius: 18px; background: #fffaf0; border: 1px solid #ffe2a3; padding: 16px; display: grid; gap: 12px; }
.unc-i .k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #6b4600; margin-bottom: 4px; }
.unc-i .k i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #ffe2a3; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.unc .fb { margin: 0; }
@media (min-width: 900px) {
  .lines-h { display: grid; grid-template-columns: 2fr 110px 150px 2fr 2fr; gap: 16px; padding: 12px 18px; font-size: 12px; font-weight: 800; color: var(--muted); border-bottom: 1px solid #d2d2d7; background: #fafafa; }
  .line-main { grid-template-columns: 2fr 110px 150px 2fr 2fr; gap: 16px; align-items: center; }
  .line-amt { text-align: right; }
  .line-verdict, .line-why, .line-ev { grid-column: auto; }
  .line-why .k, .line-ev .k { display: none; }
  .unc { grid-template-columns: 1fr 1fr 1fr; margin-inline-start: 18px; }
  .unc .fb { grid-column: 1 / -1; }
}
.vlegend { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 760px) { .vlegend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vlegend { grid-template-columns: repeat(4, 1fr); } }
.vlegend > div { border-radius: 18px; background: #fff; padding: 14px 16px; font-size: 14px; color: #424245; }
.vlegend .badge { margin-bottom: 6px; }

/* protocol page */
.pl { max-width: 820px; }
.pl .h2 { margin: 8px 0 18px; }
.pl-h { margin: 36px 0 12px; font-size: 22px; }
.pl-p { font-size: 17px; line-height: 1.7; margin: 0 0 10px; color: #1d1d1f; }
.pl-n { display: inline-block; min-width: 3.2em; font-weight: 700; color: var(--tq-ink); font-variant-numeric: tabular-nums; }
.pl-ul { margin: 0 0 14px; padding-inline-start: 3.6em; font-size: 16px; line-height: 1.7; }
.pl-ul li { margin-bottom: 4px; }
.pl-hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.white .mtile, .white .excard, .white .file, .white .ag { background: var(--bg); }
.white .mtile:hover { border-color: var(--tq); background: #fff; }
.viewer-h .chips { flex-wrap: nowrap; }
.viewer-prev { display: block; background: #e8e8ed; padding: 24px; text-align: center; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.viewer-prev img { display: block; max-width: min(100%, 720px); max-height: 80vh; margin: 0 auto 10px; box-shadow: 0 8px 30px rgba(0,0,0,.15); background: #fff; }
.preview { background: #e8e8ed; padding: 16px; }
.preview img { box-shadow: 0 8px 30px rgba(0,0,0,.12); background: #fff; max-height: 70vh; }
@media (max-width: 759px) { .viewer-h { flex-direction: column; align-items: flex-start; } .viewer-prev { padding: 12px; } }
.white .vlegend > div, .white .legend-i { background: var(--bg); }
@media (max-width: 759px) { .against { grid-template-columns: 1fr 1fr; gap: 10px; } .ag { padding: 14px; } .ag-n { font-size: 28px; } }
.pl-np { display: grid; grid-template-columns: 3.4em 1fr; } .pl-n { text-align: right; }
/* arnona counters: clickable, with a plain line under each */
.badge.draft { background: #fff3d6; color: var(--warn); }
.dark .badge.draft { background: rgba(255,195,61,.2); color: #ffd27a; }
.badge.michael { background: #ffe1e6; color: #a1182c; }
.dark .badge.michael { background: rgba(255,120,140,.2); color: #ffb3bf; }
.stats-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .stats-5 { grid-template-columns: repeat(5, 1fr); } }
.stat-btn { font: inherit; text-align: right; background: transparent; border: 0; color: inherit; padding: 14px 14px 16px; margin: -14px -14px 0; border-radius: 18px; cursor: pointer; align-items: flex-start; }
.stat-btn:hover { background: var(--ink-2); }
.stat-btn.on { background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--tq); }
.stat-btn .stat-c { font-size: 13px; line-height: 1.4; color: #a1a1a6; max-width: 18em; }
.mtile-r { margin: 0; font-size: 14px; line-height: 1.45; color: #424245; }

#orders, #upload { scroll-margin-top: 140px; }
@media (min-width: 900px) { #orders, #upload { scroll-margin-top: 64px; } }
.fline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; padding: 12px 16px; border-radius: 14px; background: rgba(30,214,208,.10); font-size: 15px; line-height: 1.5; }

/* counter lists (17.10.2026) */
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.stat-go { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--tq); }
.white .stat-go, .grey .stat-go { color: var(--tq-ink); }
.lsheet { max-width: 820px; max-height: 92vh; padding: 0 0 24px; background: var(--bg); }
.ls-h { position: sticky; top: 0; z-index: 2; background: #fff; padding: 18px 20px 12px; margin: 0; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); }
.ls-h .h3 { margin: 0; }
.ls-d { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.ls-note { margin: 14px 20px 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ls-g { margin: 22px 20px 8px; font-size: 15px; font-weight: 800; }
.lrows { list-style: none; margin: 10px 0 0; padding: 0 12px; display: flex; flex-direction: column; gap: 10px; }
.lrow { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; border: 1px solid transparent; }
.lrow[data-href] { cursor: pointer; }
.lrow[data-href]:hover { border-color: var(--tq); }
.lr-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.lr-n { font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none; }
.lr-n:hover { text-decoration: underline; }
.lr-y { font-size: 14px; color: var(--muted); }
.lr-y b { color: var(--text); }
.lr-r { margin: 0; font-size: 14px; line-height: 1.5; color: #424245; }
.lr-k { font-size: 12px; font-weight: 800; color: var(--muted); margin-top: 2px; }
.lr-k.cand { color: var(--tq-ink); }
.ldocs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ld { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.ld-t { font-weight: 600; }
.ld-a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ld-n { flex-basis: 100%; font-size: 13px; color: var(--muted); line-height: 1.45; }
.lk { color: var(--tq-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline; padding: 4px 0; line-height: 1.6; }
.lk.pri { font-weight: 800; }
.lk-b { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff3d6; color: var(--warn); }
.lk-b.dead { background: #fde8eb; color: var(--bad); }
.lr-more { align-self: flex-start; font-size: 13px; color: var(--muted); }
@media (max-width: 759px) { .lsheet { max-height: 94vh; } .lr-n { font-size: 17px; } .ld { font-size: 15px; } }

/* ======================================================================
   v0.3 (17.10.2026): login/logout, firm codes, bill-check results (line cards with evidence quotes)
   ====================================================================== */
.firmpill.fixed { cursor: default; opacity: 1; }
.dwho { margin: 18px 20px 0; font-size: 13px; color: var(--muted); }
.dl.dl-logout { color: #6e6e73; border-top-color: #e5e5ea; }
.dl.dl-logout:hover { color: var(--ink); background: #f5f5f7; }
.codebox { margin: 14px 0; padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; font: 700 34px/1 'Heebo', sans-serif; letter-spacing: .28em; text-align: center; }
.badge.review { background: #fff3d6; color: var(--warn); }
.dark .badge.review { background: rgba(255,195,61,.2); color: #ffd27a; }
.engine.review .engine-t { color: #ffd27a; }
.engine .muted2 { font-size: 14px; color: #6e6e73; }
.sumline { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 22px; border-radius: 20px; background: #f5f5f7; }
.sumline span { font-weight: 700; color: var(--muted); }
.sumline b { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--bad); }
.sumline small { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.bls { display: grid; gap: 14px; margin-top: 24px; }
.bl { background: #fff; border-radius: 22px; padding: 18px 20px; display: grid; gap: 10px; box-shadow: inset -5px 0 0 #d2d2d7; }
.bl.v-ok { box-shadow: inset -5px 0 0 #6fe0a8; }
.bl.v-not_ok, .bl.v-should_not_exist { box-shadow: inset -5px 0 0 #ff6b7a; }
.bl.v-uncertain { box-shadow: inset -5px 0 0 #ffc33d; }
.bl-h { display: flex; align-items: baseline; gap: 10px; }
.bl-id { font-size: 12px; font-weight: 800; color: var(--muted); background: #f0f0f3; border-radius: 8px; padding: 2px 7px; direction: ltr; }
.bl-t { flex: 1; font-weight: 700; font-size: 17px; unicode-bidi: plaintext; text-align: right; }
.bl-a { font-weight: 800; font-size: 17px; white-space: nowrap; direction: ltr; }
.bl-v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bl-dev { font-size: 14px; color: var(--bad); }
.bl .k { display: block; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.bl-why p { margin: 0; font-size: 15px; line-height: 1.65; }
.bl-ev { display: grid; gap: 8px; }
.ev2 { border-radius: 14px; background: #f5f5f7; padding: 10px 14px; }
.ev2-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; }
.ev2-l { font-weight: 700; white-space: nowrap; }
.ev2-q { margin: 6px 0 0; padding: 0 12px 0 0; border-right: 3px solid var(--tq); font-size: 14px; color: #424245; line-height: 1.6; }
.ev2-gap { color: var(--muted); }
.bl .unc { margin: 4px 0 0; }
@media (max-width: 640px) { .bl { padding: 16px; } .bl-t, .bl-a { font-size: 16px; } .ev2-h { flex-direction: column; } }

/* ======================================================================
   v0.3 light theme (Michael, 17.10.2026, accessibility): light backgrounds exactly like the current audience app
   (audit-v1: dark sections -> #f5f5f7 / white, #1d1d1f text). Dark stays only on the entry gate. After login: light Apple chrome only.
   Turquoise is a FILL (buttons, pills, active tab, accents) with dark text; turquoise TEXT uses --tq-ink #087370 (5.2:1 on #f5f5f7).
   All text/badge pairs below are WCAG AA (>= 4.5:1).
   ====================================================================== */
:root { --muted: #5d636d; --ok: #0b6e41; --bad: #b0263a; }
.band.dark { background: #f5f5f7; color: #1d1d1f; }
.band.dark + .band.grey { background: #fff; }
.dark .eyebrow, .eyebrow { color: var(--tq-ink); }
.dark .lead { color: #3a3a3c; }
.dark .ap-btn.ghost { color: var(--tq-ink); }
.stat-k, .stat-c, .stat-btn .stat-c { color: var(--muted); }
.stat-n { color: var(--tq-ink); }
.stat-n.plain { color: #1d1d1f; }
.stat-go { color: var(--tq-ink); }
.stat-btn { background: #fff; margin: 0; border: 1px solid #e5e5ea; }
.stat-btn:hover { background: #fff; border-color: var(--tq); }
.stat-btn.on { background: #fff; box-shadow: inset 0 0 0 2px var(--tq); }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--tq-ink); text-decoration: underline; } .crumbs a:hover { color: #1d1d1f; }
.facts, .fact { border-color: #e5e5ea; }
.fact-k { color: var(--muted); }
.fact-v { color: #1d1d1f; }
.fact-v a { color: var(--tq-ink); }
.fact-v .none, .none { color: var(--muted); }
.dark .badge.found, .badge.found, .badge.approved, .badge.v-ok { background: #e3f6ed; color: var(--ok); }
.dark .badge.missing, .badge.missing, .badge.rejected, .badge.deviation, .badge.v-not_ok { background: #fde8eb; color: var(--bad); }
.dark .badge.draft, .dark .badge.review { background: #fff3d6; color: var(--warn); }
.dark .badge.michael { background: #ffe1e6; color: #a1182c; }
.soon-tile, .xempty, .finding-tag { color: var(--muted); }
.xtable td, .fblock-v, .basis-i span { color: var(--muted); }
.engine { background: #f5f5f7; color: #1d1d1f; border: 1px solid #e5e5ea; }
.band.grey .engine { background: #fff; }
.engine .logo .logo-svg { color: var(--ink); }
.engine-s { color: #3a3a3c; }
.engine.review .engine-t { color: #7a5200; }
.engine .muted2 { color: var(--muted); }
.codebox { background: #f5f5f7; color: #1d1d1f; border: 1px solid #d2d2d7; }
.foot { color: var(--muted); }
.ev2-q { border-right-color: var(--tq-ink); }
/* primary link per authority (one, prominent) + secondary links (small, labelled) */
.pv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 6px; }
.pv-a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--tq); color: #1d1d1f; font-weight: 800; font-size: 15px; text-decoration: none; }
.pv-a:hover { background: #18c2bc; }
.pv-a.pv-draft { background: #fff3d6; color: #7a5200; box-shadow: inset 0 0 0 1.5px #e0b45a; }
.pv-a.pv-checked { background: #fff; color: #1d1d1f; box-shadow: inset 0 0 0 1.5px #d2d2d7; }
.pv.big .pv-a { min-height: 52px; font-size: 17px; padding: 0 22px; }
.pv-s { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.pv-s.warn { color: #7a5200; }
.sl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 6px 0 4px; font-size: 13px; color: var(--muted); }
.sl-k { flex-basis: 100%; font-weight: 800; font-size: 12px; color: var(--muted); }
.sl .lk, .sl-i { font-size: 13px; }
.sl-i { color: var(--muted); }

/* ======================================================================
   v0.3 breathing room (Michael, 17.10.2026): one headline + one line + one primary button per screen,
   64-96px padding, details behind clicks. Plus the mobile & clickability audit (44px targets, tap feedback).
   ====================================================================== */
html { -webkit-tap-highlight-color: rgba(30,214,208,.28); }
.center { text-align: center; } .btns.center, .chips.center, .crumbs.center { justify-content: center; }
.hero { background: #f5f5f7; padding: 64px var(--pad) 64px; text-align: center; }
.hero.short { padding-top: 48px; padding-bottom: 48px; }
.hero-in { max-width: 760px; margin: 0 auto; }
.hero .lead { margin: 14px auto 0; }
.hero .h1 { overflow-wrap: anywhere; }
.band.roomy { padding-top: 64px; padding-bottom: 64px; }
.band-in.narrow { max-width: 820px; }
.helper { margin: 16px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.helper.center, .center .helper { text-align: center; }
.ap-btn.lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.linkbtn { background: none; border: 0; padding: 10px 4px; margin: -10px 0; font: inherit; font-weight: 700; color: var(--tq-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* upload card: the first, clearest thing on home */
.upwrap { margin: 36px auto 0; max-width: 620px; text-align: right; }
.upcard { background: #fff; border-radius: 28px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06); display: grid; gap: 16px; }
.upcard .formfoot { justify-content: center; margin-top: 4px; }
.upcard .helper { text-align: center; margin: 0; font-size: 14px; }
.drop.big { min-height: 200px; border-radius: 22px; gap: 8px; }
.drop.big svg { width: 44px; height: 44px; color: var(--tq-ink); }
.drop.big b { font-size: 19px; }
.drop.big small { font-size: 15px; }
/* search */
.bigsearch { display: flex; align-items: center; gap: 10px; margin: 28px auto 0; max-width: 640px; background: #fff; border: 1px solid #d2d2d7; border-radius: 999px; padding: 6px 6px 6px 6px; padding-inline-start: 18px; color: var(--muted); }
.bigsearch:focus-within { border-color: var(--tq-ink); box-shadow: 0 0 0 3px var(--tq-soft); }
.bigsearch input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; min-height: 44px; color: var(--text); }
.bigsearch .ap-btn { flex: 0 0 auto; }
.bigsearch.sm { margin: 0 0 20px; max-width: none; }
.band.grey .bigsearch, .hero .bigsearch { background: #fff; }
.qchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.qchips .chip, .sjump .chip { min-height: 44px; padding: 0 18px; font-size: 15px; background: #fff; border: 1px solid #d2d2d7; color: var(--text); }
.sjump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 8px; }
.sgroup { margin-top: 40px; scroll-margin-top: 72px; }
.sgroup-h { font-size: 21px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: baseline; gap: 8px; }
.sgroup-h .n, .tab .n { font-size: 14px; font-weight: 700; color: var(--muted); }
.slist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sres { display: grid; gap: 4px; padding: 16px 18px; min-height: 44px; border-radius: 18px; background: #f5f5f7; color: var(--text); text-decoration: none; border: 1px solid transparent; }
.sres:hover { border-color: var(--tq); }
.sres-t { font-weight: 800; font-size: 17px; }
.sres-s { font-size: 14px; color: var(--muted); }
.sres-q { font-size: 15px; color: #3a3a3c; line-height: 1.55; overflow-wrap: anywhere; }
#in-res .sgroup { margin-top: 8px; margin-bottom: 24px; }
/* home sector cards: the whole card (photo + title) is one link */
.lineup-go { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--tq-ink); }
.lineup-s { flex: 0 0 auto; margin-bottom: 10px; }
.soonline { text-align: center; margin: 48px 0 0; color: var(--muted); font-size: 15px; }
.soonline a { color: var(--muted); display: inline-block; padding: 12px 4px; }
/* arnona counters */
.stat-btn { min-height: 44px; padding: 20px; border-radius: 22px; text-align: right; cursor: pointer; font: inherit; color: inherit; }
/* authority list */
.mtile { flex-direction: row; align-items: center; justify-content: space-between; min-height: 72px; padding: 16px 20px; gap: 12px; }
.mtile-t { flex: 1; }
.mtile-go { color: var(--muted); font-weight: 700; }
/* authority page: primary link centered + tabs */
.pvwrap { margin-top: 24px; display: flex; justify-content: center; }
.pvwrap .pv { justify-content: center; text-align: center; }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: #e8e8ed; margin: 0 auto 32px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; color: #3a3a3c; white-space: nowrap; cursor: pointer; }
.tab.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pane .files { margin-top: 0; }
.pane .file { background: #f5f5f7; }
.pane .excard { background: #f5f5f7; }
/* results: summary first */
.sumbig { margin: 36px auto 0; display: grid; gap: 4px; justify-items: center; }
.sumbig-k { font-weight: 700; color: var(--muted); }
.sumbig-n { font-size: clamp(44px, 8vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--bad); direction: ltr; }
.sumbig .helper { margin-top: 6px; }
.vts { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; text-align: right; }
@media (min-width: 760px) { .vts { grid-template-columns: repeat(4, 1fr); } }
.vt .stat-n { font-size: 44px; }
.stat-n.okc { color: var(--ok); } .stat-n.badc { color: var(--bad); } .stat-n.warnc { color: #7a5200; }
.vt.on { box-shadow: inset 0 0 0 2px var(--tq-ink); }
details.bl { display: block; padding: 0; }
.bl-sum { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 12px; padding: 18px 20px; min-height: 64px; border-radius: 22px; }
.bl-sum::-webkit-details-marker { display: none; }
.bl-sum .bl-v { grid-column: 2 / -1; }
.bl-chev { grid-column: 3; grid-row: 1; width: 10px; height: 10px; border-inline-start: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); margin-inline-start: 8px; transition: transform .15s; display: none; }
.bl-sum .bl-a { grid-column: 3; }
details.bl[open] .bl-sum { border-bottom: 1px solid #e5e5ea; border-radius: 22px 22px 0 0; }
.bl-body { padding: 16px 20px 20px; display: grid; gap: 12px; }
.fbd summary, details.more > summary { cursor: pointer; font-weight: 700; color: var(--tq-ink); min-height: 44px; display: flex; align-items: center; list-style: none; }
.fbd summary::-webkit-details-marker, details.more > summary::-webkit-details-marker { display: none; }
.fbd summary::before, details.more > summary::before { content: '+'; display: inline-block; width: 1.2em; font-weight: 800; }
.fbd[open] summary::before, details.more[open] > summary::before { content: '–'; }
details.more { border-top: 1px solid #e5e5ea; padding: 8px 0; }
details.more:last-child { border-bottom: 1px solid #e5e5ea; }
details.more > summary { font-size: 19px; color: var(--text); min-height: 56px; }
details.more .preview, details.more .panel { margin: 8px 0 16px; }
/* tap feedback + hover (all interactive surfaces) */
.ap-btn, .pv-a, .chip[href], .tab, .seg button, .stat-btn, .mtile, .lineup-card, .sres, .bl-sum, .iconbtn, .dl, .row[href], .file-a a, .drop { transition: transform .08s ease, background-color .15s, border-color .15s, box-shadow .15s; }
.ap-btn:active, .pv-a:active, .chip[href]:active, .tab:active, .seg button:active, .stat-btn:active, .mtile:active, .sres:active, .iconbtn:active, .row[href]:active { transform: scale(.97); }
.lineup-card:active .ap-photo, .bl-sum:active, .drop:active { transform: scale(.985); }
.dl:active { background: var(--tq-soft); }
.chip[href]:hover { border-color: var(--tq-ink); }
/* touch targets >= 44px for inline links that sit alone */
.crumbs a, .helper a, .ev2-l, .excard-docs a, .sl .lk, .lr-more, .foot a { display: inline-block; padding: 11px 2px; margin: -11px 0; }
.crumbs { margin-bottom: 20px; }
.firmpill { min-height: 44px; }
.ap-btn.sm { min-height: 44px; }
.dl.soon { color: var(--muted); }
.topnav .tn.soon, .topnav .tn small { color: #9a9fa8; }
/* no horizontal overflow on phones */
html, body { overflow-x: hidden; }
.ltr, .file-n, .sres-q { overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .hero { padding: 96px var(--pad) 88px; } .hero.short { padding: 72px var(--pad) 64px; }
  .band.roomy { padding-top: 96px; padding-bottom: 96px; }
  .upcard { padding: 32px; }
}
@media (max-width: 759px) {
  .bigsearch { padding-inline-start: 14px; } .bigsearch .ap-btn { padding: 0 16px; }
  .bl-sum { grid-template-columns: auto 1fr; padding: 16px; } .bl-sum .bl-a { grid-column: 2; justify-self: start; } .bl-sum .bl-v { grid-column: 1 / -1; }
  .tabs { width: 100%; } .tab { flex: 1 0 auto; padding: 0 14px; }
  .stats-5 { grid-template-columns: 1fr 1fr; } .stats-5 .stat-btn:first-child { grid-column: 1 / -1; }
}
.drop .drop-hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
/* results on ONE page: each line fully shown; only the evidence quote is collapsible */
.bl { padding: 22px 24px; gap: 14px; scroll-margin-top: 72px; }
.bl.hl { outline: 3px solid var(--tq-ink); outline-offset: 3px; }
.bl-read .chips { margin-top: 2px; }
details.ev2 > summary { cursor: pointer; list-style: none; min-height: 44px; align-items: center; }
details.ev2 > summary::-webkit-details-marker { display: none; }
details.ev2 > summary b::before { content: '+ '; color: var(--tq-ink); }
details.ev2[open] > summary b::before { content: '– '; }
.bls { gap: 20px; }
@media (max-width: 640px) { .bl { padding: 18px 16px; } }
/* audit fixes (390px + 1440px) */
.topnav .tn { min-height: 44px; display: inline-flex; align-items: center; }
.topnav .tn small { font-size: 12px; }
.seg button, .seg a { min-height: 44px; }
.sbox { min-height: 44px; } .sbox input { min-height: 42px; }
.crumbs a, .helper a, .ev2-l, .excard-docs a, .sl .lk, .lr-more, .foot a, .fact-v a, .lk, .soonline a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.sl, .ld-a { row-gap: 12px; }
.stat-btn.plainstat { cursor: pointer; }
.preview a { display: block; }
/* result: instant answer on top (red / amber / green), deviations block, uncertain block */
.vline { margin: 32px auto 0; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding: 18px 24px; border-radius: 24px; max-width: 720px; }
.vline.bad { color: var(--bad); background: #fde8eb; }
.vline.warn { color: #7a5200; background: #fff3d6; }
.vline.ok { color: var(--ok); background: #e3f6ed; }
.jblock { margin: 24px auto 0; max-width: 720px; text-align: right; background: #fff; border-radius: 24px; padding: 20px 20px 12px; }
.jblock.bad { box-shadow: inset -5px 0 0 #ff6b7a; } .jblock.warn { box-shadow: inset -5px 0 0 #ffc33d; }
.jblock-h { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.jlist { list-style: none; margin: 0; padding: 0; }
.jlist li + li { border-top: 1px solid #ececf0; }
.jl { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; min-height: 56px; padding: 12px 4px; background: none; border: 0; font: inherit; color: inherit; text-align: right; cursor: pointer; border-radius: 12px; }
.jl:hover { background: #f5f5f7; } .jl:active { transform: scale(.985); background: var(--tq-soft); }
.jl-t { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: baseline; unicode-bidi: plaintext; }
.jl-a { font-weight: 800; font-size: 17px; direction: ltr; white-space: nowrap; }
.jblock.bad .jl-a { color: var(--bad); }
.jl-r { grid-column: 1 / -1; font-size: 14px; color: var(--tq-ink); font-weight: 600; }
.jl-r::after { content: ' · לשורה ↓'; color: var(--muted); font-weight: 500; }
.vts { margin-top: 32px; }
.bl-refs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.bl-refs .k { flex-basis: 100%; }
details.why > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--tq-ink); }
details.why > summary::-webkit-details-marker { display: none; }
details.why > summary::before { content: '+'; width: 1.2em; font-weight: 800; }
details.why[open] > summary::before { content: '–'; }
details.why[open] { display: grid; gap: 10px; }
/* status in words + icon (colour is an extra only) */
.vic { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; margin-inline-end: .4em; border-radius: 50%; border: 2px solid currentColor; font-size: .8em; font-weight: 900; line-height: 1; vertical-align: .08em; }
.jblocks { display: grid; gap: 16px; margin-top: 24px; }
.jblock { margin: 0 auto; width: 100%; }
.jblock.dev { box-shadow: inset -5px 0 0 #ff6b7a; } .jblock.unc { box-shadow: inset -5px 0 0 #ffc33d; } .jblock.ok { box-shadow: inset -5px 0 0 #6fe0a8; }
.jblock.dev .jl-a { color: var(--bad); }
.jnone { margin: 4px 0 8px; color: var(--muted); font-size: 15px; }
.lgroup { margin-top: 40px; }
.lgroup-h { font-size: 22px; font-weight: 800; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lgroup-h small { font-size: 14px; font-weight: 600; color: var(--muted); }
.vword { font-size: 13px; font-weight: 800; color: var(--muted); }
.badge.v-ok::before, .badge.v-not_ok::before, .badge.v-should_not_exist::before, .badge.v-uncertain::before { display: none; }
/* the closed drawer must not extend the page to the right (phone full-page width / overflow) */
.drawer:not(.open) { display: none; }
.drawer.open { animation: drawer-in .22s ease; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.sbox input { min-height: 44px; }

/* ===== v3 (Michael, 18.10.2026): match the audience app (mobile first). Rhythm: photo → title → short line → לפרטים ===== */
/* home: one continuous page, no band headings. 1. upload 2. search 3. sector cards */
body[data-view="home"] { background: #fff; }
.home { color: #1d1d1f; }
.home-top { max-width: 640px; margin: 0 auto; text-align: center; padding: 24px var(--pad) 8px; }
.home-h { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 6px; color: #1d1d1f; }
.home-sub { color: #6e6e73; font-size: 15px; line-height: 1.45; margin: 0; text-wrap: balance; }
.home .upwrap { margin: 18px auto 0; }
.home .upcard { border: 1px solid #d2d2d7; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); }
.home .bigsearch { margin: 16px auto 0; border-radius: 18px; min-height: 52px; background: #f5f5f7; border: 1px solid #d2d2d7; color: #515154; }
.home-body { max-width: 980px; margin: 0 auto; padding: 32px var(--pad) 28px; text-align: right; }
@media (min-width: 720px) {
  body[data-view="home"] { background: #f5f5f7; }
  .home-top { padding: 40px var(--pad) 8px; }
  .home-h { font-size: 34px; }
  .home-sub { font-size: 16px; }
  .home .bigsearch { background: #fff; }
  .home-body { padding-top: 40px; }
}
/* lineup cards = audience lineup-card: whole card one link, photo 4:3 on phone, 16:10 on desktop */
.lineup-grid { gap: 24px; }
.lineup-card { text-align: center; }
.lineup-card .ap-photo { aspect-ratio: 4 / 3; border-radius: 22px; margin: 0 0 14px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); }
.lineup-copy { display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; width: 100%; text-align: center; }
.lineup-t { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 6px; color: #1d1d1f; }
.lineup-s { font-size: 16px; line-height: 1.45; color: #3f444b; margin: 0 0 14px; flex: 0 0 auto; }
.lineup-card .ap-btn { margin: auto 0 0; align-self: center; min-height: 44px; padding: 0 22px; pointer-events: none; }
@media (min-width: 720px) {
  .lineup-card .ap-photo { aspect-ratio: 16 / 10; border-radius: 28px; box-shadow: none; }
  .lineup-t { font-size: 28px; }
  .lineup-grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .lineup-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.soonline { text-align: right; margin: 20px 0 0; font-size: 15px; color: var(--muted); }
/* inner hub pages (audience lineup-head): crumbs → centred title + one line → cards */
.pg { max-width: 980px; margin: 0 auto; padding: 16px var(--pad) 48px; }
.pg-head { text-align: center; padding: 8px 8px 22px; }
.pg-h { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 8px; }
.pg-sub { margin: 0 auto; max-width: 28em; color: var(--muted); font-size: 16px; line-height: 1.45; }
.pg-k { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin: 40px 4px 14px; }
@media (min-width: 720px) { .pg { padding-top: 24px; } .pg-head { padding: 12px 12px 32px; } .pg-h { font-size: 36px; } }
/* crumbs: audience style, right-aligned at the top, start at בית */
.crumbs { justify-content: flex-start; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 0 0 14px; text-align: right; }
.crumbs a { color: #1d1d1f; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); }
.hero .crumbs, .band .crumbs { margin-bottom: 18px; }
/* page titles: audience sizes (28 phone / 36 desktop), compact hero */
.hero { padding: 20px var(--pad) 40px; }
.hero.short { padding: 20px var(--pad) 32px; }
.h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: 16px; color: var(--muted); }
.band { padding: 40px var(--pad); }
.band.roomy { padding: 48px var(--pad); }
@media (min-width: 720px) {
  .hero { padding: 28px var(--pad) 56px; } .hero.short { padding: 28px var(--pad) 44px; }
  .h1 { font-size: 36px; } .h2 { font-size: 30px; } .lead { font-size: 17px; }
  .band { padding: 56px var(--pad); } .band.roomy { padding: 64px var(--pad); }
}
/* counters: the standard לפרטים pill, same as the cards */
.stat-go { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; margin-top: 12px; border-radius: 999px; background: var(--tq); color: #1d1d1f !important; font-size: 14px; font-weight: 700; }
/* v3 header on phone = audience: brand · search · menu only. The firm switcher moves into the drawer (admin) */
@media (max-width: 719px) { .appbar-actions .firmpill { display: none; } }
.dl.dl-firm { width: 100%; background: none; border: 0; border-inline-start: 3px solid transparent; font: inherit; font-size: 16px; color: #1d1d1f; cursor: pointer; text-align: right; }
.dl.dl-firm .dl-v { font-size: 14px; font-weight: 700; color: var(--tq-ink); }
.dl.dl-logout { color: #3f444b; }
@media (min-width: 720px) { .pg .lineup-grid.two { max-width: 780px; margin: 0 auto; } }
.crumbs a { min-width: 44px; text-align: center; }

/* ===== legal pages (statement / terms / privacy): in-app (#/accessibility ...) and public (/accessibility ...) ===== */
.legal { max-width: 760px; margin: 0 auto; text-align: right; font-size: 17px; line-height: 1.65; color: #1d1d1f; }
.legal .pg-h { text-align: center; margin: 4px 0 18px; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 32px 0 10px; line-height: 1.25; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-inline-start: 22px; }
.legal li { margin: 0 0 6px; }
.legal a { color: var(--tq-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal blockquote { margin: 0 0 14px; padding: 12px 16px; border-inline-start: 4px solid var(--tq-ink); background: #f5f5f7; border-radius: 0 12px 12px 0; }
.legal hr { border: 0; border-top: 1px solid #e5e5ea; margin: 24px 0; }
.legal .lg-ph, .legal mark.ph { display: inline; height: auto; box-decoration-break: clone; -webkit-box-decoration-break: clone; background: #fff2b3; color: #4a3b00; padding: 0 3px; border-radius: 4px; font-weight: 600; }
.lg-draft { display: flex; flex-direction: column; gap: 4px; margin: 0 0 24px; padding: 14px 16px; border: 2px solid #8a5a00; background: #fff6dc; color: #4a3200; border-radius: 14px; font-size: 16px; }
.lg-draft strong { font-size: 18px; }
.lg-draft strong::before { content: "⚠ "; }
.lg-tw { overflow-x: auto; margin: 0 0 16px; border: 1px solid #e5e5ea; border-radius: 14px; background: #fff; }
.lg-tw:focus-visible { outline: 3px solid var(--tq-ink); outline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid #e5e5ea; vertical-align: top; text-align: right; }
.legal th { background: #f5f5f7; font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
.legal-band { background: #fff; }
/* public page chrome (no app shell): brand + back to login */
.lg-public body, body[data-view="legal"] { background: #fff; }
.lg-bar .appbar-in { grid-template-columns: 1fr auto; }
.lg-back { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.foot [aria-current] { font-weight: 700; color: #1d1d1f; }
.foot-legal a { white-space: nowrap; }
/* ===== legal pages v2: the usual Israeli terms-page look (date line, intro, clickable table of contents, numbered clauses) ===== */
.legal { max-width: 720px; font-size: 17px; line-height: 1.7; }
.legal .pg-h { margin: 8px 0 6px; }
.lg-meta { text-align: center; color: #515154; font-size: 15px; margin: 0 0 20px !important; }
.lg-meta .lg-date { font-weight: 600; color: #1d1d1f; }
.legal .lg-draft { margin: 0 0 22px; }
.lg-intro { font-size: 17px; color: #1d1d1f; margin: 0 0 24px; }
.lg-intro p { margin: 0 0 10px; }
.lg-intro p + p { color: #515154; font-size: 15px; }
.lg-toc { background: #f5f5f7; border-radius: 18px; padding: 18px 18px 10px; margin: 0 0 36px; }
.legal .lg-toc-h { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: 0; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; }
.lg-toc li { margin: 0; break-inside: avoid; }
.legal .lg-toc a { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 10px 4px; color: #1d1d1f; text-decoration: none; border-bottom: 1px solid #e5e5ea; font-size: 16px; line-height: 1.35; }
.lg-toc li:last-child a { border-bottom: 0; }
.legal .lg-toc a:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.legal .lg-toc a:focus-visible { outline: 3px solid var(--tq-ink); outline-offset: 2px; border-radius: 8px; }
.lg-tn { flex: 0 0 auto; min-width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff; color: var(--tq-ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .lg-toc { padding: 22px 26px 14px; } .lg-toc ol { columns: 2; column-gap: 32px; } .legal .lg-toc a { border-bottom: 0; min-height: 44px; padding: 8px 4px; } }
.lg-sec { padding: 26px 0 6px; border-top: 1px solid #e5e5ea; scroll-margin-top: calc(var(--appbar) + 12px); }
.lg-sec:first-of-type { border-top: 0; }
.lg-sec:target h2 { color: var(--tq-ink); }
.legal .lg-sec h2 { font-size: 21px; margin: 0 0 14px; display: flex; gap: 8px; align-items: baseline; }
.lg-hn { color: var(--tq-ink); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.legal .lg-cl { display: grid; grid-template-columns: 44px 1fr; column-gap: 6px; margin: 0 0 12px; }
.lg-n { color: #515154; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; padding-top: 2px; unicode-bidi: isolate; }
.lg-ct { min-width: 0; overflow-wrap: anywhere; }
.legal .lg-cl + ul, .legal .lg-cl + ol { margin: -4px 0 14px; padding-inline-start: 72px; }
.legal .lg-sec ul li::marker { color: var(--tq-ink); }
@media (max-width: 480px) { .legal { font-size: 16.5px; } .legal .lg-cl { grid-template-columns: 38px 1fr; } .legal .lg-cl + ul, .legal .lg-cl + ol { padding-inline-start: 62px; } .legal .lg-sec h2 { font-size: 20px; } }
@media (prefers-reduced-motion: no-preference) { html:has(.lg-toc) { scroll-behavior: smooth; } }
@media print { .lg-toc { display: none; } .lg-sec { break-inside: auto; } }

/* a11y 18.10.2026: 'בחירת משרד' placeholder in the dark firm pill had 2.9:1; #a1a1a6 is the app's muted-on-dark (6.9:1 on #17181c) */
.firmpill.none, .firmpill.none span { color: #a1a1a6; }

/* ---------- idle-logout warning (idle.js, WCAG 2.2.1): light, centred card; above everything incl. the a11y button ---------- */
.idle-bg { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
  background: rgba(29,29,31,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: idle-in .18s ease-out; }
.idle-dlg { width: min(100%, 400px); background: #fff; color: var(--text); border-radius: 22px; padding: 26px 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.08); text-align: right; }
.idle-t { font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.idle-d { font-size: 16px; line-height: 1.55; color: #3a3a3c; margin: 0 0 22px; }
.idle-n { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.idle-btns { display: flex; flex-direction: column; gap: 10px; }
.idle-btns .ap-btn { width: 100%; min-height: 48px; font-size: 16px; }
@media (min-width: 560px) { .idle-btns { flex-direction: row; } .idle-btns .ap-btn { flex: 1 1 0; } }
@keyframes idle-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .idle-bg { animation: none; } }


/* MVP light polish 24.10.2026: no dark page chrome after login */
.band.dark { background: #f5f5f7; color: #1d1d1f; }
.lg-bar .brand, .lg-bar .brand-t { color: var(--ink); }
.lg-back { color: var(--tq-ink); }
.dl.active { background: #f5f5f7; color: var(--ink); border-inline-start-color: var(--tq); }
.home { background: #fff; }


.home-brand { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 8px; }
.home-logo { display: inline-flex; color: var(--ink); text-decoration: none; }
.home-logo .logo, .home-logo .logo svg { width: min(200px, 56vw); height: auto; display: block; }
.home-brand .bigsearch { width: 100%; max-width: 560px; }
@media (max-width: 720px) {
  .lineup-grid.three { grid-template-columns: 1fr; }
}

/* Home = audience-app home-lineup (Michael, 24.10.2026): logo, search, 3 sector cards. Light only. */
.home.home-lineup { background: #fff; color: #1d1d1f; min-height: 60vh; }
.home.home-lineup .home-hero-compact { max-width: 860px; margin: 0 auto; text-align: center; padding: 20px var(--pad) 16px; }
.home.home-lineup .home-logo { display: flex; justify-content: center; margin-bottom: 14px; color: var(--ink); }
.home.home-lineup .home-logo .logo .logo-svg { height: 56px; margin: 0 auto; display: block; }
.home.home-lineup .home-search {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 16px; background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 18px;
  color: #515154; font-size: 16px; text-align: right; cursor: pointer; font-family: inherit;
}
.home.home-lineup .home-search svg { color: #515154; flex: 0 0 auto; }
.home.home-lineup .home-search:hover, .home.home-lineup .home-search:focus-visible { border-color: var(--tq-ink); outline: none; }
.home-lineup-body { max-width: 980px; margin: 0 auto; padding: 8px var(--pad) 28px; text-align: center; }
.lineup-grid.home-cats { grid-template-columns: 1fr; gap: 24px; }
.home-cats .lineup-card { color: #1d1d1f; }
.home-cats .lineup-t { color: #1d1d1f; min-height: 0; }
.home-cats .lineup-card .ap-btn { background: var(--tq); color: #1d1d1f; }
.home-cats .lineup-card .ap-photo { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); }
@media (min-width: 900px) {
  .home.home-lineup .home-hero-compact { padding: 28px var(--pad) 18px; }
  .home.home-lineup .home-logo .logo .logo-svg { height: 72px; }
  .lineup-grid.home-cats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- audience-app lineup (Michael 24.10): photo → title → לפרטים; whole card one tap incl. image ---------- */
.lineup-grid.law-lineup,
.lineup-grid.home-cats,
.lineup-grid.two {
  align-items: stretch;
}
.lineup-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
}
.lineup-card:focus-visible { outline: 3px solid var(--tq-ink); outline-offset: 6px; border-radius: 26px; }
.lineup-card .ap-photo {
  width: 100%;
  margin: 0 0 14px;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eaed;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  pointer-events: none; /* clicks go to the parent <a> */
}
.lineup-card .ap-photo img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lineup-copy {
  display: flex;
  flex-direction: column;
  align-items: center; /* Michael 24.10: center title + לפרטים under the photo */
  gap: 0;
  flex: 1 1 auto;
  width: 100%;
  padding: 0;
  min-height: 0;
  pointer-events: none; /* whole card is the link */
  text-align: center;
}
.lineup-t {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #1d1d1f;
  min-height: 2.4em; /* two lines — titles level across a row */
  text-align: center;
  width: 100%;
}
.lineup-card .ap-btn {
  margin: auto 0 0; /* pin to bottom — buttons level in a row */
  align-self: center;
  min-height: 44px;
  padding: 0 22px;
  pointer-events: none;
  background: var(--tq);
  color: #1d1d1f;
}
@media (hover: hover) and (pointer: fine) {
  .lineup-card .ap-photo img { transition: transform .4s ease; }
  .lineup-card:hover .ap-photo img { transform: scale(1.02); }
}
@media (min-width: 720px) {
  .lineup-card .ap-photo { aspect-ratio: 16 / 10; border-radius: 28px; box-shadow: none; }
  .lineup-t { font-size: 28px; }
  .lineup-grid.home-cats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .lineup-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin-inline: auto; }
}
@media (max-width: 719px) {
  .home-cats .lineup-t { min-height: 0; } /* one column: no reserved 2nd line */
  .lineup-grid.home-cats, .lineup-grid.two { grid-template-columns: 1fr; gap: 24px; }
}
.lineup-head { text-align: center; padding: 18px 8px 22px; margin: 0; }
.lineup-head-tight { padding: 8px 8px 18px; }
.lineup-h { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; color: #1d1d1f; }
@media (min-width: 720px) {
  .lineup-h { font-size: 36px; }
  .lineup-head-tight { padding: 12px 12px 22px; }
}
.pg.lineup { max-width: 980px; margin: 0 auto; padding: 8px var(--pad) 48px; }
.sector-up { max-width: 560px; margin: 0 auto 8px; }
.sector-up .upcard { margin: 0 auto; }

/* FORCE: sector card copy centered under photo (Michael, 24.10.2026) */
a.lineup-card,
a.lineup-card .lineup-copy,
a.lineup-card .lineup-t {
  text-align: center !important;
}
a.lineup-card .lineup-copy {
  align-items: center !important;
  justify-content: flex-start;
}
a.lineup-card .lineup-card .ap-btn,
a.lineup-card .ap-btn {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Home "מה זה EzTax" — gate language, subtle on white (Michael 24.10.2026) */
.home-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 calc(-1 * var(--pad));
  padding: 88px 20px 100px;
  background: #fff;
  color: #1d1d1f;
  text-align: center;
  direction: rtl;
}
/* soft gate wave join at top of band (turquoise → white) */
.home-about .ha-wave {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 48px;
  background: var(--tq);
  opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 44' preserveAspectRatio='none'%3E%3Cpath d='M0 0V14C70 38 150 42 210 28S330 4 390 34V0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 44' preserveAspectRatio='none'%3E%3Cpath d='M0 0V14C70 38 150 42 210 28S330 4 390 34V0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  z-index: 0;
  pointer-events: none;
}
.home-about .ha-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}
.home-about .ha-in {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.home-about .ha-eyebrow {
  margin: 0 0 12px;
  font-size: clamp(17px, 2.2vw, 19px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: #6e6e73;
}
.home-about .ha-mark {
  margin: 0 0 40px;
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.home-about .ha-ez {
  color: var(--tq-ink);
}
.home-about .ha-s1,
.home-about .ha-s2,
.home-about .ha-s3 {
  margin: 0;
  margin-top: 0.9em;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: #1d1d1f;
  text-wrap: balance;
}
.home-about .ha-s1 { margin-top: 0; }
.home-about .ha-s2,
.home-about .ha-s3 { color: #6e6e73; }
.home-about .ha-brand {
  margin: 56px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #86868b;
}
.home-about .ha-mbz {
  color: #6e6e73;
  font-weight: 600;
}
@media (min-width: 900px) {
  .home-about { padding: 120px 48px 140px; }
  .home-about .ha-wave { height: 56px; opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .home-about .ha-flow { opacity: .5; }
}

/* Home "איך זה עובד" — mobile snake+ball; desktop equal rows (Michael 24.10.2026) */
.home-how {
  margin: 0 calc(-1 * var(--pad));
  padding: 64px 24px 96px;
  background: #fff;
  text-align: center;
  direction: rtl;
  border-block-start: 1px solid #eceef0;
}
.home-how .how-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: #8a8a8e;
}
.home-how .how-lead {
  margin: 0 auto 40px;
  max-width: 34em;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.5;
  color: #6e6e73;
}
.home-how .how-stage {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  text-align: right;
  overflow: visible;
}
.home-how .how-path-m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  transform: translateY(2px);
}
.home-how .how-path-d { display: none; }
.home-how .how-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 8px 0 160px; /* under step-3 copy + rightward tip */
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.home-how .how-step[data-how="3"] {
  align-self: flex-start;
  margin-inline-end: auto;
  margin-inline-start: 0;
  padding-inline-end: 4px;
  margin-bottom: 40px;
  max-width: 52%;
}
.home-how {
  padding-bottom: 72px;
}
.home-how .how-step {
  margin: 0;
  max-width: 58%;
  text-align: right;
}
.home-how .how-step[data-how="1"],
.home-how .how-step[data-how="3"] {
  align-self: flex-start;
  margin-inline-end: auto;
  margin-inline-start: 0;
  padding-inline-end: 4px;
}
.home-how .how-step[data-how="2"] {
  align-self: flex-end;
  margin-inline-start: auto;
  margin-inline-end: 0;
  padding-inline-start: 12px;
  padding-top: 10px;
  margin-top: 8px;
}
.home-how .how-step[data-how="2"] .how-n { margin-top: 6px; }
.home-how .how-n {
  display: block;
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--tq);
  margin: 0 0 8px;
  transition: transform .35s ease;
}
@media (max-width: 899px) {
  .home-how .how-step.how-hit .how-n { transform: scale(1.06); }
}
.home-how .how-h {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #1d1d1f;
}
.home-how .how-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  max-width: 14em;
}
@keyframes how-n-bounce {
  0% { transform: scale(1); }
  20% { transform: translateY(4px) scaleX(1.04) scaleY(.92); }
  50% { transform: translateY(-8px) scaleX(.96) scaleY(1.04); }
  75% { transform: translateY(2px) scaleX(1.02) scaleY(.98); }
  100% { transform: scale(1); }
}
@media (max-width: 899px) {
  .home-how .how-n.how-n-bounce { animation: how-n-bounce .9s cubic-bezier(.36,.07,.19,.97) both; }
}

/* Desktop: display:contents → one shared grid — numbers one row, titles one row; body free */
@media (min-width: 900px) {
  .home-how { padding: 100px 48px 120px; }
  .home-how .how-title {
    color: #aeaeb2;
    margin-bottom: 20px;
    font-size: clamp(36px, 3.2vw, 44px);
  }
  .home-how .how-lead {
    margin-bottom: 72px;
    font-size: 19px;
    max-width: 38em;
  }
  .home-how .how-stage {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding-top: 48px;
    text-align: right;
    overflow: visible;
  }
  .home-how .how-path-m { display: none; transform: none; }
  .home-how .how-path-d {
    display: block;
    position: absolute;
    left: -8%;
    right: -8%;
    top: -40px;
    width: 116%;
    height: 180px;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
  }
  .home-how .how-path-d path { fill: none; stroke: none; display: none; }
  .home-how .how-path-d .how-d-tip { display: none; }
  .home-how .how-path-d #how-ball-d { opacity: 0; fill: var(--tq); }

  .home-how .how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 120px auto auto;
    column-gap: 48px;
    row-gap: 18px;
    padding: 0;
    gap: unset;
    column-gap: 48px;
    row-gap: 18px;
    text-align: right;
  }
  /* li unwraps — n/h/p become cells of the shared grid */
  .home-how .how-step,
  .home-how .how-step[data-how="1"],
  .home-how .how-step[data-how="2"],
  .home-how .how-step[data-how="3"] {
    display: contents;
    max-width: none;
    margin: 0;
    padding: 0;
    align-self: auto;
  }
  .home-how .how-step[data-how="1"] .how-n { grid-column: 1; grid-row: 1; }
  .home-how .how-step[data-how="1"] .how-h { grid-column: 1; grid-row: 2; }
  .home-how .how-step[data-how="1"] .how-p { grid-column: 1; grid-row: 3; }
  .home-how .how-step[data-how="2"] .how-n { grid-column: 2; grid-row: 1; }
  .home-how .how-step[data-how="2"] .how-h { grid-column: 2; grid-row: 2; }
  .home-how .how-step[data-how="2"] .how-p { grid-column: 2; grid-row: 3; }
  .home-how .how-step[data-how="3"] .how-n { grid-column: 3; grid-row: 1; }
  .home-how .how-step[data-how="3"] .how-h { grid-column: 3; grid-row: 2; }
  .home-how .how-step[data-how="3"] .how-p { grid-column: 3; grid-row: 3; }

  .home-how .how-n {
    box-sizing: border-box;
    align-self: end;
    justify-self: start; /* RTL: start = right edge of cell */
    font-size: clamp(96px, 9vw, 120px);
    height: 120px;
    line-height: 120px;
    margin: 0;
    padding: 0;
    color: #fff;
    -webkit-text-fill-color: #fff;
    -webkit-text-stroke: 2px var(--tq);
    paint-order: stroke fill;
    transform: none !important;
    transition: color .2s ease, -webkit-text-fill-color .2s ease, -webkit-text-stroke-width .2s ease;
  }
  .home-how .how-step.how-hit .how-n,
  .home-how .how-n.how-hit {
    color: var(--tq);
    -webkit-text-fill-color: var(--tq);
    -webkit-text-stroke: 0;
  }
  /* how-hit is on li — with display:contents, class on li may not style children in all browsers.
     JS toggles how-hit on li; use .how-steps:has() or keep styling via .how-n.how-filled from JS.
     Fallback: .how-step.how-hit .how-n still works in Chromium with contents. */
  .home-how .how-steps .how-n.is-filled,
  .home-how .how-step.how-hit .how-n {
    color: var(--tq);
    -webkit-text-fill-color: var(--tq);
    -webkit-text-stroke: 0;
  }
  .home-how .how-h {
    align-self: start;
    justify-self: stretch;
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    min-height: 2.5em; /* reserve 2 lines so all titles share band */
  }
  .home-how .how-p {
    align-self: start;
    justify-self: stretch;
    max-width: none;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #6e6e73;
  }
  .home-how .how-n.how-n-bounce { animation: none !important; }
}
