/* /pricing (prototype site-pricing, pr-* classes) and /start-payment (prototype site-login «Новий акаунт», lg-* classes).
   The plan cards are in site-pricing-plans.css. Product shots: prs-* (ported from the prototype cabinet screens app-improve,
   app-bots, app-answers, scoped to the shot; their phone rules apply to the 400 px phone copy, .pr-shot-m, not to the viewport). */

/* site section basics of the prototype shell (not in ds.css) */
.pr-root .sec, .lg-root .sec { border-bottom: 1px solid var(--hair); padding: 72px 20px; position: relative; }
.pr-root .sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.pr-root .h-hero { margin: 0; font: 400 clamp(36px, 6vw, 60px)/1.02 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.pr-root .h-sec { margin: 0; font: 400 clamp(28px, 4vw, 38px)/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.pr-root .h-hero .dim, .pr-root .h-sec .dim { color: var(--ink-4); }
.pr-root .cta-dark .h-sec { color: #f5f5f5; }
.pr-root .cta-dark .h-sec .dim { color: #8a8a8a; }
.pr-root .lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-3); max-width: 60ch; }
.pr-root .h-card { margin: 0; }
:where(.pr-root) p { margin: 0; }
.pr-root p, .pr-root li, .pr-root summary { text-wrap: pretty; }
.pr-root .h-sec { text-wrap: balance; }
.pr-root [id^="pr-"] { scroll-margin-top: 76px; }
.pr-root .wordmark { font: 600 16px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink-3); }

/* 1 · hero + plans */
.pr-top { padding-top: 56px !important; padding-bottom: 64px !important; }
.pr-head { gap: 0 !important; margin-bottom: 0 !important; }
.pr-head .h-hero { margin-top: 18px; font-size: clamp(36px, 5.4vw, 58px); }
.pr-top .pl-bill { margin-top: 26px; }

/* section heads: left heading, right lead */
.pr-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 32px; align-items: end; margin-bottom: 32px; }
.pr-split > div { display: grid; gap: 14px; justify-items: start; }
.pr-split .lead { font-size: 15px; }
@media (max-width: 860px) { .pr-split { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; } }

/* 2 · cabinet tour */
.pr-see-tabs { padding: 3px; border-radius: 10px; margin-bottom: 20px; }
.pr-see-tabs[hidden] { display: none; }
.pr-see-tabs > button { height: 32px; padding: 0 13px; font-size: 13px; border-radius: 8px; cursor: pointer; }
.pr-see-tabs > button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pr-panel { display: grid; gap: 0; }
.pr-panel[hidden] { display: none; }
.pr-panel + .pr-panel { margin-top: 40px; }
.pr-see-tabs:not([hidden]) ~ .pr-panel + .pr-panel { margin-top: 0; }
.pr-see-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; margin-bottom: 18px; }
.pr-see-cap > div { display: grid; gap: 6px; }
.pr-see-cap p { font-size: 14px; color: var(--ink-3); max-width: 68ch; }
.pr-fig { margin: 0; display: grid; gap: 8px; min-width: 0; }
.pr-fig + .pr-fig { margin-top: 22px; }
.pr-shot-lab { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 13px; font-weight: 500; color: var(--ink); }
.pr-shot-lab svg.lucide { width: 14px; height: 14px; color: var(--ink-3); }
.pr-fig .pr-shot-m { display: none; }
@media (max-width: 640px) { .pr-fig .pr-shot-d { display: none; } .pr-fig .pr-shot-m { display: block; } }
.pr-more { margin-top: 14px !important; font-size: 13px; color: var(--ink-3); }
#pr-see > .shot-cap { margin-top: 18px; }
.pr-lnk { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 3px; }
.pr-lnk:hover { text-decoration-color: var(--ink); }
@media (max-width: 760px) { .pr-see-cap { grid-template-columns: minmax(0, 1fr); } .pr-see-cap .tag { justify-self: start; } }
@media (max-width: 640px) { .pr-see-tabs:not([hidden]) { display: flex; width: 100%; } .pr-see-tabs > button { flex: 1 1 auto; justify-content: center; height: 36px; padding: 0 8px; } }

/* 3 · comparison table: sticky plan header (61 = the site nav's 60 px + its rule); overflow: clip keeps the radius and the sticky head */
.pr-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.pr-count { font-size: 13px; color: var(--ink-3); }
.pr-count b { font-weight: 500; color: var(--ink); }
.pr-view { padding: 3px; border-radius: 10px; }
.pr-seg > label { position: relative; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .2s var(--ease); }
.pr-seg > label:hover { color: var(--ink); }
.pr-seg > label:has(input:checked) { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--ring), var(--shadow-sm); }
.pr-seg > label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pr-root:has(#pr-view-diff:checked) .pr-same { display: none; }
@media (max-width: 720px) { .pr-seg > label { height: 32px; } }
.pr-cmp { overflow: clip; padding: 0; }
.pr-cmp .table-wrap { overflow: visible; }
.pr-tbl { table-layout: fixed; }
.pr-tbl th, .pr-tbl td { vertical-align: middle; }
.pr-tbl thead th { position: sticky; top: 61px; z-index: 3; padding: 10px 12px; vertical-align: bottom; text-align: left; background: var(--panel); border-bottom: 0; box-shadow: inset 0 -1px 0 var(--hair); font-weight: 400; }
.pr-tbl thead th:first-child { width: auto; padding-left: 16px; font: 500 13px/1.3 var(--f-ui); color: var(--ink-3); }
.pr-tbl thead th b { display: block; font: 500 15px/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.pr-tbl thead th small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: 2px; white-space: nowrap; }
.pr-tbl thead th.pf { background: color-mix(in srgb, var(--ink) 3%, var(--panel)); box-shadow: inset 0 2px 0 var(--ink), inset 0 -1px 0 var(--hair); }
.pr-hb { margin-top: 6px; min-width: 88px; }
.pr-tbl .c { text-align: center; width: 19%; }
.pr-tbl tbody th { font-weight: 400; font-size: 13px; color: var(--ink); white-space: normal; text-align: left; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--hair); background: var(--panel); }
.pr-tbl tbody tr:last-child > * { border-bottom: 0; }
.pr-tbl tbody td { padding: 10px 12px; }
.pr-tbl .pf { background: color-mix(in srgb, var(--ink) 3%, var(--panel)); }
.pr-tbl tbody tr:hover td.pf { background: color-mix(in srgb, var(--ink) 5%, var(--panel)); }
.pr-tbl tbody tr:not(.pr-grp):hover > th { background: var(--panel-2); }
.pr-tbl .cell-2 { gap: 2px; }
.pr-tbl .cell-2 span { font-weight: 450; font-size: 13.5px; color: var(--ink); }
.pr-tbl .cell-2 small { font-size: 12.5px; }
.pr-grp td { background: var(--panel-2); padding: 10px 16px; font-size: 12.5px; font-weight: 500; color: var(--ink); text-align: left; }
.pr-grp td > span { display: inline-flex; align-items: center; gap: 7px; }
.pr-grp svg.lucide { color: var(--ink-3); }
.pr-tbl .c svg.lucide { color: var(--ink); }
.pr-no { color: var(--ink-4); }
.pr-val { font-size: 12.5px; font-weight: 500; }
/* a row every plan shares: one cell across the three plan columns, between two hairlines; the Pro tint stays in the middle third */
.pr-tbl td.pr-all3 { width: auto; padding-left: 16px; padding-right: 16px; --pr-pf: color-mix(in srgb, var(--ink) 3%, var(--panel)); background: linear-gradient(90deg, transparent 33.333%, var(--pr-pf) 33.333% 66.667%, transparent 66.667%); }
.pr-tbl tbody tr:hover td.pr-all3 { --pr-pf: color-mix(in srgb, var(--ink) 5%, var(--panel)); }
.pr-allv { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; }
.pr-allv::before, .pr-allv::after { content: ""; flex: 1 1 0; min-width: 12px; height: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pr-allv svg.lucide { margin-right: -4px; color: var(--ink); }
@media (min-width: 641px) and (max-width: 900px) {
  .pr-tbl .c { width: 21%; }
  .pr-hb { min-width: 0; width: 100%; }
}
/* ≤ 640: stacked rows under a sticky 3-column head; no horizontal scroll */
@media (max-width: 640px) {
  .pr-tbl, .pr-tbl thead, .pr-tbl tbody { display: block; }
  .pr-tbl thead { position: sticky; top: 61px; z-index: 3; background: var(--panel); box-shadow: 0 1px 0 var(--hair), 0 10px 14px -12px color-mix(in srgb, var(--ink) 30%, transparent); }
  .pr-tbl tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-tbl thead th { position: static; display: block; width: auto; padding: 9px 6px 8px; text-align: center; box-shadow: none; }
  .pr-tbl thead th.pf { box-shadow: inset 0 2px 0 var(--ink); }
  .pr-tbl thead th.c { width: auto; }
  .pr-tbl thead th:first-child { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pr-tbl thead th b { font-size: 14px; }
  .pr-hb { min-width: 0; width: 100%; padding: 0 4px; }
  .pr-tbl tbody .c { width: auto; display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 4px 10px; border-bottom: 1px solid var(--hair); }
  .pr-tbl tbody td.pr-all3, .pr-tbl tbody tr:hover td.pr-all3 { grid-column: 1 / -1; display: block; padding: 4px 14px 10px; background: none; }
  .pr-tbl tbody th { grid-column: 1 / -1; display: block; border-bottom: 0; padding: 11px 14px 2px; }
  .pr-tbl tbody tr:not(.pr-grp):hover > th { background: none; }
  .pr-tbl tbody tr:hover td { background: none; }
  .pr-tbl tbody td.pf, .pr-tbl tbody tr:hover td.pf { background: none; }
  .pr-tbl .cell-2 small { display: none; }
  .pr-tbl .cell-2 span { font-size: 13.5px; }
  .pr-grp td { grid-column: 1 / -1; display: block; padding: 9px 14px; }
  .pr-grp + tr > th { padding-top: 12px; }
}

/* 4 · first week */
.pr-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.pr-tl::before { content: ""; position: absolute; left: 5px; right: calc((100% - 64px) / 5 - 6px); top: 5px; height: 1px; background: var(--hair); }
.pr-tl-i { display: grid; gap: 14px; align-content: start; min-width: 0; position: relative; }
.pr-tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink-4); position: relative; z-index: 1; }
.pr-you .pr-tl-dot { background: var(--ink); box-shadow: 0 0 0 3px var(--bg); }
.pr-max .pr-tl-dot { background: var(--ink-3); box-shadow: 0 0 0 3px var(--bg); }
.pr-chetver .pr-tl-dot { box-shadow: inset 0 0 0 1.5px var(--ink-4), 0 0 0 3px var(--bg); }
.pr-tl-b { display: grid; gap: 6px; align-content: start; padding-right: 8px; }
.pr-tl-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 2px; }
.pr-tl-when { font: 500 12px/1.3 var(--f-ui); color: var(--ink-3); }
.pr-tl-k .tag { font-size: 11.5px; }
.pr-you.pr-tl-i .tag { background: var(--panel); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); }
.pr-tl-k .pr-maxchip { background: transparent; box-shadow: 0 0 0 1px var(--ink-3); color: var(--ink-2); }
.pr-tl h3 { margin: 0; font: 500 15px/1.3 var(--f-display); letter-spacing: -0.015em; }
.pr-tl p { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 1099px) {
  .pr-tl { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pr-tl::before { content: none; }
  .pr-tl-i:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: -30px; width: 1px; background: var(--hair); }
  .pr-tl-i { grid-template-columns: 11px minmax(0, 1fr); column-gap: 18px; }
  .pr-tl-dot { margin-top: 3px; }
  .pr-tl-b { max-width: 60ch; padding-right: 0; }
}

/* 5 · proof: the one case + the 12 companies */
.pr-proofg { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 56px; align-items: center; }
.pr-proof { display: grid; gap: 16px; padding: 22px; border-radius: var(--r-xl); color: var(--ink); }
.pr-proof > span { display: block; }
.pr-proof:hover { box-shadow: inset 0 1px 0 var(--hl), 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent), 0 10px 24px -14px color-mix(in srgb, var(--ink) 30%, transparent); }
.pr-proof:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pr-proof > .pr-proof-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.pr-proof-src { font-size: 12px; color: var(--ink-3); }
.pr-proof-lead { font-size: 15px; line-height: 1.5; color: var(--ink); }
.pr-proof > .pr-proof-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pr-proof-c { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--ring); }
.pr-proof-c small { display: block; font-size: 12px; color: var(--ink-3); }
.pr-proof-c b { display: flex; align-items: baseline; gap: 6px; font: 500 21px/1.15 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-proof-c b .was { color: var(--ink-3); }
.pr-proof-c b i { font-style: normal; font-size: 14px; color: var(--ink-4); }
.pr-proof-c b em { font: 400 12px var(--f-ui); color: var(--ink-3); letter-spacing: 0; font-style: normal; }
.pr-proof-meth { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.pr-proof > .pr-proof-f { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--ink-3); }
.pr-proof-f > span:first-child { max-width: 52ch; }
.pr-proof-f > span:last-child { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.pr-cover { display: grid; gap: 18px; align-content: center; align-self: stretch; padding-left: 56px; border-left: 1px solid var(--hair); }
.pr-cover h3 { margin: 0; font: 500 15px/1.3 var(--f-display); letter-spacing: -0.015em; }
.pr-vendors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 12px; justify-items: start; }
.pr-cover p { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); max-width: 46ch; }
.pr-cover .pr-lnk { justify-self: start; font-size: 13px; }
@media (max-width: 900px) {
  .pr-proofg { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pr-cover { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .pr-proof { padding: 18px; }
  .pr-proof > .pr-proof-m { grid-template-columns: minmax(0, 1fr); }
  .pr-vendors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-root .pr-vendors .wordmark { font-size: 15px; }
}

/* 6 · FAQ */
.pr-root .faq summary { padding: 16px 0; min-height: 52px; }
.pr-root .faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pr-root .faq details p { margin-top: -4px; }
.pr-faq-foot { max-width: 820px; margin: 22px auto 0 !important; padding: 0 4px; font-size: 13px; color: var(--ink-3); }
.pr-faq-foot .pr-lnk { font-weight: 500; }

/* 7 · final band */
.pr-cta { display: grid; justify-items: center; text-align: center; padding: 56px 40px; }
.pr-cta .h-sec { max-width: 780px; }
.pr-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pr-cta-btns svg.lucide { width: 15px; height: 15px; }
.pr-cta-meta { margin-top: 16px !important; font-size: 12.5px; max-width: 640px; color: color-mix(in srgb, currentColor 55%, transparent); }
@media (max-width: 640px) {
  .cta-dark.pr-cta { padding: 32px 20px; }
  .pr-cta-btns { display: grid; width: 100%; }
  .pr-cta-btns .btn { width: 100%; }
  .pr-root .sec { padding-top: 48px; padding-bottom: 48px; }
  .pr-root .pr-top { padding-top: 40px !important; padding-bottom: 48px !important; }
  .pr-root .sec { padding-left: 16px; padding-right: 16px; }
}

/* ---------- product shots ---------- */
.prs { font-size: 13px; }
.prs h2 { margin: 0; }
:where(.prs) p { margin: 0; }
.prs .card { overflow: visible; }
.prs-i { display: inline-grid; place-items: center; width: 22px; height: 20px; margin-left: 2px; vertical-align: -5px; color: var(--ink-4); }
.prs-u { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 2px; }
/* the shared line chart inside a shot: its own notes list is replaced by the card's */
.prs-chart .ds-chart-notes, .prs-bt .prs-chart .ds-legend { display: none; }
/* one black button on the page («Обрати Pro»): the cabinet's black buttons read as ordinary ones inside a picture */
.pr-shot .embed-inner .btn-primary { background: var(--panel) !important; color: var(--ink) !important; box-shadow: inset 0 1px 0 var(--hl), var(--shadow) !important; }
/* «Огляд» readiness card: the desktop copy keeps its desktop grids even when the viewport is ≤ 760 px */
.pr-shot-d.prs-ov .embed-inner .ov4-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important; padding: 14px 20px 20px !important; gap: 20px 32px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-comps { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 4px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-slot + .ov5-slot { border-top: 0 !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile { display: flex !important; flex-direction: column; padding: 8px 8px 10px !important; gap: 4px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile > * { grid-row: auto !important; grid-column: auto !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile .ov4-slot-n { font-size: 12.5px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile .ov4-slot-v { font-size: 18px !important; justify-self: auto !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile .ov4-slot-h { font-size: 11.5px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-tile .ov4-slot-bar { height: 10px !important; margin: 0 0 4px !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-hp { display: block !important; }
.pr-shot-d.prs-ov .embed-inner .ov5-hp::before { content: none !important; }
.pr-shot-d.prs-ov .embed-inner .ov4-cap { padding: 12px !important; gap: 8px !important; }
.pr-shot .embed-inner .ov4 > * { animation: none !important; }
/* «Що покращити» (prototype app-improve, #im-sum) */
.prs-im .im .ico-sm { flex: none; }
.prs-im .im-how-pop { position: relative; display: inline-block; }
.prs-im .im-how-pop > summary { list-style: none; cursor: pointer; color: var(--ink-4); display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 6px; min-height: 0; position: relative; }
.prs-im .im-how-pop > summary::after { content: ""; position: absolute; inset: -8px; }
.prs-im .im-how-pop > summary:hover, .prs-im .im-how-pop[open] > summary { color: var(--ink); background: var(--wash); }
.prs-im .im-how-pop > summary::-webkit-details-marker { display: none; }
.prs-im .im-how-pop:not([open]) > div { display: none; }
.prs-im .im-how-pop > div { position: absolute; z-index: 9; top: 28px; left: -12px; width: min(400px, calc(100vw - 56px)); padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); font: 400 12.5px/1.5 var(--f-ui); color: var(--ink-2); display: grid; gap: 10px; text-wrap: pretty; letter-spacing: 0; }
.prs-im .im-how-pop b { font-weight: 500; color: var(--ink); }
.pr-shot-m .prs-im .im-sum { position: relative; }
.pr-shot-m .prs-im .im-how-pop { position: static; }
.pr-shot-m .prs-im .im-how-pop > div { left: 12px; right: 12px; width: auto; top: 50px; }
.prs-im .im-sum { display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--s1) 4%, var(--panel)) 0%, var(--panel) 62%); }
.prs-im .im-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.prs-im .im-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; display: flex; align-items: center; gap: 4px; }
.prs-im .im-hero { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); gap: 16px 36px; padding: 14px 20px 18px; align-items: center; }
.prs-im .im-l { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.prs-im .im-r { min-width: 0; }
.prs-im .im-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prs-im .im-num { font: 500 64px/0.95 var(--f-display); letter-spacing: -0.05em; color: var(--ink); margin-left: -3px; font-variant-numeric: tabular-nums; }
.prs-im .im-num-l { font: 400 18px/1.2 var(--f-display); letter-spacing: -0.015em; color: var(--ink-3); }
.prs-im .im-drow { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.prs-im .im-delta { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 9px; border-radius: 8px; font-size: 13px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; }
.prs-im .im-delta.flat { background: var(--wash); color: var(--ink-2); gap: 0; }
.prs-im .im-dl { font: inherit; color: inherit; min-height: 0; padding: 0; border-radius: 4px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .12s ease, color .12s ease; }
.prs-im .im-dl:hover { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.prs-im .im-dsep { margin: 0 6px; color: var(--ink-4); }
.prs-im .im-delta.warn { background: var(--warn-wash); color: var(--warn-ink); }
.prs-im .im-delta-n { font-size: 12.5px; color: var(--ink-3); }
.prs-im .im-ans { font: 500 15px/1.45 var(--f-ui); letter-spacing: -0.012em; color: var(--ink); max-width: 62ch; text-wrap: balance; }
.prs-im .im-a { font: inherit; color: inherit; padding: 0; min-height: 0; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 28%, transparent); text-underline-offset: 3px; }
.prs-im .im-a:hover { text-decoration-color: var(--ink); }
.prs-im .im-nw { white-space: nowrap; }
.prs-im .im-bar { display: flex; gap: 2px; height: 8px; margin-top: 14px; }
.prs-im .im-bar > span { border-radius: 4px; }
.prs-im .im-bar .bad, .prs-im .im-k.bad { background: var(--bad); }
.prs-im .im-bar .warn, .prs-im .im-k.warn { background: var(--warn); }
.prs-im .im-bar .low, .prs-im .im-k.low { background: var(--ink-4); }
.prs-im .im-k.work { background: transparent; box-shadow: inset 0 0 0 2px var(--s1); }
.prs-im .im-leg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 9px; font-size: 12.5px; color: var(--ink-2); }
.prs-im .im-leg > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.prs-im .im-leg-w { color: var(--ink-3); }
.prs-im .im-k { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.prs-im .im-band { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 11px 14px 11px 20px; border-top: 1px solid var(--hair); background: var(--panel-2); border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: 12.5px; color: var(--ink-2); margin-top: auto; }
.prs-im .im-fact { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.prs-im .im-band-r { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.prs-im .im-hint { font-size: 12px; color: var(--ink-3); }
.pr-shot-m .prs-im .im-cardh { padding: 14px 16px 0; }
.pr-shot-m .prs-im .im-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 16px 16px; }
.pr-shot-m .prs-im .im-num { font-size: 48px; }
.pr-shot-m .prs-im .im-num-l { font-size: 16px; }
.pr-shot-m .prs-im .im-bar { margin-top: 12px; }
.pr-shot-m .prs-im .im-band { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 12px; }
.pr-shot-m .prs-im .im-fact { padding: 9px 0; border-bottom: 1px solid var(--hair); }
.pr-shot-m .prs-im .im-band-r { margin: 10px 0 0; display: grid; }
.pr-shot-m .prs-im .im-band-r .btn { width: 100%; }
.pr-shot-m .prs-im .im-hint { display: none; }
.pr-shot-m .prs-im .im-delta { height: 36px; }
.pr-shot-m .prs-im .im-dl { padding: 9px 0; margin: -9px 0; }
/* «Запити AI‑ботів» (prototype app-bots, #bt-trend) */
.prs-bt .bt .ico-sm { flex: none; }
.prs-bt .bt-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; min-height: 52px; }
.prs-bt .bt-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; }
.prs-bt .bt-cardh h2 .bt-how { vertical-align: -5px; margin-left: 2px; }
.prs-bt .bt-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.prs-bt .bt-cardh .btn { flex: none; }
.prs-bt .bt-meta { font-size: 12px; color: var(--ink-3); text-align: right; white-space: nowrap; line-height: 1.45; }
.prs-bt .bt-meta span { display: block; }
.pr-shot-m .prs-bt .bt-card > .bt-cardh { flex-direction: column; gap: 2px; min-height: 0; }
.pr-shot-m .prs-bt .bt-card .bt-meta { text-align: left; }
.pr-shot-m .prs-bt .bt-cardh { padding: 14px 16px 0; }
.prs-bt .bt-how { position: relative; display: inline-block; }
.prs-bt .bt-how > summary { list-style: none; cursor: pointer; color: var(--ink-4); display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 6px; min-height: 0; position: relative; }
.prs-bt .bt-how > summary::after { content: ""; position: absolute; inset: -8px; }
.prs-bt .bt-how > summary:hover, .prs-bt .bt-how[open] > summary { color: var(--ink); background: var(--wash); }
.prs-bt .bt-how > summary::-webkit-details-marker { display: none; }
.prs-bt .bt-how:not([open]) > div { display: none; }
.prs-bt .bt-how > div { position: absolute; z-index: 9; top: 28px; left: -12px; width: min(380px, calc(100vw - 56px)); padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); font: 400 12.5px/1.5 var(--f-ui); color: var(--ink-2); display: grid; gap: 10px; text-wrap: pretty; letter-spacing: 0; }
.prs-bt .bt-how b { font-weight: 500; color: var(--ink); }
.pr-shot-m .prs-bt .bt-how { position: static; }
.pr-shot-m .prs-bt .bt-how > div { left: 12px; right: 12px; width: auto; top: 50px; }
.prs-bt .bt-hero { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); grid-template-areas: "ans tr" "notes notes"; gap: 16px 32px; padding: 14px 20px 18px; align-items: stretch; }
.prs-bt .bt-ans { grid-area: ans; }
.prs-bt .bt-hero > .bt-tr { grid-area: tr; }
.pr-shot-m .prs-bt .bt-hero { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 18px; gap: 18px; }
.prs-bt .bt-ans { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.prs-bt .bt-num { font: 500 64px/0.9 var(--f-display); letter-spacing: -0.05em; color: var(--ink); margin-left: -3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prs-bt .bt-num span { font-size: 20px; letter-spacing: -0.02em; color: var(--ink-3); margin-left: 8px; font-weight: 400; }
.pr-shot-m .prs-bt .bt-num { font-size: 48px; }
.pr-shot-m .prs-bt .bt-num span { font-size: 18px; }
.prs-bt .bt-drow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.prs-bt .bt-delta { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prs-bt .bt-delta.good { background: var(--good-wash); color: var(--good-ink); }
.prs-bt .bt-delta.warn { background: var(--warn-wash); color: var(--warn-ink); font-weight: 500; font-size: 13px; }
.prs-bt .bt-vs { font-size: 12.5px; color: var(--ink-3); }
.prs-bt .bt-why { font: 500 15px/1.45 var(--f-ui); color: var(--ink); letter-spacing: -0.012em; text-wrap: pretty; max-width: 38ch; }
.prs-bt .bt-todo { display: block; font: 500 13px/1.5 var(--f-ui); color: var(--ink-2); text-align: left; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; min-height: 0; padding: 2px 0; max-width: 42ch; text-wrap: pretty; }
.prs-bt .bt-todo:hover { color: var(--ink); text-decoration-color: var(--ink); }
.prs-bt .bt-tr { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "chart chart" "leg add" "cap cap"; gap: 6px 12px; align-content: start; }
.prs-bt .bt-tr > .chart { grid-area: chart; width: auto; }
.prs-bt .bt-leg { grid-area: leg; align-self: center; }
.prs-bt .bt-leg i.bt-lg-now { background: var(--s1); }
.prs-bt .bt-leg i.bt-lg-prev { width: 14px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 55%, var(--panel)) 0 4px, transparent 4px 7px); }
.prs-bt .bt-tr > .bt-addn { grid-area: add; justify-self: end; align-self: center; }
.prs-bt .bt-notes { grid-area: notes; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 7px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.prs-bt .bt-notes li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; align-items: start; }
.prs-bt .bt-notes b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.prs-bt .bt-notes em { font-style: normal; color: var(--ink-3); }
.prs-bt .bt-nn { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px var(--ink-3); font: 600 10px/1 var(--f-ui); color: var(--ink); margin-top: 1.5px; }
.prs-bt .bt-cap { grid-area: cap; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.pr-shot-m .prs-bt .bt-hero { grid-template-areas: "ans" "chart" "leg" "notes" "add" "cap"; row-gap: 8px; }
.pr-shot-m .prs-bt .bt-hero > .bt-tr { display: contents; }
.pr-shot-m .prs-bt .bt-hero > .bt-ans { margin-bottom: 12px; }
.pr-shot-m .prs-bt .bt-tr > .chart { grid-area: chart; }
.pr-shot-m .prs-bt .bt-notes { padding-top: 12px; margin-top: 4px; }
.pr-shot-m .prs-bt .bt-tr > .bt-addn { justify-self: start; margin-top: 4px; margin-left: -9px; }
.prs-bt .bt-addn { position: relative; }
.prs-bt .bt-addn > summary { list-style: none; color: var(--ink-2); }
.prs-bt .bt-addn > summary::-webkit-details-marker { display: none; }
.prs-bt .bt-addn[open] > summary { background: var(--wash); color: var(--ink); }
.prs-bt .bt-addn:not([open]) > .bt-addn-p { display: none; }
.prs-bt .bt-addn-p { position: absolute; z-index: 9; right: 0; top: calc(100% + 6px); width: min(370px, calc(100vw - 56px)); padding: 12px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); display: grid; gap: 10px; }
.prs-bt .bt-addn-p .input { height: 32px; font-size: 13px; }
.prs-bt .bt-addn-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prs-bt .bt-addn-f .input { width: 92px; }
.prs-bt .bt-addn-f .btn { height: 32px; }
.prs-bt .bt-addn-h { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.pr-shot-m .prs-bt .bt-addn-p { left: 0; right: auto; }
.pr-shot-m .prs-bt .bt-tr > .bt-addn { margin-left: -12px; }
.prs-bt .bt-band { margin-top: auto; border-top: 1px solid var(--hair); background: var(--panel-2); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 14px 20px 16px; display: grid; gap: 12px; }
.prs-bt .bt-band-l { font-size: 12.5px; color: var(--ink-3); }
.prs-bt .bt-oks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
.prs-bt .bt-ok { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; text-align: left; min-width: 0; padding: 0; border-radius: 8px; }
.prs-bt .bt-ok-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--wash); color: var(--ink-3); }
.prs-bt .bt-ok-ic.good { background: var(--good-wash); color: var(--good-ink); }
.prs-bt .bt-ok-ic.warn { background: var(--warn-wash); color: var(--warn-ink); }
.prs-bt .bt-ok-t { min-width: 0; }
.prs-bt .bt-ok-t b { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.prs-bt .bt-ok-t small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); margin-top: 2px; text-wrap: pretty; }
.prs-bt .bt-ok-go { cursor: pointer; }
.prs-bt .bt-ok-go:hover b { text-decoration: underline; text-decoration-color: var(--ink-4); text-underline-offset: 2px; }
.prs-bt .bt-ok-arr { display: inline-block; color: var(--ink-4); vertical-align: -2px; margin-left: 4px; }
.prs-bt .bt-ok-go:hover .bt-ok-arr { color: var(--ink); }
.prs-bt .bt-lnk { display: inline; font: inherit; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; min-height: 0; padding: 0; text-align: left; }
.prs-bt .bt-lnk:hover { color: var(--ink); text-decoration-color: var(--ink); }
.pr-shot-m .prs-bt .bt-band { padding: 12px 16px 14px; gap: 4px; }
.pr-shot-m .prs-bt .bt-oks { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pr-shot-m .prs-bt .bt-ok { padding: 11px 0; border-top: 1px solid var(--hair); border-radius: 0; width: 100%; }
.pr-shot-m .prs-bt .bt-ok:first-child { border-top: 0; }
.prs-bt .bt[data-vstate="basic"] .bt-num, .prs-bt .bt[data-vstate="basic"] .bt-drow { filter: blur(8px); }
.pr-shot-m .prs-bt .bt-ok .bt-lnk, .pr-shot-m .prs-bt .bt-todo { position: relative; }
.pr-shot-m .prs-bt .bt-ok .bt-lnk::after { content: ""; position: absolute; inset: -13px -8px; }
.pr-shot-m .prs-bt .bt-todo::after { content: ""; position: absolute; inset: -12px -4px; }
.pr-shot-m .prs-bt .bt-how > summary::after { inset: -12px; }
/* «AI‑відповіді» (prototype app-answers, #ans-hero) */
.prs-ans .ans .nw { white-space: nowrap; }
.prs-ans .ans .ico-sm { flex: none; }
.prs-ans .ans-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; min-height: 52px; }
.prs-ans .ans-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; display: flex; align-items: center; gap: 4px; }
.prs-ans .ans-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.prs-ans .ans-meta { font-size: 12px; color: var(--ink-3); text-align: right; white-space: nowrap; line-height: 1.45; }
.prs-ans .ans-meta span { display: block; }
.pr-shot-m .prs-ans .ans-cardh { flex-wrap: wrap; }
.pr-shot-m .prs-ans .ans-meta { text-align: left; white-space: normal; flex-basis: 100%; margin-top: -6px; }
.pr-shot-m .prs-ans .ans-meta span { display: inline; }
.pr-shot-m .prs-ans .ans-meta span::before { content: " · "; }
.prs-ans .ans-how { position: relative; display: inline-block; vertical-align: middle; }
.prs-ans .ans-how > summary { list-style: none; cursor: pointer; color: var(--ink-4); display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 6px; min-height: 0; position: relative; }
.prs-ans .ans-how > summary::after { content: ""; position: absolute; inset: -8px; }
.prs-ans .ans-how > summary:hover, .prs-ans .ans-how[open] > summary { color: var(--ink); background: var(--wash); }
.prs-ans .ans-how > summary::-webkit-details-marker { display: none; }
.prs-ans .ans-how:not([open]) > div { display: none; }
.prs-ans .ans-how > div { position: absolute; z-index: 9; top: 28px; left: -12px; width: min(380px, calc(100vw - 56px)); padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); font: 400 12.5px/1.5 var(--f-ui); color: var(--ink-2); display: grid; gap: 10px; text-wrap: pretty; letter-spacing: 0; }
.prs-ans .ans-how.up > div { top: auto; bottom: 28px; }
.prs-ans .ans-how b { font-weight: 500; color: var(--ink); }
.prs-ans .ans-fn { font-size: 11.5px; color: var(--ink-3); border-top: 1px solid var(--hair); padding-top: 8px; }
.pr-shot-m .prs-ans .ans-hero { position: relative; }
.pr-shot-m .prs-ans .ans-how { position: static; }
.pr-shot-m .prs-ans .ans-how > div { left: 12px; right: 12px; width: auto; top: 50px; }
.pr-shot-m .prs-ans .ans-how.up > div { top: auto; bottom: auto; margin-top: 8px; }
.prs-ans .ans-hero { display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--s1) 5%, var(--panel)) 0%, var(--panel) 46%); }
.prs-ans .ans-hg { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 20px 32px; padding: 14px 20px 20px; align-items: stretch; }
.pr-shot-m .prs-ans .ans-hg { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 18px; }
.prs-ans .ans-score { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.prs-ans .ans-num { font: 500 64px/0.9 var(--f-display); letter-spacing: -0.05em; color: var(--ink); margin-left: -3px; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; font-variant-numeric: tabular-nums; }
.prs-ans .ans-num span { font-size: 20px; letter-spacing: -0.02em; color: var(--ink-3); font-weight: 400; }
.pr-shot-m .prs-ans .ans-num { font-size: 48px; }
.pr-shot-m .prs-ans .ans-num span { font-size: 18px; }
.prs-ans .ans-drow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.prs-ans .ans-delta { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.prs-ans .ans-delta.good { background: var(--good-wash); color: var(--good-ink); }
.prs-ans .ans-why { font: 500 15px/1.45 var(--f-ui); color: var(--ink); letter-spacing: -0.012em; text-wrap: pretty; max-width: 38ch; }
.prs-ans .ans-todo { display: block; font: 500 13px/1.45 var(--f-ui); color: var(--ink-2); text-align: left; min-height: 0; padding: 2px 0; max-width: 46ch; }
.prs-ans .ans-todo > span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; text-wrap: pretty; }
.prs-ans .ans-todo .nw { white-space: nowrap; }
.prs-ans .ans-todo:hover { color: var(--ink); }
.prs-ans .ans-todo:hover > span { text-decoration-color: var(--ink); }
.prs-ans .ans-trend { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prs-ans .ans-trend-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prs-ans .ans-legend { margin-top: 2px; gap: 6px 14px; }
.prs-ans .ans-nn { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px var(--ink-3); font: 600 10px/1 var(--f-ui); color: var(--ink); }
.prs-ans .ans-cap { border-top: 1px solid var(--hair); background: var(--panel-2); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 14px 20px 16px; display: grid; gap: 12px; }
.prs-ans .ans-cap-head { display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.prs-ans .ans-cap-t { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--ink); font-size: 13px; }
.prs-ans .ans-cap-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.prs-ans .ans-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; min-width: 0; padding: 0; border-radius: 6px; }
.prs-ans .ans-slot > * { max-width: 100%; }
.prs-ans button.ans-slot { cursor: pointer; }
.prs-ans button.ans-slot:hover .ans-slot-n, .prs-ans button.ans-slot:hover .ans-slot-h { color: var(--ink); }
.prs-ans .ans-slot-bar { align-self: stretch; display: block; height: 10px; border-radius: 5px; background: var(--wash-2); overflow: hidden; margin-bottom: 4px; }
.prs-ans .ans-slot-bar i { display: block; height: 100%; border-radius: 5px; }
.prs-ans .ans-slot-v { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; font: 500 18px/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.prs-ans .ans-slot-n0 { white-space: nowrap; }
.prs-ans .ans-slot-v small { font: 400 12px var(--f-ui); color: var(--ink-3); letter-spacing: 0; }
.prs-ans .ans-mv { font: 600 12px/1 var(--f-ui); font-style: normal; letter-spacing: 0; white-space: nowrap; }
.prs-ans .ans-mv.up { color: var(--good-ink); }
.prs-ans .ans-mv.down { color: var(--bad-ink); }
.prs-ans .ans-mv.soft { color: var(--ink-3); font-weight: 400; }
.prs-ans .ans-slot-n { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; font-weight: 500; }
.prs-ans .ans-slot-h { font-size: 11.5px; color: var(--ink-3); line-height: 1.35; display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.prs-ans button.ans-slot .ans-slot-h { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 2px; }
.pr-shot-m .prs-ans .ans-cap { padding: 14px 16px 16px; }
.pr-shot-m .prs-ans .ans-cap-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pr-shot-m .prs-ans .ans-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 11px 0; border-top: 1px solid var(--hair); border-radius: 0; width: 100%; }
.pr-shot-m .prs-ans .ans-slot:first-child { border-top: 0; padding-top: 2px; }
.pr-shot-m .prs-ans .ans-slot-n { grid-row: 1; grid-column: 1; font-size: 13px; color: var(--ink); }
.pr-shot-m .prs-ans .ans-slot-v { grid-row: 1; grid-column: 2; font-size: 15px; justify-content: flex-end; }
.pr-shot-m .prs-ans .ans-slot-h { grid-row: 2; grid-column: 1 / -1; }
.pr-shot-m .prs-ans .ans-slot-bar { grid-row: 3; grid-column: 1 / -1; height: 6px; margin: 4px 0 0; }
.pr-shot-m .prs-ans .ans-todo { padding: 6px 0; }
.pr-shot-m .prs-ans .ans-cardh { padding: 14px 16px 0; }

/* ---------- /start-payment: one centred card (prototype site-login «Новий акаунт», lg-*) ---------- */
:where(.lg-root) p { margin: 0; }
.sec.lg-sec { padding: 40px 20px 72px; min-height: 640px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; }
.lg-card { width: 100%; max-width: 440px; background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--shadow-pop); overflow: hidden; }
.lg-body { padding: 32px 32px 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.lg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 32px; background: var(--panel-2); border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-2); }
.lg-hd { display: grid; gap: 8px; }
.lg-h1 { margin: 0; font: 400 30px/1.1 var(--f-display); letter-spacing: -0.035em; color: var(--ink); }
.lg-sub { font-size: 14.5px; line-height: 1.5; color: var(--ink-3); overflow-wrap: anywhere; }
.lg-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.lg-fine { display: grid; gap: 10px; }
.lg-card .input { width: 100%; height: 44px; padding: 0 12px; border-radius: var(--r-md); font-size: 14px; }
.lg-in { position: relative; min-width: 0; }
.lg-in > svg.lucide { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; }
.lg-in .input { padding-left: 38px; }
.lg-card .input[aria-invalid="true"] { box-shadow: 0 0 0 1px var(--bad-ink); }
.lg-err { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--bad-ink); }
.lg-err svg.lucide { width: 14px; height: 14px; margin-top: 1px; flex: none; }
.lg-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--axis); font-size: inherit; transition: text-decoration-color .15s; }
.lg-link:hover { text-decoration-color: var(--ink); }
.lg-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.lg-link.sm { font-size: 12.5px; }
.lg-backrep { display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.lg-pick { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--panel-2); box-shadow: 0 0 0 1px var(--ring); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.lg-pick svg.lucide { width: 14px; height: 14px; color: var(--good-ink); flex: none; }
.lg-pick b { font-weight: 500; color: var(--ink); }
.lg-legal { font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.lg-legal .lg-link { font-weight: 400; color: var(--ink-2); }
.lg-legal-row { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.lg-legal-row svg.lucide { width: 14px; height: 14px; margin-top: 1px; color: var(--good-ink); flex: none; }
.lg-card .recaptcha-note { margin-top: -6px; }
.lg-support { margin-top: 20px; max-width: 520px; font-size: 13px; line-height: 1.55; color: var(--ink-3); text-align: center; }
.lg-support svg.lucide { width: 14px; height: 14px; margin: -2px 6px 0 0; vertical-align: middle; }
@media (max-width: 720px) {
  .lg-link.sm { display: inline-block; padding: 8px 2px; margin: -8px -2px; }
  .lg-link.sm.lg-backrep { display: inline-flex; }
  .lg-foot .lg-link { padding: 10px 4px; margin: -10px -4px; }
}
@media (max-width: 640px) {
  .lg-root > .sec { padding-left: 16px; padding-right: 16px; }
  .sec.lg-sec { padding-top: 24px; padding-bottom: 48px; min-height: 0; }
  .lg-body { padding: 24px 20px; gap: 18px; }
  .lg-foot { padding: 14px 20px; }
  .lg-h1 { font-size: 26px; }
}
