/* Fresh, airy, one confident blue + a sunny highlighter. The business's own brand color replaces --brand inside the app. */
:root {
  --ground: #F4F6FB; --surface: #FFFFFF; --surface-2: #F1F4FA; --ink: #141B2D; --muted: #5C6478; --wm: #1F3F66; --line: #E2E7F0;
  --pine: #2A5CFF; --pine-soft: #E7EEFF; --amber: #F2A900; --red: #E5484D; --green: #12A37F;
  --sun: #FFD84D; --mint: #DDF6EE; --coral: #FFE4DE; --lilac: #ECE6FF; --sky: #E3F1FF;
  --brand: #2A5CFF; --brand-on: #FFFFFF; --brand-soft: #E7EEFF;
  --shadow: 0 10px 30px -18px rgba(20, 27, 45, .28);
  --display: "Rubik", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --body: "Rubik", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --mono: "Rubik", "Arial Hebrew", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0E1220; --surface: #171C2C; --surface-2: #1E2436; --ink: #ECEFF7; --muted: #A3AAC0; --wm: #BFD3EC; --line: #2A3148;
    --pine: #7C9BFF; --pine-soft: #222B4A; --red: #FF7A7E; --green: #4FD1A5; --sun: #FFD84D;
    --mint: #173A31; --coral: #3D2522; --lilac: #2B2548; --sky: #1B2E48; --shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--ink); font: 16px/1.55 var(--body); direction: rtl; padding-inline: 16px; padding-block: 24px 64px; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

.shell { max-width: 560px; margin-inline: auto; display: grid; gap: 20px; }
.shell.wide { max-width: 980px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wordmark { font-family: var(--display); font-size: 24px; direction: rtl; }
.wordmark span { color: var(--pine); }
.testbadge { font-size: 12px; font-weight: 600; color: var(--amber); border: 1.5px solid var(--amber); border-radius: 999px; padding: 1px 10px; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 4px; }

h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 6vw, 46px); line-height: 1.15; margin: 8px 0 0; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; text-wrap: balance; }
.lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 60ch; }
.card { background: var(--surface); border-radius: 20px; padding: 20px; display: grid; gap: 14px; }
.muted { color: var(--muted); font-size: 14px; }
.error { color: var(--red); font-size: 14px; font-weight: 600; }
.steps { display: flex; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.steps b { color: var(--ink); }

label.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=number], textarea, select {
  border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 11px 12px; width: 100%; font-weight: 400;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.code { font-family: var(--mono); font-size: 26px; letter-spacing: .3em; text-align: center; direction: ltr; }

.primary { border: 0; border-radius: 14px; padding: 14px 18px; background: var(--brand); color: var(--brand-on); font-weight: 700; font-size: 17px; }
.primary:disabled { opacity: .55; cursor: progress; }
.ghost { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: var(--surface); font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.plan { background: var(--surface); border-radius: 18px; padding: 18px; display: grid; gap: 8px; align-content: start; border: 2px solid transparent; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 700; justify-self: start; }
.plan ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 2px; }
.note { font-size: 12.5px; color: var(--muted); }

.choices { display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface-2); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.choice b { font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1 1 auto; }

.services { display: grid; gap: 8px; }
.svc { display: grid; grid-template-columns: 1fr 96px 110px 42px; gap: 8px; align-items: center; }
.svc .name { font-weight: 600; font-size: 15px; }
.svc.priced .name::before { content: "✓ "; color: var(--green); }
.rowx { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; height: 42px; cursor: pointer; font-size: 15px; }
.rowx:hover { border-color: var(--red); background: #FFF3F0; }
.find { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.find input { flex: 1 1 200px; }
/* A service name is long ("החלפת מצוף מילוי חשמלי במאגר תחתון") — give it the full row before it gets clipped. */
@media (max-width: 620px) { .svc { grid-template-columns: 1fr 1fr 42px; } .svc [data-k=name] { grid-column: 1 / -1; } }

.logo-drop { display: flex; gap: 14px; align-items: center; }
.logo-box { width: 84px; height: 84px; border-radius: 18px; background: #FFFFFF; border: 1.5px dashed var(--muted); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.upload { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface); font-weight: 600; cursor: pointer; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatches { display: flex; gap: 6px; align-items: center; }
.swatches i { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); }

/* Ready screen: the business's own world */
.bizhead { background: var(--brand); color: var(--brand-on); border-radius: 20px; padding: 20px; display: flex; gap: 14px; align-items: center; }
.bizhead .lg { width: 56px; height: 56px; border-radius: 14px; background: #FFFFFF; padding: 5px; flex: none; display: grid; place-items: center; font-family: var(--display); color: var(--brand); font-size: 26px; }
.bizhead .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bizhead b { font-size: 20px; display: block; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.dock { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 10px; }
.dock button { border: 0; border-radius: 16px; padding: 12px 6px; background: var(--surface-2); font-weight: 700; font-size: 15px; }
.dock .talk { background: var(--brand); color: var(--brand-on); font-size: 17px; }
.status { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--pine-soft); color: var(--pine); }

.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--pine); margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }

.paybox { background: #FFFFFF; color: #13241F; border-radius: 20px; padding: 22px; display: grid; gap: 14px; }
.paybox .muted { color: #56655F; }
.paybox input { background: #F4F6F8; border-color: #D5DAE0; color: #13241F; }
.paybox .primary { background: #1E4A3F; color: #FFFFFF; }
.paybox .ghost { background: #FFFFFF; color: #13241F; border-color: #D5DAE0; }
.paybox .total { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; border-top: 1.5px solid #13241F; padding-top: 10px; }

.trialcard { border: 2px solid var(--pine); }
.trialbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1.5px solid var(--brand); }
.trialbar .primary { flex: 0 0 auto; }
.plan.featured { border-color: var(--pine); }
.plan .status { justify-self: start; }

/* Assistant */
.assistant { border: 1.5px solid var(--brand); }
.chatlog { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px; }
.bubble { padding: 9px 13px; border-radius: 16px; max-width: 88%; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.bubble.me { justify-self: start; background: var(--brand); color: var(--brand-on); border-end-start-radius: 4px; }
.bubble.ai { justify-self: end; background: var(--surface-2); border-end-end-radius: 4px; }
.bubble.pending { color: var(--muted); }
.bubble.err { color: var(--red); }
.bubble.approval { justify-self: end; background: var(--pine-soft); color: var(--pine); font-size: 13.5px; font-weight: 600; }
.askrow { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.askrow .primary { padding: 10px 16px; font-size: 15px; }
.mic { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 0 14px; font-size: 20px; }
.mic.live { border-color: var(--red); }
.speakopt { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }

/* Customer quote page */
.qlines { display: grid; gap: 0; }
.qline { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.qline small { display: block; color: var(--muted); font-size: 12.5px; }
.qline.sub { color: var(--muted); font-size: 14px; }
.qline.total { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; font-size: 19px; }
.primary.big { padding: 17px; font-size: 18px; }
.approvedbox { background: var(--brand-soft); color: var(--ink); border: 1.5px solid var(--brand); border-radius: 16px; padding: 16px; text-align: center; font-weight: 700; }

/* ===== App shell ===== */
.shell.app { max-width: 620px; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); gap: 14px; }
.apptop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.brandmini { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.brandmini .lg { width: 38px; height: 38px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--line); display: grid; place-items: center; padding: 3px; flex: none; font-family: var(--display); color: var(--brand); }
.brandmini .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brandmini b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trialchip { font-size: 12.5px; font-weight: 600; color: var(--pine); background: var(--pine-soft); border-radius: 999px; padding: 3px 10px; text-decoration: none; white-space: nowrap; }
.testline { margin: -6px 0 0; font-size: 12px; color: var(--amber); }
.appbody { display: grid; gap: 14px; }
.hi { font-size: clamp(24px, 6vw, 30px); margin: 4px 0 0; }
.small { font-size: 13px; }
a.primary, a.ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
a.ghost { color: var(--ink); }

.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  background: var(--surface); border-top: 1px solid var(--line); padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
.tab { position: relative; display: grid; justify-items: center; gap: 1px; text-decoration: none; color: var(--muted); font-size: 20px; padding: 4px 0; }
.tab small { font-size: 11.5px; font-weight: 600; }
.tab.on { color: var(--ink); }
.tab.on small { color: var(--brand-text, var(--brand)); }
.tab.talk span { width: 52px; height: 52px; margin-top: -22px; border-radius: 50%; background: var(--brand); color: var(--brand-on); display: grid; place-items: center; font-size: 24px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); }
.tab.talk small { color: var(--ink); }
.badge { position: absolute; top: 0; inset-inline-start: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 999px; background: var(--red); color: #FFFFFF; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }

.card.now { border: 1.5px solid var(--brand); }
.needs { display: grid; gap: 0; }
.need { display: grid; gap: 2px; text-align: right; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 14px 10px 0; position: relative; }
.need:first-child { border-top: 0; }
.need::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: -2px; width: 4px; border-radius: 4px; background: var(--muted); }
.need.sev-red::before { background: var(--red); } .need.sev-orange::before { background: #D07A22; } .need.sev-yellow::before { background: #B8921C; } .need.sev-green::before { background: var(--green); }
.need { padding-inline-start: 14px; }
.need .t { font-weight: 600; font-size: 15px; }
.need .s { color: var(--muted); font-size: 13.5px; }
.quick { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.today div { display: flex; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); }
.today div:first-child { border-top: 0; }

.micbig { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 18px; padding: 18px; background: var(--brand); color: var(--brand-on); font-size: 20px; }
.micbig.live { background: var(--red); color: #FFFFFF; }
.lines { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; margin: 0; }
.lines legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.lineRow { display: grid; grid-template-columns: 1fr 80px auto; gap: 8px; align-items: center; }
.lineRow select, .lineRow input { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 9px; min-width: 0; }
input[type=tel], input[type=search] { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 11px 12px; width: 100%; }
.steplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steplist li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.checkbox { background: color-mix(in srgb, #B8921C 14%, var(--surface)); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.checkbox ul { margin: 4px 0 0; padding-inline-start: 18px; }
.wa { background: #1FA855; color: #FFFFFF; }
.approval h2 { font-size: 19px; }
.crow { display: grid; gap: 1px; padding: 12px 14px; background: var(--surface); border-radius: 14px; text-decoration: none; color: inherit; }
.clist { display: grid; gap: 8px; }
.hist { display: grid; gap: 2px; padding: 8px 0; border-top: 1px dashed var(--line); }
.report summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.report h4 { margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.report ul { margin: 0; padding-inline-start: 18px; }

/* Marketing */
.iconbtn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.iconbtn.on { border-color: var(--brand); }
.card.promo { text-decoration: none; color: inherit; border: 1.5px dashed var(--brand); gap: 4px; }
.chips .chip:disabled { opacity: .5; }
.post { gap: 10px; }
.postmeta { display: flex; justify-content: space-between; align-items: center; }
.postimg { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; display: block; }
.posttext { margin: 0; font-size: 15.5px; line-height: 1.6; white-space: pre-wrap; }
.sharerow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sharerow .primary, .sharerow .ghost { padding: 10px 14px; font-size: 14.5px; }

/* Circumstances, attachments, drafts */
.circ summary { cursor: pointer; font-weight: 700; }
.circ[open] { gap: 10px; }
.tag { font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--pine-soft); color: var(--pine); border-radius: 999px; padding: 1px 8px; }
.tag.warn { background: color-mix(in srgb, #B8921C 18%, var(--surface)); color: var(--ink); }
.qline.rule { color: var(--ink); }
.filechip { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 8px; }
.filechip img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.filechip .pdf { width: 56px; height: 56px; border-radius: 8px; background: var(--red); color: #FFFFFF; display: grid; place-items: center; font-weight: 700; }
.analysis { display: grid; gap: 8px; background: var(--surface-2); border-radius: 14px; padding: 12px; }
.analysis p { margin: 0; }
.analysis ul { margin: 0; padding-inline-start: 18px; }
.draftbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px dashed var(--brand); }
.rulerow { display: grid; gap: 6px; padding: 10px 0; border-top: 1px dashed var(--line); }
.ruleinputs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ruleinputs input, .ruleinputs select { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 8px; min-width: 0; }
.ruleinputs input[type=number] { width: 90px; }
.ruleinputs input[type=text] { flex: 1 1 140px; }
.attachlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.attachlist a { display: grid; gap: 4px; text-decoration: none; color: inherit; font-size: 12px; }
.attachlist img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* Day one: hero, readiness, start options, tiles, imports */
.hero { display: flex; align-items: center; gap: 14px; background: var(--brand); color: var(--brand-on); border-radius: 22px; padding: 18px; }
.hero .lg { width: 60px; height: 60px; border-radius: 16px; background: #FFFFFF; display: grid; place-items: center; padding: 5px; flex: none; font-family: var(--display); font-size: 28px; color: var(--brand); }
.hero .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.hero .small { opacity: .9; }
.card.ready { border: 1.5px solid var(--brand); }
.readyhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.readyhead .big { font-size: 26px; font-weight: 700; color: var(--brand-text, var(--brand)); }
.bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.checklist { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.checklist a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.checklist .done a { color: var(--muted); text-decoration: line-through; }
.startcard { gap: 8px; }
.startopt { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; text-align: right; background: var(--surface-2); border: 0; border-radius: 14px; padding: 12px; color: inherit; text-decoration: none; font-size: 22px; }
.startopt b { display: block; font-size: 15.5px; }
.startopt small { display: block; font-size: 13px; color: var(--muted); }
.demobar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: color-mix(in srgb, #B8921C 14%, var(--surface)); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--surface); border-radius: 16px; padding: 12px; display: grid; justify-items: center; gap: 2px; text-decoration: none; color: inherit; }
.tile .num { font-size: 26px; font-weight: 700; }
.tile small { color: var(--muted); font-size: 12.5px; }
.card.tip { gap: 6px; }
.card.tip p { margin: 0; }
.importcard { gap: 8px; }
.paste summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.paste textarea { min-height: 110px; }
.pasterows { display: grid; gap: 6px; margin: 8px 0; }
.pasterow { display: grid; grid-template-columns: auto 1fr 84px 70px auto; gap: 6px; align-items: center; }
.pasterow input[type=text], .pasterow input[type=number] { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 7px; min-width: 0; }
@media (max-width: 460px) { .pasterow { grid-template-columns: auto 1fr 76px; } .pasterow input[id^=pr-unit], .pasterow label { grid-column: 2 / -1; } }

/* ===== Refresh: airy cards, soft shadows, friendly type ===== */
h1, h2, .hi { font-weight: 800; letter-spacing: -0.01em; }
h2 { font-weight: 700; font-size: 21px; }
.card, .plan, .tile, .crow { box-shadow: var(--shadow); border: 1px solid var(--line); }
.card { border-radius: 22px; }
.num { font-weight: 600; }
.primary { border-radius: 999px; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.ghost { border-radius: 999px; }
.primary:hover { filter: brightness(1.06); }
.mark { background: linear-gradient(transparent 55%, var(--sun) 55%, var(--sun) 92%, transparent 92%); padding: 0 .12em; }
.wordmark span { color: var(--brand); }
.tabbar { box-shadow: 0 -8px 30px -20px rgba(20, 27, 45, .35); border-top: 0; }
.tiles .tile:nth-child(1) { background: var(--sky); } .tiles .tile:nth-child(2) { background: var(--coral); } .tiles .tile:nth-child(3) { background: var(--mint); }
.tile { border: 0; }
.startopt > span:first-child { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.startopt:nth-of-type(1) > span:first-child { background: var(--sky); } .startopt:nth-of-type(2) > span:first-child { background: var(--sun); }
.startopt:nth-of-type(3) > span:first-child { background: var(--coral); } .startopt:nth-of-type(4) > span:first-child { background: var(--mint); }
.startopt { grid-template-columns: 44px 1fr; background: var(--surface); border: 1px solid var(--line); }
.hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #7B61FF)); box-shadow: var(--shadow); }
.status { background: var(--pine-soft); color: var(--pine); }
.card.tip { background: linear-gradient(160deg, color-mix(in srgb, var(--sun) 28%, var(--surface)), var(--surface) 60%); }

/* ===== Landing ===== */
.lp { display: grid; gap: 56px; }
.lp-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin: 0; }
.lp-hero .lead { font-size: 19px; margin-top: 14px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-cta .primary, .lp-cta .ghost { padding: 15px 26px; font-size: 17px; text-decoration: none; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.lp-trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.lp-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.lp-blob { position: absolute; inset: 8% 6%; border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(135deg, var(--sky), var(--lilac)); }
.lp-phone { position: relative; width: 250px; height: 500px; border-radius: 36px; background: #0F1422; padding: 10px; box-shadow: 0 30px 60px -25px rgba(20, 27, 45, .55); }
.lp-screen { height: 100%; border-radius: 28px; background: #F4F6FB; overflow: hidden; display: grid; align-content: start; gap: 8px; padding: 12px 10px; color: #141B2D; }
.lp-screen .m-hero { background: linear-gradient(135deg, #1F3F66, #2F6690); color: #FFFFFF; border-radius: 16px; padding: 12px; font-size: 12px; }
.lp-screen .m-hero b { display: block; font-size: 16px; }
.lp-screen .m-card { background: #FFFFFF; border-radius: 12px; padding: 9px 10px; font-size: 11.5px; box-shadow: 0 6px 14px -10px rgba(20,27,45,.3); display: grid; gap: 2px; }
.lp-screen .m-card b { font-size: 12.5px; }
.lp-screen .m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-screen .m-tiles span { border-radius: 10px; padding: 7px 4px; text-align: center; font-size: 10px; font-weight: 600; }
.lp-screen .m-tiles b { display: block; font-size: 16px; }
.lp-screen .m-mic { justify-self: center; width: 46px; height: 46px; border-radius: 50%; background: #1F3F66; color: #FFF; display: grid; place-items: center; font-size: 20px; margin-top: 6px; }
.lp-float { position: absolute; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.lp-float i { font-style: normal; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.lp-float.f1 { top: 12%; inset-inline-start: 0; } .lp-float.f1 i { background: var(--mint); }
.lp-float.f2 { top: 46%; inset-inline-end: -2%; } .lp-float.f2 i { background: var(--sun); }
.lp-float.f3 { bottom: 10%; inset-inline-start: 4%; } .lp-float.f3 i { background: var(--coral); }
@media (prefers-reduced-motion: no-preference) {
  .lp-float { animation: floaty 5s ease-in-out infinite; } .lp-float.f2 { animation-delay: -1.6s; } .lp-float.f3 { animation-delay: -3.2s; }
  @keyframes floaty { 50% { transform: translateY(-8px); } }
}
.lp-section { display: grid; gap: 22px; }
.lp-section > h2 { font-size: clamp(26px, 3.6vw, 38px); text-align: center; margin: 0; }
.lp-section > .lead { text-align: center; margin: -8px auto 0; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.lp-step .n { width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: var(--brand-on); display: grid; place-items: center; font-weight: 800; }
.lp-step b { font-size: 18px; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-feature { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.lp-feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.lp-feature b { font-size: 18px; }
.lp-feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; color: var(--muted); font-size: 14.5px; }
.lp-feature li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.lp-feature .new { font-size: 12px; font-weight: 700; background: var(--sun); color: #141B2D; border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; vertical-align: middle; }
.lp-founders { text-align: center; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #7B61FF)); color: #FFFFFF; border-radius: 28px; padding: 34px 22px; display: grid; gap: 12px; justify-items: center; }
.lp-founders h2 { color: #FFFFFF; font-size: clamp(24px, 3.4vw, 34px); }
.lp-founders .primary { background: #FFFFFF; color: #141B2D; box-shadow: none; padding: 15px 28px; text-decoration: none; }
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; text-align: center; }
  .lp-cta, .lp-trust { justify-content: center; }
  .lp-hero .lead { margin-inline: auto; }
  .lp-visual { min-height: 480px; }
  .lp-steps, .lp-features { grid-template-columns: 1fr; }
  .lp-float { font-size: 12.5px; padding: 8px 10px; }
  .lp-float.f2 { inset-inline-end: 0; }
}

.shell.wide { max-width: 1120px; }
.chip.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.lp-tabs { justify-content: center; }
.lp-tabs .chip { font-size: 15px; padding: 8px 16px; }
.lp-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.lp-said, .lp-result { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.lp-said p { margin: 0; font-size: 18px; line-height: 1.6; }
.lp-said { background: linear-gradient(160deg, var(--sky), var(--surface) 70%); }
.lp-result { background: linear-gradient(160deg, var(--mint), var(--surface) 70%); }
.lp-result div { display: grid; border-top: 1px dashed var(--line); padding-top: 8px; }
.lp-result small { color: var(--muted); font-size: 12.5px; }
.who { font-weight: 700; font-size: 14px; color: var(--muted); }
.lp-arrow { font-size: 34px; color: var(--brand); font-weight: 800; }
.lp-day { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; width: 100%; }
.lp-day > div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.lp-day .num { font-size: 18px; color: var(--brand); font-weight: 800; }
.lp-day p { margin: 0; color: var(--muted); }
.lp-day b { display: block; color: var(--ink); font-size: 17px; }
.lp-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin-inline: auto; width: 100%; }
.lp-vs > div { border-radius: 22px; padding: 20px; display: grid; gap: 8px; }
.lp-vs b { font-size: 20px; }
.lp-vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; }
.lp-vs .without { background: var(--surface-2); color: var(--muted); }
.lp-vs .without li::before { content: "✕  "; color: var(--red); font-weight: 700; }
.lp-vs .with { background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow); }
.lp-vs .with li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.lp-faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; width: 100%; }
.lp-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.lp-faq p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .lp-demo { grid-template-columns: 1fr; }
  .lp-arrow { transform: rotate(-90deg); justify-self: center; }
  .lp-vs { grid-template-columns: 1fr; }
}

/* In-app tour */
.tour { border: 2px solid var(--brand); background: linear-gradient(160deg, var(--brand-soft), var(--surface) 65%); }
.tour .slide { display: grid; gap: 6px; }
.tour .slide .big { font-size: 40px; }
.tour .dots { display: flex; gap: 6px; justify-content: center; }
.tour .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.tour .dots i.on { background: var(--brand); width: 22px; border-radius: 999px; }
.screenhint { margin: -6px 0 0; color: var(--muted); font-size: 14.5px; }

/* Growth quick wins */
.trialvalue { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); font-size: 14px; }
.trialvalue span { color: var(--muted); }
.emptystate { justify-items: center; text-align: center; }
.emptystate .big { font-size: 42px; }
.emptystate p { margin: 0; }
.celebrate { position: fixed; inset: 0; z-index: 50; background: rgba(20, 27, 45, .45); display: grid; place-items: center; padding: 20px; }
.celebrate-card { position: relative; overflow: hidden; background: var(--surface); border-radius: 26px; padding: 28px 22px; max-width: 380px; display: grid; gap: 10px; text-align: center; justify-items: center; box-shadow: var(--shadow); }
.celebrate-card .big { font-size: 54px; }
.celebrate-card p { margin: 0; }
.confetti i { position: absolute; top: -12px; left: calc(var(--i) * 5.5%); width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 40), 90%, 60%); }
@media (prefers-reduced-motion: no-preference) {
  .confetti i { animation: fall 1.8s ease-in forwards; animation-delay: calc(var(--i) * 45ms); }
  @keyframes fall { to { transform: translateY(460px) rotate(540deg); opacity: 0; } }
}

/* Differentiator chip + value meter + quiet */
.diffchip { display: flex; align-items: center; gap: 8px; width: 100%; text-align: right; background: linear-gradient(120deg, var(--sun), color-mix(in srgb, var(--sun) 35%, var(--surface))); border: 0; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: #141B2D; box-shadow: var(--shadow); }
.diffchip b { font-weight: 700; flex: 1; }
.diffchip span { font-size: 12.5px; opacity: .75; white-space: nowrap; }
.diffcard { text-align: right; justify-items: stretch; max-width: 420px; }
.diffcard h2 { text-align: right; }
.card.value { text-decoration: none; color: inherit; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vgrid div { background: var(--surface-2); border-radius: 14px; padding: 10px 6px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.vgrid b { font-size: 20px; }
.vgrid small { font-size: 11.5px; color: var(--muted); }
.payback { font-weight: 700; color: var(--green); }
.payback.big { font-size: 18px; margin: 0; }
@media (max-width: 420px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }

/* "למה לבחור בנו" chip */
.diffchip { justify-content: flex-start; }
.diffchip .q { font-weight: 800; white-space: nowrap; }
.diffchip .spark { animation: none; }
.diffchip .more { font-weight: 800; opacity: .6; }
@media (prefers-reduced-motion: no-preference) { .diffchip .spark { animation: sparkle 2.4s ease-in-out infinite; } @keyframes sparkle { 0%, 70%, 100% { transform: scale(1); opacity: .85; } 80% { transform: scale(1.35); opacity: 1; } } }

/* Explainer */
.explaincard { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; text-align: right; border: 0; }
.explaincard .big { font-size: 34px; }
.explaincard b { display: block; font-size: 17px; }
.explaincard small { display: block; }
.ex-card { background: var(--surface); border-radius: 26px; padding: 18px; max-width: 420px; width: 100%; display: grid; gap: 12px; box-shadow: var(--shadow); }
.ex-bars { display: flex; gap: 4px; }
.ex-bars i { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.ex-bars i.done { background: var(--brand); opacity: .45; }
.ex-bars i.on { background: var(--brand); }
.ex-screen { background: var(--ground); border-radius: 18px; padding: 14px; display: grid; gap: 8px; min-height: 210px; align-content: center; }
.ex-screen .m-hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, #7B61FF)); color: #FFFFFF; border-radius: 14px; padding: 12px; font-size: 13px; }
.ex-screen .m-hero b { display: block; font-size: 17px; }
.ex-screen .m-card { background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 13px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.ex-screen .m-card b { font-size: 14px; }
.ex-screen .m-card span { color: var(--muted); }
.ex-screen .m-card.quote { font-style: italic; }
.ex-screen .m-card.red { border-inline-start: 4px solid var(--red); }
.ex-screen .m-card.orange { border-inline-start: 4px solid #D07A22; }
.ex-screen .m-mic.big { justify-self: center; width: 62px; height: 62px; border-radius: 50%; background: var(--brand); color: #FFFFFF; display: grid; place-items: center; font-size: 28px; }
.ex-screen .m-row { display: flex; gap: 8px; }
.ex-screen .m-btn { flex: 1; text-align: center; background: var(--brand); color: var(--brand-on); border-radius: 999px; padding: 8px; font-size: 13px; font-weight: 700; }
.ex-screen .m-btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.ex-screen .m-brandbar { background: var(--brand); color: #FFFFFF; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.ex-screen .m-brandbar span { display: block; font-weight: 400; font-size: 12px; opacity: .9; }
.ex-screen .m-post { background: linear-gradient(135deg, var(--brand), #7B61FF); color: #FFFFFF; border-radius: 14px; padding: 22px 12px; font-weight: 700; text-align: center; }
.ex-screen .m-post span { display: block; font-weight: 400; font-size: 12px; opacity: .9; margin-top: 8px; }
.ex-card h2 { margin: 0; }
.ex-card p { margin: 0; }
.ex-close { justify-self: center; }
@media (prefers-reduced-motion: no-preference) { .ex-screen > * { animation: rise .35s ease-out both; } .ex-screen > *:nth-child(2) { animation-delay: .1s; } .ex-screen > *:nth-child(3) { animation-delay: .2s; } @keyframes rise { from { opacity: 0; transform: translateY(8px); } } }

/* Money: VAT, profit, expenses (נטע) and collections (גד) */
.vgrid.three { grid-template-columns: repeat(3, 1fr); }
.vatcard .owe .num { color: var(--red); }
.vatcard .back .num { color: var(--green); }
.alert { background: #FFF3F0; border: 1px solid #F3C6BB; color: #8A2B12; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.months { display: grid; gap: 6px; }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; padding: 8px 10px; border-radius: 12px; background: var(--ground); }
.mrow .muted { grid-column: 1; font-size: 12.5px; }
.mrow .num { grid-row: 1 / span 2; grid-column: 2; font-weight: 800; }
.mrow .good { color: var(--green); }
.mrow .bad { color: var(--red); }
.exprow { display: grid; grid-template-columns: 140px 1fr 110px 1fr; gap: 8px; }
.receiptbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.receiptbar .small { flex: 1 1 200px; }
#e-read { display: grid; gap: 8px; margin-bottom: 10px; }
#e-read:empty { display: none; }
.readok { margin: 0; font-size: 14px; color: var(--green); font-weight: 600; }
.check { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.tablewrap { overflow-x: auto; }
.exptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.exptable th { text-align: right; font-size: 12px; color: var(--muted); font-weight: 700; padding: 6px 8px; }
.exptable td { padding: 8px; border-top: 1px solid var(--line); }
.exptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.exptable tr.noinv { background: color-mix(in srgb, var(--amber) 8%, var(--surface)); }
.tagp { background: var(--line); border-radius: 6px; padding: 1px 5px; margin-inline-start: 6px; font-size: 11px; }
.debt { border-inline-start: 5px solid var(--line); }
.debt.lvl1 { border-inline-start-color: var(--sun); }
.debt.lvl2 { border-inline-start-color: #F08A3C; }
.debt.lvl3 { border-inline-start-color: var(--red); }
.row.between { justify-content: space-between; align-items: baseline; }
.debtlist { margin: 6px 0 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.msgbox textarea { width: 100%; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; background: var(--surface); }
@media (max-width: 620px) { .vgrid.three { grid-template-columns: 1fr 1fr; } .exprow { grid-template-columns: 1fr 1fr; } }

/* ---------- the business's letterhead: every document a customer receives ---------- */
.lh { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  border-bottom: 3px solid var(--brand); padding: 16px 4px 12px; margin-bottom: 18px; }
.lh-id { display: flex; gap: 12px; align-items: center; }
.lh-logo { width: 58px; height: 58px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-text, var(--brand));
  flex: none; display: grid; place-items: center; font-family: var(--display); font-size: 26px; overflow: hidden; }
.lh-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lh-id b { font-size: 21px; display: block; line-height: 1.2; }
.lh-tag, .lh-legal { display: block; font-size: 13px; color: var(--muted); }
.lh-contact { display: grid; gap: 2px; text-align: left; font-size: 13px; color: var(--muted); }

.lh-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 28px; padding-top: 12px; }
.lh-sign { display: grid; gap: 2px; min-width: 190px; }
.lh-sign .lh-line { display: block; border-top: 1px solid var(--ink); margin-bottom: 6px; }
.lh-sign span { font-size: 13px; color: var(--muted); }
.lh-stamp { width: 108px; height: 108px; flex: none; border: 3px double var(--brand); border-radius: 50%;
  display: grid; place-content: center; text-align: center; padding: 10px; transform: rotate(-8deg); color: var(--brand-text, var(--brand)); }
.lh-stamp i { font-style: normal; font-weight: 800; font-size: 13px; line-height: 1.2; display: block; }
.lh-stamp em { font-style: normal; font-size: 10px; display: block; margin-top: 4px; }
.lh-stampimg { width: 108px; height: 108px; object-fit: contain; transform: rotate(-8deg); }

.letter { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.lt-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.lt-to { display: grid; gap: 1px; }
.lt-date { text-align: left; display: grid; gap: 1px; }
.lt-title { font-size: 22px; margin: 6px 0 10px; }
.lt-open { margin: 0 0 14px; }
.lt-rows { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.lt-rows td { padding: 9px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lt-rows td:last-child { text-align: left; white-space: nowrap; }
.lt-rows tfoot td { border-top: 2px solid var(--brand); border-bottom: 0; font-size: 17px; }
.lt-sec { margin: 12px 0; }
.lt-sec h2 { font-size: 15px; margin: 0 0 4px; color: var(--brand-text, var(--brand)); }
.lt-sec ul { margin: 0; padding-inline-start: 20px; }
.lt-sec li { margin: 2px 0; }
.lt-close { margin-top: 16px; }

/* Print / save as PDF: the document alone on a clean A4 page, no app furniture around it. */
@media print {
  @page { size: A4; margin: 14mm; }
  html { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  html, body { width: auto; margin: 0; padding: 0; background: #FFF; color: #000; }
  .shell, .shell.app, .shell.wide { max-width: none; width: auto; margin: 0; padding: 0; gap: 0; display: block; }
  .apptop, .testline, .diffchip, .tabbar, .noprint, .trialchip, .iconbtn { display: none !important; }
  .letter, .card, .card.doc { background: #FFF !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
  .muted, .lh-contact, .lh-legal, .lh-tag { color: #444 !important; }
  .lh { padding-top: 0; }
  .lh-logo { background: #FFF; }
  .lh-sign .lh-line { border-top: 1px solid #000; }
  .lh, .lh-foot, .lt-sec, .lt-rows tr { break-inside: avoid; }
  .lt-rows td { border-bottom: 1px solid #DDD; }
  a[href]::after { content: ""; }
}

/* Signing with a finger, and the delivery/read receipt under it. */
.sigwrap { display: grid; gap: 8px; margin: 10px 0; }
.sigpad { width: 100%; height: 150px; background: #FFF; border: 2px dashed var(--line); border-radius: 14px; touch-action: none; cursor: crosshair; }
.lh-sig { display: block; max-height: 56px; max-width: 220px; object-fit: contain; margin-bottom: -6px; }
.lh-signote { font-size: 11px; color: var(--muted); }
.docstate { margin: 10px 0 4px; }
.docstate b { font-size: 16px; }

/* לוח ההתאמה — paid, no tax invoice yet */
.card.reconcile { border: 2px solid #c0392b; background: #fff6f5; }
.card.reconcile h2 { color: #a3261b; }
.recrow { border-top: 1px solid #f0c9c4; padding: .6rem 0; }
.recrow.late b { color: #a3261b; }
.recrow input { flex: 1; min-width: 0; }
@media (prefers-color-scheme: dark) { .card.reconcile { background: #2a1614; border-color: #d9534f; } .card.reconcile h2, .recrow.late b { color: #ff8a80; } }

/* "סרקו ופתחו קריאה" — the customer's intake page, and the owner's sticker */
.intake h1 { margin: 0 0 4px; font-size: 1.4rem; }
.chips.urg { border: 0; padding: 0; margin: 10px 0; }
.chips.urg legend { font-weight: 600; margin-bottom: 6px; }
.chips.urg .chip { cursor: pointer; }
.chips.urg .chip:has(input:checked) { background: var(--brand, var(--ink)); color: var(--brand-on, var(--surface)); border-color: var(--brand, var(--ink)); }
.chips.urg input { position: absolute; opacity: 0; pointer-events: none; }
/* Hidden honeypot. Never push it off-screen with left:-9999px — in RTL that widens the whole page. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.center { text-align: center; }
.qrbox { display: grid; place-items: center; gap: 8px; }
.qrbox .qr svg, .qrbox .qr img { width: 220px; height: 220px; }
.sticker { border: 2px dashed var(--line); border-radius: 16px; padding: 18px; text-align: center; max-width: 360px; margin: 0 auto; background: #fff; color: #111; }
.sticker .lg img { max-height: 56px; max-width: 160px; }
.sticker h2 { margin: 6px 0; font-size: 1.5rem; }
.sticker .qr svg, .sticker .qr img { width: 230px; height: 230px; }
.sticker .ph { font-size: 1.1rem; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.leadrow { border-top: 1px solid var(--line); padding: 10px 0; }
.leadrow.done { opacity: .6; }
.leadrow .urg-emergency { color: #b3261e; font-weight: 700; }
@media print { .sticker { border: 0; max-width: none; } }
/* Logo + the line under it are one lockup: no gap between them, same width, centred. */
.sticker .lock { display: inline-block; margin-bottom: 10px; }
.sticker .lock .lg img { display: block; margin: 0 auto; }
.sticker .ess { font-size: 1.02rem; line-height: 1.25; margin: 2px 0 0; color: var(--brand-text, var(--brand, #111)); letter-spacing: -.2px; }

/* ⭐ reviews */
.stars { display: flex; gap: 6px; justify-content: center; margin: 10px 0 4px; }
.star { font-size: 2.2rem; line-height: 1; background: none; border: 0; padding: 2px 4px; color: #c9ced6; cursor: pointer; }
.star.on { color: #f5a623; }
.starsline { color: #f5a623; letter-spacing: 1px; }
.card.unhappy { border: 2px solid #c0392b; background: #fff6f5; }
.card.unhappy h2 { color: #a3261b; }
.leadrow.low { background: #fff6f5; border-radius: 10px; padding: 8px; }
#ratingHint { text-align: center; }
.card.proof h2 { font-size: 1.05rem; }
.card.proof .quote { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
.card.proof .quote:first-of-type { border-top: 0; padding-top: 0; }
.card.proof blockquote { margin: 4px 0; font-size: .98rem; }

/* site footer — operator line (his ask 30.09: "שיהיה רשום שהשירות מנוהל ע״י קבוצת שלומי") */
.sitefoot { text-align: center; color: var(--muted, #6b7280); font-size: 13px; padding: 28px 16px 20px; }

/* אמינה wordmark — logo direction 1 "סגור" (chosen 30.09): Suez One + orange check as the full stop */
.wordmark { font-family: "Suez One", var(--display); font-size: 28px; color: var(--wm); display: inline-flex; align-items: flex-end; gap: 3px; line-height: 1; }
.wordmark .tick { width: .5em; height: .5em; margin-bottom: .06em; flex: none; }

/* ===== אמינה identity (30.09, his ask: "שאר הפונטים צריכים להתיישר ולהתאים ללוגו") =====
   Headlines take the logo's face (Suez One, one weight only — so no faux-bold), the bright platform blue becomes
   the logo navy, the highlighter becomes the check's amber. Inside the app, --brand is still replaced by the
   business's own color at runtime; this only sets the platform's defaults. */
:root {
  --display: "Suez One", "Rubik", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --pine: #1F3F66; --pine-soft: #E6EDF5; --brand: #1F3F66; --brand-soft: #E6EDF5;
  --amber: #B8711A; --sun: #FFD58A;
}
@media (prefers-color-scheme: dark) {
  :root { --pine: #8FB4E3; --pine-soft: #1C2A3D; --brand: #8FB4E3; --brand-on: #0E1220; --brand-soft: #1C2A3D; --amber: #F2B24E; --sun: #C9862A; }
}
h1, h2 { font-weight: 400; letter-spacing: 0; }
.hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, #2F6690)); }
.lp-founders { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, #2F6690)); }
/* hero subtitle: logo navy instead of grey, the closing promise in the check's amber (his ask 30.09) */
.lp-hero .lead { color: var(--wm); }
.lp-hero .lead .ok { color: var(--amber); font-weight: 700; }
/* the logo check replaces the full stop after the name in the headline (his ask 30.09) */
.hname { white-space: nowrap; }
.htick { width: .42em; height: .42em; vertical-align: baseline; margin-inline-start: .06em; }

/* 📦 accountant package page (/a/<token>) */
.acc-head h1 { font-size: 1.5rem; margin: 10px 0 2px; }
.acc-biz { display: flex; gap: 12px; align-items: center; }
.acc-biz > div { display: flex; flex-direction: column; }
.acc-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); padding: 4px; }
.acc-name { font-size: 1.1rem; }
.acc-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; }
.acc-sum > div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.acc-sum b { font-size: 1.15rem; }
.acc-pay { outline: 2px solid var(--brand); }
.acc-warn { background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.acc-table { overflow-x: auto; }
.acc-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.acc-table th, .acc-table td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.acc-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.acc-miss { background: color-mix(in srgb, var(--amber) 9%, transparent); }
.acc-table td.num { white-space: nowrap; }
@media (max-width: 520px) { .acc-sum { grid-template-columns: 1fr; } }
/* On a phone every row becomes a small card: label · value, nothing hidden behind a sideways scroll. */
@media (max-width: 600px) {
  .acc-table table { min-width: 0; }
  .acc-table thead { display: none; }
  .acc-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .acc-table td { border: 0; padding: 2px 0; display: flex; flex-direction: column; }
  .acc-table td::before { content: attr(data-l); font-size: 11.5px; color: var(--muted); font-weight: 600; }
}

/* 🛠️ operator screen */
.admintiles { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.admintiles .tile b { font-size: 1.3rem; }
.adminrow h2 { font-size: 1.1rem; }
.stchip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; background: var(--pine-soft); color: var(--pine); white-space: nowrap; }
.stchip.ok { background: color-mix(in srgb, var(--green) 9%, transparent); color: var(--green); }
.stchip.warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.adminrow { gap: 6px; }
.adminrow p { margin: 0; }

/* ♿ Accessibility pass (04.10.2026, axe-core over every screen; IS 5568 / WCAG AA 4.5:1 for text).
   Semantic colours darkened to pass on the light grounds; text in the business colour uses the palette's
   readable shade (--brand-text), never the raw logo colour. Dark mode keeps its own lighter tokens. */
:root { --amber: #8F5A10; --red: #C2343A; --green: #0B7A5E; --brand-text: var(--brand-text-light, #1F3F66); }
@media (prefers-color-scheme: dark) { :root { --amber: #F2B24E; --red: #FF8A8E; --green: #4FD1A5; --brand-text: #BFD3EC; } }  /* inline business shade is light-mode only */
.sitefoot a { color: inherit; }
.legalpage ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.legalpage .card p { margin: 0 0 8px; }

/* 📝 smart note */
.mtgcard h3 { font-size: 15px; margin: 10px 0 2px; }
.mtgcard ul { margin: 0; padding-inline-start: 20px; }
.mtgacts { display: grid; gap: 6px; margin: 4px 0 8px; }
.mtgact { display: flex; gap: 8px; align-items: flex-start; }
.mtgact input { margin-top: 4px; }
