/* VitOffice pages (G20): the shell of every /forum* and /ops page, in the "גיליון שרטוט" language over tokens.css. Tokens only:
   no colour literal (SP-14.09). External file (CSP style-src 'self'). */
.forum-header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vit-space-3) var(--vit-space-5); padding: var(--vit-space-4) clamp(16px, 4vw, 48px); border-bottom: 2px solid var(--vit-ink); }
.forum-logo { display: inline-flex; line-height: 0; }
.forum-logo img { display: block; height: 36px; width: auto; max-width: 100%; }
.forum-header nav { display: flex; flex-wrap: wrap; gap: var(--vit-space-1) var(--vit-space-4); margin-inline-start: auto; font-size: 15px; }
.forum-header nav a { text-decoration: none; padding: var(--vit-space-2) 0; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.forum-header nav a:hover, .forum-header nav a[aria-current="page"] { border-bottom-color: var(--vit-clay); }
/* the fixed banner of D19: on every page, visible without scrolling the page's own content away */
.forum-banner { margin: 0; padding: var(--vit-space-2) clamp(16px, 4vw, 48px); background: var(--vit-paper-3); border-bottom: 1px solid var(--vit-line-strong); font-size: 14px; max-width: none; }
.forum-banner a { color: var(--vit-ink); }
main[data-zone="forum"] { padding: var(--vit-space-6) clamp(16px, 4vw, 48px) var(--vit-space-7); min-height: 50vh; }
main[data-zone="forum"] h1 { margin-top: 0; }
main[data-zone="forum"] [data-view][hidden] { display: none; }
.signin { display: grid; gap: var(--vit-space-3); max-width: 420px; margin-top: var(--vit-space-4); }
.signin input { font: inherit; min-height: 44px; }
.signin form { display: grid; gap: var(--vit-space-2); margin-top: var(--vit-space-3); padding-top: var(--vit-space-4); border-top: 1px solid var(--vit-line-default); }
.signin input { padding: 0 var(--vit-space-3); }
.signin .ghost { text-align: center; }
.status { min-height: 1.5em; margin: var(--vit-space-3) 0 0; color: var(--vit-ink-2); }
.shell-note { margin: var(--vit-space-3) 0 0; color: var(--vit-ink-3); font-size: 14px; }
/* controls take the page's face (Heebo): a button's default is the system font, which is not ours */
main[data-zone="forum"] button, main[data-zone="forum"] input, main[data-zone="forum"] select, main[data-zone="forum"] textarea { font-family: inherit; font-size: inherit; }
/* B/542 (founder 14.11): the buttons are the site's own (r2.css): [data-cta] is the solid clay primary, .ghost the ink-outline secondary, both drawn with the rapidograph
   corner overshoot. No forum-only button face (no offset shadow, no rounded corner, no 2px border). The fields are the site's drafted field: 1.5px ink, square, paper. */
/* scoped to the framed pages and the /s/ sign-in step: the survey and the report keep the approved proto's own fields (round.css) */
:is(.sheetframe-body, .s-signin) :is(input[type="text"], input[type="email"], input[type="search"], input[type="number"], textarea, select) { min-height: 44px; padding: 0.6rem var(--vit-space-3); border: 1.5px solid var(--vit-ink); border-radius: 0; background: var(--vit-paper); color: var(--vit-ink); font: 400 16px/1.4 var(--vit-f-heb); box-sizing: border-box; }
:is(.sheetframe-body, .s-signin) :is(input, textarea, select):focus-visible { outline: 2px solid var(--vit-clay-ink); outline-offset: 2px; }
/* site.css's /account rule (.signin button: paper, 2px, rounded) outranks r2's [data-cta]; the forum's Google button is the page's primary, so it gets r2's solid clay face back */
main[data-zone="forum"] .signin button[data-cta] { border: 1px solid var(--vit-ink); border-radius: 0; background-color: transparent; background-image: linear-gradient(var(--vit-clay), var(--vit-clay)); background-repeat: no-repeat; background-size: 100% 100%; background-position: 100% 0; color: var(--vit-on-clay); }
main[data-zone="forum"] .signin button[data-cta]:is(:hover, :focus-visible) { background-image: linear-gradient(var(--vit-ink), var(--vit-ink)); color: var(--vit-paper); }
main[data-zone="forum"] .signin button[data-cta]:is([disabled], [aria-disabled="true"]) { background-size: 0% 100%; color: var(--vit-ink-3); border-style: dashed; }
/* a quiet text-link button (the row's "הסרה", "דילוג") keeps no rectangle and no corner marks */
main[data-zone="forum"] :is(.office-x, .s-skiplink) { margin: 0; background-image: none; border: 0; box-shadow: none; }
main[data-zone="forum"] :is(.office-x, .s-skiplink)::before, main[data-zone="forum"] :is(.office-x, .s-skiplink)::after { content: none; }
/* a pressed toggle (the feed filter, the +1, the criticality label) is the ghost filled in ink */
main[data-zone="forum"] .ghost[aria-pressed="true"] { background-size: 100% 100%; color: var(--vit-paper); }

/* the sign-out control above the signed-in page */
.appbar { margin: 0 0 var(--vit-space-4, 1rem); text-align: start; }

/* ── the join screen (G21, F-03): the agreement notice, the engagement choice, the two acceptance boxes ── */
.join { max-width: 46rem; }
.join .join-status { min-height: 1.5em; font-weight: 700; }
.join .notice { margin: var(--vit-space-4, 1rem) 0; padding-inline-start: var(--vit-space-4, 1rem); border-inline-start: 3px solid var(--vit-ink); }
.join .notice p { margin: 0 0 0.6em; }
.join .engagement { margin: var(--vit-space-4, 1rem) 0; border: 1.5px solid var(--vit-ink); padding: var(--vit-space-3, 0.75rem) var(--vit-space-4, 1rem); }
.join .engagement label, .join .accept { display: flex; align-items: flex-start; gap: 0.6em; margin: 0.4em 0; }
.join .accept span p { margin: 0; }
.join input[type="checkbox"], .join input[type="radio"] { width: 1.25rem; height: 1.25rem; margin-top: 0.2em; accent-color: var(--vit-ink); }
.join [data-join-submit]:disabled { opacity: 0.5; cursor: not-allowed; }
[data-join-blocked] { max-width: 46rem; padding: var(--vit-space-4, 1rem); border: 2px solid var(--vit-ink); font-weight: 700; }

/* ── proposals (G22, F-05): the feed, the new-proposal form, one proposal, the approver's queue, the results ── */
.feed, .newprop, .proposal, .queue, .results { max-width: 52rem; }
.feed-status, .new-status, .proposal-status, .queue-status, .results-status { min-height: 1.5em; font-weight: 700; }
.feed-controls { display: flex; flex-wrap: wrap; gap: var(--vit-space-3) var(--vit-space-4); align-items: center; margin: var(--vit-space-3) 0; }
.feed-list { list-style: none; margin: var(--vit-space-3) 0; padding: 0; display: grid; gap: var(--vit-space-3); }
.prop { border: 1.5px solid var(--vit-ink); padding: var(--vit-space-3) var(--vit-space-4); }
.prop h3 { margin: 0 0 var(--vit-space-2); font-size: 1.1rem; }
.prop .meta, .prop .stats { margin: 0.2em 0; color: var(--vit-ink-2); font-size: 0.95rem; }
.state { font-weight: 800; color: var(--vit-ink); }
.author.anon { font-style: italic; }
.champ { font-size: 0.75rem; border: 1px solid var(--vit-ink); padding: 0 0.3em; }
.newprop label, .proposal label { display: block; margin-top: var(--vit-space-3); font-weight: 700; }
.newprop input[type="text"], .newprop textarea, .newprop select, .proposal textarea { width: 100%; }
.newprop .np-anon { display: flex; gap: 0.6em; align-items: center; font-weight: 400; }
.np-actions, .proposal .actions, .queue-batch { display: flex; flex-wrap: wrap; gap: var(--vit-space-3); margin: var(--vit-space-4) 0; }
.proposal .pre { white-space: pre-wrap; }
.proposal .facts dt { font-weight: 800; margin-top: 0.5em; }
.proposal .facts dd { margin: 0; }
.proposal .comments .reply { margin-inline-start: var(--vit-space-5); }
.queue .prop .quick { margin: 0.4em 0 0; }
.queue-members { list-style: none; padding: 0; }
.results [data-pain-table] { width: 100%; }
@media (max-width: 480px) { .prop { padding: var(--vit-space-3); } }
.prop .plus, .proposal [data-plus] { min-height: 44px; padding: 0.3rem 0.9rem; }
.proposal .composer { margin-top: var(--vit-space-3); }
.proposal .warn { display: block; color: var(--vit-ink-2); }
.proposal .cbar { margin: 0.3em 0; }
.proposal .comments ul { list-style: none; padding-inline-start: var(--vit-space-5); }

/* F-35 /office/new (self-serve office + survey invite) and /s/ (the open survey link): the same field look as .newprop / .join, tokens only. */
.office { max-width: 46rem; }
.office .office-status { min-height: 1.5em; font-weight: 700; }
.office .office-status .office-retry { display: block; margin-block-start: var(--vit-space-2); }
.office label { display: block; margin-top: var(--vit-space-3); font-weight: 700; }
.office input[type="text"], .office input[type="email"], .office textarea, .office select { width: 100%; }
.office .notice { margin: var(--vit-space-4) 0; padding-inline-start: var(--vit-space-4); border-inline-start: 3px solid var(--vit-ink); }
.office .notice p, .office .accept span p { margin: 0 0 0.6em; }
.office label.accept { display: flex; align-items: flex-start; gap: 0.6em; font-weight: 400; }
.office input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: 0.2em; accent-color: var(--vit-ink); flex: none; }
.office .office-one { display: flex; gap: var(--vit-space-2); align-items: stretch; }
.office .office-one input { flex: 1 1 auto; min-width: 0; }
.office .office-one button { flex: none; }
.office .office-note { min-height: 1.4em; margin: var(--vit-space-2) 0; }
.office .office-list { list-style: none; margin: var(--vit-space-3) 0; padding: 0; border-top: 1px solid var(--vit-ink); }
.office .office-list li { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--vit-space-2); padding: var(--vit-space-2) 0; border-bottom: 1px solid var(--vit-ink); }
.office .office-list bdi { flex: 1 1 auto; min-width: min(12rem, 55%); white-space: normal; overflow-wrap: break-word; }   /* site.css keeps bdi[dir=ltr] on one line; a long address here wraps instead */
.office .office-list label.office-mgr { display: inline-flex; align-items: center; gap: 0.4em; margin: 0; font-weight: 400; }
.office .office-send { margin: var(--vit-space-4) 0 var(--vit-space-2); }
.office .office-rotate { margin: var(--vit-space-4) 0; }
.office .office-rotate summary { cursor: pointer; font-weight: 700; }
.office .ctoast { margin: 0; }
/* Betzalel picker nit: "הסרה" is a quiet inline link at the row end, so each address stays one line at 390 px */
.office button.office-x { min-height: 36px; padding: 0 var(--vit-space-1); color: var(--vit-ink); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; flex: none; margin-inline-start: auto; }
.office .office-list label.office-mgr { flex: 0 1 auto; }   /* the address keeps its line first; "מנהל/ת סקר" may take two */
/* Betzalel B1: the terms version never wraps and keeps its hyphens in place */
.office .office-ver { white-space: nowrap; }
.office button[data-cta].dis { background-size: 0% 100%; color: var(--vit-ink-3); border-style: dashed; cursor: not-allowed; }   /* as r2.css's disabled primary */
/* Betzalel F-35 review + 507 #3: air between the visibility band and the page's h1 - in the shared shell, every /forum and /office page; on /s/ the sheet's own K-01 title
   replaces the page h1 once the survey draws */
body[data-type="forum"] main > h1:first-child, body[data-type="forum"] main h1:first-of-type { margin-top: var(--vit-space-5); }
body[data-type="forum"] .sheetframe-body > h1:first-child, body[data-type="forum"] .sheetframe-body > section > h1:first-child { margin-top: 0; }
body[data-page="s"] main:has([data-round-state="ready"]) > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.s-turnstile:empty { display: none; }
/* F-35R /s/ (Betzalel 507 #1/#2): "דילוג" is a quiet underlined ink link under the note; a pair of choices ("עונים כ-", the 401 bar) is two equal ink-outline buttons */
.s-signin .s-skip { margin: var(--vit-space-3) 0; text-align: center; }
.s-signin .s-skiplink { min-height: 44px; padding: 0 var(--vit-space-3); border: 0; background: transparent; color: var(--vit-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.s-signin .s-pair { display: flex; flex-wrap: wrap; gap: var(--vit-space-3); margin-top: var(--vit-space-3); }
.s-pairbtn { min-height: 44px; padding: 0 var(--vit-space-4); border: 1px solid var(--vit-ink); border-radius: 0; background: var(--vit-paper); color: var(--vit-ink); font: inherit; font-weight: 700; cursor: pointer; }
.s-pairbtn:hover, .s-pairbtn:focus-visible { background: var(--vit-ink); color: var(--vit-paper); }
.s-signin .s-pair .s-pairbtn { flex: 1 1 0; }   /* Betzalel 5b: neither choice looks smaller */
.round-status .s-pairbtn { min-inline-size: 12em; margin-block-start: var(--vit-space-2); margin-inline-end: var(--vit-space-2); }
[data-round-status]:focus { outline: none; }
.s-turnstile { margin: var(--vit-space-3) 0; }
/* F-35 the Outlook picker (office-picker.js): the contacts list scrolls inside its frame; the paste box stays right below it */
.office .office-picker { margin: var(--vit-space-3) 0 var(--vit-space-4); }
.office .office-pickpanel { margin-top: var(--vit-space-3); padding: var(--vit-space-3); border: 1.5px solid var(--vit-ink); }
.office .office-pickpanel .office-list { max-height: 50vh; overflow-y: auto; }
.office label.office-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; margin: 0; font-weight: 400; overflow-wrap: break-word; }
