/* "קליטת לקוחות קיימים" (landing.html) and the owners' control on owner.html
   (docs/ops.md, section 41). Quiet on purpose: no colour of lateness anywhere here.
   Phone first: one column, every target at least 44px, nothing scrolls sideways. */
.land-app { min-width: 0; }
.land-progress { margin: 4px 0 14px; }
.land-progress p { margin: 0 0 6px; }
.land-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 600; }
.land-count .pbar { flex: 1 1 160px; max-inline-size: 320px; }
.land-empty a, .land-progress a { display: inline-flex; align-items: center; min-height: 44px; }

.land-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.land-card {
  display: grid; gap: 10px; padding: 14px; border-radius: var(--ds-r-item);
  background: var(--ds-surface); border: 1px solid var(--ds-line); min-width: 0;
}
.land-card.is-finished { padding: 6px 14px; background: var(--ds-ground); }
.land-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.land-head h2 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.land-head h2 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ds-ink); }
.land-head .tag { margin: 0; }

.land-station { display: grid; gap: 4px; padding: 8px 10px; border-radius: var(--ds-r-sm); background: var(--ds-ground); }
.land-station label { font-size: 14px; color: var(--ds-ink-2); }
.land-station-row { display: flex; flex-wrap: wrap; gap: 8px; }
.land-station-row .input { flex: 1 1 160px; min-height: 44px; min-width: 0; }
.land-station-row .btn { min-height: 44px; }

.land-proposal { display: grid; gap: 8px; padding: 10px 12px; border-radius: var(--ds-r-sm); background: var(--ds-soft); }
.land-proposal p { margin: 0; }
.land-proposal .btn { justify-self: start; min-height: 44px; }

.land-more > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--ds-navy-text); font-weight: 500; }
.land-more[open] > summary { margin-bottom: 6px; }
.land-items { list-style: none; margin: 0; padding: 0; display: grid; }
.land-item { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--ds-line); min-width: 0; }
.land-item-text { display: grid; gap: 2px; min-width: 0; }
.land-label { overflow-wrap: anywhere; }
.land-item small { font-size: 12.5px; }
.land-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.land-choice {
  min-height: 44px; padding: 6px 4px; border-radius: var(--ds-r-ctl); border: 1px solid var(--ds-edge);
  background: var(--ds-surface); color: var(--ds-ink-2); font: inherit; font-size: 14px; cursor: pointer;
}
.land-choice.is-on { background: var(--ds-navy); border-color: var(--ds-navy); color: var(--ds-on-navy); font-weight: 600; }
.land-choice:disabled { opacity: .6; cursor: default; }
.land-item.is-proposed .land-choice.c-done { border-style: dashed; border-color: var(--ds-navy-text); color: var(--ds-navy-text); }

.land-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.land-actions .btn { flex: 1 1 200px; min-height: 44px; }
.land-fin { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-width: 0; }
.land-fin-name { font-weight: 600; overflow-wrap: anywhere; }
.land-tick { margin-inline-end: 6px; color: var(--ds-ok); }
.land-undo { min-height: 44px; margin-inline-start: auto; padding-inline: 8px; }

@media (min-width: 761px) {
  .land-item { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; gap: 14px; }
}

/* The owners' control (owner.html). */
.land-ctl { display: grid; gap: 10px; padding: 16px; margin-bottom: 14px; border-radius: var(--ds-r-card); background: var(--ds-surface); border: 1px solid var(--ds-line); min-width: 0; }
.land-ctl h2 { margin: 0; font-size: 18px; }
.land-ctl p { margin: 0; }
.land-ctl-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.land-ctl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 0; border-top: 1px solid var(--ds-line); min-width: 0; }
.land-ctl-row .land-ctl-text { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.land-ctl-row .btn { min-height: 44px; }
.land-ctl-row .pbar { flex: 0 1 120px; }
.land-ctl-note { font-size: 13.5px; color: var(--ds-muted); }

/* The shared kit on the taking-in (docs/ops.md, section 52): the count as a strip with its
   icon, an icon square on each client's name. Navy only: the page stays quiet. */
.land-count.k-h, .land-empty.k-h { padding: 10px 12px; border-radius: var(--ds-r-item); background: var(--k-navy-soft); gap: 8px 12px; }
.land-empty.k-h { background: var(--ds-ok-soft); flex-wrap: wrap; }
.land-progress .k-h > .k-ico { margin-block: 0; background: var(--ds-surface); }
.land-progress p.k-h { margin: 0; }
.land-head h2.k-h { gap: 10px; min-width: 0; }
.land-head h2.k-h > .k-ico { margin-block: 0; }

/* ── No pale rows (the owner, 13.10.2026; docs/ops.md, section 62) ──
   The owners' control: each person and each action on its own soft card with an icon
   square, instead of lines under lines. */
.land-ctl-rows { gap: 8px; }
.land-ctl-row { gap: 8px 12px; padding: 10px 12px; border-top: 0; border-radius: var(--ds-r-item); background: var(--ds-ground); }
.land-ctl-row > .k-ico { flex: none; background: var(--ds-surface); }
.land-ctl-row .land-ctl-text { flex: 1 1 180px; color: var(--ds-ink-2); }
.land-ctl-row .land-ctl-text > strong { font-size: 15.5px; color: var(--ds-ink); }
.land-ctl-row .pbar { background: var(--ds-surface); }
.land-ctl-row > .muted { font-weight: 600; color: var(--ds-ok); }

/* ── The real editor of a client already in editing (the owner, 14.10.2026) ──
   One short block on the card: the editors as chips, "עוד לא ידוע", one tap saves.
   Quiet like the rest of the page: navy for the chosen one, a dashed edge for the
   name the owner's sheet gives. Phone first: the chips wrap, 44px each. */
.land-ed { display: grid; gap: 8px; padding: 10px 12px; border-radius: var(--ds-r-sm); background: var(--k-navy-soft, var(--ds-soft)); min-width: 0; }
.land-ed-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.land-ed-h > .k-ico { margin-block: 0; background: var(--ds-surface); }
.land-ed-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.land-ed-chip {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 6px;
  min-height: 44px; padding: 6px 8px; border-radius: var(--ds-r-ctl); border: 1px solid var(--ds-edge);
  background: var(--ds-surface); color: var(--ds-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; min-width: 0;
}
.land-ed-chip[data-editor=""] { font-weight: 500; color: var(--ds-ink-2); }
.land-ed-chip.is-on { background: var(--ds-navy); border-color: var(--ds-navy); color: var(--ds-on-navy); }
/* "עוד לא ידוע" chosen is the resting state, not an answer to look at: outlined, not filled. */
.land-ed-chip[data-editor=""].is-on { background: var(--ds-surface); border: 2px solid var(--ds-navy); color: var(--ds-navy-text); font-weight: 600; }
.land-ed-chip.is-notes { border-style: dashed; border-color: var(--ds-navy-text); color: var(--ds-navy-text); }
.land-ed-chip:disabled { opacity: .6; cursor: default; }
.land-ed-tag { font-size: 12px; font-weight: 500; }
.land-ed-note { margin: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.land-ed-sec { display: grid; gap: 8px; margin-top: 18px; }
.land-ed-sec > h2 { margin: 0; font-size: 18px; }
.land-ed-sec > p { margin: 0; }
.land-card.is-finished .land-ed { margin-block: 4px 8px; }

/* The question above the two quick answers (14.10.2026). */
.land-question { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--ds-ink); }

/* The items as a checklist (the owner, 14.10.2026): one tick per item; "לא רלוונטי" a small link beside it.
   These rules come after the older button-grid ones and win over them. */
.land-more { display: grid; gap: 8px; margin-top: 4px; padding: 12px; border-radius: var(--ds-r-item); background: var(--ds-ground); }
.land-items { gap: 6px; }
.land-item { display: grid; grid-template-columns: none; gap: 2px; padding: 0; border-top: 0; }
.land-check { display: flex; align-items: center; gap: 8px; min-width: 0; }
.land-check .land-choice.c-done {
  flex: 1 1 auto; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; text-align: start;
  background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line); border-radius: var(--ds-r-ctl); font-weight: 500;
}
.land-check .land-choice.c-done.is-on { background: var(--ds-ok-soft); border-color: var(--ds-ok); color: var(--ds-ink); font-weight: 600; }
.land-box {
  flex: none; display: inline-grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 8px;
  border: 2px solid var(--ds-edge); background: var(--ds-surface); color: var(--ds-surface); font-weight: 700; line-height: 1;
}
.land-check .is-on .land-box { background: var(--ds-ok); border-color: var(--ds-ok); }
.land-check .land-label { min-width: 0; overflow-wrap: anywhere; }
.land-check .land-choice.c-na { flex: none; min-height: 44px; padding: 0 6px; font-size: 13.5px; color: var(--ds-muted); background: none; border: 0; text-decoration: underline; }
.land-check .land-choice.c-na.is-on { color: var(--ds-ink); font-weight: 600; text-decoration: none; }
.land-check.is-na .land-choice.c-done { opacity: .55; }
.land-check.is-na .land-label { text-decoration: line-through; }
.land-item-proc { padding-inline-start: 50px; font-size: 12.5px; }
.land-item.is-proposed .land-choice.c-done:not(.is-on) { border-style: dashed; border-color: var(--ds-navy-text); }
.land-save { justify-self: stretch; min-height: 48px; }
@media (min-width: 720px) { .land-item { grid-template-columns: none; } .land-save { justify-self: start; min-width: 260px; } }

/* The personal link to the taking-in, in the owners' control (the owner, 15.10.2026). */
.land-ctl-link { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.land-ctl-url { flex: 1 1 220px; min-width: 0; font-size: 13px; }
/* intake-link.html: no menu, so the brand is not a link. */
.topbar span.brand { cursor: default; }
