/* The documentation's pages (help and technical description), built by
   scripts/build_docs.py. Since 2.1.98 (design audit 14.11) they take the application's themes:
   tokens.css and theme.js load before this file — the theme and mode chosen in the application,
   else the system's light or dark — so the help looks as the application, Inter included. Only
   the pages' own names are set here, on the theme's tokens. */
:root, [data-theme] {
  --code: var(--surface); --note: var(--warn-soft); --note-line: var(--warn);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
[data-mode="dark"] article img[src$=".svg"] { background: #ffffff; border-radius: var(--r-s); padding: 8px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* 2.1.107 (audit, third pass): digits of one width, as in the application and on the landing; the
   focus ring is theirs — 2 px of --focus, 2 px off (the browser's own ring before) */
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/24px var(--font);
  font-variant-numeric: tabular-nums; }
:is(a, button, summary, [role="button"]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* 2.1.99 (design audit 14.11, second pass): the header as the application's — one line of
   56 px on the theme's header colours; in Swiss a floating card with its gap and corners, in the
   other themes a bar across the window (their gap and corners are 0) */
.top { position: sticky; top: var(--header-gap); z-index: 2; display: flex; align-items: center;
  gap: 12px; justify-content: space-between; min-height: 56px; box-sizing: border-box;
  margin: var(--header-gap) var(--header-gap) 0; padding: 4px 16px;
  background: var(--header-bg); color: var(--header-text);
  border-bottom: 1px solid var(--header-line); border-radius: var(--header-radius);
  box-shadow: var(--header-shadow); }
.top a { color: var(--header-text); text-decoration: none; }  /* navigation, not words of a text */
.top a:hover { text-decoration: underline; text-underline-offset: 3px; }
.top :focus-visible { outline-color: var(--header-text); }  /* the dark bar of IT Blue */
.brand { font-weight: 700; color: var(--header-text); text-decoration: none; }
.brand::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px;
  background: var(--logo-bg); border-radius: var(--logo-radius); box-shadow: 0 0 0 1px var(--logo-ring); }
.links { display: flex; gap: 16px; font-size: 14px; line-height: 20px; white-space: nowrap; }

.layout { display: block; max-width: 1480px; margin: 0 auto; }
.side { display: none; }
.menu { border-bottom: 1px solid var(--line); background: var(--surface); margin-top: 8px; }
.menu > summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px;
  cursor: pointer; font-weight: 600; }
.menu ul, .side ul { margin: 0; padding: 0 16px 12px 16px; font-size: 14px; line-height: 20px;
  list-style: none; }
.menu li, .side li { margin: 2px 0; }
.menu li.group, .side li.group { list-style: none; margin: 16px 0 4px; color: var(--hint);
  font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
/* 2.1.99: the contents' links are a list to choose from, not words of a text — no underline;
   the page shown in bold on the surface's colour */
.menu li a, .side li a { display: block; padding: 6px 8px; border-radius: var(--r-s);
  color: var(--text); text-decoration: none; }
.menu li a { display: flex; align-items: center; min-height: 44px; }
.menu li a:hover, .side li a:hover { background: var(--surface); }
.menu li a:hover { background: var(--card); }
[aria-current="page"] { font-weight: 600; color: var(--text); text-decoration: none; }
.menu li a[aria-current="page"], .side li a[aria-current="page"] { background: var(--surface); }
.menu li a[aria-current="page"] { background: var(--card); }
/* 2.1.99 (owner's answer 8): the help's contents in five groups that open and close (no
   script: <details>); the group of the page shown is open */
.nav-group > summary { display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 44px; padding: 0 8px; cursor: pointer; list-style: none; color: var(--hint);
  font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  border-radius: var(--r-s); }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-right: 4px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); }
.nav-group[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.nav-group > summary:hover { color: var(--text); }
.nav-group > ul { padding: 0 0 8px; }
.menu .nav-group { padding: 0 8px; }
.menu .nav-group > ul { padding: 0 0 8px; }

main { min-width: 0; padding: 8px 16px 40px; }
article { max-width: 680px; }
h1 { font-size: 22px; line-height: 28px; margin: 24px 0 12px; }
h2 { font-size: 18px; line-height: 24px; margin: 32px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 24px 0 8px; }
h4 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 16px 0 4px; }
p, ul, ol, table, blockquote, pre { margin: 0 0 16px; }
li { margin: 4px 0; }
code { font: 0.9em var(--mono); background: var(--code); padding: 1px 4px; border-radius: 6px;
  overflow-wrap: anywhere; }
pre { background: var(--code); padding: 12px; border-radius: var(--radius); overflow-x: auto; }
pre code { padding: 0; background: none; }
blockquote { margin-left: 0; padding: 12px 16px; background: var(--note);
  border-left: 3px solid var(--note-line); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote p:last-child { margin-bottom: 0; }
table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 20px; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
th { background: var(--surface); }
img { max-width: 100%; height: auto; }
article img { display: block; margin: 12px 0 6px; }
.diagram { display: block; overflow-x: auto; margin: 12px 0 6px; }
.diagram img { max-width: none; margin: 0; }
article img[src$=".png"] { max-width: 360px; width: 100%; border: 1px solid var(--line);
  border-radius: var(--radius); }
/* 2.1.125 (design audit, fourth pass, 1.8): a wide screen's picture at the page's width, whole on a click */
a.wide-shot { display: block; }
a.wide-shot img, article img[src$="-pc.png"] { max-width: 100%; }
/* a cell of a number alone sits to the right, its digits of one width (build_docs.py marks it) */
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
p > img + em, p > em:only-child { color: var(--hint); }

.toc { background: var(--surface); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px;
  font-size: 14px; line-height: 20px; }
.toc p { margin: 0 0 4px; font-weight: 600; }
.toc ul { margin: 0; padding-left: 18px; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px;
  max-width: 680px; }
.pager a { flex: 1; min-height: 48px; box-sizing: border-box; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; font-size: 14px; line-height: 20px; }
.pager a span { display: block; color: var(--text); font-weight: 600; }
.pager .next { text-align: right; }
footer { margin-top: 32px; color: var(--hint); font-size: 14px; line-height: 20px; }

/* sprint 63: the questions of the «Основы» lessons (quiz_blocks.py, quiz.js) */
.quiz-q { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); }
.quiz-q .q-text { margin-bottom: 8px; }
.q-options { list-style: none; padding: 0; margin: 0 0 8px; }
.q-options li { margin: 6px 0; }
.q-label { color: var(--hint); }
.q-option { display: block; width: 100%; text-align: left; padding: 8px 12px; font: inherit;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; }
.q-option:hover:enabled { border-color: var(--link); }
.q-option:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.q-option:disabled { cursor: default; }
.q-is-right .q-option { border: 2px solid var(--text); background: var(--surface); }  /* не деньги — не зелёный (14.11) */
.q-chosen-wrong .q-option { border: 2px solid var(--warn); background: var(--note); }
.q-verdict { font-weight: 700; margin: 4px 0; }
.q-ok .q-verdict { color: var(--text); }
.q-bad .q-verdict { color: var(--warn); }
.q-answer summary { cursor: pointer; color: var(--link); }
.q-answer p { margin: 6px 0 0; }
.quiz-on .quiz-q:not(.q-done) .q-answer { display: none; }
.quiz-on .q-done .q-answer summary { display: none; }
.quiz-on .q-done .q-right { display: none; }
.q-bad .q-right { display: block !important; }
.quiz-status, .quiz-progress { padding: 8px 12px; border-radius: var(--radius); background: var(--surface); }
.quiz-total { padding: 12px 16px; border-radius: var(--radius); margin: 0 0 16px; }
.quiz-total p { margin: 0 0 8px; }
.quiz-passed { background: var(--surface); }
.quiz-passed-text { font-weight: 700; font-size: 18px; line-height: 24px; color: var(--text); }
.quiz-again { background: var(--note); border-left: 3px solid var(--note-line); }
.q-again { font: inherit; min-height: 48px; padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); color: var(--text); cursor: pointer; }
.lesson-passed { color: var(--text); font-weight: 700; }
.small { font-size: 14px; line-height: 20px; color: var(--hint); }

/* 2.1.98 (owner 14.11, design audit question 5): on a phone the help's bottom bar, as the
   application's — «Оглавление», «В приложение», the other language — with targets of 48 px;
   the header keeps the name alone. 2.1.99 (second pass): the application's bar itself — a sign
   above the word, 12 px, its theme's inset, corners and shadow (tokens.css --tabs-*) */
.bottom { display: none; }
@media (max-width: 899px) {
  .bottom { position: fixed; left: var(--tabs-inset); right: var(--tabs-inset); z-index: 3;
    bottom: calc(var(--tabs-inset) + var(--tabs-lift)); display: grid;
    grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
    padding: 6px 6px calc(6px + var(--tabs-safe)); background: var(--card);
    border-top: 1px solid var(--tabs-line); border-radius: var(--tabs-radius); box-shadow: var(--tabs-shadow); }
  .bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 52px; border-radius: var(--r-s); color: var(--hint); text-decoration: none;
    font-size: 12px; line-height: 16px; font-weight: 500; }
  .bottom a:hover { background: var(--surface); color: var(--text); }
  .bottom svg { flex: 0 0 auto; }
  body.has-bottom { padding-bottom: calc(88px + var(--tabs-inset) + var(--tabs-lift) + env(safe-area-inset-bottom)); }
  body.has-bottom .top .links { display: none; }
}
@media (min-width: 900px) {
  .menu { display: none; }
  .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 0 16px; }
  /* 2.1.99: the contents stay in sight under the header while the page scrolls; taller than
     the window, they scroll on their own */
  .side { display: block; position: sticky; top: calc(var(--header-gap) + 64px); align-self: start;
    max-height: calc(100vh - var(--header-gap) - 64px); overflow-y: auto; padding: 8px 0 16px; }
  .side ul { padding: 0 0 8px; }
  main { padding: 0 0 40px; }
  .diagram { width: calc(100vw - 340px); max-width: 1160px; }
}
@media print {
  .top, .menu, .side, .pager, .bottom { display: none; }
  .layout { display: block; }
}

/* 16.11 (owner: the help's own schemes, in the site's style, «нужно ещё проще»): scripts/
   help_schemes.py draws them in HTML and inline SVG on the theme's tokens, so light and dark come
   with the theme; one idea per scheme, a few parts; on a phone one column */
.scheme { margin: 16px 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); }
.sc-title { margin: 0 0 12px; font-weight: 600; }
.scheme p { margin: 0; }
.sc-name { font-weight: 600; }
.sc-name a { color: var(--text); }
.sc-text, .sc-who { font-size: 14px; line-height: 20px; }
.sc-who { color: var(--hint); }
.sc-note, .sc-foot { margin-top: 12px !important; color: var(--hint); font-size: 14px; line-height: 20px; }
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* roles: three cards */
.sc-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.sc-card { padding: 14px 16px; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow); }
.sc-icon { display: block; margin-bottom: 8px; color: var(--hint); }
.sc-does { margin: 6px 0 8px; padding-left: 18px; font-size: 14px; line-height: 20px; }
.sc-does li { margin: 2px 0; }
.sc-not { font-size: 14px; line-height: 20px; color: var(--hint); }
.sc-not span { font-weight: 600; }
.sc-matrix { margin-top: 12px; }
.sc-matrix > summary { cursor: pointer; color: var(--link); font-size: 14px; line-height: 20px;
  min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; text-decoration: underline;
  text-underline-offset: 3px; }
.sc-matrix > summary::-webkit-details-marker { display: none; }
.sc-matrix > summary::before { content: ""; width: 7px; height: 7px; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.sc-matrix[open] > summary::before { transform: rotate(45deg); }
.sc-matrix table { margin: 4px 0 0; background: var(--card); }
.sc-matrix th[scope="row"] { font-weight: 400; background: var(--card); }
.sc-matrix thead td { border: 0; background: transparent; }
.sc-yes, .sc-no { text-align: center; }
.sc-yes { font-weight: 600; }
.sc-no { color: var(--hint); }

/* steps: the numbers on one line, joined by it */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sc-step { position: relative; margin: 0; padding: 0 0 18px 44px; }
.sc-step::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.sc-step:last-child::before { display: none; }
.sc-num { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 2px solid var(--text);
  color: var(--text); font-weight: 700; font-size: 14px; }
.sc-step .sc-name { padding-top: 4px; }
.sc-others { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px;
  font-size: 14px; line-height: 20px; }
.sc-other .sc-name { font-weight: 600; }

/* chart: the main page's sample cycle (landing.css .ld-c-*) */
.sc-chart-box { padding: 12px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); }
.sc-chart { display: block; width: 100%; height: auto; }
.sc-c-grid { stroke: var(--line); stroke-width: 1; }
.sc-c-text { fill: var(--hint); font-size: 16px; font-family: var(--font); }
.sc-c-price { fill: none; stroke: var(--hint); stroke-width: 2.5; stroke-linejoin: round; }
.sc-c-level { stroke: var(--warn); stroke-width: 2; stroke-dasharray: 6 5; }
.sc-c-tp { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linejoin: round; }
.sc-c-entry { fill: var(--text); stroke: var(--card); stroke-width: 2; }
.sc-c-buy { fill: var(--warn); stroke: var(--card); stroke-width: 2; }
.sc-c-exit { fill: var(--ok); stroke: var(--card); stroke-width: 2; }
.sc-legend { margin-top: 8px !important; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; line-height: 20px; color: var(--hint); }
.sc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sc-legend span::before { content: ""; width: 24px; border-top: 3px solid var(--hint); }
.sc-legend .avg::before { border-top: 3px dashed var(--warn); }
.sc-legend .tp::before { border-top-color: var(--ok); }
.sc-points { list-style: none; counter-reset: point; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sc-points li { counter-increment: point; position: relative; margin: 0; padding-left: 32px; }
.sc-points li::before { content: counter(point); position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--text); color: var(--bg); font-size: 12px; line-height: 22px;
  text-align: center; font-weight: 700; }
@media (max-width: 639px) { .sc-c-text { font-size: 22px; } }

/* marks: the states' marks as the application draws them (style.css .badge) */
table.sc-marks { margin: 0; background: var(--card); }
.sc-marks th[scope="row"] { background: var(--card); font-weight: 400; white-space: nowrap; }
.sc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
  font-size: 14px; line-height: 20px; border: 1px solid transparent; }
.sc-run { color: var(--text); background: var(--muted-soft); }
.sc-run::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.sc-stop { color: var(--hint); background: var(--surface); border-color: var(--line); }
.sc-danger { color: var(--danger); background: var(--danger-soft); font-weight: 600; }
.sc-wait { color: var(--warn); background: var(--warn-soft); }

@media (min-width: 640px) {
  .sc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the steps across: the number over its words, the line from number to number */
  .sc-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
  .sc-step { padding: 44px 0 0; text-align: center; }
  .sc-step::before { left: calc(50% + 22px); right: calc(-50% + 10px); top: 15px; bottom: auto; width: auto; height: 2px; }
  .sc-num { left: calc(50% - 16px); }
  .sc-step .sc-name { padding-top: 0; }
  .sc-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-matrix table, table.sc-marks { display: table; width: 100%; }
  .sc-matrix table { table-layout: fixed; }
  .sc-matrix thead td { width: 34%; }
}
/* on a phone the tables row by row: the row's name, then each column's name and its value */
@media (max-width: 639px) {
  :is(.sc-matrix, .sc-marks) :is(table, tbody, tr, th, td), table.sc-marks { display: block; }
  .sc-matrix table, table.sc-marks { overflow: visible; background: transparent; }
  :is(.sc-matrix, .sc-marks) thead { display: none; }
  :is(.sc-matrix, .sc-marks) tr { margin: 0 0 8px; padding: 8px 12px; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius); }
  :is(.sc-matrix, .sc-marks) :is(th, td) { border: 0; padding: 2px 0; }
  .sc-matrix th[scope="row"] { font-weight: 600; padding-bottom: 4px; }
  .sc-matrix td { display: flex; gap: 8px; justify-content: space-between; text-align: right; }
  :is(.sc-matrix, .sc-marks) td::before { content: attr(data-col); color: var(--hint); font-weight: 400; }
  .sc-matrix td::before { text-align: left; }
  .sc-marks td::before { display: block; font-size: 12px; line-height: 16px; margin-top: 6px; }
  .sc-marks th[scope="row"] { padding-bottom: 2px; }
}
/* the chart beside its three points on a wide screen, as the main page shows it */
@media (min-width: 900px) {
  .sc-chart-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
  .sc-chart-row .sc-points { grid-template-columns: minmax(0, 1fr); margin-top: 4px; gap: 14px; }
}
/* on a wide screen a scheme may take more than the text's 680 px, as the technical diagrams do */
@media (min-width: 900px) {
  .scheme { width: min(calc(100vw - 340px), 960px); max-width: none; }
}

/* «Устройство системы»: the UML diagrams (scripts/help_uml.py) on the theme's colours */
.uml { display: block; width: 100%; height: auto; min-width: 720px; font-family: var(--font); }
.scheme-uml-roles, .scheme-uml-cycle, .scheme-uml-states { overflow-x: auto; }
.uml-frame { fill: var(--card); stroke: var(--hint); stroke-width: 1.5; }
.uml-system { fill: var(--text); font-size: 14px; font-weight: 700; }
.uml-case, .uml-state { fill: var(--surface); stroke: var(--text); stroke-width: 1.2; }
.uml-state.uml-danger { stroke: var(--danger); fill: var(--danger-soft); }
.uml-state.uml-wait { stroke: var(--warn); fill: var(--warn-soft); }
.uml-text { fill: var(--text); font-size: 14px; }
.uml-name { fill: var(--text); font-size: 14px; font-weight: 600; }
.uml-small { fill: var(--hint); font-size: 12px; }
.uml-actor circle, .uml-actor path { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.uml-ext { fill: var(--card); stroke: var(--text); stroke-width: 1.2; }
.uml-line, .uml-dash { stroke: var(--hint); stroke-width: 1.3; }
.uml-dash { stroke-dasharray: 5 4; }
.uml-path { fill: none; stroke: var(--hint); stroke-width: 1.3; }
.uml-head { fill: none; stroke: var(--hint); stroke-width: 1.3; }
.uml-hollow { fill: var(--card); stroke: var(--hint); stroke-width: 1.3; }
.uml-start { fill: var(--text); }
.uml-end-ring { fill: none; stroke: var(--text); stroke-width: 1.6; }

/* 16.11 (owner: less long text): «Коротко» at a page's top — the page in three lines */
.short { margin: 0 0 20px; padding: 12px 16px; background: var(--surface); border-left: 3px solid var(--text);
  border-radius: 0 var(--radius) var(--radius) 0; }
.short-title { margin: 0 0 4px; font-weight: 700; font-size: 14px; line-height: 20px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--hint); }
.short ul { margin: 0; padding-left: 18px; }
.short li { margin: 4px 0; }

/* 16.11: a rare section folds — its heading is the summary, the arrow after it */
details.more { margin: 32px 0 8px; border-top: 1px solid var(--line); }
details.more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; cursor: pointer; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary h2 { margin: 0; padding: 8px 0; border: 0; }
details.more > summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 6px;
  border: solid var(--hint); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }
details.more[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.more > summary:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
details.more + details.more { margin-top: 0; }

/* 16.11: the search over the contents (help.js; hidden without the script) */
.find { position: relative; padding: 8px 0 12px; }
.menu .find { padding: 8px 16px 12px; }
.find input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 12px; font: inherit;
  font-size: 16px; color: var(--text); background: var(--field-bg); border: 1px solid var(--field-line);
  border-radius: var(--field-radius); }
.find input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.find-results { list-style: none; margin: 4px 0 0; padding: 0; }
.find-results:empty { display: none; }
.find-results li { margin: 0; }
.find-results a { display: block; padding: 8px; border-radius: var(--r-s); color: var(--text); text-decoration: none; }
.find-results a:hover, .find-results a:focus-visible { background: var(--surface); }
.find-title { display: block; font-weight: 600; font-size: 14px; line-height: 20px; }
.find-text { display: block; color: var(--hint); font-size: 12px; line-height: 16px; }
.find-results mark { background: var(--warn-soft); color: inherit; border-radius: 2px; }
.find-none { padding: 8px; color: var(--hint); font-size: 14px; }
