/* Lexd Beta page styles. Tokens, header and footer live in shell.css (loaded first). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; margin-block: 0 .5rem; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin-block: 0 .75rem; }
code, .mono { font-family: var(--mono); font-size: .9em; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Entry pages: large wordmark under the header so its detail is visible. */
.brand-hero { display: flex; justify-content: center; padding-block: 2.25rem .25rem; padding-inline: 1rem; }
.brand--hero { gap: .75rem; align-items: flex-end; }
.brand--hero .brand__mark { block-size: clamp(56px, 12vw, 84px); }
.brand--hero .brand__beta { font-size: .85rem; padding: .1rem .65rem; margin-block-end: .55rem; }
.brand-hero + .shell-main .auth-card { margin-block-start: 1rem; }
.inline-form { display: inline; margin: 0; }
.link-button { font: inherit; color: var(--teal); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-button:hover { text-decoration-thickness: 2px; }
.shell-main { flex: 1; inline-size: 100%; max-inline-size: 76rem; margin-inline: auto; padding-block: 1.25rem 2.5rem; padding-inline: 1rem; }
.shell-main:focus { outline: none; }

/* ---------- Controls ---------- */
select, input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: .45rem .6rem;
  max-inline-size: 100%;
}
select { padding-block: .3rem; }
textarea { inline-size: 100%; resize: vertical; min-block-size: 7rem; line-height: 1.5; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"] { inline-size: 100%; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none;
  padding: .5rem 1rem; border-radius: 6px; border: 1px solid var(--button-fill, var(--teal));
  background: var(--button-fill, var(--teal)); color: var(--on-accent);
}
.button:hover { filter: brightness(1.08); }
.button--secondary { background: var(--surface); color: var(--teal); }
.button--quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); padding: .3rem .7rem; font-weight: 550; }
.button--quiet:hover { background: var(--inset); filter: none; }
.button--danger { background: var(--danger); border-color: var(--danger); color: var(--surface); }
.button--danger:hover { filter: brightness(.93); }
.button[disabled], .button[aria-disabled="true"] { cursor: not-allowed; opacity: .6; filter: none; }
.button--unavailable { background: var(--inset); color: var(--muted); border: 1px dashed var(--line-strong); }

.field { margin-block-end: 1rem; }
.field > label, .field__label { display: block; font-weight: 600; margin-block-end: .3rem; }
.field__help { font-size: .85rem; color: var(--muted); margin-block-start: .25rem; }
.field--check { display: flex; gap: .5rem; align-items: flex-start; }
.field--check label { font-weight: 500; margin: 0; }
.errorlist { list-style: none; margin: .3rem 0 0; padding: 0; color: var(--danger); font-size: .88rem; font-weight: 600; }
.errorlist li::before { content: "⚠ "; }
.field--invalid input, .field--invalid textarea { border-color: var(--danger); border-width: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: flex-end; }   /* the main button at the right, site-wide (owner, 30 November 2026) */
.form-actions--end { justify-content: flex-end; }

/* ---------- Messages & notices ---------- */
.messages { display: grid; gap: .5rem; margin-block-end: 1rem; }
.message { margin: 0; padding: .6rem .85rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); border-inline-start-width: 5px; }
.message__label { font-weight: 700; }
.message--success { border-color: var(--done); background: var(--done-soft); }
.message--error { border-color: var(--danger); background: var(--danger-soft); }
.message--info, .message--warning { border-color: var(--wait); background: var(--wait-soft); }
.notice { border: 1px solid var(--line); border-inline-start: 5px solid var(--teal); border-radius: 8px; background: var(--surface); padding: .75rem 1rem; margin-block-end: 1rem; }
.notice--demo { border-inline-start-color: var(--wait); background: var(--wait-soft); }
.notice--error { border-inline-start-color: var(--danger); background: var(--danger-soft); }
.notice__title { font-weight: 700; display: block; margin-block-end: .2rem; }

/* ---------- Page layout ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-block-end: 1rem; }
.page-head p { color: var(--muted); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card__body { padding: 1rem 1.15rem; }
.card + .card { margin-block-start: 1rem; }
.narrow { max-inline-size: 30rem; margin-inline: auto; }
.medium { max-inline-size: none; }   /* pages use the full width (owner, 30 November 2026: "Yes, site wide") */
.medium > .page-head p { max-inline-size: 80ch; }        /* a page's introduction keeps a readable line */
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.stack > * + * { margin-block-start: 1rem; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
dl.facts dt { color: var(--muted); font-size: .88rem; }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-block-end: .4rem; } }

/* ---------- Status labels (text + shape; never colour alone) ---------- */
.status {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-size: .8rem; font-weight: 650; padding: .1rem .55rem; border-radius: 99px;
  border: 1px solid currentColor;
}
.status::before { font-size: .8em; }
.status--open { color: var(--teal); background: var(--teal-soft); }
.status--open::before { content: "●"; }
.status--awaiting_support { color: var(--wait); background: var(--wait-soft); }
.status--awaiting_support::before { content: "◔"; }
.status--awaiting_customer { color: var(--teal); background: var(--surface); }
.status--awaiting_customer::before { content: "↩"; }
.status--resolved { color: var(--done); background: var(--done-soft); }
.status--resolved::before { content: "✓"; }
.unread-tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 700; color: var(--danger); }
.unread-tag::before { content: "●"; }

/* ---------- Dashboard-inspired project card ---------- */
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.project__head { display: flex; flex-direction: column; gap: .5rem; padding: .85rem 1.1rem; border-block-end: 1px solid var(--line); }
.project__line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.project__name { font-size: 1.1rem; font-weight: 700; margin: 0; }
.project__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.meta-chip { display: inline-flex; gap: .3rem; align-items: baseline; font-size: .8rem; color: var(--muted); background: var(--inset); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .55rem; }
.meta-chip b { color: var(--ink); font-weight: 650; }
.due-chip { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .55rem; }
.demo-tag { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wait); border: 1.5px dashed var(--wait); border-radius: 6px; padding: .1rem .5rem; }

.docs { overflow-x: auto; }
.docs__grid { min-inline-size: 53.5rem; }                /* seven stages with FIX (15 October 2026) */
.docs__header, .doc__row {
  display: grid; align-items: center; gap: .3rem .5rem;
  grid-template-columns: minmax(12rem, 1fr) 8rem repeat(7, minmax(4.2rem, 5.5rem));   /* Words: to translate/total */
  padding-inline: 1.1rem;
}
/* A Proofreading project (monolingual REV, 12 October 2026): two stages, Proofreading and Approval */
.project--proofreading .docs__grid { min-inline-size: 32rem; }
.project--proofreading .docs__header, .project--proofreading .doc__row {
  grid-template-columns: minmax(12rem, 1fr) 8rem repeat(2, minmax(4.2rem, 5.5rem));
}
.docs__header { padding-block: .6rem .3rem; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.docs__header .stage-col { text-align: center; line-height: 1.2; }
/* The stage titles in an upright, narrower face (owner, 4 October 2026): Barlow Semi Condensed, vendored in
   static/vendor/barlow (Latin, weight 600; other characters fall back), then Bahnschrift at its semi-condensed width,
   Arial Narrow, the system face. */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-stretch: 87.5%;
  font-display: swap; src: url("../vendor/barlow/barlow-semi-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.docs__header .stage-col { font-family: "Barlow Semi Condensed", Bahnschrift, "Arial Narrow", system-ui, sans-serif;
  font-stretch: 87.5%; font-weight: 600; font-size: .74rem; letter-spacing: .04em; }
/* Translation's title is a button (owner, 4 October 2026): it opens Files to translate, for one, several or all
   documents. */
/* Its word, whole and on one line, never broken (owner, 4 October 2026): no letter spacing inside the button, and
   stage columns up to 5.5rem, room for the longest measured. The button keeps the titles' face. */
.docs__header .stage-col--action { letter-spacing: 0; text-transform: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: .2rem .25rem;
  white-space: nowrap; cursor: pointer; }
.docs__header .stage-col--action:hover { border-color: var(--teal); color: var(--teal); }
.docs__header .stage-col--action:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
/* The Words column's heading is the documents' total (owner, 1 October 2026), set like the counts below it so all
   the numbers line up on the right. */
.docs__header .docs__words { text-align: end; font: .82rem var(--mono); font-variant-numeric: tabular-nums;
  letter-spacing: 0; text-transform: none; color: var(--ink); white-space: nowrap; }
.doc { border-block-start: 1px solid var(--line); }
.doc__row { padding-block: .5rem .2rem; }
.doc__name { font-family: var(--mono); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc__words { font-family: var(--mono); font-size: .82rem; color: var(--muted); text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The document's progress line under its name (owner, 4 October 2026): its height always kept, so the list never
   moves; bar, percentage and stop shown only while its translation is queued or running. */
.doc__progress { display: flex; align-items: center; block-size: 1rem; margin-block-start: .1rem; }
/* Narrow screens: rows show name, words and status text; stage detail opens below. */
@media (max-width: 700px) {
  .docs__grid { min-inline-size: 0; }
  .docs__header, .doc__row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: .85rem; }
  .docs__header .stage-col, .doc__row .chev { display: none; }
}
.doc__stages { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .35rem .9rem; font-size: .88rem; }

/* Chevron cells, after the Dashboard's arrows. Static: nothing animates. */
.chev {
  --fill: var(--idle-soft); --ink-on: var(--idle);
  position: relative; block-size: 1.45rem; display: flex; align-items: center; justify-content: center;
  background: var(--fill); color: var(--ink-on); font-size: .78rem; font-weight: 800;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%);
}
.chev--first { clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); }
[dir="rtl"] .chev { transform: scaleX(-1); }
[dir="rtl"] .chev > span { transform: scaleX(-1); }
.chev--done { --fill: var(--done); --ink-on: var(--surface); }
.chev--waiting { --fill: var(--wait); --ink-on: var(--surface); }
.chev--not_started { --fill: var(--idle-soft); --ink-on: var(--idle); }
.chev--human { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28); }
.stage-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; padding: .6rem 1.1rem; font-size: .82rem; color: var(--muted); border-block-start: 1px solid var(--line); }
.legend-item { display: inline-flex; align-items: center; gap: .4rem; }
.legend-item .chev { inline-size: 2.4rem; block-size: 1.1rem; font-size: .7rem; }
.kind-tag { font-size: .7rem; font-weight: 700; border-radius: 4px; padding: 0 .35rem; }
.kind-tag--auto { background: var(--auto-tint); color: var(--ink); }
.kind-tag--human { background: var(--human-tint); color: var(--ink); }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.resource { padding: .85rem 1rem; }
.resource__count { font-size: 1.4rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.unavailable-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .5rem; }

/* ---------- My Team ---------- */
.team-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.team-member { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; padding-block: .6rem; border-block-start: 1px solid var(--line); }
.team-member:first-child { border-block-start: 0; }
.team-member__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; min-inline-size: 0; }
.team-member__email { font-weight: 600; overflow-wrap: anywhere; }
.team-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.team-actions .button { font-size: .75rem; padding: .15rem .55rem; font-weight: 550; }
.team-tag { font-size: .72rem; font-weight: 700; color: var(--teal); border: 1px solid var(--teal); border-radius: 99px; padding: 0 .45rem; }
.team-name-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.team-name-form input { flex: 1 1 16rem; inline-size: auto; }
.team-add { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 0 1rem; align-items: end; }   /* the fields on one line, whatever their labels' height (owner, 30 November 2026) */
@media (max-width: 560px) { .team-name-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.team-name-form input { flex: 1 1 16rem; inline-size: auto; }
.team-add { grid-template-columns: 1fr; } }

/* ---------- My Team's table and unsaved fields (30 November 2026) ---------- */
.team-page { max-inline-size: none; }   /* the full page width: a table, not prose (owner, 30 November 2026) */
.team-table-wrap { overflow-x: auto; margin-block-start: .5rem; }
.team-table { inline-size: 100%; border-collapse: collapse; }
.team-table th { font-size: .8rem; text-align: start; color: var(--muted); padding: .35rem .5rem; border-block-end: 1px solid var(--line); }
.team-table td { padding: .45rem .5rem; vertical-align: middle; }
.team-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--line) 35%, transparent); }
.team-table .team-table__right { text-align: center; inline-size: 6.5rem; }
.team-table__who .team-member__email { white-space: nowrap; }
.team-table__who { line-height: 1.35; }
.team-table__name { font-weight: 650; }
.team-table .team-table__right { inline-size: 5.5rem; }
.team-members__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.team-members__head h2 { margin: 0; }
.team-members__head .button.add-plus { flex: none; min-inline-size: 2.6rem; padding: .3rem .8rem; font-size: 1.3rem; line-height: 1.1; }
dialog.dialog.dialog--confirm#team-add, dialog.dialog.dialog--confirm#team-linguist { inline-size: min(40rem, calc(100vw - 2rem)); }   /* room for both fields */
.team-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
/* Assign (30 November 2026) */
dialog.dialog.dialog--confirm.dialog--assign { inline-size: min(42rem, calc(100vw - 2rem)); }
.dialog--assign [data-assign-step][hidden] { display: none; }
.assign-task { border: 0; margin: 0 0 1rem; padding: 0; }
.assign-task legend { padding: 0; }
.assign-task .field--check { margin-block: .3rem; }
.assign-summary { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .5rem 0 1rem; }
.assign-summary dt { font-weight: 600; color: var(--muted); }
.assign-summary dd { margin: 0; }
@media (max-width: 560px) { .team-names { grid-template-columns: 1fr; } }
.team-table__actions { text-align: end; white-space: nowrap; }
.team-table__actions .button { font-size: .75rem; padding: .15rem .55rem; font-weight: 550; }
/* Every checkbox drawn by Lexd, alike in every browser (owner, 30 November 2026: "barely visible in Opera"; "Yes, site
   wide"); the on/off switches (.switch) keep their own look */
input[type="checkbox"]:not(.switch input) { appearance: none; -webkit-appearance: none; margin: 0; inline-size: 1.2rem; block-size: 1.2rem;
  display: inline-grid; place-content: center; vertical-align: middle; border: 2px solid var(--muted); border-radius: 4px;
  background: transparent; cursor: pointer;
  flex: none; }     /* never squeezed by long text beside it in a flex row (owner, 2 December 2026: "Strange checkbox shape") */
input[type="checkbox"]:not(.switch input):checked { background: var(--teal); border-color: var(--teal); }
input[type="checkbox"]:not(.switch input):checked::after { content: ""; inline-size: .32rem; block-size: .62rem; margin-block-start: -.15rem;
  border: solid var(--surface); border-width: 0 .16rem .16rem 0; transform: rotate(45deg); }
input[type="checkbox"]:not(.switch input):disabled { cursor: default; opacity: .5; }
input[type="checkbox"]:not(.switch input):focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.team-add-fields { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.team-add-fields:disabled { opacity: .55; }
.unsaved-note { font-size: .85rem; font-weight: 600; color: var(--wait); }
form.is-unsaved input[type="text"] { border-color: var(--wait); border-width: 2px; }

/* ---------- My account (30 November 2026) ---------- */
.account-email { overflow-wrap: anywhere; }
.account-choice { border: 0; margin: 0 0 1rem; padding: 0; }
.account-choice legend { padding: 0; }
.account-choice .field--check { margin-block: .3rem; }
.account-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: 0 1.5rem; }
@media (max-width: 560px) { .account-pair { grid-template-columns: 1fr; } }
.date-order-choice { border: 0; margin: 0; padding: 0; }
.date-order-choice .field--check { margin-block: .45rem; font-size: 1.05rem; }

/* ---------- Tickets ---------- */
.ticket-table { inline-size: 100%; border-collapse: collapse; }
.ticket-table th, .ticket-table td { text-align: start; padding: .6rem .75rem; border-block-end: 1px solid var(--line); vertical-align: top; }
.ticket-table th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ticket-table tr.is-unread td { background: var(--surface-2); }
.ticket-table .ticket-pick { inline-size: 2.25rem; }
.queue-selection-button { margin-inline-start: auto; }
.ticket-table tr.is-unread .ticket-subject { font-weight: 750; }
.ticket-ref { font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .ticket-table thead { display: none; }
  .ticket-table, .ticket-table tbody, .ticket-table tr, .ticket-table td { display: block; inline-size: 100%; }
  .ticket-table tr { border-block-end: 1px solid var(--line); padding-block: .5rem; }
  .ticket-table td { border: 0; padding-block: .15rem; }
  .ticket-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
}
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; padding: .85rem 1rem; }
.filters .field { margin: 0; }
.filters input[type="search"] { inline-size: 16rem; }

.conversation { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.entry { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: .8rem 1rem; max-inline-size: 46rem; }
.entry--support { border-inline-start: 4px solid var(--teal); }
.entry--customer { border-inline-start: 4px solid var(--line-strong); }
.entry--mine { margin-inline-start: auto; background: var(--surface-2); }
.entry--new { box-shadow: 0 0 0 2px var(--danger); }
.entry__head { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: baseline; font-size: .85rem; color: var(--muted); margin-block-end: .35rem; }
.entry__author { font-weight: 700; color: var(--ink); }
.entry__body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.entry--status { background: transparent; border-style: dashed; font-size: .88rem; color: var(--muted); max-inline-size: none; text-align: center; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .ticket-layout { grid-template-columns: 1fr; } }
.context-box { border: 1px dashed var(--line-strong); border-radius: 8px; padding: .75rem 1rem; background: var(--surface-2); margin-block-end: 1rem; }
.pagination { display: flex; gap: .5rem; align-items: center; justify-content: center; margin-block-start: 1rem; }

/* ---------- Sign-in ---------- */
.auth-card { max-inline-size: 28rem; margin: 2rem auto; }
.auth-card .card__body { padding: 1.5rem; }
.auth-card h1 { font-size: 1.35rem; }
.auth-alt { margin-block-start: 1.25rem; padding-block-start: 1rem; border-block-start: 1px solid var(--line); font-size: .9rem; }
.code-input { font-family: var(--mono); font-size: 1.3rem !important; letter-spacing: .25em; text-transform: uppercase; }

/* A question (translate again? reset the Demo projects?): small and compact, its buttons at the end; here, as any
   page may ask one (16 October 2026: Reset projects is in the header), whole in itself, above projects.css's dialogs. */
dialog.dialog.dialog--confirm {
  padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3); inline-size: min(420px, calc(100vw - 2rem)); overflow: hidden;
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; color-scheme: normal;
}
dialog.dialog.dialog--confirm::backdrop { background: rgba(6, 9, 12, .66); }
.dialog--confirm .dialog__body { padding: 1.25rem 1.35rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.dialog--confirm .dialog__title { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.dialog--confirm .dialog__actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; border: 0;
  padding-block-start: .75rem; justify-content: flex-end; }

/* Known issues on the Support page (owner, 11 November 2026: above the tickets, a scrollable block, 3-5 visible) */
.known-issues { margin-block-end: 1rem; }
.known-issues h2 { margin-block-end: .2rem; }
.known-issues__list { list-style: none; margin: .6rem 0 0; padding: 0; max-block-size: 12.5rem; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 8px; }
.known-issues__list:focus-visible { outline: 2px solid var(--accent, #45A99F); outline-offset: 2px; }
.known-issues__item { display: flex; gap: .75rem; align-items: baseline; justify-content: space-between;
  padding: .55rem .8rem; line-height: 1.4; }
.known-issues__item + .known-issues__item { border-block-start: 1px solid var(--line); }
.known-issues__item > span:first-child { flex: 1; }
.known-issues__item::before { content: "!"; flex: none; inline-size: 1.2rem; block-size: 1.2rem; border-radius: 50%;
  background: #7A1F1F; color: #F5EDE0; font-weight: 700; font-size: .78rem; line-height: 1.2rem; text-align: center; }
.known-issues__delete { margin: 0; flex: none; }
.known-issues__add { display: flex; gap: .5rem; margin-block-start: .75rem; }
.known-issues__add input[type="text"] { flex: 1; min-inline-size: 0; }
