/* webturbo: главная, ожидание, отчёт, неудача. Облик — направление 3b дизайн-проекта
   (docs/research/2026-10-09-design-fable/final/tools/common.css). Без сборки и внешних шрифтов. */

:root {
  color-scheme: light dark;
  --paper: #f4f3ef;
  --surface: #fffefb;
  --ink: #1f1f1b;
  --muted: #6a675e;
  --rule: #d9d6cc;
  --rule-soft: #e9e6dd;
  --you: #7a3e8f;
  --you-soft: #f1e6f5;
  --dev: #0f6b78;
  --dev-soft: #dff0f2;
  --host: #8a5a00;
  --host-soft: #f6ecd4;
  --good: #2b7a4b;
  --good-soft: #e4f1e8;
  --bad: #a8321f;
  --bad-soft: #f8e4df;
  --film: #e3e0d6;
  --focus: #0f6b78;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15150f;
    --surface: #1e1e17;
    --ink: #ecebe4;
    --muted: #a39f92;
    --rule: #34332a;
    --rule-soft: #292820;
    --you: #cf9adf;
    --you-soft: #2b1f30;
    --dev: #6fc7d3;
    --dev-soft: #15292d;
    --host: #e3b45e;
    --host-soft: #2f2715;
    --good: #7bcf98;
    --good-soft: #1b2e22;
    --bad: #f0907d;
    --bad-soft: #35201b;
    --film: #11110c;
    --focus: #6fc7d3;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); font-variant-numeric: tabular-nums; }
a { color: inherit; text-underline-offset: .15em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
code { font: .875em var(--mono); background: var(--rule-soft); padding: .05em .3em; border-radius: 3px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
.muted { color: var(--muted); }

/* шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .25rem 0 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; text-decoration: none; }
.brand svg { width: 1.25rem; height: 1.25rem; }
.btn { font: inherit; font-size: .9375rem; font-weight: 550; padding: .5rem .8rem; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--primary { background: var(--dev); color: #fff; border-color: var(--dev); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (prefers-color-scheme: dark) { .btn--primary { color: #0b1d20; } }
.link { font: inherit; color: var(--dev); font-weight: 550; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }

/* адрес, статус, вердикт */
.subject__url { font-size: 1.0625rem; font-weight: 550; margin: 0; overflow-wrap: anywhere; }
.subject__url a { text-decoration: none; }
.subject__url a:hover { text-decoration: underline; }
.subject__meta { margin: .2rem 0 1rem; color: var(--muted); font-size: .9375rem; }
.verdict { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2rem); line-height: 1.22; font-weight: 650; letter-spacing: -.015em; margin: 0 0 1rem; max-width: 24ch; text-wrap: balance; overflow-wrap: anywhere; }
.verdict--bad { color: var(--bad); }
.verdict--long { max-width: none; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem); }

/* кто правит код сайта */
.who { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0 0 1.25rem; padding: 0; border: 0; font-size: .9375rem; color: var(--muted); min-width: 0; }
.who__q { margin: 0; flex-basis: 100%; }
.who__q b { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border: 1px solid var(--rule); border-radius: 2rem; background: var(--surface); color: var(--ink); cursor: pointer; font-size: .875rem; }
.chip input { appearance: none; width: .8rem; height: .8rem; border-radius: 50%; border: 1.5px solid var(--muted); margin: 0; flex: none; }
.chip input:checked { border: 4px solid var(--you); }
.chip:has(input:checked) { border-color: var(--you); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

/* карточки цифр */
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0 0 .6rem; }
.num { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: .7rem .85rem; min-width: 0; }
.num__p { font-family: var(--mono); font-size: .8125rem; color: var(--muted); margin: 0 0 .15rem; }
.num__v { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.num__v small { font-size: .6em; font-weight: 500; color: var(--muted); margin-left: .1em; }
.num__v--muted { font-size: 1.125rem; font-weight: 550; color: var(--muted); }
.num__k { margin: .2rem 0 0; font-size: .8125rem; color: var(--good); }
.num__k--bad { color: var(--bad); }
.num__k--wait { color: var(--muted); }
.num__paint { margin: .5rem 0 0; padding: .45rem 0 0; border-top: 1px dashed var(--rule); font-size: .8125rem; color: var(--muted); line-height: 1.35; list-style: none; overflow-wrap: anywhere; }
.num__paint b { color: var(--ink); font-weight: 600; }
.note-line { font-size: .875rem; color: var(--muted); margin: .5rem 0 0; overflow-wrap: anywhere; }
.numbers-note { margin: 0 0 1.25rem; }

/* лента кадров */
.film { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: .9rem 0 .6rem; margin: 1rem 0 1.5rem; }
.film > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 1rem; font-weight: 650; }
.film > summary::-webkit-details-marker { display: none; }
.film__hint { color: var(--muted); font-weight: 400; font-size: .875rem; flex: 1 1 auto; }
.toggle { color: var(--dev); font-weight: 550; font-size: .875rem; flex: none; }
details > summary .toggle__open, details[open] > summary .toggle__closed { display: none; }
details[open] > summary .toggle__open { display: inline; }
.strip { margin: .9rem 0 0; }
.strip__name { display: flex; justify-content: space-between; gap: .5rem; margin: 0 1rem .4rem; font-size: .8125rem; color: var(--muted); }
.strip__name b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.reel { display: flex; gap: .5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 1rem; padding: .5rem 1rem .6rem; background: var(--film); scrollbar-width: thin; }
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.shot { flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: .3rem; margin: 0; width: min-content; }
.shot img { display: block; height: 10rem; width: auto; max-width: none; border: 1px solid var(--rule); border-radius: 4px; background: #fff; }
.strip--desktop .shot img { height: 5.6rem; }
.shot figcaption { font-size: .72rem; line-height: 1.25; color: var(--muted); min-width: 4.5rem; }
.shot figcaption b { display: block; color: var(--ink); font-weight: 600; }
.shot--mark figcaption b { color: var(--dev); }
.film__note { margin: .7rem 1rem 0; font-size: .8125rem; color: var(--muted); }

/* стопки-сводка */
.piles { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.pile { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .85rem .95rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; }
.pile__ic { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; }
.pile__ic svg { width: 1.3rem; height: 1.3rem; }
.pile--owner .pile__ic { background: var(--you-soft); color: var(--you); }
.pile--developer .pile__ic { background: var(--dev-soft); color: var(--dev); }
.pile--hosting .pile__ic { background: var(--host-soft); color: var(--host); }
.pile__t { display: block; margin: 0; font-weight: 650; line-height: 1.3; }
.pile__s { display: block; margin: .1rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
.pile__n { font-size: 1.6rem; font-weight: 650; letter-spacing: -.03em; min-width: 1.5rem; text-align: right; }
.pile__n--zero { color: var(--muted); font-weight: 500; font-size: 1.1rem; }

/* отправить разработчику, ссылка */
.send { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1rem; padding: .9rem 1rem; background: var(--dev-soft); border-radius: 12px; margin: 0 0 2.25rem; flex-wrap: wrap; }
.send p { margin: 0; font-size: .9375rem; max-width: 30ch; }
.send__status { flex-basis: 100%; font-size: .875rem; color: var(--muted); min-height: 0; }
.send__status:empty { display: none; }
.send__link { flex-basis: 100%; min-width: 0; font: .875rem var(--mono); padding: .5rem .6rem; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }

/* стопки и карточки дел */
.stack { margin: 0 0 .75rem; }
.stack > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: .6rem; font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; padding: .5rem 0; }
.stack > summary::-webkit-details-marker { display: none; }
.stack > summary small { color: var(--muted); font-weight: 400; font-size: .9375rem; }
.stack__t { flex: 1 1 auto; min-width: 0; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; align-self: center; flex: none; }
.stack--owner > summary .dot { background: var(--you); }
.stack--developer > summary .dot { background: var(--dev); }
.stack--hosting > summary .dot { background: var(--host); }
.stack--owner .step dt { color: var(--you); }
.stack--developer .step dt { color: var(--dev); }
.stack--hosting .step dt { color: var(--host); }
.stack > .card:first-of-type, .stack > ul.ok:first-of-type { margin-top: .25rem; }
.stack > ul.ok { margin-bottom: .75rem; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem; min-width: 0; margin: 0 0 .75rem; }
.card > *, .step dd { min-width: 0; }
.card__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .35rem; font-size: .8125rem; }
.tag { padding: .1rem .5rem; border-radius: 1rem; background: var(--rule-soft); color: var(--muted); }
.tag--medium { background: var(--host-soft); color: var(--host); }
.tag--high { background: var(--bad-soft); color: var(--bad); }
.tag--mono { font-family: var(--mono); font-size: .78rem; }
.card h3 { margin: 0 0 .5rem; font-size: 1.0625rem; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.card p { margin: 0 0 .6rem; overflow-wrap: anywhere; }
.diff { font-size: .9375rem; color: var(--muted); }
.pair { display: grid; grid-template-columns: auto auto; gap: .6rem; align-items: start; margin: .5rem 0 .8rem; padding: .7rem; background: var(--film); border-radius: 8px; width: fit-content; max-width: 100%; overflow-x: auto; }
.pair figure { margin: 0; display: grid; gap: .3rem; min-width: 0; }
.pair img { display: block; height: 10rem; width: auto; max-width: 100%; object-fit: contain; border: 1px solid var(--rule); border-radius: 4px; background: #fff; }
.pair--desktop img { height: 5.6rem; }
.pair figcaption { font-size: .75rem; line-height: 1.25; color: var(--muted); max-width: 8rem; }
.pair figcaption b { display: block; color: var(--ink); font-weight: 600; }
.pair__note { grid-column: 1 / -1; margin: 0; font-size: .8125rem; color: var(--muted); }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem .8rem; margin: .75rem 0 0; font-size: .9375rem; }
.step dt { font-weight: 650; white-space: nowrap; }
.step dd { margin: 0; overflow-wrap: anywhere; }
pre { margin: .25rem 0 .4rem; padding: .6rem .75rem; background: var(--rule-soft); border-radius: 8px; font: .8125rem/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.caveat { color: var(--muted); border-left: 3px solid var(--rule); padding-left: .7rem; }
.move { margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid var(--rule-soft); font-size: .875rem; color: var(--muted); }
.ok { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ok li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--rule-soft); font-size: .9375rem; }
.ok li::before { content: "✓"; color: var(--good); font-weight: 700; }
.ok__t { font-weight: 400; min-width: 0; }
.ok span { color: var(--muted); font-size: .875rem; text-align: right; overflow-wrap: anywhere; }

/* секции, подробности для разработчика */
.section { margin: 2rem 0 2.25rem; }
h2 { font-size: 1.125rem; font-weight: 650; margin: 0 0 .9rem; display: flex; align-items: baseline; gap: .6rem; letter-spacing: -.01em; }
h2 small { color: var(--muted); font-weight: 400; font-size: .9375rem; }
.more { border-top: 1px solid var(--rule); }
.more:last-of-type { border-bottom: 1px solid var(--rule); }
.more > summary { cursor: pointer; padding: .8rem 0; font-weight: 550; display: flex; justify-content: space-between; gap: 1rem; }
.more > summary span { color: var(--muted); font-weight: 400; font-size: .875rem; text-align: right; }
.more__body { padding: 0 0 1rem; font-size: .9375rem; min-width: 0; }
.more__body h4 { margin: .6rem 0 .3rem; font-size: .8125rem; font-family: var(--mono); font-weight: 600; color: var(--muted); }
.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data th, .data td { text-align: left; padding: .35rem .5rem .35rem 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.data th { color: var(--muted); font-weight: 500; }
.data td:first-child { font-family: var(--mono); font-size: .8125rem; overflow-wrap: anywhere; }
.data .n { text-align: right; white-space: nowrap; }
.data .ok-mark { color: var(--good); }
.data .bad-mark { color: var(--bad); }
.wf { list-style: none; margin: 0; padding: 0; }
.wf li { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 3.2rem; gap: .5rem; align-items: center; min-height: 1.5rem; font-size: .75rem; }
.wf__name { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.wf__name--task { color: var(--host); }
.wf__track { position: relative; height: .6rem; background: var(--rule-soft); border-radius: 3px; overflow: hidden; }
.wf__bar { position: absolute; top: 0; bottom: 0; left: calc(var(--l, 0) * 100%); width: max(2px, calc(var(--w, 0) * 100%)); border-radius: 3px; background: var(--dev); }
.wf__bar--task { background: var(--host); }
.wf__bar--failed { background: var(--bad); }
.wf__bar--unfinished { background: var(--rule); }
.wf__t { color: var(--muted); text-align: right; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
.wf__axis { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 3.2rem; gap: .5rem; font-size: .72rem; color: var(--muted); margin: 0 0 .3rem; }
.wf__axis div { position: relative; height: 1rem; }
.wf__axis i { position: absolute; left: calc(var(--at, 0) * 100%); transform: translateX(-50%); font-style: normal; white-space: nowrap; }
.wf__axis i:first-child { transform: none; }
.wf__axis i:last-child { transform: translateX(-100%); }
.more__all { margin: .5rem 0 0; }

/* ожидание */
.steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .15rem; }
.steps li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); column-gap: .6rem; padding: .45rem 0; }
.steps__mark { grid-row: span 2; width: .9rem; height: .9rem; margin-top: .35rem; border-radius: 50%; border: 2px solid var(--rule); }
.steps__item--done .steps__mark { background: var(--good); border-color: var(--good); }
.steps__item--current .steps__mark { border-color: var(--dev); background: var(--dev); box-shadow: inset 0 0 0 3px var(--surface); }
.steps__label { font-weight: 600; }
.steps__hint { color: var(--muted); font-size: .875rem; }
.steps__item--pending .steps__label { font-weight: 400; color: var(--muted); }
.steps__queue { grid-column: 2; font-size: .9375rem; margin: .15rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .steps__item--current .steps__mark { animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .45; } }
}
.share { margin: 1.5rem 0 2rem; padding: 1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.share p { margin: 0 0 .6rem; }
.share__row { display: flex; gap: .5rem; }
.share__link { flex: 1; min-width: 0; font: .875rem var(--mono); padding: .5rem .6rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; }
.share__done { margin: .4rem 0 0 !important; color: var(--muted); font-size: .875rem; }
.share__done:empty { display: none; }
.facts { display: grid; gap: .9rem; }
.fact { border-top: 2px solid var(--rule); padding-top: .5rem; }
.fact h3 { margin: 0 0 .25rem; font-size: 1rem; }
.fact p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* неудача */
.problem { background: var(--bad-soft); border-radius: 12px; padding: 1rem; margin: 0 0 1.25rem; }
.problem h2 { margin: 0 0 .5rem; color: var(--bad); }
.problem p { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.problem p:last-child { margin-bottom: 0; }
.problem ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.problem li { margin: .2rem 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.how { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem .8rem; margin: 0; font-size: .9375rem; }
.how dt { font-weight: 600; }
.how dd { margin: 0; color: var(--muted); }

/* главная */
.hero { padding: 1.5rem 0 1rem; }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .75rem; max-width: 18ch; }
.hero p { font-size: 1.0625rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.form { margin: 0 0 1rem; }
.form label { display: block; font-weight: 600; margin-bottom: .4rem; }
.form__row { display: flex; gap: .5rem; }
.form__row input { flex: 1; min-width: 0; font: inherit; font-family: var(--mono); font-size: .95rem; padding: .7rem .8rem; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.form__row input[aria-invalid="true"] { border-color: var(--bad); }
.form__row .btn { justify-content: center; padding: .7rem 1.1rem; }
.form__error { color: var(--bad); margin: .6rem 0 0; overflow-wrap: anywhere; }
.form__note { color: var(--muted); font-size: .9375rem; margin: 0 0 2.5rem; }
/* «Ваши проверки» — история этого браузера */
#history { margin-top: 0; } /* под формой уже есть отступ подписи */
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.history li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; align-items: center; padding: .75rem .95rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; }
.history__url { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history__meta { grid-column: 1; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.history__meta b { color: var(--ink); font-weight: 600; }
.history__meta .bad { color: var(--bad); }
.history__act { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: .4rem; }
.history__act .btn { padding: .4rem .6rem; font-size: .875rem; }
.history__error { grid-column: 1 / -1; color: var(--bad); font-size: .875rem; overflow-wrap: anywhere; }
.history__error:empty { display: none; }
/* ошибка «Повторить» в шапке отчёта и у неудачной */
.repeat-error { color: var(--bad); font-size: .875rem; margin: -.75rem 0 1rem; overflow-wrap: anywhere; }
.actions + .repeat-error { margin: -1.5rem 0 2rem; }
.repeat-error:empty { display: none; }
.btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem 1.5rem; }

.passport { color: var(--muted); font-size: .875rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2rem; overflow-wrap: anywhere; }

@media (max-width: 40rem) {
  .data, .data tbody, .data tr, .data td { display: block; width: 100%; }
  .data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data tr { padding: .5rem 0; border-bottom: 1px solid var(--rule-soft); }
  .data td { border: 0; padding: .1rem 0; white-space: normal; }
  .data td:first-child { font-weight: 600; font-family: var(--sans); font-size: .9375rem; margin-bottom: .15rem; }
  .data td:not(:first-child) { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
  .data td:not(:first-child)::before { content: attr(data-label); color: var(--muted); text-align: left; }
}
@media (max-width: 26rem) {
  .top .btn span { display: none; }
  .top .btn { padding: .5rem .6rem; }
  .pile { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .65rem; }
  .pile__ic { width: 2.2rem; height: 2.2rem; }
  .ok li { grid-template-columns: 1.1rem minmax(0, 1fr); }
  .ok span { grid-column: 2; text-align: left; }
  .pair img { height: 8.5rem; }
  .pair--desktop img { height: 4.5rem; }
  .film__hint { display: none; }
  .form__row { flex-direction: column; }
  .history li { grid-template-columns: minmax(0, 1fr); }
  .history__act { grid-column: 1; grid-row: auto; margin-top: .3rem; }
  .wf li, .wf__axis { grid-template-columns: minmax(0, 5rem) minmax(0, 1fr) 3rem; }
  /* «Сделать / Проверить / Спорное» на телефоне — подпись над текстом: колонка текста шире */
  .step { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .step dd + dt { margin-top: .5rem; }
}
