/* Copied from the Activest design book (FRwCBAqUCf4Yu8JW8Z3nBT, the same book as tokens.css), project/components/bundle.css,
   on 2026-10-14 (commit a6ed80e). Its classes are the book's; since 24 Nov 2026 they are drawn in the house (tokens.css). */
/* Owner Statement Platform: component styles. Load after tokens.css. Mulberry (accent, action) marks where the owner acts. */
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; background: var(--surface); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.osp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.osp-num { font-variant-numeric: tabular-nums; }
:is(body > .top .brand, .entrance__brand) img { content: var(--frame-logo); }      /* here, beside tokens.css: the file it names is found from this sheet */

/* Rule */
.osp-rule { display: block; box-sizing: content-box; height: 0; margin: 0; border: 0; border-top: var(--rule); }
.osp-rule--strong { border-top: var(--rule-ink); }
.osp-rule--double { border-top: var(--rule-double); }

/* Button: primary is the one act on a view */
.osp-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 44px; padding: 0 var(--space-5); box-sizing: border-box; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; border-radius: var(--radius-box); border: var(--stroke-hairline) solid var(--btn-line); background: var(--surface); color: var(--btn-text); transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out; }
.osp-btn:focus-visible { outline: var(--stroke-strong) solid var(--focus); outline-offset: 2px; }
.osp-btn--primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.osp-btn--quiet { background: transparent; border-color: transparent; padding: 0 var(--space-2); color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.osp-btn--sm { height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.osp-btn[disabled], .osp-btn[aria-disabled="true"] { cursor: not-allowed; color: var(--text-3); border-color: var(--line); background: var(--surface-2); }
.osp-btn--quiet[disabled] { background: transparent; border-color: transparent; }
@media (hover: hover) {
  .osp-btn:not(.osp-btn--quiet, .osp-btn--primary, [disabled], [aria-disabled="true"]):hover { border-color: var(--btn-text); background: var(--btn-hover); }
  .osp-btn--primary:not([disabled], [aria-disabled="true"]):hover { background: var(--action-hover); border-color: var(--action-hover); }
}
@media (max-width: 700px) { .osp-btn--sm { height: 44px; } }      /* a thumb's height */
@media (prefers-reduced-motion: reduce) { .osp-btn { transition: none; } }

/* Tag: a state, always in a word, on the tint of its own colour: a tick where the books agree, a square where they do not; where it only
   names a kind, on the sand's shade. The tint reaches 2px past its line on either side, so no row grows by it */
.osp-tag { display: inline-flex; align-items: baseline; gap: 6px; margin-block: -2px; padding: 2px var(--space-2); border-radius: 3px; background: var(--surface-3); font: var(--type-label); color: var(--text-2); }
.osp-tag--positive, .osp-tag--warning, .osp-tag--negative, .osp-tag--act { font: 500 14px/20px var(--font-sans); }
.osp-tag--positive { background: var(--ok-soft); color: var(--ok); }
.osp-tag--warning { background: var(--warn-soft); color: var(--warn); }
.osp-tag--negative { background: var(--bad-soft); color: var(--bad); }
.osp-tag--act { background: var(--act-soft); color: var(--accent); }
.osp-tag__dot { flex: none; width: 7px; height: 7px; background: currentColor; transform: translateY(-1px); }
.osp-tag--positive .osp-tag__dot { width: 13px; height: 10px; transform: none; -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath d='M1 5.6 4.6 9 12 1' fill='none' stroke='%23000' stroke-width='1.75'/%3E%3C/svg%3E"); }

/* Figure: value, hairline, label */
.osp-figure { margin: 0; display: inline-flex; flex-direction: column; min-width: 7em; color: var(--text); }
.osp-figure__value { font: var(--type-figure); letter-spacing: var(--tight); white-space: nowrap; font-variant-numeric: tabular-nums; }
.osp-figure--lg .osp-figure__value { font: var(--type-lead); }
.osp-figure__rule { margin-top: var(--space-3); }
.osp-figure__caption { display: flex; flex-direction: column; margin-top: var(--space-2); font-family: var(--font-sans); }
.osp-figure__label { font: var(--type-label); color: var(--text); }
.osp-figure__note { margin-top: var(--space-1); font-size: 13px; line-height: 20px; color: var(--text-2); }

/* Sheet: what stands on the ground. .card on any page; a chapter with its title at the side is .margin-head (below). The page's own
   flat parts (a table, a list, a form on a line) become sheets in base.html */
.card { min-width: 0; padding: var(--sheet-pad); background: var(--sheet); border: var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }

/* A row of figures (.row3, .kpis): each a .card.kpi: a label, the figure, its caption */
.kpi { display: flex; flex-direction: column; }
.kpi h2, .kpi-label { margin: 0 0 var(--space-2); font: var(--type-label); color: var(--text-2); }
.kpi .big, .kpi > b { display: block; font: var(--type-figure); letter-spacing: var(--tight); font-variant-numeric: tabular-nums; }
.kpi .when { margin-top: var(--space-1); font-size: 13px; line-height: 20px; color: var(--text-2); }
.kpi dl { display: grid; grid-template-columns: 1fr auto; margin: var(--space-4) 0 0; border-bottom: var(--rule); font-size: 14px; line-height: 20px; }
.kpi dt, .kpi dd { margin: 0; padding: 7px 0; border-top: var(--rule); }
.kpi dt { color: var(--text-2); }
.kpi dd { text-align: end; font-variant-numeric: tabular-nums; }
.kpi .foot { align-self: start; margin-top: auto; padding-top: var(--space-4); font-size: 14px; line-height: 20px; }
.card.kpi :is(h2, .kpi-label) { font: 500 14px/20px var(--font-sans); }
.card.kpi .line-sub { color: var(--text-2); }
.card.kpi .foot { color: var(--teal); }
/* the row is one white sheet, its figures between hairlines: no figure has a hue of its own. As many stand side by side as have the room;
   each draws the line after it and the line under it, and the sheet's edge cuts the last of them. Two rows together are one sheet */
:is(.row3, .kpis) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); overflow: hidden; background: var(--sheet); border: var(--rule); border-top: var(--rule-gold); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
:is(.row3, .kpis) > .card.kpi { padding: 22px 26px; background: none; border: 0; border-radius: 0; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.row3:has(+ .row3) { border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.row3 + .row3 { border-top: var(--rule); border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 700px) { :is(.row3, .kpis) > .card.kpi { padding: 18px; } }

/* The page's one thing, on the sheet in full colour (the dashboard's month): its figure, and its lines closing on a gold band */
.lead { --focus: var(--gold); display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 40%, 440px); gap: var(--space-6) var(--space-8); align-items: start; padding: var(--space-6); border-radius: var(--radius); background: var(--teal); color: var(--on-teal); }
.lead.below { background: var(--brick); }
.lead-figure { container-type: inline-size; }
.lead-figure b { display: block; font: var(--type-lead); font-size: min(clamp(52px, 5.6vw, 80px), 19cqi); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }      /* ten figures and signs stand on one line of its own column */
.lead-figure p { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); margin: var(--space-4) 0 0; font-size: 17px; line-height: 26px; font-weight: 500; }
.lead-figure .src-line { display: block; margin-top: var(--space-1); font: var(--type-label); color: var(--on-teal-2); }
.lead :is(.osp-tag--positive, .lead-lines .total) { background: var(--gold); color: var(--on-gold); }
.lead-lines dl { margin: 0; font-size: 16px; line-height: 24px; font-variant-numeric: tabular-nums; }
.lead-lines dl div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 9px var(--space-3); border-bottom: 1px solid var(--on-teal-line); }
.lead-lines dd { margin: 0; white-space: nowrap; }
.lead-lines dl div:nth-child(1) dd { color: var(--on-teal-in); font-weight: 500; } .lead-lines dl div:nth-child(2) dd { color: var(--on-teal-out); font-weight: 500; }      /* income and a cost, pale enough for the sheet */
.lead-lines .total { margin-top: -1px; padding-block: 11px; border: 0; border-radius: 3px; font-weight: 600; }
.lead-lines .foot { display: inline-block; margin-top: var(--space-3); margin-inline-start: var(--space-3); font-size: 14px; line-height: 20px; text-wrap: balance; }
.lead a, .lead .info { color: inherit; text-decoration-color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .6); }
:lang(he) .lead-figure b { letter-spacing: 0; } [dir=ltr] .lead-figure b { margin-inline-start: -0.06em; }      /* its sign stands on the margin */
@media (max-width: 900px) { .lead { grid-template-columns: minmax(0, 1fr); padding: 24px; } }
@media (max-width: 700px) { .lead { padding: 24px var(--sheet-pad) 8px; gap: var(--space-5); } .lead-lines .foot { margin-top: 0; padding-block: 12px; } }

/* To finish: what only the owner can give, the panel of its asterisks (.card.to-finish), on a light amber sheet with the amber on its edge.
   On a page of sheets (.cards) it stands right after the lead, and beside it on a desk: by the order, whatever stands between the two */
.card.to-finish { border: 1px solid var(--finish-line); border-block-start: 4px solid var(--finish-edge); background: var(--finish); color: var(--on-finish); }
.to-finish :is(h2, h3) { font: 500 24px/30px var(--font-display); letter-spacing: var(--tight); color: var(--finish-title); }
.to-finish ul { border-top: 1px solid var(--finish-rule); } .to-finish li { border-bottom: 1px solid var(--finish-hair); }
.to-finish li a { color: inherit; font-weight: 500; text-decoration-color: var(--finish-under); }
.cards > :is(.page-head, .reading, .said) { order: -3; } .cards > .lead { order: -2; } .cards > .to-finish { order: -1; }
.cards:has(> .to-finish) > .lead:has(~ .to-finish) { margin-block-end: var(--sheet-gap); }
@media (min-width: 1101px) {
  .cards:has(> .lead):has(> .to-finish) { grid-template-columns: minmax(0, 1fr) 330px; column-gap: 20px; }
  .cards:has(> .lead):has(> .to-finish) > * { grid-column: 1 / -1; }
  .cards:has(> .lead) > .lead:has(~ .to-finish) { grid-column: 1; align-content: center; column-gap: 40px; grid-template-columns: minmax(0, 1fr) clamp(230px, 46%, 380px); }
  .cards:has(> .lead) > .lead ~ .to-finish { grid-column: 2; display: block; }
  .cards:has(> .share-set) > :is(.lead:has(~ .to-finish), .lead ~ .to-finish) { margin-block-end: 16px; }
}
@media (min-width: 1101px) and (max-width: 1239px) { .cards:has(> .lead) > .lead:has(~ .to-finish) { grid-template-columns: minmax(0, 1fr); align-content: start; } }

/* The head of a section: its title, what it covers, and at the end its figures or its switch; a gold rule under it */
.card-head, .card-h, .report-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-5); }
:is(.card-head, .card-h) { padding-bottom: var(--space-3); border-bottom: var(--rule-gold); }
.margin-card > .card-head { padding-bottom: 0; border-bottom: 0; }
:is(.card-head, .card-h, .report-head) :is(h2, h3) { margin: 0; font: var(--type-h3); letter-spacing: var(--tight); }
:is(.card-head, .card-h) > :is(.mini, .tools, .sk-seg) { margin-inline-start: auto; }
:is(.card-h, .report-head) > :is(.card-sub, .line-sub) { font: var(--type-label); color: var(--text-2); }
.mini { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-5); font: var(--type-label); color: var(--text-2); }
.mini b { margin-inline-start: 6px; font: 600 15px/20px var(--font-sans); font-variant-numeric: tabular-nums; color: var(--text); }
:is(.kpi .big, .mini b).is-income { color: var(--income); } :is(.kpi .big, .mini b):is(.is-below, .is-cost) { color: var(--cost); }      /* a net in its sign's colour, a cost in a cost's */

/* A head in the margin of its lines, on a desk: four columns of twelve, the lines in the other eight.
   .margin-head is a chapter, a sheet with a gold edge and its tab; .margin-card a section, whose .card is the sheet */
.margin-head { position: relative; margin-top: var(--sheet-gap); padding: calc(var(--sheet-pad) - 2px) var(--sheet-pad) var(--sheet-pad); background: var(--sheet); border: var(--rule); border-top: var(--rule-gold); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.margin-head::before { content: ""; position: absolute; top: -2px; inset-inline-start: var(--sheet-pad); width: 48px; height: 4px; background: var(--action); }
.margin-head > h2.section { margin: 0 0 var(--space-5); padding: 0; border: 0; }
@media (min-width: 1001px) {
  :is(.margin-head, .margin-card) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-5); align-items: first baseline; }
  :is(.margin-head, .margin-card) > * { grid-column: 2; }
  :is(.margin-head, .margin-card) > :first-child { grid-column: 1; margin-bottom: 0; }
  .margin-head > h2.section { margin: 0; }
  :is(.margin-head, .margin-card) > .facts { margin: 0; }
}

/* A switch between views: words on a line, the one shown in mulberry with a bar under it, as the menu's. Never a filled pill */
.seg, .sk-seg, .map-switch { display: inline-flex; flex-wrap: wrap; gap: 0 var(--space-5); }
:is(.seg, .sk-seg) button, .map-switch .osp-btn { height: 32px; padding: 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; font: 400 14px/20px var(--font-sans); color: var(--text-2); cursor: pointer; white-space: nowrap; transition: color 120ms ease, border-color 120ms ease; }
:is(.seg, .sk-seg) button[aria-pressed="true"], .map-switch .osp-btn[aria-pressed="true"] { border-color: var(--action); background: none; font-weight: 600; color: var(--action); }
@media (hover: hover) and (pointer: fine) { :is(.seg, .sk-seg) button:not([aria-pressed="true"]):hover, .map-switch .osp-btn:not([aria-pressed="true"]):hover { border-color: var(--line-strong); color: var(--text); } }
@media (max-width: 700px) {      /* a thumb's height; a short word's reach is half the space on either side of it too */
  :is(.seg, .sk-seg) button, .map-switch .osp-btn { position: relative; height: 44px; }
  .seg button::after, .map-switch .osp-btn::after { content: ""; position: absolute; inset: 0 calc(var(--space-5) / -2); }
  .sk-seg button::after { content: ""; position: absolute; inset: 0 -5px; }      /* its words stand closer */
}

/* LedgerTable. Headings on sand over a gold rule, every second row shaded, a total on teal's tint. The reports (.report) keep the P&L's
   own colours (reports.html). In .scroll on the ground it is a sheet by itself; inside a sheet it has no frame of its own */
.osp-ledger { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--sheet); font-family: var(--font-sans); font-size: 14px; line-height: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.osp-ledger caption { caption-side: top; text-align: start; font: var(--type-h3); letter-spacing: var(--tight); padding-bottom: var(--space-3); }
.osp-ledger th, .osp-ledger td { padding: 10px 14px; text-align: start; vertical-align: top; font-weight: 400; border-bottom: var(--rule); }
.osp-ledger thead th { font: var(--type-head); color: var(--on-sand); background: var(--sand); vertical-align: bottom; border-bottom: var(--rule-gold); }
.osp-ledger:not(.report) tbody tr:nth-child(even) > * { background: var(--surface-2); }
.osp-ledger:not(.report) tbody tr:last-child > * { border-bottom: 0; }
.osp-ledger.is-in thead th { background: var(--in-soft); color: var(--in); border-bottom-color: var(--income); }      /* a table of income, a table of costs: the head in the P&L's own two tints */
.osp-ledger.is-out thead th { background: var(--out-soft); color: var(--out); border-bottom-color: var(--cost); }
.osp-ledger .is-end { text-align: end; }
.osp-ledger .is-neg { color: var(--negative); }
.osp-ledger .is-income { color: var(--income); }      /* income, and a net above zero: teal wherever it stands, as on the P&L */
.osp-ledger .is-gap { color: var(--text-3); }
.osp-ledger .is-sub { color: var(--text-2); }
.osp-ledger.has-total tbody tr:last-child > * { border-bottom: 0; }
.osp-ledger tfoot th, .osp-ledger tfoot td { font-weight: 600; background: var(--teal-soft); color: var(--teal); border-top: var(--rule-ink); border-bottom: 0; }

/* StatementCheck: the reconciliation, to the cent: its head in full teal, as the month's sheet, its balance on a gold band */
.osp-check { max-width: 560px; overflow: hidden; border: var(--rule); border-radius: var(--radius); background: var(--sheet); font-family: var(--font-sans); color: var(--text); }
.osp-check__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-4); padding: var(--space-3) var(--space-4); background: var(--teal); color: var(--on-teal); }
.osp-check__head .osp-tag--positive { background: var(--gold); color: var(--on-gold); }
.osp-check__title { margin: 0; font: var(--type-h3); letter-spacing: var(--tight); }
.osp-check__row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 9px var(--space-4); font-size: 14px; line-height: 20px; border-bottom: var(--rule); font-variant-numeric: tabular-nums; }
.osp-check__row > :last-child { text-align: end; white-space: nowrap; }
.osp-check__row.is-total { margin-top: -1px; border: 0; background: var(--gold); color: var(--on-gold); font-weight: 600; }
.osp-check__row.is-after { color: var(--text-2); }
.osp-check__row .is-neg { color: var(--negative); }
.osp-check__row .is-income { color: var(--income); }
.osp-check__diff { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-inline-start: 5px solid var(--warn-edge); border-radius: var(--radius-box); background: var(--warn-soft); color: var(--warn); font-size: 15px; line-height: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.osp-check__diff[role=alert] { margin-bottom: var(--space-5); }      /* what a press was refused for, clear of what follows */
.osp-check__note { margin: 0; padding: var(--space-3) var(--space-4); font-size: 13px; line-height: 20px; color: var(--text-2); }

/* DoorRow: a door in the CRM and beside the map */
.osp-doors { margin: 0; padding: 0; list-style: none; font-family: var(--font-sans); color: var(--text); border-top: var(--rule-gold); }
.osp-door { display: grid; grid-template-columns: 8px minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: var(--rule); }
.osp-door.is-selected { background: var(--act-soft); }
.osp-door__mark { width: 8px; height: 8px; }
.osp-door.is-act .osp-door__mark { background: var(--accent); }
.osp-door__name { display: block; font-size: 16px; line-height: 24px; font-weight: 500; }
.osp-door__sub { display: block; font-size: 12px; line-height: 18px; color: var(--text-3); }
.osp-door__cell { font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.osp-door__lbl { display: block; font-size: 12px; line-height: 18px; color: var(--text-2); }
.osp-door__act { justify-self: end; }

/* NoticeCard: a PM notice, decoded */
.osp-notice { display: flex; flex-direction: column; gap: var(--space-4); box-sizing: border-box; padding: var(--space-5) 0; border-top: var(--rule-gold); font-family: var(--font-sans); color: var(--text); }
.osp-notice__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.osp-notice__src { margin: 0; font: var(--type-label); color: var(--text-2); }
.osp-notice__plain { margin: 0; font-size: 19px; line-height: 30px; max-width: 34em; }
.osp-notice__amt { font: var(--type-figure); letter-spacing: var(--tight); font-variant-numeric: tabular-nums; }
.osp-notice__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Field: its label above, and a white box with a line around it */
.osp-field { display: flex; flex-direction: column; gap: 6px; max-width: 420px; font-family: var(--font-sans); }
.osp-field__label { padding: 0; font: var(--type-label); color: var(--text); }
.osp-field label:has(> :is([type=radio], [type=checkbox])) { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.osp-field__input { box-sizing: border-box; height: 44px; padding: 0 var(--space-3); font-family: inherit; font-size: 16px; line-height: 24px; color: var(--text); background-color: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--radius-box); font-variant-numeric: tabular-nums; transition: background-color 120ms ease, border-color 120ms ease; }
.osp-field__input::placeholder { color: var(--text-3); opacity: 1; }
[dir=rtl] .osp-field__input[dir=ltr] { text-align: right; }      /* a figure or an address reads left to right, under its Hebrew label */
.osp-field__input:focus-visible { outline: var(--stroke-strong) solid var(--focus); outline-offset: 2px; background-color: var(--surface); }
.osp-field__input[type=month]:focus { outline: var(--stroke-strong) solid var(--focus); outline-offset: 2px; background-color: var(--surface); }      /* a month's own parts take the focus inside it */
input.osp-field__input { -webkit-appearance: none; appearance: none; }      /* a phone draws its own month box otherwise */
.osp-field__input::-webkit-date-and-time-value { text-align: start; }
select.osp-field__input { -webkit-appearance: none; appearance: none; padding-inline-end: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231A1A18' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 8px; background-position: right 12px center; }
[dir=rtl] select.osp-field__input { background-position: left 12px center; }
textarea.osp-field__input { height: auto; padding-block: 10px; line-height: 24px; }
@media (hover: hover) and (pointer: fine) { .osp-field__input:not(:focus-visible, [disabled]):hover, input[type=file]:hover { border-color: var(--text); } }
@media (max-width: 700px) { .osp-field label:has(> :is([type=radio], [type=checkbox])) { min-height: 44px; } }
/* a file is chosen in a box like the others, its button the first words in it */
input[type=file] { box-sizing: border-box; max-width: 100%; height: 44px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-box); background-color: var(--sheet); font: 400 15px/42px var(--font-sans); color: var(--text-2); cursor: pointer; transition: border-color 120ms ease; }
input[type=file]::file-selector-button { box-sizing: border-box; height: 42px; margin: 0; margin-inline-end: var(--space-3); padding: 0 var(--space-4); border: 0; border-inline-end: 1px solid var(--btn-line); border-radius: 0; background: var(--act-soft); font: 500 15px/20px var(--font-sans); color: var(--btn-text); cursor: pointer; }
/* a box to tick, a ring to pick: an ink line; the tick and the dot in mulberry, the owner's own */
:is([type=checkbox], [type=radio]) { -webkit-appearance: none; appearance: none; box-sizing: border-box; flex: none; width: 18px; height: 18px; margin: 0; vertical-align: -4px; border: 1px solid var(--text); border-radius: 3px; background: var(--surface) center / 72% auto no-repeat; cursor: pointer; }
[type=checkbox]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath d='M1 5.6 4.6 9 12 1' fill='none' stroke='%237A1F6B' stroke-width='2.2'/%3E%3C/svg%3E"); }
[type=checkbox]:indeterminate { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 2'%3E%3Cpath d='M0 0h9v2H0z' fill='%237A1F6B'/%3E%3C/svg%3E"); background-size: 56% 2px; }
[type=radio] { border-radius: 50%; background-size: 100% 100%; }
[type=radio]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.6' fill='%237A1F6B'/%3E%3C/svg%3E"); }      /* drawn as the tick is, so a browser that darkens pages by itself turns it light with the box */
@media (forced-colors: active) {      /* the system's own, where it sets the colours: a box, a ring, and a select with its arrow */
  :is([type=checkbox], [type=radio]) { -webkit-appearance: auto; appearance: auto; }
  select.osp-field__input { -webkit-appearance: auto; appearance: auto; background-image: none; padding-inline-end: var(--space-3); }
}
/* what the browser fills in by itself stays in the same white box */
:is(.osp-field__input, .entrance__card input):is(:autofill, :-webkit-autofill) { -webkit-text-fill-color: var(--text); box-shadow: inset 0 0 0 99px var(--sheet); }
.osp-field__msg { margin: 0; font-size: 13px; line-height: 20px; color: var(--text-2); }
.osp-field--error .osp-field__input { border-color: var(--negative); }
.osp-field--error .osp-field__msg { color: var(--negative); }
