@font-face { font-family: 'Assistant'; font-weight: 200 800; font-display: swap; src: url(/web/fonts/assistant-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: 'Assistant'; font-weight: 200 800; font-display: swap; src: url(/web/fonts/assistant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* GolemFlow simulator. Colours follow the GolemFlow family: navy + green. */
:root {
  color-scheme: light;
  --navy: #0f1b3d; --navy-2: #1b2a55; --mint: #3fd3a5; --accent: #0b7a5b; --accent-d: #086347; --accent-soft: #e6f5ef; --accent-line: #b9e0d1;
  --bg: #f3f5f9; --panel: #ffffff; --ink: #16203a; --muted: #5d6880; --line: #dfe4ee; --line-2: #edf0f6; --input: #f9fafc;
  --good: #0b7a5b; --warn: #a15408; --warn-bg: #fff8ea; --warn-line: #ecc878; --bad: #b3261e; --bad-bg: #fdeceb;
  --radius: 14px; --r-s: 9px; --shadow: 0 1px 2px rgb(15 27 61 / .05), 0 6px 20px rgb(15 27 61 / .05);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 'Assistant', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }

/* ---- top bar */
.top { display: flex; align-items: center; gap: 22px; padding: 0 24px; min-height: 60px; background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .1px; white-space: nowrap; color: #fff; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { font-weight: 400; color: #b6c1dd; font-size: 14.5px; }
.modes { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.modes button, .modes a { border: 0; background: none; color: #c9d2e8; padding: 7px 14px; border-radius: var(--r-s); cursor: pointer; text-decoration: none; }
.modes button:hover, .modes a:hover { background: var(--navy-2); color: #fff; }
.modes button.on, .modes a.on { background: rgb(63 211 165 / .16); color: #fff; font-weight: 600; }
.casename { font-weight: 600; padding: 0 10px; color: #fff; }
.savest { margin-inline-start: auto; font-size: 13px; color: #b6c1dd; } .savest.saved { color: var(--mint); } .savest.failed, .savest.blocked { color: #ffb4ae; font-weight: 600; }
main { padding: 18px 24px 70px; max-width: 1540px; margin: 0 auto; }

/* ---- tabs */
.tabs { display: flex; gap: 4px 6px; align-items: flex-end; margin-bottom: 14px; flex-wrap: wrap; }
.tab { border: 1px solid transparent; padding: 8px 14px; border-radius: var(--r-s); cursor: pointer; display: flex; gap: 8px; align-items: center; color: var(--muted); user-select: none; }
.tab:hover { background: #e7ebf3; color: var(--ink); }
.tab.on { background: var(--panel); border-color: var(--line); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.tab .dotc { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.tab .x { color: #9aa4b8; font-size: 12px; opacity: 0; transition: opacity .12s; padding: 0 2px; } .tab:hover .x, .tab.on .x, .tab:focus-within .x { opacity: 1; } .tab .x:hover { color: var(--bad); }
.tab.add { color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.2; padding: 6px 13px; }
a.tab.rep { text-decoration: none; color: var(--accent); border-color: var(--accent-line); background: var(--panel); font-weight: 600; } a.tab.rep:hover { background: var(--accent-soft); color: var(--accent-d); }
.tabs .sep { width: 1px; align-self: stretch; background: var(--line); margin: 4px 6px; }

/* ---- panels, fields, buttons */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin: 0 0 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.between { justify-content: space-between; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--input); border-radius: var(--r-s); padding: 7px 10px; min-width: 0; min-height: 38px; }
.field input:hover, .field select:hover { border-color: #c5cddd; }
.field input:disabled { background: none; border-color: transparent; padding-inline: 0; font-weight: 600; }
.field.small { min-width: 0; } .field.small input { width: 112px; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 8px; }
input.num { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--muted); } p.note { margin: 8px 0; max-width: 110ch; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.btn { border: 1px solid var(--line); background: var(--panel); padding: 7px 14px; border-radius: var(--r-s); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; }
.btn:hover { border-color: var(--accent); color: var(--accent-d); } .btn svg { width: 17px; height: 17px; flex: none; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; } .btn.primary:hover { background: var(--accent-d); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.mini { padding: 1px 10px; font-size: 13px; min-height: 0; }
.chk { display: inline-flex; gap: 7px; align-items: center; } input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.seg { display: inline-flex; background: #e9edf4; border-radius: var(--r-s); padding: 3px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 7px; cursor: pointer; color: var(--muted); } .seg button.on { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgb(15 27 61 / .14); }
summary { cursor: pointer; font-weight: 600; }
.warn { color: var(--warn); } .bad, .badtxt { color: var(--bad); } .good { color: var(--good); font-weight: 600; }

/* ---- key figures: stay in sight while typing */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 12px; margin-bottom: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow); }
.card .k { font-size: 13px; color: var(--muted); } .card .v { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; } .card .s { font-size: 12.5px; color: var(--muted); }
.cards.kpibar { gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 66px; z-index: 8; grid-template-columns: repeat(6, 1fr); }
.kpibar .card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 11px 18px; border-inline-start: 1px solid var(--line-2); min-width: 0; } .kpibar .card:first-child { border: 0; }
.kpibar .card .v { font-size: 20px; } .kpibar .card.main .v { color: var(--accent); font-size: 23px; }
.split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 4px 0 8px; } .split i { display: block; min-width: 3px; }
.splitkey { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--muted); } .splitkey span { display: inline-flex; gap: 6px; align-items: center; } .splitkey i { width: 10px; height: 10px; border-radius: 3px; } .splitkey b { color: var(--ink); font-weight: 600; }

/* ---- track tables */
.tablewrap { overflow-x: auto; }
table.tracks { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1160px; }
table.tracks th { font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: right; padding: 6px 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: bottom; }
table.tracks td { padding: 5px 3px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.tracks tbody tr:not(.flagrow):hover td { background: #fafbfd; }
table.tracks th.out, table.tracks td.out, table.tracks tbody tr:hover td.out { background: var(--accent-soft); }
table.tracks th.out { border-start-start-radius: 8px; border-start-end-radius: 8px; }
table.tracks td input, table.tracks td select { width: 100%; border: 1px solid var(--line); background: var(--input); border-radius: 8px; padding: 6px 8px; min-height: 36px; }
table.tracks td input:hover:enabled, table.tracks td select:hover { border-color: #c0c9da; }
table.tracks td input:focus, table.tracks td select:focus { background: #fff; border-color: var(--accent); outline: 2px solid rgb(11 122 91 / .18); outline-offset: 0; }
table.tracks td input:disabled { background: none; border-color: transparent; color: transparent; } table.tracks td input:disabled::placeholder { color: transparent; } table.tracks td input[type=date]:disabled::-webkit-calendar-picker-indicator, table.tracks td input[type=date]:disabled::-webkit-datetime-edit { opacity: 0; }
table.tracks td input.ro:disabled { color: var(--muted); }
table.tracks td.out { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; padding-inline: 10px; }
table.tracks tfoot td { border-bottom: 0; padding-top: 10px; }
table.tracks td.idx { color: var(--muted); width: 26px; text-align: center; font-size: 13px; }
table.tracks td select { min-width: 92px; } table.tracks td:nth-child(2) select { min-width: 186px; }
.del { border: 0; background: none; color: #9aa4b8; cursor: pointer; font-size: 14px; padding: 6px 8px; border-radius: 7px; } .del:hover { color: var(--bad); background: var(--bad-bg); }
.computed { font-size: 13px; color: var(--muted); padding-inline: 6px; font-variant-numeric: tabular-nums; }
.auto { font-size: 11.5px; color: var(--good); white-space: nowrap; padding-top: 2px; } .auto.est { color: var(--warn); }
input[data-f="anchorValue"]::placeholder { color: var(--ink); opacity: .85; }
table.tracks.cur { min-width: 1230px; } table.tracks.cur th { white-space: normal; line-height: 1.25; } table.tracks.cur td select, table.tracks.cur td:nth-child(2) select { min-width: 84px; } table.tracks.cur td input { padding-inline: 6px; } table.tracks.cur input[type=date] { min-width: 122px; max-width: 128px; font-size: 13.5px; } table.tracks.cur input.num { min-width: 58px; } table.tracks.cur td.wide input { min-width: 92px; }

/* ---- result tables */
table.grid { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
table.grid th, table.grid td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: right; } table.grid thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; border-bottom-color: var(--line); } table.grid tbody tr:hover td, table.grid tbody tr:hover th { background: #fafbfd; } table.grid tfoot td { border-bottom: 0; font-weight: 600; }
table.cmp th[scope=row] { font-weight: 600; font-size: 14.5px; color: var(--ink); min-width: 150px; } table.cmp td, table.cmp thead th { white-space: nowrap; }
table.cmp tr.ref td, table.cmp tr.ref th, table.cmp tbody tr.ref:hover td, table.cmp tbody tr.ref:hover th { background: #eef1f8; }
.diff { display: block; font-size: 12.5px; color: var(--muted); } .duel .diff { font-size: 14.5px; font-weight: 600; } .diff.better { color: var(--good); } .diff.worse { color: var(--bad); }
td.win { background: var(--accent-soft); font-weight: 700; }
.badge { display: inline-block; margin-inline-start: 6px; padding: 1px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--good); font-size: 12px; font-weight: 600; white-space: nowrap; } .badge.plain { background: none; color: var(--muted); border: 1px solid var(--line); }
table.fees td:nth-child(2) { white-space: normal; min-width: 150px; }

/* ---- charts */
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 16px; margin-bottom: 16px; } .charts .panel { margin: 0; min-width: 0; }
.chart { margin: 0; } .chart figcaption { font-weight: 700; margin-bottom: 2px; }
.plot { position: relative; direction: ltr; } .plot svg { display: block; width: 100%; height: auto; } .plot svg:focus, .col:focus { outline: none; } .plot svg:focus-visible { outline: 2px solid var(--accent); } .col:focus-visible path { opacity: .7; }
.gridline { stroke: #e9ecf2; } .base { stroke: #aab2c2; } .cross { stroke: #8a94a8; } .tick { font: 12px 'Assistant', sans-serif; fill: var(--muted); } .dot { stroke: var(--panel); stroke-width: 2; } .col:hover path { opacity: .8; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin: 2px 0 4px; } .lg { display: inline-flex; align-items: center; gap: 6px; } .lg i.rect { width: 10px; height: 10px; border-radius: 2px; } .lg i.line { width: 16px; height: 2px; }
.tip { position: absolute; top: 8px; direction: rtl; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-s); padding: 7px 10px; box-shadow: 0 6px 20px rgb(15 27 61 / .16); pointer-events: none; font-size: 13px; white-space: nowrap; z-index: 2; } .tip[hidden] { display: none; } .tip-h { color: var(--muted); font-size: 12px; } .tip-r { display: flex; align-items: center; gap: 7px; } .tip-r i { width: 14px; height: 2px; } .tip-r span { color: var(--muted); }

/* ---- home */
.hello { margin: 26px 0 20px; } .hello h1 { font-size: 28px; margin: 0 0 4px; } .hello p { margin: 0; color: var(--muted); font-size: 16px; }
.home { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.home .card { padding: 26px; cursor: pointer; text-align: start; display: grid; gap: 8px; align-content: start; transition: border-color .12s, transform .12s; } .home .card:hover { border-color: var(--accent); transform: translateY(-2px); }
.home .card h3 { margin: 4px 0 0; font-size: 20px; } .home .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; } .home .ico svg { width: 25px; height: 25px; } .home .st { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink); }
.strip { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; margin-top: 18px; } .strip b { font-size: 17px; font-variant-numeric: tabular-nums; }

/* ---- documents */
td.flag input, td.flag select { background: var(--warn-bg) !important; border-color: #dd9f1c !important; } td.flag .computed { background: var(--warn-bg); }
.flagrow td { background: #fffcf4; font-size: 13px; } .fchip { display: inline-block; margin-inline-end: 18px; color: var(--warn); }
.import { border: 1px solid var(--accent-line); background: #f2faf6; border-radius: 11px; padding: 11px 14px; margin-bottom: 14px; } .import.wait { border-color: var(--warn-line); background: var(--warn-bg); } .import ul { margin: 6px 0 0; padding-inline-start: 18px; }
dialog.up { border: 0; border-radius: 16px; padding: 24px 26px; max-width: 440px; width: calc(100vw - 48px); font: inherit; color: var(--ink); box-shadow: 0 20px 60px rgb(15 27 61 / .3); } dialog.up::backdrop { background: rgb(15 27 61 / .45); } dialog.up h3 { margin: 0 0 8px; } dialog.up progress { width: 100%; accent-color: var(--accent); } dialog.up.wide { max-width: 760px; } table.mkt td { vertical-align: top; white-space: normal; }
.mk { border-radius: 11px; padding: 9px 14px; margin-bottom: 12px; cursor: pointer; } .mk.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid #f2bcb8; } .mk.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); }
.toast { position: fixed; inset-block-end: 22px; inset-inline-start: 50%; transform: translateX(50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 34px rgb(15 27 61 / .35); z-index: 60; } .toast button { border: 0; background: none; color: var(--mint); font-weight: 700; cursor: pointer; padding: 4px 6px; }
body.dropping::after { content: 'שחרר כאן את המסמך'; position: fixed; inset: 14px; border: 3px dashed var(--mint); border-radius: 20px; background: rgb(15 27 61 / .78); color: #fff; font-size: 26px; font-weight: 700; display: grid; place-items: center; z-index: 80; pointer-events: none; }

/* ---- site */
.login { max-width: 400px; margin: 56px auto; display: grid; gap: 14px; padding: 28px; } .login .field input { width: 100%; }
table.cases td, table.cases th { text-align: right; }

@media (max-width: 1100px) { .cards.kpibar { grid-template-columns: repeat(3, 1fr); position: static; } .kpibar .card { border: 0; } }
@media (max-width: 760px) {
  main { padding: 14px 16px 60px; } .top { flex-wrap: wrap; gap: 4px 14px; padding: 8px 16px; position: static; } .brand span { display: none; } .savest { margin: 0; }
  .tabs { gap: 4px; } .tab { padding: 7px 10px; } .tabs .sep { display: none; } .tabs .field { margin-inline-start: 0 !important; flex: 1 1 100%; } .tab .x { opacity: 1; }
  .panel { padding: 14px; } .cards { grid-template-columns: 1fr 1fr; } .cards.kpibar { grid-template-columns: 1fr 1fr; } .kpibar .card { padding: 9px 14px; } .card .v, .kpibar .card .v { font-size: 18px; } .hello h1 { font-size: 23px; }
  /* every track becomes a card: label over value, two in a row */
  table.tracks, table.tracks.cur { min-width: 0; } table.tracks thead { display: none; } table.tracks, table.tracks tbody, table.tracks tfoot { display: block; }
  table.tracks tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; position: relative; } table.tracks tr.flagrow { display: block; margin-top: -8px; background: #fffcf4; }
  table.tracks td { display: block; border: 0; padding: 0; min-width: 0; } table.tracks td[data-l]::before { content: attr(data-l); display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; } table.tracks td.wide2 { grid-column: 1 / -1; padding-inline-end: 34px; }
  table.tracks td.idx { display: none; } table.tracks td.off { display: none; } table.tracks td.rm { position: absolute; inset-block-start: 8px; inset-inline-end: 6px; } table.tracks td.out { border-radius: 8px; padding: 6px 10px; } table.tracks td:nth-child(2) select { min-width: 0; } table.tracks tfoot td:empty { display: none; } table.tracks.cur input[type=date] { max-width: none; width: 100%; }
}
.import input { width: 100%; border: 1px solid var(--warn-line); border-radius: var(--r-s); padding: 7px 10px; background: #fff; } .row + .row { margin-top: 12px; } .login .btn { width: 100%; }
.help { max-width: 900px; } .help li { margin: 5px 0; } .help details { border-top: 1px solid var(--line-2); padding: 10px 0; } .help details > summary { font-size: 16px; } .help .todo { list-style: none; padding: 0; } .help .todo label { display: flex; gap: 9px; align-items: flex-start; padding: 4px 0; } .help .todo input { margin-top: 4px; flex: none; } .help textarea { width: 100%; min-height: 70px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 10px; background: var(--input); resize: vertical; }
