/* מעקב ליווי – איציק עוז ייעוץ עסקי.
   השפה של הדשבורד הניהולי ודשבורד הלקוחות: פס עליון שחור, רקע נייר, כרטיסים לבנים, זהב לפעולה ולמספרים,
   פינות חדות, Heebo לטקסט ו־Bebas Neue למספרים. ירוק, צהוב ואדום משמשים רק לסטטוס, ותמיד יחד עם מילה. */
:root {
  --font: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --num: 'Bebas Neue', 'Heebo', Impact, sans-serif;
  font-family: var(--font);
}
:root, :root[data-theme="light"] {
  color-scheme: light;
  --page: #f6f2ea; --surface: #ffffff; --surface-2: #faf7f1; --surface-3: #efe8da; --input: #fffdf8;
  --line: #e4dccd; --line-strong: #cfc3ad;
  --ink: #111111; --ink-2: #3a3a3a; --muted: #6f6a60;
  --gold: #86622a; --gold-hi: #b48a3c; --gold-lt: #d6b46e; --gold-soft: rgba(180, 138, 60, .10); --gold-line: rgba(180, 138, 60, .5);
  --bar: #111111; --bar-ink: #f3efe6; --bar-muted: #a9a398; --bar-line: #2a2a2a;
  --hero: #111111; --hero-ink: #f3efe6; --hero-muted: #a9a398; --hero-num: #d6b46e;
  --good: #2d7a4f; --good-bg: #e5f3ea; --warn: #8a5a00; --warn-bg: #fff2cf; --warn-dot: #d99a00; --bad: #b3261e; --bad-bg: #fde8e6;
  --none: #6f6a60; --none-bg: #efe9de;
  --need: #d99a00;
  --shadow: 0 1px 0 rgba(17, 17, 17, .04), 0 8px 24px -18px rgba(17, 17, 17, .35);
  --overlay: rgba(10, 10, 10, .5);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #11100d; --surface: #1a1814; --surface-2: #201d18; --surface-3: #2a261f; --input: #1f1c17;
  --line: #2e2a23; --line-strong: #3f382d;
  --ink: #f3efe6; --ink-2: #cfc8ba; --muted: #948e82;
  --gold: #d6b46e; --gold-hi: #e3c88f; --gold-lt: #e3c88f; --gold-soft: rgba(214, 180, 110, .10); --gold-line: rgba(214, 180, 110, .4);
  --bar: #0b0a08; --bar-ink: #f3efe6; --bar-muted: #948e82; --bar-line: #2a261f;
  --hero: #2a251b; --hero-ink: #f3efe6; --hero-muted: #b3ab9b; --hero-num: #e3c88f;
  --good: #5fc98a; --good-bg: rgba(63, 174, 108, .15); --warn: #f0c050; --warn-bg: rgba(224, 168, 0, .15); --warn-dot: #e0a800;
  --bad: #ff8a80; --bad-bg: rgba(229, 83, 75, .16); --none: #a39d90; --none-bg: #2a261f;
  --need: #e0a800;
  --shadow: none;
  --overlay: rgba(0, 0, 0, .65);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--page); font-size: 14.5px; line-height: 1.5; min-height: 100vh;
  -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.i.sm { width: 14px; height: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.loading { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--gold-hi); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 2px; border: 1px solid var(--line-strong);
  background: var(--surface); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--gold-hi); }
.btn.gold { background: var(--gold-hi); border-color: var(--gold-hi); color: #111; }
.btn.gold:hover { background: var(--gold-lt); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn:focus-visible, .chip:focus-visible, .fld:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 1px; }
.bar .btn { background: transparent; color: var(--bar-ink); border-color: var(--bar-line); }
.bar .btn:hover { border-color: var(--gold-lt); color: #fff; }
.bar .btn.gold { background: var(--gold-hi); border-color: var(--gold-hi); color: #111; }
.icon-btn { width: 36px; padding: 0; justify-content: center; }

/* ---------- פס עליון ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--bar); color: var(--bar-ink); border-bottom: 2px solid var(--gold-hi); }
.bar-in { max-width: 1560px; margin: 0 auto; height: 60px; padding: 0 24px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-t { font-weight: 900; font-size: 17px; letter-spacing: -.01em; line-height: 1.1; }
.brand-s { font-size: 11.5px; color: var(--bar-muted); letter-spacing: .02em; }
.bar-sp { flex: 1; }
.who { display: flex; align-items: center; gap: 8px; padding-inline-start: 12px; border-inline-start: 1px solid var(--bar-line); font-size: 13px; }
.who b { font-weight: 700; }
.who .role { color: var(--gold-lt); font-size: 11.5px; font-weight: 600; }

/* ---------- עמוד ---------- */
.wrap { max-width: 1560px; margin: 0 auto; padding: 26px 24px 70px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.eyebrow { font-family: var(--num); letter-spacing: .14em; color: var(--gold); font-size: 15px; }
h1 { margin: 2px 0 2px; font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.sub { margin: 0; color: var(--muted); font-size: 13.5px; }

.howto { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold-hi);
  padding: 12px 16px; margin-bottom: 18px; font-size: 13.5px; color: var(--ink-2); }
.howto svg { color: var(--gold); margin-top: 2px; }
.howto p { margin: 0; flex: 1; }
.howto b { color: var(--ink); }

/* ---------- טאבים של יועצות (מנהל) ---------- */
.ctabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.ctab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 2px; font-weight: 600; font-size: 13.5px; }
.ctab .n { font-family: var(--num); font-size: 16px; letter-spacing: .04em; color: var(--muted); line-height: 1; padding-top: 2px; }
.ctab .flag { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); }
.ctab:hover { border-color: var(--gold-hi); }
.ctab[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.ctab[aria-pressed="true"] .n { color: var(--gold-lt); }

/* ---------- קוביות ---------- */
.kpis { display: grid; grid-template-columns: 1.25fr repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { position: relative; text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px 13px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; min-height: 104px; transition: border-color .15s, transform .15s; }
.kpi:hover { border-color: var(--gold-line); }
.kpi[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold-hi); }
.kpi .k-l { font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.kpi .k-v { font-family: var(--num); font-size: 46px; line-height: .95; letter-spacing: .02em; margin-top: 6px; }
.kpi .k-s { font-size: 12px; color: var(--muted); margin-top: auto; }
.kpi.hero { background: var(--hero); color: var(--hero-ink); border-color: var(--hero); }
.kpi.hero .k-l { color: var(--hero-ink); }
.kpi.hero .k-v { color: var(--hero-num); }
.kpi.hero .k-s { color: var(--hero-muted); }
.kpi.hero[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--gold-lt); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.dot.good { background: var(--good); } .dot.warn { background: var(--warn-dot); } .dot.bad { background: var(--bad); }
.dot.need { background: transparent; border: 2px dashed var(--need); width: 11px; height: 11px; }
.dot.gold { background: var(--gold-hi); } .dot.none { background: var(--line-strong); }

/* ---------- על הפרק ---------- */
.agenda { display: grid; grid-template-columns: 150px 1fr; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; box-shadow: var(--shadow); }
.agenda-t { background: var(--hero); color: var(--hero-ink); padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.agenda-t b { font-size: 19px; font-weight: 900; }
.agenda-t span { color: var(--hero-muted); font-size: 12px; }
.agenda ul { margin: 0; padding: 10px 18px; list-style: none; display: grid; gap: 4px; }
.agenda li { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--ink-2); padding: 3px 0; }
.agenda li .dot { transform: translateY(1px); }
.agenda li b { color: var(--ink); }
.agenda li.ok { color: var(--good); font-weight: 600; }

/* ---------- תמונת מצב לפי יועצת (מנהל) ---------- */
.sec-t { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 10px; }
.sec-t h2 { margin: 0; font-size: 18px; font-weight: 800; }
.sec-t span { color: var(--muted); font-size: 12.5px; }
.byc { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 8px; }
.cc { text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 13px 15px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.cc:hover { border-color: var(--gold-line); }
.cc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cc-h b { font-size: 15px; font-weight: 800; }
.cc-h .num { font-family: var(--num); font-size: 26px; color: var(--gold); line-height: 1; }
.cc-s { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.cc-s span { display: inline-flex; align-items: center; gap: 5px; }
.cc-u { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 7px; }
.cc-u.late { color: var(--warn); font-weight: 600; }

/* ---------- סרגל סינון ---------- */
.tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 12px; border-radius: 2px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; }
.chip .n { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--gold-hi); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: var(--gold-lt); }
.tools-sp { flex: 1; }
.search { position: relative; }
.search input { height: 34px; width: 230px; padding: 0 34px 0 10px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 2px; }
.search svg { position: absolute; top: 8px; right: 10px; color: var(--muted); }
.sel { height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 2px; font-size: 13px; }

/* ---------- טבלת הלקוחות ---------- */
.tbl-wrap { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { position: sticky; top: 62px; z-index: 5; background: var(--surface-2); text-align: start; font-size: 12px; font-weight: 700; color: var(--ink-2);
  padding: 10px 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tbl th .ed { color: var(--gold); display: inline-flex; align-items: center; margin-inline-start: 5px; vertical-align: -2px; }
.tbl td { padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tr.is-done td { color: var(--muted); }
.tbl tr.is-done .c-name b { color: var(--ink-2); }
.tbl tr.is-arch { opacity: .55; }
.tbl tr { border-inline-start: 3px solid transparent; }
.tbl tr.lv-bad td:first-child { box-shadow: inset -3px 0 0 var(--bad); }
.tbl tr.lv-warn td:first-child { box-shadow: inset -3px 0 0 var(--warn-dot); }
.tbl tr.lv-good td:first-child { box-shadow: inset -3px 0 0 var(--good); }
.tbl tr.lv-need td:first-child { box-shadow: inset -3px 0 0 var(--need); }

.c-name { min-width: 150px; max-width: 260px; }
.c-name b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.c-name button.nm { all: unset; cursor: pointer; display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.c-name button.nm:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.c-name button.nm:focus-visible { outline: 2px solid var(--gold-hi); }
.prog { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.pchip { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border: 1px solid var(--line-strong); font-size: 11.5px; font-weight: 700;
  border-radius: 2px; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }
.pchip.new { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); font-family: var(--num); font-size: 14px; letter-spacing: .08em; padding-top: 2px; }
.pchip.miss { border-style: dashed; color: var(--bad); }
.meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.upd { font-size: 11px; color: var(--muted); margin-top: 6px; }
.meta .cn { color: var(--ink-2); font-weight: 700; }

.fld { width: 100%; min-width: 0; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-bottom: 1.5px dashed var(--gold-line);
  background: var(--input); border-radius: 2px; font-size: 13.5px; transition: border-color .15s, background .15s; }
.fld:hover { border-color: var(--gold-line); }
.fld:focus { border-color: var(--gold-hi); border-bottom-style: solid; outline: none; background: var(--surface); }
.fld.need { border-color: var(--need); border-style: dashed; background: var(--warn-bg); }
.fld.saving { background-image: linear-gradient(90deg, transparent, var(--gold-soft), transparent); background-size: 200% 100%; animation: shimmer 1s linear infinite; }
.fld.saved { border-color: var(--good); }
.fld.err { border-color: var(--bad); border-style: solid; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
input[type="date"].fld { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; min-width: 132px; }
.fld.n { width: 64px; text-align: center; direction: ltr; font-family: var(--num); font-size: 19px; letter-spacing: .04em; padding-top: 3px; }
textarea.fld { height: auto; min-height: 34px; padding: 7px 8px; resize: vertical; line-height: 1.45; display: block; }
.c-dates { width: 150px; }
.c-meet { min-width: 120px; }
.c-meet .row { display: flex; align-items: center; gap: 8px; }
.c-meet .of { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.hint.warn { color: var(--warn); font-weight: 600; }
.c-notes { width: 22%; min-width: 150px; }

.calc-date { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc-date.soft { color: var(--muted); font-weight: 500; }

.el { min-width: 110px; }
.el-v { display: flex; align-items: baseline; gap: 6px; }
.el-v .big { font-family: var(--num); font-size: 30px; line-height: .9; letter-spacing: .02em; }
.el-v .of { font-size: 12px; color: var(--muted); }
.track { height: 5px; background: var(--surface-3); margin-top: 7px; position: relative; overflow: hidden; }
.track i { position: absolute; inset-block: 0; right: 0; background: var(--gold-hi); }
.track i.over { background: var(--bad); }
.track i.done { background: var(--line-strong); }

.st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 700; border-radius: 2px; white-space: nowrap; }
.st.good { background: var(--good-bg); color: var(--good); }
.st.warn { background: var(--warn-bg); color: var(--warn); }
.st.bad { background: var(--bad-bg); color: var(--bad); }
.st.none { background: var(--none-bg); color: var(--none); }
.st.need { background: transparent; color: var(--warn); border: 1.5px dashed var(--need); }
.st-s { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; max-width: 170px; }

.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.foot-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.7; max-width: 980px; }
.foot-note b { color: var(--ink-2); }

/* ---------- מגירה וחלון (מנהל) ---------- */
.ovl { position: fixed; inset: 0; background: var(--overlay); z-index: 50; display: flex; justify-content: flex-start; }
.drawer { width: min(480px, 100%); height: 100%; background: var(--surface); overflow: auto; box-shadow: -10px 0 40px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.ovl.center { align-items: center; justify-content: center; padding: 20px; }
.modal { width: min(760px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-top: 3px solid var(--gold-hi); }
.d-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.d-h h3 { margin: 0; font-size: 18px; font-weight: 800; }
.d-b { padding: 18px 20px; display: grid; gap: 14px; }
.d-f { display: grid; gap: 5px; align-content: start; }
.d-f label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.d-f .fld { height: 38px; }
.d-f .help { font-size: 11.5px; color: var(--muted); }
.d-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-a { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); margin-top: auto; position: sticky; bottom: 0; background: var(--surface); }
.d-a .sp { flex: 1; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.hist { border-top: 1px solid var(--line); padding-top: 12px; }
.hist h4 { margin: 0 0 8px; font-size: 13px; }
.hist ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hist li { font-size: 12.5px; color: var(--ink-2); border-inline-start: 2px solid var(--line-strong); padding-inline-start: 10px; }
.hist li .w { color: var(--muted); font-size: 11.5px; }

.links { width: 100%; border-collapse: collapse; }
.links td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13.5px; }
.links td.acts { white-space: nowrap; text-align: end; }
.links .n { color: var(--muted); font-size: 12px; }
.add-row { display: flex; gap: 8px; margin-top: 12px; }
.add-row .fld { height: 36px; }

#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--page); padding: 10px 18px;
  font-size: 13.5px; font-weight: 600; border-radius: 2px; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: var(--bad); color: #fff; }

/* ---------- כניסה ---------- */
.login { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold-hi); padding: 28px; display: grid; gap: 14px; }
.login-card h2 { margin: 0; font-size: 22px; font-weight: 900; }
.login-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.login-card .fld { height: 40px; direction: ltr; }

/* ---------- מסכים צרים: כל לקוח הופך לכרטיס ---------- */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1180px) {
  .tbl-wrap { background: transparent; border: 0; box-shadow: none; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody { display: block; }
  .tbl tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; background: var(--surface); border: 1px solid var(--line); padding: 14px 16px;
    margin-bottom: 10px; box-shadow: var(--shadow); }
  .tbl tr.lv-bad { border-inline-start: 4px solid var(--bad); } .tbl tr.lv-warn { border-inline-start: 4px solid var(--warn-dot); }
  .tbl tr.lv-good { border-inline-start: 4px solid var(--good); } .tbl tr.lv-need { border-inline-start: 4px solid var(--need); }
  .tbl tr td:first-child { box-shadow: none !important; }
  .tbl td { display: block; padding: 0; border: 0; min-width: 0 !important; max-width: none !important; width: auto !important; }
  .tbl td[data-l]::before { content: attr(data-l); display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .tbl td.c-name, .tbl td.c-notes { grid-column: 1 / -1; }
  .tbl td.c-name { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .tbl tbody tr:hover { background: var(--surface); }
  .st-s { max-width: none; }
  input[type="date"].fld { min-width: 0; }
}
@media (max-width: 760px) {
  .bar-in { padding: 0 14px; height: 56px; }
  .brand-s, .who .role, .bar .btn .lbl { display: none; }
  .tbl th { top: 58px; }
  .wrap { padding: 18px 16px 60px; }
  h1 { font-size: 24px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi { min-height: 92px; padding: 12px 13px; }
  .kpi .k-v { font-size: 38px; }
  .agenda { grid-template-columns: 1fr; }
  .agenda-t { flex-direction: row; align-items: baseline; gap: 10px; padding: 10px 14px; }
  .agenda ul { padding: 10px 14px; }
  .search, .search input { width: 100%; }
  .tools-sp { display: none; }
  .tools > .search { flex: 1 1 100%; order: -1; }
  .d-row { grid-template-columns: 1fr; }
  .links td.acts { white-space: normal; }
}
@media (max-width: 340px) {
  .tbl tr { grid-template-columns: 1fr; }
}
