:root {
  /* Палитра как на prioskol.ru */
  --ink: #303030;
  --muted: #5a5a5a;
  --paper: #ffffff;
  --bg: #f3f4f2;
  --line: #e4e4e4;
  --slate: #047d1d;
  --brand: #047d1d;
  --brand-dark: #00592d;
  --brand-yellow: #ecd51d;
  --green: #047d1d;
  --green-bg: #e7f5ea;
  --red: #b70000;
  --red-bg: #fdecec;
  --amber: #a53b08;
  --amber-bg: #fff6e8;
  --blue: #09478f;
  --blue-bg: #e8f4fb;
  --focus: #047d1d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(48, 48, 48, 0.04), 0 10px 28px rgba(4, 125, 29, 0.07);
  --shadow-soft: 0 1px 2px rgba(48, 48, 48, 0.05);
  --space: 16px;
  --max: 720px;
  --nav-h: 64px;
  --header-h: 72px;
  font-family: "PT Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 50% -80px, rgba(4, 125, 29, 0.12), transparent 60%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-size: 18px;
  min-height: 100dvh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { text-decoration: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
button, summary, a { cursor: pointer; }
main button {
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font: inherit;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}
main button:active { transform: scale(0.98); }

.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { top: 8px; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--brand);
  color: white;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 89, 45, 0.18);
}
.home-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-height: var(--header-h);
  padding: 12px 16px calc(12px + env(safe-area-inset-top, 0px));
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease;
}
.home-bar:hover,
.home-bar:focus-visible {
  background: var(--brand-dark);
  outline: none;
}
.home-bar[aria-current="page"] {
  background: var(--brand-dark);
  box-shadow: inset 0 -3px 0 var(--brand-yellow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.brand-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}
.home-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wrap {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 calc(112px + env(safe-area-inset-bottom, 0px));
}
.page-head {
  margin: 4px 0 20px;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(18px, 4.5vw, 22px);
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}
h3 { font-size: 18px; margin: 0 0 6px; }
.lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}

.guide > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 12px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.guide > h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(236, 213, 29, 0.28);
  flex: 0 0 auto;
}

.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 16px 0 0;
}
.flow div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 15px;
}
.flow b { display: block; }
.flow i { font-style: normal; color: var(--slate); font-weight: 700; align-self: center; }
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; }
  .flow i { justify-self: center; }
}

.grid { display: grid; gap: 12px; }
@media (min-width: 720px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  padding: 16px;
  min-height: 44px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: rgba(4, 125, 29, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tag.pick { color: var(--blue); }
.tag.in { color: var(--green); }
.tag.count { color: var(--amber); }

.step {
  display: grid;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 5px solid var(--brand);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 800px) {
  .step { grid-template-columns: auto 1fr minmax(200px, 280px); align-items: start; }
  .step figure { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}
.num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: white;
  font-weight: 700;
  font-size: 20px;
  border-radius: 12px;
}
.do { margin: 0 0 8px; }
.why, .key {
  margin: 0;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.why { background: var(--blue-bg); color: var(--blue); }
.key { background: var(--amber-bg); color: var(--amber); }
figure { margin: 8px 0 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 4px; }

.callout {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 12px 0;
}
.callout strong { display: block; margin-bottom: 4px; }
.ok { background: var(--green-bg); color: var(--green); border-color: #9fd5a8; }
.stop { background: var(--red-bg); color: var(--red); border-color: #f0b4b4; }
.warn { background: var(--amber-bg); color: var(--amber); border-color: #f0d9a8; }
.info { background: var(--blue-bg); color: var(--blue); border-color: #b7d7ef; }

.phone {
  background: #111827;
  color: white;
  padding: 10px;
  max-width: 280px;
  border-radius: var(--radius-sm);
}
.phone-top {
  background: #ea580c;
  color: white;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 15px;
}
.phone-sub { background: #fff7ed; color: #7c2d12; padding: 6px 10px; font-size: 13px; }
.rows { width: 100%; border-collapse: collapse; background: white; color: var(--ink); font-size: 14px; }
.rows th, .rows td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.rows .fact { font-weight: 700; text-align: right; }
.fact.good { color: var(--green); }
.fact.bad { color: var(--red); }
.phone-actions { display: flex; gap: 6px; margin-top: 8px; }
.phone-actions span {
  flex: 1;
  text-align: center;
  background: white;
  color: var(--ink);
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.tabs { margin: 12px 0; }
.tablist { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tablist button {
  min-height: 44px;
  min-width: 120px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}
.tablist button[aria-selected="true"] { background: var(--brand); color: white; }
.legend { width: 100%; border-collapse: collapse; background: white; font-size: 16px; border-radius: var(--radius-sm); overflow: hidden; }
.legend th, .legend td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legend th { background: var(--bg); }

.codes { display: grid; gap: 12px; }
@media (min-width: 720px) { .codes { grid-template-columns: 180px 1fr; align-items: center; } }
.code-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--shadow-soft);
}

.video {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 16px 0;
}
.frame {
  position: relative;
  padding-top: 56%;
  background: var(--brand-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 12px 0;
}
summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; }

.bottom.four { grid-template-columns: repeat(4, 1fr); }
.bottom.one { grid-template-columns: 1fr; }
.bottom.one a {
  flex-direction: row;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand);
  border-radius: 999px;
  margin: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  min-height: 52px;
  background: var(--paper);
  border: 1px solid rgba(4, 125, 29, 0.18);
  box-shadow: var(--shadow);
}
.bottom.one a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
  border-color: transparent;
}
.ab.plain { grid-template-columns: 1fr; }
.bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(228, 228, 228, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 25;
}
.bottom a {
  min-height: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.bottom a[aria-current="page"] { color: var(--ink); background: var(--bg); }
.bottom svg { width: 22px; height: 22px; }
.bottom button {
  min-height: var(--nav-h);
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.foot { color: var(--muted); font-size: 14px; margin-top: 28px; }
.more-panel { display: none; }
.more-panel.open {
  display: grid;
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 72px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 26;
  overflow: hidden;
}
.more-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .bottom, .more-panel { display: none !important; }
  .wrap { padding-bottom: 48px; }
}

@media print {
  .top, .bottom, .more-panel, .skip, .noprint { display: none !important; }
  body { background: white; }
  .wrap { width: auto; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

.sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 0 16px;
}
.sheet h2 { margin-top: 0; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sheet ol { margin: 8px 0; padding-left: 20px; }
.qr { width: 120px; height: 120px; }
@media print {
  .sheet { break-after: page; border: none; }
  @page { size: A5; margin: 10mm; }
}

.models { display: flex; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.models button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--brand);
  border-radius: 999px;
}
.models button[aria-pressed="true"] { background: var(--brand); color: white; }

.pick-grid,
.doc-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .pick-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.pick-card,
.doc-card {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.pick-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 8px 4px 12px;
  justify-items: center;
}
.pick-card:hover .pick-frame,
.pick-card:focus-visible .pick-frame {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pick-card[aria-pressed="true"] .pick-name {
  color: var(--brand);
}
.pick-card[aria-pressed="true"] .pick-frame {
  box-shadow: 0 0 0 3px rgba(236, 213, 29, 0.55), var(--shadow);
}
.doc-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 18px 20px;
}
.doc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-yellow), var(--brand));
}
.doc-card:hover,
.doc-card:focus-visible {
  border-color: rgba(4, 125, 29, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}
.pick-frame {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  height: 220px;
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pick-frame img {
  max-width: 78%;
  max-height: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pick-name {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}
.doc-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.doc-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.linkish {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.model-needed {
  padding: 14px 16px;
  background: var(--amber-bg);
  border: 1px solid #f0d9a8;
  border-radius: var(--radius-sm);
  color: var(--amber);
}

.shot {
  margin: 0 0 16px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid rgba(228, 228, 228, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.say {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.say b {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.85em;
  vertical-align: 0.05em;
}
.device-wrap {
  width: min(100%, 300px);
  margin: 0 auto;
}
.tsd-photo {
  position: relative;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(48, 48, 48, 0.12));
}
.tsd-photo .tsd-body {
  display: block;
  width: 100%;
  height: auto;
}
.tsd-screen-slot {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.2);
}
/* Официальные фронты Point Mobile, зоны в % от обрезанного кадра */
.shell-68 .tsd-screen-slot {
  left: 13%;
  top: 8%;
  width: 72%;
  height: 58%;
}
.shell-451 .tsd-screen-slot {
  left: 12%;
  top: 7%;
  width: 76%;
  height: 44%;
}
.tsd-screen {
  background: #fff;
  color: #1c1917;
  overflow: hidden;
  height: 100%;
  font-size: 11px;
  line-height: 1.2;
}
.hot {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  border: 3px solid #facc15;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.32);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
}
.press-scan .hot-scan,
.press-ent .hot-ent,
.press-esc .hot-esc,
.press-bksp .hot-bksp {
  opacity: 1;
}
/* PM68 — боковые и центральный СКАН; ENT; стрелка влево (стирание) */
.shell-68 .hot-scan { left: 1%; top: 34%; width: 7%; height: 16%; border-radius: 4px; }
.shell-68 .hot-scan-r { left: 92%; top: 34%; }
.shell-68 .hot-scan-c { left: 39%; top: 70.5%; width: 22%; height: 5.5%; border-radius: 6px; }
.shell-68 .hot-ent { left: 70%; top: 70%; width: 16%; height: 6%; }
.shell-68 .hot-bksp { left: 14%; top: 70%; width: 12%; height: 6%; }
/* PM451 numeric — боковые и центральный СКАН; ESC; BKSP; ENTER */
.shell-451 .hot-scan { left: 0%; top: 24%; width: 8%; height: 12%; border-radius: 4px; }
.shell-451 .hot-scan-r { left: 92%; top: 24%; width: 8%; height: 12%; }
.shell-451 .hot-scan-c { left: 18%; top: 55.5%; width: 64%; height: 5.5%; border-radius: 6px; }
.shell-451 .hot-esc { left: 20%; top: 64%; width: 12%; height: 4%; }
.shell-451 .hot-bksp { left: 35%; top: 64%; width: 11%; height: 4%; }
.shell-451 .hot-ent { left: 64.5%; top: 84.5%; width: 12.5%; height: 10.5%; }
.sb {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px;
  background: #111;
  color: #fff;
  font-size: 11px;
}
.ab {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 6px;
  align-items: center;
  background: #e36b1e;
  color: #fff;
  padding: 8px;
}
.ab b, .ab small { display: block; }
.ab small { font-size: 11px; opacity: 0.95; }
.ab .back, .ab .tool {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.tap { outline: 3px solid var(--brand); outline-offset: -3px; background: var(--green-bg); }
.scanbox {
  margin: 8px;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  color: #44403c;
}
.cols, .row {
  display: grid;
  grid-template-columns: 1fr 42px 46px;
  gap: 4px;
  align-items: center;
}
.cols {
  background: #e7e5e4;
  color: #44403c;
  padding: 6px 8px;
  font-size: 11px;
}
.row { padding: 8px; border-bottom: 1px solid #e7e5e4; }
.okb { color: #15803d; font-weight: 700; text-align: right; }
.okb small, .badb small { display: block; font-weight: 500; color: #57534e; }
.badb { color: #b91c1c; font-weight: 700; text-align: right; }
.op {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px;
  border-bottom: 1px solid #e7e5e4;
  font-size: 13px;
}
.doc {
  padding: 12px;
  border-bottom: 1px solid #e7e5e4;
}
.doc b { display: block; }
.dlg {
  margin: 24px 12px;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  overflow: hidden;
}
.dlg p { margin: 0; padding: 12px; background: #fff7ed; }
.dlg button {
  width: 100%;
  border-radius: 0;
  border-bottom: 1px solid #e7e5e4;
}
.home-icon {
  width: 64px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
}
.home-icon img {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 6px;
  border-radius: 16px;
}
.home-icon span {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.boot {
  min-height: 100%;
  display: grid;
  place-items: center;
  background: #0c0a09;
  color: white;
  text-align: center;
  padding: 16px;
}
.qty {
  margin: 24px 10px;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  padding: 10px;
  background: #fff7ed;
}
.qty p {
  margin: 0 0 4px;
  color: #44403c;
  font-size: 12px;
}
.qty .field {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-bottom: 2px solid var(--brand);
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  background: var(--green-bg);
}
.qty small {
  display: block;
  margin-top: 6px;
  color: #57534e;
  font-size: 12px;
}
.pics {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.pic {
  margin: 0;
  width: min(100%, 360px);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow-soft);
}
.pic img {
  width: 100%;
  max-height: 220px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.pic figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
.tsd-photo + .pics,
.device-wrap + .pics { margin-top: 12px; }
.keylist { margin: 8px 0 0; padding: 0; list-style: none; }
.keylist li {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.chip {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  vertical-align: 0.1em;
}
.chip.scan { background: #f97316; color: #111; }
.chip.go { background: #1d4ed8; } /* как синяя ENT / ENTER на корпусе */
.chip.esc { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.where { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 0; }
html[data-tsd="pm451"] .only-68 { display: none; }
html:not([data-tsd="pm451"]) .only-451 { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
