/* Справка Flexible SCADA: страница — меню разделов слева, текст посередине, «На странице» справа. Цвета — как у программы;
   тема — как в системе или выбранная (data-theme на <html>). */
:root {
  color-scheme: light;
  --bg: #f4f4f2; --surface: #ffffff; --surface-2: #f7f7f5; --text: #1f1f1f; --text-2: #4a4a47; --muted: #6b6b68;
  --border: #dcdcd8; --border-2: #c9c9c4; --accent: #2f6fd6; --accent-2: #1f57b3; --accent-bg: #e8f0fc;
  --ok: #1e8e3e; --warn: #b26a00; --warn-bg: #fff6e5; --err: #c62828; --note-bg: #eef5ff; --tip-bg: #ecf8ef;
  --code-bg: #f0f0ed; --mark: #e8590c; --mark-glow: rgba(232, 89, 12, .25);
  --radius: 10px; --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 24px rgba(0, 0, 0, .06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --mono: Consolas, "Cascadia Mono", "Courier New", monospace;
  --side-w: 264px; --top-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #141414; --surface: #1d1d1d; --surface-2: #232323; --text: #ececea; --text-2: #c8c8c4; --muted: #9a9a97;
    --border: #333331; --border-2: #444441; --accent: #6ea0f0; --accent-2: #8fb6f5; --accent-bg: #1c2a40;
    --warn-bg: #2e2412; --note-bg: #17243a; --tip-bg: #15291b; --code-bg: #262624; --mark: #ff8a3d; --mark-glow: rgba(255, 138, 61, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 24px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141414; --surface: #1d1d1d; --surface-2: #232323; --text: #ececea; --text-2: #c8c8c4; --muted: #9a9a97;
  --border: #333331; --border-2: #444441; --accent: #6ea0f0; --accent-2: #8fb6f5; --accent-bg: #1c2a40;
  --warn-bg: #2e2412; --note-bg: #17243a; --tip-bg: #15291b; --code-bg: #262624; --mark: #ff8a3d; --mark-glow: rgba(255, 138, 61, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 24px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 16px;
  padding: 0 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand small { color: var(--muted); font-weight: 400; }
.search { position: relative; flex: 0 1 520px; margin: 0 auto; }
.search input {
  width: 100%; height: 36px; padding: 0 12px 0 36px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23898781' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.4 10.4l3.1 3.1'/%3E%3C/svg%3E") no-repeat 11px center / 16px;
  color: var(--text); font: inherit; font-size: 14px;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; background-color: var(--surface); }
.search kbd { position: absolute; right: 10px; top: 8px; }
.results {
  position: absolute; top: 42px; left: 0; right: 0; max-height: min(70vh, 560px); overflow: auto; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
}
.results a { display: block; padding: 8px 10px; border-radius: 7px; color: var(--text); }
.results a:hover, .results a[aria-selected="true"] { background: var(--accent-bg); text-decoration: none; }
.results b { display: block; font-weight: 600; }
.results .where { color: var(--muted); font-size: 12.5px; }
.results .snip { display: block; color: var(--text-2); font-size: 13px; }
.results mark { background: color-mix(in srgb, var(--mark) 25%, transparent); color: inherit; border-radius: 2px; }
.results .none { padding: 10px; color: var(--muted); }
.top-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid transparent;
  border-radius: 8px; background: none; color: var(--text-2); cursor: pointer;
}
.top-btn:hover { background: var(--surface-2); border-color: var(--border); }
.top-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
/* окно программы WebScada.exe: шапка — заголовок окна (help.js): кнопки окна справа во всю высоту строки, значки —
   шрифтом Windows; у неактивного окна — приглушённые; верхний край и углы — тянуть размер */
html.app-frame .top { padding-inline-end: calc(138px + 12px); user-select: none; }
.win-controls { position: absolute; top: 0; bottom: 0; right: 0; display: flex; }
.win-btn {
  width: 46px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text);
  font: 10px "Segoe Fluent Icons", "Segoe MDL2 Assets"; display: grid; place-items: center; cursor: default;
}
.win-btn:hover { background: color-mix(in srgb, var(--text) 9%, transparent); }
.win-btn:active { background: color-mix(in srgb, var(--text) 16%, transparent); }
.win-close:hover, .win-close:active { background: #c42b1c; color: #fff; }
html.win-inactive .win-btn:not(:hover) { color: var(--muted); }
.win-grip { position: fixed; z-index: 10000; top: 0; height: 5px; }
.win-grip-top { left: 8px; right: 8px; cursor: n-resize; }
.win-grip-topleft { left: 0; width: 8px; height: 8px; cursor: nw-resize; }
.win-grip-topright { right: 0; width: 8px; height: 8px; cursor: ne-resize; }
html.win-maximized .win-grip { display: none; }

/* ---------- раскладка ---------- */
.layout { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) 220px; gap: 0; max-width: 1560px; margin: 0 auto; }
.side {
  position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow: auto; padding: 18px 10px 40px 16px;
  border-right: 1px solid var(--border);
}
.side h4 { margin: 18px 8px 6px; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.side h4:first-child { margin-top: 0; }
.side a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--text-2); font-size: 14px; line-height: 1.4; }
.side a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.side a[aria-current="page"] { background: var(--accent-bg); color: var(--accent-2); font-weight: 600; }
.doc { min-width: 0; padding: 28px 44px 80px; }
.doc > * { max-width: 920px; }
.doc > .wide, .doc > figure.shot.full, .doc > .player { max-width: 1080px; }
.toc { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow: auto; padding: 28px 16px 40px 8px; font-size: 13px; }
.toc b { display: block; margin: 0 0 8px 10px; color: var(--muted); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.toc a { display: block; padding: 3px 10px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.toc a.sub { padding-left: 22px; font-size: 12.5px; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.on { border-left-color: var(--accent); color: var(--accent-2); }
@media (max-width: 1280px) { .layout { grid-template-columns: var(--side-w) minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 60; left: 0; top: var(--top-h); width: min(300px, 86vw); background: var(--surface); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .2s; }
  body.nav-open .side { transform: none; }
  .menu-btn { display: inline-flex; }
  .doc { padding: 20px 16px 60px; }
  .brand small { display: none; }
}

/* ---------- текст ---------- */
.crumbs { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.lead { margin: 0 0 24px; color: var(--text-2); font-size: 17px; }
h2 { margin: 44px 0 12px; padding-top: 8px; font-size: 22px; line-height: 1.3; border-top: 1px solid var(--border); padding-top: 28px; }
h3 { margin: 28px 0 8px; font-size: 17.5px; line-height: 1.35; }
h4 { margin: 20px 0 6px; font-size: 15.5px; }
h2 .anchor, h3 .anchor { margin-left: 8px; color: var(--border-2); opacity: 0; font-weight: 400; }
h2:hover .anchor, h3:hover .anchor { opacity: 1; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-left: 24px; }
li { margin: 4px 0; }
li > p { margin: 4px 0; }
code { padding: 1px 6px; border-radius: 5px; background: var(--code-bg); font: 13.5px var(--mono); }
pre { margin: 12px 0; padding: 14px 16px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); font: 13.5px/1.55 var(--mono); }
pre code { padding: 0; background: none; }
kbd {
  display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid var(--border-2); border-bottom-width: 2px; border-radius: 5px;
  background: var(--surface); font: 12.5px/1.5 var(--font); text-align: center; white-space: nowrap;
}
.ui { padding: 0 4px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; white-space: nowrap; }
.path { color: var(--text-2); font-weight: 600; white-space: nowrap; }
.muted { color: var(--muted); }
hr { margin: 32px 0; border: 0; border-top: 1px solid var(--border); }

.callout { margin: 16px 0; padding: 12px 16px 12px 46px; border-radius: 8px; position: relative; background: var(--note-bg); }
.callout::before { position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--font); color: #fff; }
.callout.note::before { content: "i"; background: var(--accent); }
.callout.tip { background: var(--tip-bg); }
.callout.tip::before { content: "✓"; background: var(--ok); }
.callout.warn { background: var(--warn-bg); }
.callout.warn::before { content: "!"; background: var(--warn); }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* карточки разделов на главной */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 18px 0; max-width: 1080px !important; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; }
.card b { font-size: 16px; }
.card span { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.card.hero { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; padding: 20px 24px; background: linear-gradient(120deg, var(--accent-bg), var(--surface)); }
.card.hero img { width: 360px; height: auto; border-radius: 8px; border: 1px solid var(--border); }
.card.hero > div { display: flex; flex-direction: column; gap: 8px; }
.card.hero b { font-size: 20px; }
@media (max-width: 760px) { .card.hero { flex-direction: column; align-items: stretch; } .card.hero img { width: 100%; } }

/* шаги */
ol.steps { counter-reset: step; list-style: none; padding-left: 0; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 40px; margin: 14px 0; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px;
}

/* ---------- таблицы параметров ---------- */
.table-wrap { margin: 14px 0 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { position: sticky; top: 0; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
tr:last-child > td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--accent-bg) 45%, transparent); }
td.p { width: 26%; font-weight: 600; }
td.v { width: 30%; }
td.v .opt { display: block; padding: 1px 0; }
td.v .opt + .opt { border-top: 1px dashed var(--border); }
td.v .def { color: var(--muted); font-size: 12.5px; }
td .kind { display: inline-block; margin-bottom: 2px; padding: 0 6px; border-radius: 4px; background: var(--code-bg); color: var(--muted); font-size: 11.5px; font-weight: 600; }
tr.sec > td { background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
table.compact td, table.compact th { padding: 6px 10px; }

/* ---------- снимки, метки, увеличение ---------- */
figure.shot { margin: 18px 0 22px; }
.shot-frame { position: relative; display: inline-block; max-width: 100%; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); cursor: zoom-in; line-height: 0; }
.shot-frame img { display: block; height: auto; }
figure.shot.full .shot-frame { width: 100%; }
figure.shot.full .shot-frame img { width: 100%; }
figure.shot figcaption { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.mk { position: absolute; pointer-events: none; }
.mk.box { border: 2px solid var(--mark); border-radius: 6px; box-shadow: 0 0 0 4px var(--mark-glow); }
.mk i {
  position: absolute; left: -11px; top: -11px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center;
  background: var(--mark); color: #fff; font: 700 12.5px/1 var(--font); font-style: normal; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.mk:not(.box) i { left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* номер — снаружи рамки, где есть место (выбирает build-help.mjs): слева посередине, справа, сверху, снизу; у крупной — в её углу */
.mk.at-l i { left: auto; right: calc(100% + 6px); top: 50%; transform: translateY(-50%); }
.mk.at-r i { left: calc(100% + 6px); top: 50%; transform: translateY(-50%); }
.mk.at-t i { left: -2px; top: auto; bottom: calc(100% + 5px); }
.mk.at-b i { left: -2px; top: calc(100% + 5px); }
.mk.in i { left: 5px; top: 5px; }
.mk.small i { min-width: 18px; height: 18px; font-size: 11px; left: -9px; top: -9px; }
ol.legend { margin: 8px 0 0; padding-left: 0; list-style: none; counter-reset: lg; font-size: 14px; }
ol.legend li { counter-increment: lg; position: relative; padding-left: 30px; margin: 4px 0; }
ol.legend li::before {
  content: counter(lg); position: absolute; left: 0; top: 2px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mark); color: #fff; font-size: 11.5px; font-weight: 700;
}
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.pair figure.shot { margin: 8px 0; }
/* таблица и снимок рядом: снимок — не шире 360 px (уменьшается), увеличивается щелчком */
.side-shot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 360px); gap: 24px; align-items: start; }
.side-shot figure.shot { margin-top: 4px; min-width: 0; position: sticky; top: calc(var(--top-h) + 12px); }
/* высокая панель — по высоте экрана (рядом с таблицей она видна целиком, пока таблицу листают) */
.side-shot .shot-frame img { width: auto; max-width: 100%; max-height: calc(100vh - var(--top-h) - 48px); }
@media (max-width: 1100px) { .side-shot { grid-template-columns: minmax(0, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 28px 64px 16px; background: rgba(10, 10, 12, .86); }
.lightbox[hidden] { display: none; }
.lightbox .shot-frame { cursor: zoom-out; max-height: calc(100vh - 110px); box-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.lightbox .shot-frame img { max-height: calc(100vh - 110px); width: auto; max-width: calc(100vw - 128px); }
.lightbox .cap { color: #e6e6e6; font-size: 14px; text-align: center; max-width: 900px; }
.lightbox button { position: absolute; top: 50%; width: 44px; height: 64px; margin-top: -32px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }
.lightbox .close { top: 16px; right: 16px; margin: 0; width: 40px; height: 40px; font-size: 20px; }

/* ---------- мини-ролики (GIF): во всю ширину, 1:1 к экрану; на маленьком экране — уменьшаются ---------- */
.doc > figure.shot.gif { max-width: 1080px; }
.gif-frame img { width: 100%; }
.lightbox .gif-frame img { width: auto; }
.gif-badge {
  position: absolute; right: 8px; top: 8px; padding: 2px 7px; border-radius: 5px; background: rgba(20, 20, 24, .62); color: #fff;
  font: 700 10.5px/1.4 var(--font); letter-spacing: .06em; pointer-events: none;
}

/* ---------- проигрыватель шагов (анимация) ---------- */
.player { margin: 20px 0 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.player-stage { position: relative; background: var(--surface-2); aspect-ratio: 16 / 10; overflow: hidden; }
.player-frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; opacity: 0; transition: opacity .55s ease; }
.player-frame.on { opacity: 1; z-index: 1; }
/* размер картинки кадра задаёт help.js (вписать в кадр) — рамка ровно по картинке, метки точно на месте */
.player-frame .shot-frame { box-shadow: var(--shadow); }
.player-frame .shot-frame img { max-width: none; }
.player-frame.on .shot-frame { animation: pf-zoom 7s ease-out both; }
.player-frame.on .mk { animation: mk-in .5s .5s both, mk-pulse 1.6s 1.2s ease-in-out 2; }
@keyframes pf-zoom { from { transform: scale(1); } to { transform: scale(1.035); } }
@keyframes mk-in { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: none; } }
@keyframes mk-pulse { 50% { box-shadow: 0 0 0 10px var(--mark-glow); } }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.player-bar button {
  flex: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text);
  cursor: pointer; font-size: 14px;
}
.player-bar button:hover { border-color: var(--accent); color: var(--accent); }
.player-text { flex: 1 1 auto; min-width: 0; }
.player-text b { display: block; font-size: 14.5px; }
.player-text span { display: block; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.player-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; max-width: 40%; }
.player-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--border-2); }
.player-dots button[aria-current="true"] { background: var(--accent); }
.player-progress { height: 3px; background: var(--border); }
.player-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.player.playing .player-progress i { animation: pp var(--dur, 6s) linear both; }
@keyframes pp { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .player-frame, .player-frame.on .shot-frame, .player-frame.on .mk { transition: none; animation: none; }
}

/* библиотеки: плитки типов */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 14px 0 22px; max-width: 1080px !important; }
.lib-type { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.lib-pic { height: 120px; display: grid; place-items: center; border-radius: 6px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; overflow: hidden; }
.lib-pic svg { max-width: 100%; max-height: 112px; width: auto; height: auto; }
.lib-type b { font-size: 14px; }
.lib-type p { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.4; }
.lib-type details { font-size: 12.5px; }
.lib-type summary { cursor: pointer; color: var(--accent); }
.lib-type table { font-size: 12px; }
.lib-type td, .lib-type th { padding: 3px 6px; }

/* соседние страницы */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); }
.pager a { display: flex; flex-direction: column; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); max-width: 48%; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager a small { color: var(--muted); }
.pager a.next { margin-left: auto; text-align: right; }

.topic-note { margin: 0 0 18px; padding: 8px 14px; border-radius: 8px; background: var(--warn-bg); font-size: 14px; }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { background: color-mix(in srgb, var(--mark) 18%, transparent); } }

@media print {
  .top, .side, .toc, .pager, .player-bar { display: none !important; }
  .layout { display: block; }
  .doc { padding: 0; }
  .player-frame { position: static; opacity: 1; page-break-inside: avoid; }
  .player-stage { aspect-ratio: auto; }
}
