/* "הסל שלי" (HAD-796; board https://claude.ai/artifact/CWRiuCvoeyxqS1ymeJAhkg). A contract file: white paper, blue-black ink,
   registry grey, a red DRAFT stamp, a green APPROVED stamp; IBM Plex for Hebrew, Latin, Cyrillic and Arabic. A bottom sheet on a
   phone, a panel from the end side on a desktop. 44-48 px targets. The theme forces !important on buttons, headings and p: met
   with the same weight inside .nlc only (NadLan CSS cascade hazard). */
.nlc, .nlc-slotbtn, .nlc-chip-fixed, .nlc-stepbtn, .nlc-addbtn {
  --c-paper: #FFFFFF; --c-sheet: #F4F6F9; --c-ink: #0F2438; --c-ink2: #43566B; --c-rule: #C7D0DA; --c-ok: #0A7D5A; --c-okbg: #E3F3EC;
  --c-draft: #B3122E; --c-focus: #2B6FD8;
  --c-f: "IBM Plex Sans Hebrew", "IBM Plex Sans", "IBM Plex Sans Arabic", Heebo, Assistant, Arial, sans-serif;
}
.nlc[lang="ar"] { --c-f: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, Arial, sans-serif; }
.nlc { position: fixed; inset: 0; z-index: 100001; font-family: var(--c-f); color: var(--c-ink); font-size: 15px; line-height: 1.5; }
.nlc[hidden] { display: none !important; }
html.nlc-open { overflow: hidden; }
.nlc *, .nlc *::before, .nlc *::after { box-sizing: border-box; }
.nlc__scrim { position: absolute; inset: 0; background: rgba(15, 36, 56, .46); opacity: 0; transition: opacity .2s; }
.nlc.is-on .nlc__scrim { opacity: 1; }
.nlc__sheet { position: absolute; inset-inline: 0; bottom: 0; max-height: 92dvh; max-height: 92vh; height: 92dvh; display: flex; flex-direction: column; background: var(--c-paper);
  border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(15, 36, 56, .25); transform: translateY(104%); transition: transform .24s ease; }
.nlc.is-on .nlc__sheet { transform: none; }
@media (min-width: 900px) {
  .nlc__sheet { inset-block: 0; inset-inline-start: auto; inset-inline-end: 0; bottom: auto; height: 100%; max-height: none; width: min(480px, 100vw); border-radius: 0; transform: translateX(-104%); }
  .nlc[dir="ltr"] .nlc__sheet { transform: translateX(104%); }
  .nlc.is-on .nlc__sheet { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .nlc__sheet, .nlc__scrim { transition: none; } }
.nlc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--c-rule); }
.nlc__head::before { content: ""; position: absolute; top: 6px; inset-inline: 0; margin: 0 auto; width: 40px; height: 4px; border-radius: 2px; background: var(--c-rule); }
@media (min-width: 900px) { .nlc__head::before { display: none; } }
.nlc__hgrp { min-width: 0; }
:root body .nlc p.nlc__kick { margin: 2px 0 0 !important; font: 400 12.5px/1.4 var(--c-f) !important; color: var(--c-ink2) !important; }
:root body .nlc h2.nlc__title { margin: 2px 0 0 !important; padding: 0 !important; font: 700 22px/1.2 var(--c-f) !important; color: var(--c-ink) !important; letter-spacing: 0 !important; text-transform: none !important; }
:root body .nlc button.nlc__x { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border: 1px solid var(--c-rule) !important; border-radius: 10px !important; background: var(--c-paper) !important;
  color: var(--c-ink) !important; font: 400 24px/1 Arial, sans-serif !important; box-shadow: none !important; cursor: pointer; }
.nlc__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.nlc__body > * { flex: none; }
.nlc__body { min-height: 0; }
.nlc__foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--c-rule); display: flex; flex-direction: column; gap: 6px; background: var(--c-paper); }
.nlc__foot:empty { display: none; }
:root body .nlc p { margin: 0 !important; font-family: var(--c-f) !important; }
.nlc a { color: var(--c-ink); }
.nlc :focus-visible { outline: 3px solid var(--c-focus) !important; outline-offset: 2px; }

/* buttons: the theme's !important met inside .nlc */
:root body .nlc .nlc-btn, :root body .nlc button.nlc-btn, :root body .nlc a.nlc-btn {
  display: flex !important; justify-content: center; align-items: center; width: 100%; min-height: 50px; padding: 0 18px !important; margin: 0 !important;
  border: 0 !important; border-radius: 8px !important; background: var(--c-ink) !important; color: #fff !important; font: 700 16px/1.2 var(--c-f) !important;
  text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer; text-align: center; }
:root body .nlc .nlc-btn[disabled] { opacity: .45; cursor: progress; }
:root body .nlc a.nlc-btn.nlc-btn--2, :root body .nlc button.nlc-btn.nlc-btn--2 { background: var(--c-paper) !important; color: var(--c-ink) !important; border: 1.5px solid var(--c-ink) !important; min-height: 46px; font-weight: 600 !important; }
:root body .nlc button.nlc-link, :root body .nlc a.nlc-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 6px !important; margin: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important; color: var(--c-ink) !important; font: 600 14px/1.3 var(--c-f) !important;
  text-decoration: underline !important; text-underline-offset: 3px; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
:root body .nlc .nlc-ed { font-size: 13px !important; color: var(--c-ink) !important; white-space: nowrap; min-height: 32px; }
:root body .nlc button.nlc-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 12px !important; margin: 0 !important; border: 1px solid var(--c-rule) !important;
  border-radius: 999px !important; background: var(--c-paper) !important; color: var(--c-ink) !important; font: 500 13.5px/1.2 var(--c-f) !important; box-shadow: none !important;
  text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
:root body .nlc button.nlc-chip.is-on { background: var(--c-ink) !important; color: #fff !important; border-color: var(--c-ink) !important; }
:root body .nlc button.nlc-chip.is-on::before { content: "✓"; font-weight: 700; }
.nlc-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* the basket */
.nlc-proj { border: 1px solid var(--c-rule); border-radius: 10px; overflow: hidden; background: var(--c-paper); }
.nlc-proj__h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; background: var(--c-ink); color: #fff; padding: 10px 14px; font-size: 14px; }
.nlc-proj__h b { font-weight: 700; }
.nlc-proj__h span { opacity: .82; font-size: 13px; }
.nlc-ln { display: grid; grid-template-columns: 92px 1fr auto; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--c-rule); align-items: start; }
.nlc-proj > .nlc-ln:first-of-type { border-top: 0; }
.nlc-k { font-size: 12.5px; color: var(--c-ink2); padding-top: 2px; }
.nlc-v { min-width: 0; overflow-wrap: anywhere; }
.nlc-mute { color: var(--c-ink2); }
.nlc-s { font-size: 12.5px; }
.nlc-n { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.nlc-tag { display: inline-block; font-size: 11px; border: 1px solid var(--c-rule); border-radius: 3px; padding: 0 5px; color: var(--c-ink2); vertical-align: 1px; }
.nlc-blk { padding: 10px 14px; border-top: 1px solid var(--c-rule); display: grid; gap: 6px; }
.nlc-svcl { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.nlc-svcl li { padding-inline-start: 10px; border-inline-start: 2px solid var(--c-rule); }
.nlc-pros { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.nlc-pick { padding: 4px 14px 12px; display: grid; gap: 8px; background: var(--c-sheet); }
.nlc-f { display: grid; gap: 4px; font-size: 13px; color: var(--c-ink2); }
:root body .nlc .nlc-f input { width: 100%; min-height: 48px; padding: 0 12px !important; border: 1px solid var(--c-rule) !important; border-radius: 6px !important; background: #fff !important;
  color: var(--c-ink) !important; font: 400 16px/1.2 var(--c-f) !important; box-shadow: none !important; margin: 0 !important; }
.nlc-tax { font-weight: 600; min-height: 1.2em; }
.nlc-acts { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--c-rule); }
.nlc-acts .nlc-btn { flex: 1; }
:root body .nlc .nlc-acts .nlc-rm { flex: none; font-size: 13px !important; color: var(--c-ink2) !important; }
.nlc-sent { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--c-rule); background: var(--c-okbg); font-size: 13.5px; }
.nlc-ref { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; font-weight: 500; }
.nlc-ref--big { font-size: 22px; }
.nlc-empty { padding: 26px 6px; text-align: center; color: var(--c-ink2); }
.nlc-other { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--c-ink2); margin-top: 6px !important; }
.nlc-legal, .nlc-note { font-size: 12.5px; line-height: 1.55; color: var(--c-ink2); }
.nlc-note { background: var(--c-sheet); border-radius: 8px; padding: 10px 12px; }
.nlc-sub { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: center; }

/* the order steps */
.nlc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.nlc-steps li { border-top: 3px solid var(--c-rule); padding-top: 6px; color: var(--c-ink2); margin: 0; }
.nlc-steps li b { font-weight: 700; }
.nlc-steps li.is-on { border-color: var(--c-ink); color: var(--c-ink); font-weight: 700; }
.nlc-steps li.is-done { border-color: var(--c-ok); color: var(--c-ok); }
.nlc-sum { border: 1px solid var(--c-rule); border-radius: 10px; }
.nlc-sum > .nlc-ln:first-child { border-top: 0; }
.nlc-notes { margin: 0; padding: 0 14px 10px 14px; padding-inline-start: 34px; font-size: 13px; color: var(--c-ink2); }
.nlc-form { display: grid; gap: 12px; }
.nlc-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.nlc-priv { font-size: 12px; line-height: 1.55; color: var(--c-ink2); border-inline-start: 3px solid var(--c-ink); padding-inline-start: 10px; }
.nlc-ck { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
:root body .nlc .nlc-ck input { flex: none; width: 22px; height: 22px; margin: 1px 0 0 !important; accent-color: #0F2438; }
.nlc-err { color: var(--c-draft); font-size: 13.5px; min-height: 1.2em; }
.nlc-ok { display: grid; gap: 14px; }
.nlc-tl { display: grid; gap: 9px; font-size: 14px; }
.nlc-tl div { display: flex; gap: 10px; align-items: flex-start; }
.nlc-tl i { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-rule); margin-top: 5px; }
.nlc-tl i.is-ok { background: var(--c-ok); border-color: var(--c-ok); }
.nlc-tl i.is-wait { border-color: var(--c-ink); box-shadow: 0 0 0 4px var(--c-sheet); }

/* the ways in, outside the sheet */
:root body button.nlc-slotbtn, :root body button.nlc-chip-fixed {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px !important; margin: 0 !important;
  border: 1.5px solid #0F2438 !important; border-radius: 8px !important; background: #FFFFFF !important; color: #0F2438 !important;
  font: 700 14.5px/1 "IBM Plex Sans Hebrew", "IBM Plex Sans", "IBM Plex Sans Arabic", Heebo, Assistant, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
  box-shadow: none !important; cursor: pointer; white-space: nowrap; }
:root body button.nlc-slotbtn { width: 100%; height: 100%; }
:root body button.nlc-chip-fixed { position: fixed; z-index: 99990; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); inset-inline-start: calc(12px + env(safe-area-inset-left, 0px));
  box-shadow: 0 6px 18px rgba(15, 36, 56, .22) !important; }
:root body button.nlc-chip-fixed[hidden] { display: none !important; }
.nlc-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #B3122E; color: #fff; font: 700 12px/1 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.nlc-badge[hidden] { display: none !important; }
:root body .nlc-addbtn.is-in { border-color: #0A7D5A !important; color: #0A7D5A !important; }
:root body .nlc-stepbtn svg, :root body .nlc-addbtn svg { flex: none; }
@media print { .nlc, .nlc-chip-fixed { display: none !important; } }
