/* theme.css — M&YD panel look (5.10.2026). Layer over app.css: tokens, shell, nav, tiles, tables, forms.
   Undo: remove the <link> from index.html. Source model: "פאנל מרכזיות M&YD" (artifact), spec doc "אפיון פאנל המרכזיות המשולב". */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Rubik:wght@500;600;700&display=swap');

:root {
  --bg: #f3f5f7; --panel: #ffffff; --ink: #15202b; --muted: #56657a; --line: #d9dfe6;
  --accent: #0f7c84; --accent-soft: #e1f2f3; --ok: #1f9a5a; --ok-soft: #e0f5e9;
  --warn: #c97b2a; --warn-soft: #fbeedd; --bad: #d1413f; --bad-soft: #fbe3e2;
  --side: #132530; --side-ink: #dfe8ee; --side-muted: #8aa0ae; --side-active: #1d3a48;
  --surface-2: #eaeef2; --line-strong: #b9c3cd; --info: #3b74d6; --info-soft: #e3ebfb;
  --radius: 12px; --shadow: 0 1px 2px rgba(21,32,43,.06), 0 8px 24px -12px rgba(21,32,43,.18);
  --display: "Rubik", "Heebo", system-ui, sans-serif; --body: "Heebo", "Rubik", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f161c; --panel: #172029; --ink: #e6edf3; --muted: #a4b2c0; --line: #2a3744;
    --accent: #3fb3bb; --accent-soft: #12363a; --ok: #3fc47b; --ok-soft: #143123; --warn: #e39a4e; --warn-soft: #3a2a17;
    --bad: #ef6a67; --bad-soft: #3d1c1c; --side: #0b1217; --side-ink: #dfe8ee; --side-muted: #7f919e; --side-active: #182a35;
    --surface-2: #1f2a35; --line-strong: #3b4b5b; --info: #6a97e8; --info-soft: #1a2a45;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6); }
}

body { font-family: var(--body); font-size: 14px; }
h1, h2, h3, .tile .n, .brand, .brand-big { font-family: var(--display); }
h1 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 600; }
.sub { font-size: 13.5px; }

/* ---------- shell ---------- */
.shell { grid-template-columns: 236px 1fr; }
.side { padding: 18px 14px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 18px; font-size: 15px; font-weight: 600; }
.brand .dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #2fa3ab); flex: none;
  display: grid; place-items: center; }
.brand .dot::after { content: "M"; color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
.side nav { gap: 2px; }
.nav-group { border-radius: 9px; }
.nav-head { display: flex; align-items: center; gap: 9px; width: 100%; background: none; border: 0; color: var(--side-ink);
  padding: 8px 10px; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-align: start; }
.nav-head:hover { background: rgba(255,255,255,.06); }
.nav-head .ico { width: 20px; text-align: center; opacity: .85; font-size: 13px; }
.nav-head .chev { margin-inline-start: auto; font-size: 10px; opacity: .55; transition: transform .15s; }
.nav-group.open .nav-head .chev { transform: rotate(-90deg); }
.nav-group.has-active .nav-head { color: #fff; }
.nav-sub { display: none; padding: 2px 0 6px; margin-inline-start: 16px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.nav-group.open .nav-sub { display: grid; gap: 1px; }
.side nav .nav-sub a { display: flex; align-items: center; gap: 6px; color: var(--side-muted); padding: 5px 12px; border-radius: 0 7px 7px 0; font-size: 12.5px; }
.side nav .nav-sub a:hover { color: #fff; background: rgba(255,255,255,.05); }
.side nav .nav-sub a.active { color: #fff; background: var(--side-active); }
.nav-new { font-size: 9.5px; background: var(--accent); color: #06191b; padding: 0 5px; border-radius: 999px; margin-inline-start: auto; font-weight: 600; }
.nav-head .nav-new { background: rgba(255,255,255,.14); color: var(--side-ink); }
.side-foot { font-size: 11.5px; color: var(--side-muted); padding-top: 12px; }
.side-foot a { color: var(--side-ink); }

.top { padding: 11px 24px; gap: 12px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs b { color: var(--ink); font-weight: 600; }
.search input { border-radius: 9px; background: var(--surface-2); border-color: transparent; padding: 8px 12px; }
.search input:focus { background: var(--panel); border-color: var(--accent); outline: none; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); background: var(--surface-2);
  border-radius: 999px; padding: 5px 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.badge { font-weight: 500; font-size: 11.5px; }
.view { padding: 22px 24px 40px; max-width: 1280px; }

/* ---------- primitives ---------- */
.btn { border-radius: 9px; padding: 7px 13px; font-size: 13px; font-weight: 500; border-color: var(--line-strong); }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(.95); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.filters .btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
input, select, textarea { border-radius: 8px; border-color: var(--line-strong); font-family: var(--body); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
label { font-size: 12.5px; font-weight: 500; color: var(--muted); }

.card { border-radius: var(--radius); padding: 16px 18px; box-shadow: none; }
.card:hover { box-shadow: none; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tile { border-radius: var(--radius); padding: 14px 16px; box-shadow: none; display: grid; gap: 2px; }
.tile .n { font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile .l { font-size: 12px; color: var(--muted); order: -1; }
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }

table { font-size: 13px; }
th { font-weight: 500; color: var(--muted); font-size: 11.5px; letter-spacing: .03em; padding: 7px 10px; }
td { padding: 9px 10px; vertical-align: middle; }
tr.click:hover td { background: var(--surface-2); }
.card > table, .card > .scroll > table { margin: -4px 0; }

.badge, .state { font-size: 11.5px; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.readonly { background: var(--warn-soft); color: var(--warn); }
.badge.gray { background: var(--surface-2); color: var(--muted); border: 0; }
.state { font-weight: 500; }

.node { border-radius: 9px; }
.node .key { border-radius: 6px; font-family: var(--display); }
.tree { border-inline-start-color: var(--line-strong); }

.modal { border-radius: 14px; box-shadow: var(--shadow); }
.modal h2 { margin-bottom: 14px; }
.toast { border-radius: 10px; font-size: 13px; z-index: 10002; } .fl-toast { z-index: 10002; }
.kv dt { font-size: 12.5px; }
.cap-item { border-radius: 10px; }

/* capability map tint for "new in this panel" */
.cap-item .nav-new { background: var(--warn); color: #fff; }

/* ---------- live ---------- */
.pill-state { font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { width: min(300px, 86%); box-shadow: var(--shadow); height: 100vh; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .view { padding: 14px 16px 30px; }
  .top { padding: 10px 14px; gap: 8px; }
  .live-pill { display: none; }
}

/* ---------- edit drawer (5.10.2026): every modal() opens as a side drawer; long forms fold under "מתקדם" ---------- */
.modal-back { display: block; background: rgba(10,20,28,.35); padding: 0; z-index: 10000; }   /* above the browser-phone button (60) and the AI command button/window (ai.js: 9998/9999) so a drawer's footer stays clickable; a live call box goes to 10001 */
.modal { position: fixed; top: 0; bottom: 0; left: 0; width: min(440px, 100%); max-height: none; height: 100%;
  border-radius: 0; border: 0; border-inline-end: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 0; display: grid; grid-template-rows: auto 1fr auto; animation: drawer-in .22s ease-out; }
.modal.wide { width: min(640px, 100%); }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
.modal > h2 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
.modal > .form { overflow: auto; padding: 16px 20px; align-content: start; grid-template-columns: 1fr; gap: 12px; }
.modal > .form > p { margin: 0; }
.modal > .filters { margin: 0 !important; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--panel); }
.modal > .filters .btn.cancel { margin-inline-start: auto; border-color: transparent; color: var(--muted); }
.modal .form label { gap: 5px; }
.modal .form input, .modal .form select, .modal .form textarea { width: 100%; }
details.adv { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; display: block; }
details.adv > :not(summary) { margin-top: 12px; }
details.adv > summary { cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; list-style: none; }
details.adv > summary::before { content: "▸"; font-size: 10px; transition: transform .15s; }
details.adv[open] > summary::before { transform: rotate(-90deg); }
details.adv > summary .cnt { color: var(--muted); font-weight: 400; }

/* ---------- home: extension map ---------- */
.extmap-card .legend, .dash .legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-inline-start: auto; }
.extmap-card .legend span, .dash .legend span { display: inline-flex; align-items: center; gap: 6px; }
.extmap-card .legend i, .dash .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.extmap-card .legend i.free, .dash .legend i.free { background: var(--ok); } .extmap-card .legend i.busy, .dash .legend i.busy { background: var(--warn); } .extmap-card .legend i.off, .dash .legend i.off { background: var(--bad); }
.extgrp { margin-top: 12px; }
.extgrp-h { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.extmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ext { position: relative; display: grid; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font-size: 12.5px; overflow: hidden; }
.ext:hover { text-decoration: none; border-color: var(--accent); }
.ext b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext span { font-size: 11px; color: var(--muted); }
.ext::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--line-strong); }
.ext.free::before { background: var(--ok); } .ext.busy::before { background: var(--warn); } .ext.off::before { background: var(--bad); }
.ext.busy { background: linear-gradient(90deg, var(--panel), var(--warn-soft)); }
.ext.off span { color: var(--bad); }

/* ---------- schedules: week grid ---------- */
.weekwrap { margin: 6px 0 14px; }
.weekwrap .did-head { margin-bottom: 6px; }
.weekwrap .legend { display: inline-flex; gap: 12px; font-size: 12px; color: var(--muted); margin-inline-start: auto; }
.weekwrap .legend span { display: inline-flex; align-items: center; gap: 5px; }
.weekwrap .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.week { display: grid; grid-template-columns: 28px repeat(48, 1fr); gap: 2px; align-items: center; direction: ltr; }
.week .dn { font-size: 11px; color: var(--muted); font-weight: 500; text-align: right; padding-inline-end: 4px; }
.week .hh { font-size: 9.5px; color: var(--muted); text-align: left; }
.week i, .weekwrap .legend i.o, .weekwrap .legend i.c { display: block; height: 14px; border-radius: 2px; background: var(--surface-2); }
.week i.o, .weekwrap .legend i.o { background: var(--ok); }
.week i.c, .weekwrap .legend i.c { background: var(--bad-soft); }
.week i.x { background: var(--surface-2); }
@media (max-width: 860px) { .week { grid-template-columns: 22px repeat(48, 1fr); gap: 1px; } .week i { height: 10px; } }

/* ---------- desk keys drawer ---------- */
.dk-list { display: grid; gap: 6px; }
.dk-row { display: grid; grid-template-columns: 26px 150px 1fr 1fr; gap: 6px; align-items: center; }
.dk-row .dk-n { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 12.5px; }
.dk-row select, .dk-row input { width: 100%; min-width: 0; padding: 6px 8px; font-size: 12.5px; }
.dk-row [hidden] { display: none !important; }
.dk-row:has(.dk-kind option[value=""]:checked) .dk-lab { opacity: .4; }

/* nav "חדש" badges (5.10.2026): they marked what the old PBX lacked, on every group — too loud for the new look.
   Group headers lose them; sub-items keep a quiet dot (hover shows the word). The capabilities map keeps the full badge. */
.nav-head .nav-new { display: none; }
.side nav .nav-sub a .nav-new { font-size: 0; width: 6px; height: 6px; padding: 0; border-radius: 50%; background: var(--accent); opacity: .8; }

/* ---------- feature store (החבילה שלי, 5.10.2026) ---------- */
.fs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.fs-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; align-content: start; background: var(--panel); }
.fs-tile.on { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok-soft) 35%, var(--panel)); }
.fs-tile.off { opacity: .92; }
.fs-tile.pend { border-style: dashed; }
.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fs-head b { font-family: var(--display); font-weight: 600; font-size: 14px; }
.fs-sw { width: 34px; height: 20px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; }
.fs-sw i { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.fs-tile.on .fs-sw { background: var(--ok); }
.fs-tile.on .fs-sw i { right: auto; left: 3px; }
.fs-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; min-height: 26px; }
.fs-filters { margin-top: 8px; }

/* ---------- phone questionnaires (5.10.2026) ---------- */
.sv-list { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.sv-q { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 8px; background: var(--panel); }
.sv-qh { display: flex; align-items: center; gap: 6px; }
.sv-qh .q-label { flex: 1; min-width: 120px; }
.sv-qh .q-kind { width: auto; }
.sv-n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: none; font-family: var(--display); }
.sv-qb { display: grid; gap: 8px; }
@media (max-width: 860px) {
  .h-mods { grid-template-columns: repeat(2, 1fr) !important; }
  .fs-grid { grid-template-columns: 1fr; }
  .sv-qh { flex-wrap: wrap; }
}
.cr-more { margin-top: 6px; max-width: 420px; } .cr-more summary { cursor: pointer; } .cr-more p { margin: 6px 0 0; font-size: 12.5px; }

/* ---------- home board (dash.js, 6.10.2026) ---------- */
.dash { display: grid; gap: 16px; }
.dash-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: -8px; }
.dash-sub { color: var(--muted); font-size: 13.5px; }
.dash-sub b { color: var(--ink); font-weight: 600; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { display: grid; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: inherit; text-decoration: none; }
.kpi:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.kpi .l { font-size: 12px; color: var(--muted); }
.kpi .n { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12px; color: var(--muted); }
.kpi.bad { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); background: color-mix(in srgb, var(--bad-soft) 55%, var(--panel)); }
.kpi.bad .n, .kpi.bad .s { color: var(--bad); }
.kpi.warn { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.kpi.warn .n { color: var(--warn); }
.kpi.info .n { color: var(--accent); }
.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.dash-main, .dash-side { display: grid; gap: 16px; }
.dash-main .card, .dash-side .card { margin: 0; }
.dash-calls { display: grid; gap: 8px; }
.dcall { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.dcall-who { flex: 1; display: grid; gap: 1px; min-width: 0; }
.dcall-who b { font-weight: 600; }
.dcall-t { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-toggles { display: grid; gap: 8px; }
.dtog { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.dtog > div { display: grid; gap: 1px; min-width: 0; }
.dtog b { font-weight: 600; font-size: 13.5px; }
.dsw { width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; cursor: pointer; transition: background .15s; }
.dsw i { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: all .15s; }
.dsw.on { background: var(--accent); }
.dsw.on i { right: auto; left: 3px; }
.dsw.dis { opacity: .5; cursor: default; }
.dash-vm { display: grid; gap: 8px; }
.dvm { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-inline-start: 3px solid var(--accent); background: var(--surface-2); border-radius: 8px; }
.dvm > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.dvm b { font-weight: 600; }
.dvm-t { font-size: 12.5px; color: var(--muted); background: var(--panel); border-radius: 8px; padding: 4px 8px; margin-top: 2px; }
.dash-more { margin-top: 4px; } .dash-more summary { cursor: pointer; padding: 6px 0; } .dash-more .card { margin-top: 12px; }
.ext.busy span { color: var(--warn); font-weight: 600; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi .n { font-size: 24px; } }

/* ---------- page head (6.10.2026) ---------- */
.phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.phead .ptitle { min-width: 0; }
.phead .ptitle h1 { margin: 0 0 4px; }
.phead .ptitle .sub { margin: 0; }
.phead .ptitle .where { margin: 8px 0 0; }
.phead .pact { margin: 4px 0 0; }
.phead .pact input { min-width: 220px; }
/* a list that is not inside a card gets the card frame */
#view > .scroll, #view > div:not(.card):not(.dash):not(.phead) > .scroll:first-child { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 8px; }
#view > p.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--muted); }
.ext.virt::before { background: var(--info); } .ext.virt span { color: var(--info); }
.modal .w-edit input[type="time"] { width: 104px; display: inline-block; } .modal .w-edit td { white-space: nowrap; } .modal .w-edit .w-label { width: 110px; } .modal .w-edit select { width: auto; }
.fl-wg.drop .fl-w { stroke: var(--ok); stroke-width: 4; stroke-dasharray: 6 4; }

/* ---- flow editor draft bar (6.10.2026): changes wait here until "פרסם" ---- */
.fl-draft { display: flex; align-items: center; gap: 10px; padding: 7px 16px; direction: rtl; font-size: 13.5px;
  background: color-mix(in srgb, #f59e0b 14%, var(--panel)); border-bottom: 1px solid color-mix(in srgb, #f59e0b 45%, var(--line)); }
.fl-draft[hidden] { display: none; }
.fl-dr-dot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px color-mix(in srgb, #f59e0b 25%, transparent); animation: fl-dr-pulse 1.6s ease-in-out infinite; }
@keyframes fl-dr-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #f59e0b 10%, transparent); } }
.fl-dr-n { color: var(--muted); }
.fl-dr-last { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.fl-dr-last:not(:empty)::before { content: '· אחרון: '; }
.fl-dr-sp { flex: 1; }
.fl-draft .fl-b.pub { background: var(--accent); color: #fff; border-color: transparent; font-weight: 600; padding-inline: 14px; }
.fl-draft .fl-b.pub svg { stroke: #fff; }
.fl-wg.draft .fl-w { stroke: #f59e0b; stroke-dasharray: 7 5; stroke-width: 2.5; animation: fl-dr-march 1.2s linear infinite; }
@keyframes fl-dr-march { to { stroke-dashoffset: -24; } }
.fl-wg.draft .fl-wl circle { fill: #f59e0b; }
.fl-drtag { font-size: 10.5px; font-weight: 600; color: #b45309; background: color-mix(in srgb, #f59e0b 20%, transparent); border-radius: 5px; padding: 1px 6px; margin-inline-start: 4px; }

/* ======================================================================================================
   6.10.2026 — the model's look for the flow editor (#/flow). Layer over the .fl-* rules in app.css.
   Model: "פאנל מרכזיות M&YD" — node = white card, coloured icon in the header, "key → destination" rows,
   round accent ports, accent wires on a dotted canvas, inspector as a card with labelled fields.
   Undo: delete this block. ====================================================================================== */
.view.fl-view { background: var(--bg); }
.fl-bar { padding: 12px 24px; gap: 10px 14px; border-bottom: 1px solid var(--line); }
.fl-bar .fl-title { margin-inline-end: 6px; flex: 1 1 240px; min-width: 0; }
.fl-bar .fl-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fl-bar .fl-search { flex: 0 1 280px; }
.fl-bar .fl-title b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.fl-bar .fl-title span { color: var(--muted); font-size: 12.5px; }
.fl-search input { border-radius: 9px; background: var(--surface-2); border-color: transparent; padding: 8px 12px; }
.fl-search input:focus { background: var(--panel); border-color: var(--accent); outline: none; }
.fl-b { border-radius: 9px; border-color: var(--line-strong); font-weight: 500; font-size: 13px; padding: 7px 12px; }
.fl-b:hover { border-color: var(--muted); }
.fl-b.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.fl-b.primary:hover { filter: brightness(.95); }
.fl-b.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.fl-b.ico { padding: 7px; min-width: 34px; }
.fl-b.sm { padding: 4px 9px; font-size: 12px; }
.fl-pill { font-weight: 600; }
/* canvas */
.fl-canvas { background-color: var(--bg); background-image: radial-gradient(color-mix(in srgb, var(--line-strong) 85%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; }
.fl-scope { border-radius: 10px; border-color: var(--line); box-shadow: var(--shadow); font-size: 13px; }
.fl-crumbs b { font-family: var(--display); font-weight: 600; }
.fl-zoom .fl-b, .fl-mini { box-shadow: var(--shadow); }
.fl-mini { border-radius: 10px; }
/* wires: accent like the model; the "no key / wrong key / repeat" wires stay dashed and quiet */
.fl-w { stroke: color-mix(in srgb, var(--accent) 80%, var(--muted)); stroke-width: 2; opacity: .85; }
.fl-w.dash { stroke: color-mix(in srgb, var(--muted) 65%, transparent); }
.fl-wg:hover .fl-w, .fl-wg.hot .fl-w { stroke: var(--accent); opacity: 1; }
.fl-wg.sel .fl-w { stroke: var(--accent); stroke-width: 3.2; opacity: 1; }
.fl-wl circle { fill: var(--accent); }
/* nodes */
.fl-node { border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: var(--shadow); font-size: 13px; transition: box-shadow .15s; }
.fl-node.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.fl-node.root { border-color: color-mix(in srgb, var(--accent) 60%, var(--line-strong)); }
.fl-nh { padding: 8px 10px; gap: 8px; border-bottom: 1px solid var(--line); }
.fl-ic { width: 24px; height: 24px; border-radius: 6px; }
.fl-ic svg { width: 14px; height: 14px; }
.fl-nt small { font-size: 10.5px; font-weight: 500; letter-spacing: .02em; }
.fl-nt b { font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.fl-sub { padding: 7px 10px 6px; font-size: 12px; }
.fl-sub .num { color: var(--ink); }
.fl-chips { padding: 0 10px 8px; }
.fl-chips span { border-radius: 6px; background: var(--surface-2); border: 0; font-size: 11.5px; padding: 1px 7px; }
.fl-pre { margin: 0 10px 8px; }
.fl-outs { border-top: 0; padding: 4px 0 6px; }
.fl-node:has(.fl-sub) .fl-outs, .fl-node:has(.fl-chips) .fl-outs { border-top: 1px solid var(--line); padding-top: 5px; }
.fl-out { height: 28px; padding: 0 10px 0 16px; gap: 8px; font-size: 12.5px; color: var(--muted); }
.fl-out .fl-to { color: var(--ink); font-weight: 500; }
.fl-out.sys { font-size: 12px; }
.fl-key { min-width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 12.5px; }
.fl-key.edit:hover { outline: 1.5px solid var(--accent); background: var(--accent-soft); color: var(--accent); }
.fl-pl { color: var(--muted); font-size: 12px; }
.fl-stub { font-size: 12px; }
.fl-port { width: 11px; height: 11px; border: 2px solid var(--accent); background: var(--panel); box-shadow: 0 0 0 2px var(--panel); }
.fl-port.in { left: -7px; top: 19px; }
.fl-port.o { right: -7px; top: 8px; }
.fl-port.o.on { background: var(--accent); }
.fl-port.o.ro { border-color: var(--line-strong); border-style: solid; }
.fl-port.o.ro.on { background: var(--line-strong); }
.fl-port.o:not(.ro):hover { background: var(--accent); transform: scale(1.3); }
.fl-state { font-weight: 600; font-size: 11px; border-radius: 999px; }
.fl-inbadge { border-radius: 999px; font-size: 10px; }
.fl-addk { font: inherit; font-size: 12px; font-weight: 500; color: var(--accent); background: none; border: 0; border-top: 1px dashed var(--line); width: 100%; padding: 6px 10px; cursor: pointer; text-align: start; border-radius: 0 0 11px 11px; }
.fl-addk:hover { background: var(--accent-soft); }
/* inspector: the model's card — big coloured icon, title, labelled fields, "key → destination" rows */
.fl-insp { background: var(--panel); }
.fl-ih { padding: 14px 16px 12px; gap: 10px; }
.fl-ih .fl-ic.lg { width: 30px; height: 30px; border-radius: 8px; }
.fl-ih .fl-ic.lg svg { width: 16px; height: 16px; }
.fl-ih h3 { font-family: var(--display); font-size: 15px; font-weight: 600; }
.fl-ih p { font-size: 12px; }
.fl-ib { padding: 14px 16px 26px; gap: 10px; }
.fl-sect { border-top: 0; padding-top: 10px; margin-top: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.fl-sect .fl-b.sm { font-weight: 500; }
.fl-form { gap: 10px; }
.fl-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
.fl-form input, .fl-form select, .fl-tsel, .fl-row select { font-size: 13.5px; padding: 7px 10px; border-radius: 8px; border-color: var(--line-strong); color: var(--ink); }
.fl-form input:focus, .fl-form select:focus, .fl-tsel:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.fl-form .fl-b.primary { align-self: flex-start; margin-top: 2px; }
.fl-sw { font-weight: 400 !important; }
.fl-kv { font-size: 13px; gap: 7px 12px; }
.fl-kv dt { font-size: 12px; }
.fl-prow { grid-template-columns: minmax(58px, auto) 1fr 30px; background: var(--surface-2); border-radius: 9px; padding: 4px 6px 4px 4px; }
.fl-prow .fl-key { background: var(--panel); }
.fl-prow .fl-tsel { background: var(--panel); }
.fl-plab { font-size: 12.5px; }
.fl-stats div { background: var(--surface-2); border-radius: 10px; }
.fl-stats b { font-family: var(--display); font-weight: 600; font-size: 20px; }
.fl-link { border-radius: 9px; background: var(--surface-2); border-color: transparent; }
.fl-issue { border-radius: 9px; }
.fl-note { border-radius: 9px; }
.fl-acts .fl-b { font-size: 12.5px; }
/* tools panel: the model's palette chips as a list */
.fl-pal { background: var(--panel); }
.fl-tabs { padding: 12px 12px 10px; gap: 0; background: var(--panel); }
.fl-tabs { grid-template-columns: 1fr 1fr; border: 0; }
.fl-tab { font-weight: 500; font-size: 13px; border-color: var(--line-strong); background: var(--panel); color: var(--muted); }
.fl-tab:first-child { border-radius: 0 8px 8px 0; }
.fl-tab:last-child { border-radius: 8px 0 0 8px; margin-inline-start: -1px; }
.fl-tab.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); position: relative; z-index: 1; }
.fl-pb { padding: 6px 12px 22px; }
.fl-pb input[type=search] { border-radius: 9px; background: var(--surface-2); border-color: transparent; }
.fl-ph { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 12px 2px 5px; }
.fl-part { border-radius: 9px; padding: 6px 9px; }
.fl-part b { font-weight: 500; font-size: 13px; }
.fl-part.on { background: var(--accent-soft); border-color: var(--accent); }
.fl-tool { border-radius: 10px; padding: 7px 8px; border: 1px solid var(--line); margin-bottom: 4px; background: var(--panel); }
.fl-tool:hover { border-color: var(--accent); background: var(--accent-soft); }
.fl-tool b { font-weight: 500; font-size: 13px; }
.fl-tool .fl-ic { width: 32px; height: 32px; border-radius: 9px; }
.fl-tool .fl-ic svg { width: 16px; height: 16px; }
/* draft bar: the model's "טיוטה · N שינויים" pill row */
.fl-draft { padding: 8px 24px; gap: 12px; }
.fl-draft .fl-b { border-radius: 9px; }
/* test-call box, popups */
.fl-sim, .fl-qa, .fl-pop { border-radius: 12px; box-shadow: var(--shadow), 0 14px 40px rgba(0,0,0,.18); }
.fl-pad button { border-radius: 9px; font-family: var(--display); }
@media (max-width: 900px) {
  .fl-bar { padding: 10px 14px; }
  .fl-bar .fl-title b { font-size: 16px; }
}

/* ======================================================================================================
   6.10.2026 — model primitives used by screens.js (pills, segment control, toggle rows, type tiles, result
   summaries, campaign progress) and the two screens built on them: campaigns and live calls. ==================== */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; font-weight: 500; white-space: nowrap; line-height: 1.6; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.pill.good { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.crit { background: var(--bad-soft); color: var(--bad); } .pill.info { background: var(--info-soft); color: var(--info); }
.pill.n { background: var(--surface-2); color: var(--muted); } .pill.acc { background: var(--accent-soft); color: var(--accent); }
.pill.good.live i { animation: pill-pulse 1.4s infinite; }
@keyframes pill-pulse { 50% { opacity: .35; } }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--panel); flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.tog { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); border: 0; flex: none; transition: background .2s; cursor: pointer; padding: 0; }
.tog::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: right .2s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.tog.on { background: var(--accent); } .tog.on::after { right: 19px; }
.sw { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.sw .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); font-size: 16px; flex: none; }
.sw > div:not(.ic) { flex: 1; min-width: 0; }
.sw b { display: block; font-size: 13px; font-weight: 500; } .sw small { color: var(--muted); font-size: 11.5px; }
.field { display: grid; gap: 5px; }
.field > label, .field > span.l { font-size: 12px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid.gap { gap: 12px; }
.audsum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.audsum > div { background: var(--surface-2); border-radius: 9px; padding: 10px 12px; }
.audsum b { font-family: var(--display); font-size: 20px; font-weight: 600; display: block; font-variant-numeric: tabular-nums; line-height: 1.2; }
.audsum small { color: var(--muted); font-size: 11.5px; }
.audsum .minus b { color: var(--bad); } .audsum .plus b { color: var(--accent); }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.type { border: 1px solid var(--line-strong); border-radius: 11px; padding: 12px; background: var(--panel); text-align: right; display: grid; gap: 4px; font: inherit; color: var(--ink); cursor: pointer; }
.type .ic { font-size: 20px; } .type b { font-size: 13px; font-weight: 600; } .type small { color: var(--muted); font-size: 11.5px; }
.type:hover { border-color: var(--accent); }
.type.on { border-color: var(--accent); background: var(--accent-soft); }
.type.off { opacity: .5; cursor: default; } .type.off:hover { border-color: var(--line-strong); }
.cp-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.cp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cp-legend i, .cp-progress i { display: inline-block; }
.cp-legend i { width: 10px; height: 10px; border-radius: 3px; }
.ans { background: var(--ok); } .noans { background: var(--line-strong); } .busy { background: var(--warn); } .hang { background: var(--bad); } .wait { background: var(--info); }
.cp-progress { display: flex; height: 20px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.cp-progress i { height: 100%; transition: width .4s; }
.cp-progress i.wait { background-image: linear-gradient(135deg, rgba(255,255,255,.35) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.35) 75%, transparent 75%); background-size: 18px 18px; animation: cp-stripes 1s linear infinite; }
@keyframes cp-stripes { to { background-position: 18px 0; } }
.cp-progress.mini { height: 8px; width: 140px; border-radius: 4px; }
/* campaigns list */
.cp-list { display: grid; gap: 10px; }
.cp-live { display: grid; gap: 12px; }
.cp-lh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-lh h2 { margin: 0; font-size: 17px; } .cp-lh h2 a { color: inherit; }
.cp-lh .act { margin-inline-start: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.cp-rate { font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.cp-rate small { font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 400; }
.camp { display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: inherit; text-decoration: none; }
.camp:hover { border-color: var(--accent); text-decoration: none; }
.camp b { display: block; font-size: 13.5px; font-weight: 500; } .camp small { color: var(--muted); font-size: 12px; }
.camp .cp-n { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cp-empty { text-align: center; padding: 28px 18px; display: grid; gap: 14px; justify-items: center; }
.cp-empty p { margin: 0; color: var(--muted); max-width: 560px; }
.cp-empty .types { width: 100%; max-width: 760px; text-align: right; }
.cp-sum { margin: 0; font-size: 15px; line-height: 1.8; }
.cp-tbl .pill { font-size: 11px; }
/* wizard */
.cp-steps { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.cp-steps button { flex: 1; border: 0; background: none; padding: 12px 14px; display: flex; gap: 10px; align-items: center; text-align: right; color: var(--muted); border-inline-start: 1px solid var(--line); font: inherit; font-size: 13.5px; cursor: pointer; }
.cp-steps button:first-child { border-inline-start: 0; }
.cp-steps button span { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; font-family: var(--display); flex: none; }
.cp-steps button.on { color: var(--ink); background: var(--accent-soft); font-weight: 500; }
.cp-steps button.on span { background: var(--accent); color: #fff; }
.cp-steps button.done span { background: var(--ok); color: #fff; }
.cp-wiz .card { display: grid; gap: 14px; }
.cp-wiz h2 { margin: 0; }
.cp-nav { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.cp-nav .cancel { margin-inline-start: auto; }
.cp-wiz textarea { font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--ink); width: 100%; min-height: 150px; }
.cp-wiz .player { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 10px; padding: 8px 12px; min-height: 48px; }
.cp-wiz .player audio { height: 32px; flex: 1; min-width: 0; }
.cp-wiz .picker { display: flex; gap: 6px; } .cp-wiz .picker select { flex: 1; min-width: 0; }
.cp-wiz .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cp-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
/* live calls */
.lc-list { display: grid; gap: 8px; }
.lc { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.lc.old { background: var(--surface-2); }
.lc .dir { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.lc .dir.in { background: var(--ok-soft); color: var(--ok); } .lc .dir.out { background: var(--info-soft); color: var(--info); }
.lc .dir.q { background: var(--warn-soft); color: var(--warn); } .lc .dir.int { background: var(--surface-2); color: var(--muted); }
.lc-who { min-width: 0; display: grid; gap: 1px; }
.lc-who b { font-weight: 500; font-size: 13.5px; } .lc-who small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.lc-t { font-family: var(--display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); }
.lc .acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.lc .acts .btn { padding: 4px 8px; font-size: 12px; border-radius: 7px; }
.lc .acts .btn.x:hover, .lc .acts .btn.danger { border-color: var(--bad); color: var(--bad); background: var(--panel); }
.lc-cards h3 { margin: 0 0 8px; font-size: 13.5px; }
.lc-cards .tiny { font-size: 12px; color: var(--muted); }
.lc-cards .pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
#view .lc-sumline { color: var(--muted); }
@media (max-width: 900px) {
  .audsum { grid-template-columns: repeat(2, 1fr); }
  .g2, .g3, .g4, .g21 { grid-template-columns: 1fr; }
  .camp { grid-template-columns: 1fr auto; } .camp .cp-progress.mini { display: none; }
  .lc { grid-template-columns: auto 1fr auto; } .lc .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .cp-steps { flex-wrap: wrap; } .cp-steps button { flex: 1 1 45%; border: 0; }
}
/* ---- questionnaire page (screens.js §4): question cards and result bars, like the model ---- */
.qlist { display: grid; gap: 10px; margin-top: 10px; }
.q { border: 1px solid var(--line); border-radius: 11px; background: var(--panel); padding: 12px 14px; display: grid; grid-template-columns: 30px 1fr auto; gap: 6px 12px; align-items: start; }
.q .n { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 600; grid-row: 1 / 4; }
.q b { font-size: 13.5px; font-weight: 500; }
.q .typ { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.q .opts { grid-column: 2 / 4; display: flex; gap: 6px; flex-wrap: wrap; }
.q .opt { font-size: 12px; background: var(--surface-2); border-radius: 7px; padding: 3px 8px; display: inline-flex; gap: 5px; align-items: center; }
.q .opt b { font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--accent); }
.q .qp { grid-column: 2 / 4; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.q .qp .btn.play { padding: 1px 7px; font-size: 11px; }
.res { display: grid; gap: 8px; }
.res .r { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 12.5px; }
.res .r b { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }
.res .r .b { grid-column: 1 / 3; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.res .r .b i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.qtypes { display: grid; gap: 6px; }
.qtypes span { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; font-size: 12.5px; background: var(--panel); }
.sv-kv { grid-template-columns: 110px 1fr; font-size: 13px; }
.lc-cards .card h3, .g21 .card > h3 { margin: 0 0 8px; font-size: 13.5px; }
.live-pill #live-extra { color: var(--muted); }
.live-pill #live-extra .ok { color: var(--ok); }
/* ---- distribution lists (screens.js §7, 6.10.2026): chips of saved groups + the upload / save toolbar ---- */
.dl-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dl-chip { font: inherit; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); border-radius: 999px; padding: 4px 11px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.dl-chip small { color: var(--muted); font-size: 11px; }
.dl-chip:hover { border-color: var(--accent); }
.dl-chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.dl-chip.on small { color: var(--accent); }
.dl-chip.new { border-style: dashed; color: var(--muted); }
.dl-tools { margin-bottom: -4px; }
.modal #dl-text { min-height: 220px; font-family: var(--body); }
/* ---- live calls: where we listen from (6.10.2026) ---- */
.lc-via button small { font-size: 10.5px; color: var(--bad); }
.lc-via button.on small { color: var(--warn); }

/* ---------- extension removal drawer (6.10.2026) ---------- */
.dl-refs { margin: 4px 0 8px; padding-inline-start: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.dl-refs li { color: var(--ink); }
.modal .form label.check input[type=checkbox] { width: auto; margin: 0; }   /* a checkbox in a drawer is not a full-width field */
