/* The admin page. Design direction "the work log" (Amir chose option G on 30.11.2026, from six shown on the real page).
   Anti-generated rules kept: no stripe on a card, no glow, no status dot, no middle-dot meta strings, no card in a card. */
/* Self-hosted faces (SIL OFL 1.1, licences in admin/fonts/): Heebo for text and figures, Rubik for display. */
@font-face { font-family: "Heebo"; font-weight: 400; font-display: swap; src: url("/fonts/heebo-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 400; font-display: swap; src: url("/fonts/heebo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 500; font-display: swap; src: url("/fonts/heebo-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 500; font-display: swap; src: url("/fonts/heebo-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 700; font-display: swap; src: url("/fonts/heebo-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 700; font-display: swap; src: url("/fonts/heebo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 800; font-display: swap; src: url("/fonts/heebo-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 800; font-display: swap; src: url("/fonts/heebo-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("/fonts/rubik-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("/fonts/rubik-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("/fonts/rubik-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("/fonts/rubik-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("/fonts/rubik-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("/fonts/rubik-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Option G, "the work log": no cards and no surfaces at all. A printed ledger: big numbers set in a ruled table, rows
   divided by hairlines, type doing the work (Rubik display, Heebo text), ink on warm white, the business's teal only
   where something can be pressed or is the current place, and the active screen underlined.
   Round 2 (30.11.2026, creative review 3.25 and a11y review): one hierarchy (the business name is a running head, the
   screen title is the head), one column edge for every block, Hebrew tracking near zero, figures in ink (colour carried
   no true signal), log entries with a date column, delete as a quiet text action at the row's end, filters drawn like the
   tabs, a styled file button, figures that wrap at 320px, focus rings inside the tab strip, forced-colours states. */
:root {
  color-scheme: light dark;
  --paper: #fbfaf7; --ink: #15191c; --muted: #5e666d; --rule: #d9d5cc; --rule-strong: #1b2023;
  --action: #0b5f7c; --on-action: #ffffff; --focus: #b35c00; --yes: #17663a; --no: #a1261c;
  --col: min(920px, 100% - 40px);
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121416; --ink: #eceae4; --muted: #a8a59c; --rule: #2e3236; --rule-strong: #d8d4ca;
    --action: #67c3df; --on-action: #04131a; --focus: #ffb35c; --yes: #6fd08f; --no: #ff8a7f; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 "Heebo", system-ui, sans-serif; overflow-x: clip; }
a { color: var(--action); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 3; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.nowrap { white-space: nowrap; }

/* one column for everything: the running head, the tabs and the screen share the same two edges */
.top, .tabs, main { width: var(--col); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; }
.top h1 { font: 700 1.05rem/1.2 "Heebo", sans-serif; letter-spacing: 0; margin: 0; }
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; border-bottom: 2px solid var(--rule-strong); }
.tabs button { background: transparent; color: var(--muted); border: 0; border-radius: 0; padding: 10px 0 12px; min-height: 44px;
  font: 500 1rem/1 "Heebo", sans-serif; white-space: nowrap; box-shadow: inset 0 -4px 0 transparent; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -4px 0 var(--action); }
/* the strip scrolls sideways and clips: the ring goes inside the button, so all four sides show (a11y review, 2.4.7) */
.tabs button:focus-visible { outline-offset: -3px; }

main { padding: 8px 0 80px; }
main:focus { outline: none; }
h2 { font: 700 clamp(2rem, 4vw, 2.4rem)/1.1 "Rubik", "Heebo", sans-serif; letter-spacing: -0.01em; margin: 32px 0 12px; }
h2:focus:not(:focus-visible) { outline: none; }

button { font: 500 0.95rem/1.2 "Heebo", sans-serif; min-height: 44px; padding: 9px 18px; border-radius: 6px; border: 1.5px solid var(--action); background: var(--action); color: var(--on-action); cursor: pointer; transition: background-color .15s, color .15s; }
button[aria-disabled="true"] { opacity: 0.55; cursor: progress; }
button.link { background: transparent; color: var(--ink); border-color: var(--ink); }
button.link:hover { background: var(--ink); color: var(--paper); }
button.link[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.top button.link { border: 0; text-decoration: underline; text-underline-offset: 4px; padding-inline: 0; min-width: 44px; }
.top button.link:hover { background: transparent; color: var(--action); }
button.link.danger { color: var(--no); border-color: var(--no); }
button.link.danger:hover { background: var(--no); color: var(--paper); }
button.yes, button.no { background: transparent; }
button.yes { color: var(--yes); border-color: var(--yes); }
button.no { color: var(--no); border-color: var(--no); }
button.yes[aria-pressed="true"] { background: var(--yes); color: var(--paper); }
button.no[aria-pressed="true"] { background: var(--no); color: var(--paper); }

/* filters ("only new" / "all") are a choice of view, drawn like the tabs, not like a primary button */
.row[role="group"] { gap: 20px; }
.row[role="group"] button.link { border-color: transparent; background: transparent; color: var(--muted); padding-inline: 0; border-radius: 0; box-shadow: inset 0 -3px 0 transparent; }
.row[role="group"] button.link:hover { color: var(--ink); }
.row[role="group"] button.link[aria-pressed="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--action); }

/* deleting an entry is a quiet text action at the row's end, away from the others, alone or not (round 3) */
.pair .row > button.danger { margin-inline-start: auto; background: transparent; border-color: transparent;
  color: var(--no); text-decoration: underline; text-underline-offset: 4px; padding-inline: 4px; }
.pair .row > button.danger:hover { background: transparent; color: var(--no); text-decoration-thickness: 2px; }

/* A field is its label and its line: the space between two fields is larger than between a label and its own line,
   so "סיסמה" reads as the password's and not the name's (Amir 30.11: labels too close; login review round 2). */
label { display: block; margin: 72px 0 4px; font: 700 0.95rem/1.3 "Heebo", sans-serif; }
#login-form label:first-child { margin-top: 24px; }
input { font: inherit; width: 100%; min-height: 38px; padding: 4px 4px 6px; border: 0; border-bottom: 2px solid var(--rule-strong); border-radius: 0; background: transparent; color: var(--ink); }
/* a field the server refused: its line turns the error colour and thicker (not colour alone) */
input[aria-invalid="true"] { border-bottom: 4px solid var(--no); }
/* the line is the field, so focus is the line: thicker and in the focus colour, no box (a transparent outline stays for
   Windows high contrast, which draws it) */
input:not([type="file"]):focus-visible { outline: 2px solid transparent; outline-offset: 0; border-bottom-color: var(--focus); box-shadow: 0 2px 0 var(--focus); }
input[type="file"] { border: 0; padding: 8px 0; }
input[type="file"]::file-selector-button { font: 500 0.95rem/1.2 "Heebo", sans-serif; min-height: 44px; padding: 9px 18px; margin-inline-end: 14px;
  border-radius: 6px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--paper); }
/* the button follows the reserved error line closely, not floating further off than the fields are from each other */
form button { margin-top: 12px; width: 100%; }
/* The login, "split" (Amir chose option 1 of three on 30.11.2026, after "too plain, only lines"): a panel in the
   action teal with what is inside, as ruled ledger rows; the form on paper with real boxed fields. Phone: the panel
   becomes a short band above the form (just the line, the rows stay for the wider screen) so the fields come first.
   The panel line is smaller than the "כניסה" heading so the two do not compete, and both start on one top line.
   Focus stays the admin's own orange, solid, as on every other screen. (Creative review 3.6, fixes applied 30.11.) */
#login-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 5vh 0 0; padding: 0;
  min-height: 460px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.login-intro { background-color: var(--action); color: #ffffff; padding: 48px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.login-lead { font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.3 "Rubik", "Heebo", sans-serif; text-wrap: balance; margin: 0; max-width: 18ch; }
.login-points { list-style: none; counter-reset: pt; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.login-points li { counter-increment: pt; display: flex; gap: 14px; align-items: baseline; font-size: 1rem; color: rgba(255, 255, 255, 0.92); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); text-wrap: pretty; }
.login-points li::before { content: counter(pt, decimal-leading-zero); flex: none; min-width: 2.4em; text-align: center; font: 700 0.85rem/1 "Rubik", sans-serif; color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 5px 0; }
.login-box { padding: 48px 44px; display: flex; flex-direction: column; justify-content: flex-start; }
.login-box h2 { margin: 0 0 8px; }
#login-form { max-width: 380px; }
#login-view label { margin: 22px 0 8px; font-size: 0.95rem; }
#login-form label:first-child { margin-top: 18px; }
#login-view input { min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: 8px; background: var(--paper); }
#login-view input:not([type="file"]):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--rule-strong); box-shadow: none; }
#login-view input[aria-invalid="true"] { border: 2px solid var(--no); }
#login-view form button { min-height: 52px; border-radius: 8px; font-size: 1rem; font-weight: 700; margin-top: 8px; }
@media (prefers-color-scheme: dark) { .login-intro { background-color: #0d3a4a; } }
@media (max-width: 760px) {
  #login-view { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .login-intro { padding: 20px 22px; }
  .login-lead { font-size: 1.2rem; max-width: none; }
  .login-points { display: none; }
  .login-box { padding: 28px 22px 32px; }
}
.error { color: var(--no); min-height: 1.5em; margin: 8px 0 0; }
.status { color: var(--muted); margin: 16px 0 0; min-height: 1.5em; }
.status:empty { margin: 0; min-height: 0; }
.status.error { color: var(--no); }
.hint { color: var(--muted); max-width: 60ch; }
.measure { font: 700 1.25rem/1.3 "Rubik", sans-serif; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

/* the six numbers: a ruled table of figures, three across, closed by a rule; figures in ink (the words say what they
   mean); a long figure wraps between its words instead of running off a 320px screen (a11y review, 1.4.10) */
.cards { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); border-bottom: 1px solid var(--rule); }
.cards li { border-top: 1px solid var(--rule); padding: 18px 0 20px; padding-inline-end: 28px; display: flex; flex-direction: column; gap: 4px; }
.cards strong { font: 700 clamp(2rem, 4.5vw, 2.4rem)/1.05 "Rubik", "Heebo", sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-wrap: balance; overflow-wrap: anywhere; }
.cards span { color: var(--muted); font-size: 0.95rem; max-width: 28ch; text-wrap: balance; }

/* questions and leads: entries in a log; on a wide screen the date and kind sit in their own column */
.pairs { list-style: none; padding: 0; margin: 18px 0; }
.pair { border-top: 1px solid var(--rule); padding: 22px 0 18px; overflow-wrap: anywhere; }
.pair p { margin: 4px 0; }
.pair .q { font: 700 1.2rem/1.35 "Rubik", "Heebo", sans-serif; letter-spacing: 0; }
.pair .a { color: var(--ink); margin-top: 10px; padding-inline-start: 18px; }
.meta { color: var(--muted); font-size: 0.85rem; display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; }
.pair .meta span:nth-child(2) { color: var(--ink); font-weight: 700; }
@media (min-width: 720px) {
  .pair { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 24px; }
  .pair > * { grid-column: 2; }
  .pair > .meta { grid-column: 1; grid-row: 1 / span 4; flex-direction: column; align-content: start; padding-top: 4px; }
}
.who { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
.who a { font: 700 1.2rem/1.3 "Rubik", "Heebo", sans-serif; display: inline-block; min-height: 24px; }
.who ~ .a { font-size: 1.1rem; }
.label { color: var(--muted); font-weight: 400; }
.a { white-space: pre-line; }
.ltr { unicode-bidi: isolate; direction: ltr; }
.upload { border-top: 2px solid var(--rule-strong); padding: 20px 0 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.upload label { margin: 0; }
.upload button { min-width: 140px; }
.chunk { border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 10px; }
/* "Add an answer" under an unanswered question: the owner writes several lines, so boxed fields like the login's,
   labels close to their own field; the saved note reads as done, in the "yes" colour with a word, not colour alone. */
.add-answer { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 4px; max-width: 640px; }
.add-answer label { margin: 18px 0 6px; }
.add-answer input, .add-answer textarea { font: inherit; width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--rule-strong); border-radius: 8px; background: var(--paper); color: var(--ink); }
.add-answer textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.add-answer input:not([type="file"]):focus-visible, .add-answer textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--rule-strong); box-shadow: none; }
.add-answer [aria-invalid="true"] { border: 2px solid var(--no); }
.add-answer .row { margin-top: 10px; }
.added { color: var(--yes); font-weight: 700; margin: 6px 0 0; }

/* The confirmation window (instead of the browser's own, Amir 30.11.2026): a sheet of the same paper over a dimmed
   page, the question large, the safe button framed and the action filled; a deletion's action is in the error colour
   with its word ("מחיקה"), not colour alone. On a phone the buttons take the full width, the action on top. */
dialog.ask { border: 1px solid var(--rule); border-radius: 16px; padding: 0; width: min(460px, calc(100% - 32px)); max-width: none;
  background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(10, 14, 16, 0.28); }
dialog.ask::backdrop { background: rgba(21, 25, 28, 0.55); }
.ask-body { padding: 28px 26px 22px; }
dialog.ask h2 { font: 700 1.35rem/1.3 "Rubik", "Heebo", sans-serif; margin: 0 0 10px; overflow-wrap: anywhere; }
dialog.ask p { margin: 0; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
dialog.ask .row { margin: 24px 0 0; gap: 10px; }
dialog.ask .row button { min-height: 48px; min-width: 128px; border-radius: 8px; font-weight: 700; }
dialog.ask button.go.danger { background: var(--no); border-color: var(--no); color: var(--paper); }
dialog.ask button.go.danger:hover { background: transparent; color: var(--no); }
@media (prefers-color-scheme: dark) { dialog.ask::backdrop { background: rgba(0, 0, 0, 0.7); } dialog.ask { box-shadow: none; border-color: var(--rule-strong); } }
@media (max-width: 560px) {
  .ask-body { padding: 24px 20px 20px; }
  dialog.ask .row { flex-direction: column; align-items: stretch; }
}
@media (forced-colors: active) { dialog.ask { border: 2px solid CanvasText; } }
.facts { border-top: 2px solid var(--rule-strong); }
.facts dt { color: var(--muted); margin-top: 14px; font-size: 0.9rem; }
.facts dd { margin: 2px 0 0; font-weight: 500; max-width: 70ch; }
.swatch { display: inline-block; width: 22px; height: 22px; border: 1px solid var(--rule-strong); vertical-align: middle; margin-inline-end: 8px; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; border-top: 2px solid var(--rule-strong); }
caption { text-align: start; font: 700 1.05rem/1.3 "Rubik", sans-serif; padding: 8px 0; }
th, td { text-align: start; padding: 12px 2px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
th { font-weight: 500; color: var(--muted); }

/* phones: the six screens wrap onto two lines instead of hiding past the edge */
@media (max-width: 560px) {
  /* three screens to a line: two even lines, never one tab left alone on the second */
  .tabs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 18px; overflow-x: visible; }
  .top { flex-wrap: nowrap; }
  .top h1 { min-width: 0; }
  .cards li { padding-inline-end: 0; }
}
/* Windows high contrast removes shadows and fills: the current tab and a pressed button keep a visible mark
   (a11y review, 1.4.1 / 1.4.11) */
@media (forced-colors: active) {
  .tabs button[aria-current="page"], .row[role="group"] button.link[aria-pressed="true"] { border-bottom: 4px solid Highlight; }
  button.yes[aria-pressed="true"], button.no[aria-pressed="true"] { border-width: 4px; text-decoration: underline; }
  .row[role="group"] button.link[aria-pressed="true"] { border-width: 0 0 4px; }
  /* the teal panel is gone in high contrast, so a rule keeps the two halves of the login apart */
  .login-intro { border-inline-end: 1px solid CanvasText; }
}
@media (forced-colors: active) and (max-width: 760px) {
  .login-intro { border-inline-end: 0; border-block-end: 1px solid CanvasText; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* The look screen (3.12.2026): a preview of the chat window header, then the form. Colours are set from code. */
.look-preview { display: flex; align-items: center; gap: 10px; max-width: 380px; padding: 12px 16px; border-radius: 12px 12px 0 0; margin: 8px 0 24px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.look-title { font-size: 1.05rem; font-weight: 600; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.look-x { font-size: 1.4rem; line-height: 1; }
.look-logo { height: 28px; width: auto; max-width: 96px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; forced-color-adjust: none; }
.look-form { border-top: 2px solid var(--rule-strong); padding: 20px 0 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 420px; }
.look-form label { margin-top: 10px; }
.look-form input[type="color"] { width: 88px; height: 44px; min-height: 44px; padding: 2px; border: 2px solid var(--rule-strong); border-radius: 6px; cursor: pointer; }
.look-form input[type="color"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.look-form input[type="text"] { min-height: 48px; }
.look-form #look-hex { max-width: 9em; }
.look-form .error:empty, .upload .error:empty { display: none; }
.look-done { color: var(--yes); font-weight: 500; margin: 8px 0 0; }
.look-form .row { margin-top: 14px; }
@media (forced-colors: active) { .look-preview { border: 1px solid CanvasText; } }

/* The price list (3.12.2026): a section per group, a card per row, the range on one line; phone first. */
#pr-intro, #pr-notes, #hr-notes { font: inherit; width: 100%; min-height: 96px; padding: 10px 12px; border: 1.5px solid var(--rule-strong); border-radius: 8px; background: var(--paper); color: var(--ink); resize: vertical; line-height: 1.5; margin-bottom: 18px; }
#pr-intro:focus-visible, #pr-notes:focus-visible, #hr-notes:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.price-section { border-top: 2px solid var(--rule-strong); padding: 16px 0 8px; }
.price-section label, .price-row label, .price-replace label { margin: 10px 0 4px; }
.price-row__n { margin: 0; color: var(--muted); font-size: .85rem; }
.price-section h3 { font-size: 1.1rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.price-rows { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-row { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.price-row input[type="text"] { min-height: 44px; }
.price-range { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 6px 0; border: 0; padding: 0; min-width: 0; }
.price-range legend { padding: 0; margin: 8px 0 0; font-weight: 500; }
.price-range__part { display: flex; flex-direction: column; flex: 1 1 6em; min-width: 0; max-width: 10em; }
.price-range__unit { padding-bottom: 10px; color: var(--muted); }
.price-row .error:empty, .price-section > .error:empty { display: none; }
.price-row button { align-self: flex-start; margin-top: 6px; }
.price-replace { border: 0; border-top: 2px solid var(--rule-strong); padding: 14px 0; margin: 0; min-width: 0; }
.price-replace legend { padding: 0; font-weight: 500; }
.price-replace ul { list-style: none; padding: 0; margin: 8px 0 0; }
.price-replace li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.price-replace input[type="checkbox"] { width: 24px; height: 24px; min-height: 0; flex: none; }
.price-replace input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.price-replace li label { min-width: 0; overflow-wrap: anywhere; }
label.inline { margin: 0; font-weight: 400; }
.price-row .error:empty, .price-section .error:empty, #pr-intro-err:empty, #pr-notes-err:empty { display: none; }
#pr-intro[aria-invalid="true"], #pr-notes[aria-invalid="true"], #hr-notes[aria-invalid="true"] { border: 4px solid var(--no); }
/* Read by screen readers only: the row and section a repeated label belongs to (a11y review 3.12). */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The working hours (3.12.2026): a block per weekday, a line per time range; the same field look as the price list. */
.hours-day { border-top: 1px solid var(--rule); padding: 12px 0 4px; }
.hours-day h4 { font-size: 1.05rem; margin: 0 0 6px; }
.hours-windows { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hours-window { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.hours-window label { margin: 0 0 4px; }
.hours-window input[type="time"], .hours-window input[type="date"] { min-height: 44px; }
.hours-window button { margin-bottom: 6px; }
.hours-window .error { flex: 1 0 100%; margin: 0; }
.hours-window .error:empty, .hours-day > .error:empty, #hr-c-add-err:empty, #hr-notes-err:empty { display: none; }
/* The general label margin (72px) left a gap above the notes (a11y review 3.12). */
label[for="hr-notes"] { margin-top: 24px; }
