/* The professionals' site (pro.html). Pine and marker (DESIGN.md): one accent, Rubik, the product scale (600 headings,
   500 labels), nothing under 14px, status colours for status only. Desktop first; it works on a phone. */
.pr-page { margin: 0; min-height: 100dvh; }
.pr-page *, .pr-page *::before, .pr-page *::after { box-sizing: border-box; }
.pr-page h1, .pr-page h2, .pr-page p { margin: 0; }
.pr-page h1, .pr-page h2 { text-wrap: balance; }
.pr-bar { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 24px; background: var(--ds-surface); border-bottom: 1px solid var(--ds-line); position: sticky; top: 0; z-index: 5; }
.pr-brand img { display: block; height: 36px; width: auto; }
.pr-me { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.pr-email { font-size: var(--ds-text-sm); color: var(--ds-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.pr-main { max-width: 1120px; margin: 0 auto; padding: 32px 24px 80px; display: grid; gap: 16px; }
.pr-main:focus { outline: none; }
.pr-muted { color: var(--ds-muted); font-size: var(--ds-text-sm); }
.pr-n { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.pr-msg { min-height: 1.2em; font-size: var(--ds-text-sm); color: var(--ds-warn-text); }

/* buttons */
.pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ds-line-strong); background: var(--ds-surface); color: var(--ds-primary); font: 600 var(--ds-text-base, 0.95rem) var(--ds-font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color 140ms ease, transform 120ms ease; -webkit-tap-highlight-color: transparent; }
.pr-btn:active:not(:disabled) { transform: scale(0.97); }
.pr-btn:disabled { opacity: 0.6; cursor: default; }
.pr-btn:focus-visible, .pr-chip:focus-visible, .pr-tabs button:focus-visible { outline: 3px solid var(--ds-mist); outline-offset: 2px; }
.pr-btn-pine { background: var(--ds-primary); color: #fff; border-color: transparent; }
.pr-btn-ghost { border-color: transparent; background: none; color: var(--ds-muted); }
.pr-btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--ds-text-sm); }
.pr-icon { width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--ds-muted); cursor: pointer; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
    .pr-btn:hover:not(:disabled) { background: var(--ds-mist); }
    .pr-btn-pine:hover:not(:disabled) { background: var(--ds-primary-hover); }
    .pr-btn-ghost:hover:not(:disabled) { color: var(--ds-ink); }
}
.pr-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* surfaces */
.pr-card { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-panel, 1.25rem); padding: 24px; display: grid; gap: 14px; min-width: 0; }
.pr-card.pr-flush { padding: 0; gap: 0; overflow: hidden; }
.pr-narrow { max-width: 520px; width: 100%; margin: 0 auto; }
.pr-card h2 { font-size: var(--ds-text-lg); font-weight: 600; }
.pr-hero { max-width: 640px; margin: 8px auto 0; text-align: center; display: grid; gap: 10px; }
.pr-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.pr-hero p { color: var(--ds-muted); font-size: var(--ds-text-base, 0.95rem); line-height: 1.6; }
.pr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; }
.pr-head h1 { font-size: 1.5rem; font-weight: 600; }
.pr-head p { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pr-crumb { font-size: var(--ds-text-sm); color: var(--ds-muted); }
.pr-crumb a { color: var(--ds-primary); }
.pr-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--ds-mist); }
.pr-banner b { display: block; font-weight: 600; }
.pr-consent { font-size: var(--ds-text-sm); color: var(--ds-ink); background: var(--ds-mist); border-radius: 12px; padding: 12px 14px; line-height: 1.6; }

/* forms */
.pr-form { display: grid; gap: 12px; }
.pr-field { display: grid; gap: 6px; }
.pr-field > span { font-size: var(--ds-text-sm); font-weight: 500; color: var(--ds-muted); }
.pr-field input, .pr-field select { height: 46px; border: 1px solid var(--ds-line-strong); border-radius: 10px; padding: 0 12px; background: var(--ds-surface); font: 400 16px var(--ds-font); color: var(--ds-ink); width: 100%; }
.pr-field input:focus-visible, .pr-field select:focus-visible { outline: none; border-color: var(--ds-primary); box-shadow: 0 0 0 3px var(--ds-mist); }
.pr-code { letter-spacing: 0.3em; text-align: center; font-weight: 600 !important; font-size: 1.4rem !important; }

/* the list */
.pr-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pr-chip { border: 1px solid var(--ds-line-strong); background: var(--ds-surface); border-radius: 999px; min-height: 36px; padding: 0 14px; font: 500 var(--ds-text-sm) var(--ds-font); color: var(--ds-muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.pr-chip[aria-pressed="true"] { background: var(--ds-mist); border-color: var(--ds-primary); color: var(--ds-primary); }
.pr-rows { list-style: none; margin: 0; padding: 0; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 0.9fr) auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--ds-line); }
.pr-row:last-child { border-bottom: 0; }
.pr-row.is-incoming { background: var(--ds-mist); }
.pr-row-name { display: grid; gap: 2px; min-width: 0; }
.pr-row-name b { font-weight: 600; overflow-wrap: anywhere; }
.pr-row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.pr-pill { display: inline-flex; align-items: center; gap: 6px; font-size: var(--ds-text-sm); font-weight: 500; }
.pr-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pr-pill.is-ok { color: var(--ds-primary); }
.pr-pill.is-warn { color: #8a5a00; }
.pr-pill.is-wait, .pr-pill.is-off { color: var(--ds-muted); }
.pr-tag { font-size: var(--ds-text-sm); color: var(--ds-muted); }
.pr-new { display: block; font-size: var(--ds-text-sm); font-weight: 500; color: var(--ds-primary); }
.pr-empty { padding: 40px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.pr-empty img { width: 200px; height: auto; }
.pr-empty h2 { font-size: var(--ds-text-lg); font-weight: 600; }

/* a case */
.pr-tabs { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--ds-line-strong); border-radius: 10px; background: var(--ds-surface); max-width: 100%; overflow-x: auto; justify-self: start; }
.pr-tabs button { border: 0; background: none; min-height: 36px; padding: 0 14px; border-radius: 8px; font: 500 var(--ds-text-sm) var(--ds-font); color: var(--ds-muted); cursor: pointer; white-space: nowrap; }
.pr-tabs button[aria-selected="true"] { background: var(--ds-mist); color: var(--ds-primary); }
.pr-tl { list-style: none; margin: 0; padding: 0; display: grid; }
.pr-tl li { display: grid; grid-template-columns: 92px 16px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; position: relative; }
.pr-tl li::before { content: ""; position: absolute; inset-inline-start: 109px; top: 0; bottom: 0; width: 2px; background: var(--ds-line); }
.pr-tl-date { font-size: var(--ds-text-sm); color: var(--ds-muted); padding-top: 2px; text-align: start; }
.pr-tl-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ds-primary); background: var(--ds-surface); margin-top: 4px; position: relative; z-index: 1; }
.pr-tl-dot.has-doc { background: var(--ds-primary); }
.pr-tl-main { display: grid; gap: 2px; min-width: 0; }
.pr-tl-main b { font-weight: 500; }
.pr-tl-sum { font-size: var(--ds-text-sm); color: var(--ds-ink); line-height: 1.55; }
.pr-docs { list-style: none; margin: 0; padding: 0; display: grid; }
.pr-docs li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
.pr-docs li:last-child { border-bottom: 0; }
.pr-doc-ext { font-size: var(--ds-text-sm); font-weight: 600; color: var(--ds-primary); background: var(--ds-mist); border-radius: 8px; padding: 6px 4px; text-align: center; overflow-wrap: anywhere; }
.pr-doc-main { display: grid; gap: 2px; min-width: 0; }
.pr-doc-main b { font-weight: 500; overflow-wrap: anywhere; }
.pr-upload { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--ds-line); }
.pr-upload .pr-field { min-width: 180px; }
.pr-file { cursor: pointer; }

/* dialog, toast */
.pr-dlg { border: 0; padding: 0; border-radius: 16px; width: min(520px, calc(100vw - 32px)); background: var(--ds-surface); color: var(--ds-ink); box-shadow: 0 12px 32px rgb(20 35 31 / 0.16); }
.pr-dlg::backdrop { background: rgb(20 35 31 / 0.32); }
.pr-dlg[open] { animation: prIn 200ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes prIn { from { opacity: 0; transform: scale(0.97); } }
.pr-dlg-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--ds-line); }
.pr-dlg-h h2 { font-size: var(--ds-text-lg); font-weight: 600; margin: 0; }
.pr-dlg-b { padding: 16px 20px; display: grid; gap: 12px; }
.pr-dlg-f { padding: 12px 20px 16px; display: flex; gap: 8px; border-top: 1px solid var(--ds-line); }
.pr-copy { display: flex; gap: 8px; }
.pr-copy input { flex: 1; min-width: 0; width: 0; height: 42px; border: 1px solid var(--ds-line-strong); border-radius: 10px; padding: 0 12px; background: var(--ds-page); font-size: var(--ds-text-sm); }
.pr-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ds-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: var(--ds-text-sm); z-index: 20; animation: prIn 200ms cubic-bezier(0.23, 1, 0.32, 1); max-width: calc(100vw - 32px); }

@media (max-width: 760px) {
    .pr-bar { padding: 0 16px; }
    .pr-email { display: none; }
    .pr-main { padding: 20px 16px 64px; }
    .pr-card { padding: 18px; }
    .pr-row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
    .pr-row > :nth-child(2), .pr-row > :nth-child(3), .pr-row > :nth-child(4) { grid-column: 1 / -1; }
    .pr-row-acts { grid-row: 1; grid-column: 2; }
    .pr-tl li { grid-template-columns: 74px 16px minmax(0, 1fr); }
    .pr-tl li::before { inset-inline-start: 91px; }
    .pr-tl li > :last-child { grid-column: 3; justify-self: start; }
    .pr-docs li { grid-template-columns: 48px minmax(0, 1fr); }
    .pr-docs li > :last-child { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
    .pr-btn { transition: none; }
    .pr-btn:active:not(:disabled) { transform: none; }
    .pr-dlg[open], .pr-toast { animation: none; }
}

/* sign-in: the page before an account (Emil: one quiet reveal on first entry, nothing on the email → code step) */
.pr-auth { display: grid; gap: 28px; align-items: center; padding-block: 8px 24px; }
.pr-auth-copy { display: grid; gap: 16px; align-content: start; }
.pr-eyebrow { font-size: var(--ds-text-sm); font-weight: 500; color: var(--ds-primary); }
.pr-auth h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.pr-mark { background: linear-gradient(transparent 58%, var(--ds-marker) 58%); color: inherit; padding: 0 2px; }
.pr-lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ds-muted); max-width: 34em; }
.pr-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pr-points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--ds-text-base, 0.95rem); color: var(--ds-ink); line-height: 1.5; }
.pr-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ds-mist); fill: none; stroke: var(--ds-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pr-auth-card { max-width: 440px; width: 100%; margin-top: 8px; box-shadow: var(--ds-shadow-card); }
.pr-auth-card h2 { font-size: var(--ds-text-lg); font-weight: 600; }
.pr-auth-art { order: -1; justify-self: center; width: min(240px, 70%); }
.pr-auth-art img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
    .pr-auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; min-height: calc(100dvh - 64px - 112px); }
    .pr-auth-art { order: 0; width: 100%; max-width: 460px; }
}
@keyframes prRise { from { opacity: 0; transform: translateY(8px); } }
.pr-auth-art img { animation: prRise 600ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.pr-auth-copy > * { animation: prRise 420ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.pr-auth-copy > :nth-child(2) { animation-delay: 40ms; }
.pr-auth-copy > :nth-child(3) { animation-delay: 80ms; }
.pr-auth-copy > :nth-child(4) { animation-delay: 120ms; }
.pr-auth-copy > :nth-child(5) { animation-delay: 160ms; }
@media (prefers-reduced-motion: reduce) {
    .pr-auth-art img, .pr-auth-copy > * { animation: none; }
}
html.a11y-no-anim .pr-auth-art img, html.a11y-no-anim .pr-auth-copy > * { animation: none; }
.pr-msg:empty { display: none; }
/* the copy of 2026-10-23 (Roy): a longer heading, four points with a bold lead, the brand in the eyebrow */
.pr-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pr-eyebrow b { font-weight: 600; letter-spacing: 0.02em; }
.pr-eyebrow span { color: var(--ds-line-strong); }
.pr-auth h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 18em; }
.pr-points b { font-weight: 600; }
.pr-field input::placeholder { color: var(--ds-placeholder); text-align: right; }
.pr-field input[type="email"]:placeholder-shown { direction: rtl; }

/* «מה חסר»: what the claim needs, and asking the client */
.pr-need-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pr-need-head h2 { font-size: var(--ds-text-lg); font-weight: 600; }
.pr-seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--ds-line-strong); border-radius: 10px; background: var(--ds-page); flex-wrap: wrap; }
.pr-seg button { border: 0; background: none; min-height: 34px; padding: 0 12px; border-radius: 8px; font: 500 var(--ds-text-sm) var(--ds-font); color: var(--ds-muted); cursor: pointer; }
.pr-seg button[aria-pressed="true"] { background: var(--ds-surface); color: var(--ds-ink); box-shadow: 0 1px 2px rgb(20 35 31 / 0.12); }
.pr-need-form { display: grid; gap: 14px; }
.pr-needs { list-style: none; margin: 0; padding: 0; display: grid; }
.pr-need { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
.pr-need:last-child { border-bottom: 0; }
.pr-need input { width: 18px; height: 18px; margin: 3px 3px 0; accent-color: var(--ds-primary); }
.pr-need-main { display: grid; gap: 2px; min-width: 0; }
.pr-need-main b { font-weight: 500; }
.pr-need-state { font-size: var(--ds-text-sm); font-weight: 500; color: var(--ds-muted); }
.pr-need.is-have .pr-need-state { color: var(--ds-primary); }
.pr-need.is-missing .pr-need-state { color: #8a5a00; }
.pr-need textarea, .pr-field textarea { min-height: 64px; border: 1px solid var(--ds-line-strong); border-radius: 10px; padding: 10px 12px; font: 400 16px var(--ds-font); color: var(--ds-ink); background: var(--ds-surface); resize: vertical; width: 100%; }
.pr-field textarea:focus-visible { outline: none; border-color: var(--ds-primary); box-shadow: 0 0 0 3px var(--ds-mist); }
.pr-req { display: block; font-size: var(--ds-text-sm); font-weight: 500; color: #8a5a00; }
.pr-req.is-done { color: var(--ds-primary); }
.pr-reqs { border-top: 1px solid var(--ds-line); padding-top: 14px; display: grid; gap: 8px; }
.pr-reqs h3 { font-size: var(--ds-text-base); font-weight: 600; margin: 0; }
.pr-reqs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--ds-text-sm); }
.pr-reqs .pr-req { display: inline; }
.pr-draft { font-style: normal; }
