/* Prontaro site — components/bundle.css, built from components/src/css/*.css in name order. Load after tokens.css and base.css. */
/* Prontaro site · 00 · the ground of everything: surfaces, type scale, container, sheets, buttons, small parts.
   Scale: 14 · 17 · 20 · 44 · 64 (compact 14 · 17 · 20 · 28 · 40). Line heights 1.05 / 1.3 / 1.5. Radii 8 / 16 / 32, a pill only for actions.
   Two layouts: wide from 1100 px, compact below (phone, tablet). The compact rules stand in the media query at the end of each part. */

/* ---------- page and surfaces ---------- */
.ps-page { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--night); color: var(--fg); overflow-x: clip;
  font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 400; }
.ps-page--steel { background: var(--steel); }
/* resets carry no weight (:where), so one class of a component is enough to set a margin */
:where(.ps-page) :where(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }
/* a surface gives its ink to the plain text inside it */
.ps-on-night, .ps-on-steel, .ps-plate-night { color: var(--fg); }
.ps-page a, .ps-page button, .ps-page summary, .ps-page label { -webkit-tap-highlight-color: transparent; }
:where(.ps-page) summary { list-style: none; cursor: pointer; }
.ps-page summary::-webkit-details-marker { display: none; }
/* the focus ring takes the ink of its ground: dark on steel, light on the night, so it shows on the crimson button, on the glass header and on tabs */
.ps-page :focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-main { display: block; }
.ps-main:focus { outline: none; }
/* seen only by screen readers */
.ps-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ps-grow { flex-grow: 1; }

/* ---------- type ---------- */
.ps-t-14 { font-size: 14px; line-height: 1.3; }
.ps-t-17 { font-size: 17px; line-height: 1.5; }
.ps-t-17c { font-size: 17px; line-height: 1.3; }
.ps-t-20 { font-size: 20px; line-height: 1.5; }
.ps-t-20c { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.ps-t-44 { font-size: 44px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.ps-t-64 { font-size: 64px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.ps-h1 { margin: 0; font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.ps-tnum { font-variant-numeric: tabular-nums; }
.ps-mono { font-family: var(--font-mono); letter-spacing: 0; }
.ps-c-2 { color: var(--fg2); }
.ps-c-3 { color: var(--fg3); }
.ps-w-5 { font-weight: 500; }
.ps-w-6 { font-weight: 600; }
.ps-nowrap { white-space: nowrap; }

/* links */
.ps-lnk { color: var(--fg); }
.ps-lnk--underline { text-decoration: underline; text-decoration-color: var(--ln2); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .14s; }
.ps-lnk--underline:hover { text-decoration-color: currentColor; }
.ps-lnk--arrow { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
.ps-lnk--arrow:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ps-lnk--plain { text-decoration: none; }

/* direction labels: the one triple of words, arrows and colours */
.ps-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ps-dir--in { color: var(--in); }
.ps-dir--out { color: var(--out); }
.ps-dir--both { color: var(--both); }

/* ---------- icons, logos, mark ---------- */
.ps-ico { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ps-lg { display: block; flex: none; fill: currentColor; }
.ps-mark { display: block; flex: none; overflow: visible; }
.ps-mark__arc { fill: none; stroke: currentColor; stroke-linecap: round; }
.ps-mark__dot { fill: var(--spark); }
.ps-lockup { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--fg); text-decoration: none; }
.ps-lockup--sm { font-size: 20px; }
.ps-flag { flex: none; display: block; border-radius: 2px; box-shadow: 0 0 0 1px var(--ln2); }
.ps-flag--code { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 13px; padding: 0 2px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; line-height: 1; color: var(--fg2); }

/* ---------- layout ---------- */
.ps-wrap { position: relative; width: min(var(--wrap), calc(100vw - 96px)); margin: 0 auto; }
.ps-sec { position: relative; padding: var(--night-pad) 0; }
/* a steel sheet lying on the night page: radius 32, 16 px of night at the sides */
.ps-panel { position: relative; margin: 0 var(--gutter); padding: var(--sheet-pad) 0; border-radius: var(--r-lg); overflow: hidden; overflow: clip; background: var(--steel); }
.ps-panel--tight { padding-top: 96px; }
/* the light «ceiling» at the top of a steel sheet, and its grain */
.ps-ceil { position: absolute; left: 0; right: 0; top: 0; height: 360px; pointer-events: none; background: radial-gradient(ellipse 62% 100% at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%); }
.ps-grain { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: .03; mix-blend-mode: multiply; background-image: url("../assets/material/grain.svg"); background-size: 256px 256px; }
.ps-stack { display: flex; flex-direction: column; }
.ps-stack--8 { gap: 8px; } .ps-stack--16 { gap: 16px; } .ps-stack--24 { gap: 24px; } .ps-stack--32 { gap: 32px; } .ps-stack--48 { gap: 48px; } .ps-stack--72 { gap: 72px; }

/* section heads */
.ps-sh { position: relative; margin-bottom: var(--head-gap); display: flex; flex-direction: column; }
.ps-sh--center { align-items: center; text-align: center; }
.ps-sh--left { align-items: flex-start; }
.ps-sh__h { max-width: 20em; text-wrap: balance; }
.ps-sh__lead { margin-top: 16px; max-width: 640px; font-size: 20px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }

/* ---------- actions ---------- */
.ps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; height: 50px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  font-family: inherit; font-size: 17px; line-height: 1; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: filter .14s, box-shadow .14s; }
.ps-btn:hover { filter: brightness(1.12); }
.ps-btn[disabled], .ps-btn[aria-disabled="true"] { opacity: .5; cursor: default; filter: none; }
.ps-btn--fill { background: var(--brand); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 0 0 1px var(--brand-edge); }
.ps-btn--line { background: rgba(7,8,10,.55); color: #F2F3F5; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
/* the nearest surface wins: the steel rule stands last and also covers a steel sheet inside a night page */
.ps-on-night .ps-btn--line { background: rgba(7,8,10,.55); color: #F2F3F5; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.ps-on-steel .ps-btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14,16,20,.20); }
.ps-on-night .ps-on-steel .ps-btn--line, .ps-on-steel .ps-on-steel .ps-btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14,16,20,.20); }
.ps-on-steel .ps-on-night .ps-btn--line, .ps-on-steel .ps-plate-night .ps-btn--line, .ps-on-night .ps-plate-night .ps-btn--line { background: rgba(7,8,10,.55); color: #F2F3F5; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.ps-btn--quiet { background: none; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--ln2); }
.ps-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.ps-btn--xs { height: 36px; padding: 0 14px; font-size: 14px; }
.ps-btn--wide { width: 100%; }
.ps-btn__aside { font-weight: 400; opacity: .86; }
/* the price follows the verb after a middle dot */
.ps-btn__aside::before { content: "·"; content: "·" / ""; margin-right: 8px; opacity: .64; }

/* ---------- small parts ---------- */
.ps-tag { display: inline-flex; align-items: center; flex: none; white-space: nowrap; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg2); }
.ps-val { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 36px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--val-ln);
  font-family: var(--font-mono); font-size: 17px; line-height: 1.3; color: var(--fg); white-space: nowrap; }
.ps-val--bare { background: none; box-shadow: none; padding: 0; min-height: 0; }
.ps-kbd { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 14px; line-height: 1; color: var(--fg2); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln2), inset 0 -1px 0 var(--ln2); }
.ps-price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ps-price__was { color: var(--fg3); text-decoration: line-through; }
.ps-price__per { margin-left: -4px; color: var(--fg2); }

/* plates: white on steel with the two-layer shadow and a white top edge; on night a 1 px light edge and no shadow */
.ps-plate { position: relative; box-sizing: border-box; border-radius: var(--r-md); background: linear-gradient(180deg, var(--plate-top), var(--plate-bottom)); box-shadow: var(--edge-plate); }
.ps-on-steel .ps-plate { background: var(--white); box-shadow: var(--shadow-plate); }
/* a night plate that may lie on steel: the Dedicated column, our column of a comparison. Lit top edge. It sets the night inks for what is inside. */
.ps-plate-night { position: relative; box-sizing: border-box; border-radius: var(--r-md); color: #F2F3F5; background: radial-gradient(120% 90% at 50% 0%, #1E2128 0%, #101216 58%, #0B0C0F 100%); box-shadow: var(--shadow-slab); }
/* glass: only where something lies over the planet */
.ps-glass { box-sizing: border-box; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }

/* ---------- copy ---------- */
/* the copy button exists only where the script runs: without JS nothing pretends to work */
.ps-copy { display: none; align-items: center; justify-content: center; gap: 6px; flex: none; box-sizing: border-box; min-width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--fg3); font-family: inherit; font-size: 14px; line-height: 1; cursor: pointer; transition: color .14s, background-color .14s; }
html[data-ps-js] .ps-copy, .ps-copy[data-state="copied"], .ps-copy[data-state="failed"] { display: inline-flex; }
.ps-copy:hover { color: var(--fg); background-color: var(--val-bg); }
.ps-copy--words { padding: 0 8px; }
.ps-copy__ico, .ps-copy__t { display: none; }
.ps-copy[data-state="idle"] .ps-copy__ico--idle, .ps-copy[data-state="copied"] .ps-copy__ico--copied, .ps-copy[data-state="failed"] .ps-copy__ico--failed { display: block; }
.ps-copy[data-state="idle"] .ps-copy__t--idle, .ps-copy[data-state="copied"] .ps-copy__t--copied, .ps-copy[data-state="failed"] .ps-copy__t--failed { display: inline; }
.ps-copy[data-state="copied"] { color: var(--ok); cursor: default; }
.ps-copy[data-state="failed"] { color: var(--crit); }
/* one line of code with the copy sign */
.ps-cl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ps-cl__code { flex: 1 1 auto; min-width: 0; overflow-x: auto; white-space: nowrap; font-family: var(--font-mono); font-size: 17px; line-height: 1.3; color: var(--fg); scrollbar-width: none; }
.ps-cl__code::-webkit-scrollbar { display: none; }
.ps-cl__prompt { color: var(--fg3); user-select: none; }
/* a line or row that runs past the edge: while there is more to the right, the edge fades (where scroll timelines exist; elsewhere the cut glyphs say it) */
@supports (animation-timeline: scroll()) {
  .ps-cl__code, .ps-fl__code, .ps-cb__pre, .ps-ctabs__row { animation: ps-code-more linear both; animation-timeline: scroll(self inline); }
}
@keyframes ps-code-more {
  from, 97% { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--ps-fade, 56px)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--ps-fade, 56px)), transparent); }
  to { -webkit-mask-image: none; mask-image: none; }
}
.ps-cl__code, .ps-fl__code { --ps-fade: 40px; }

/* ---------- section tabs: a radio group, no script ---------- */
/* The hidden radios of tabs and switches (.ps-tabs__r, .ps-cmp__r, .ps-pt__r) stand fixed in the middle of the window: a click on a label
   focuses its radio, and a radio left where the layout puts it (under the table of a display: contents row, at the top of a section
   whose switch is sticky) would make the page jump to it. The site script brings the label into view when the keyboard moves the choice. */
.ps-tabs__r, .ps-cmp__r, .ps-pt__r { position: fixed; top: 50%; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ps-tabs__list { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; box-sizing: border-box; padding: 4px; border-radius: 12px; background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--val-ln); overflow-x: auto; scrollbar-width: none; }
.ps-tabs__list::-webkit-scrollbar { display: none; }
.ps-tabs__tab { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-size: 17px; line-height: 1; font-weight: 500; color: var(--fg2); white-space: nowrap; cursor: pointer; transition: color .14s; }
.ps-tabs__tab:hover { color: var(--fg); }
.ps-tabs__panel { display: none; }
.ps-tabs__panels { margin-top: 32px; }
.ps-tabs--line .ps-tabs__list { gap: 28px; padding: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--ln2); }
.ps-tabs--line .ps-tabs__tab { height: 48px; padding: 0; border-radius: 0; }
.ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(1) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(1) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(1) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(1):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(1) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(2) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(2) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(2) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(2):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(2) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(3) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(3) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(3) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(3):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(3) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(4) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(4) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(4) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(4):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(4) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(5) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(5) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(5) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(5):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(5) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(6) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(6) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(6) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(6):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(6) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(7) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(7) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(7) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(7):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(7) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(8) { display: block; }
.ps-tabs--pill > .ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(8) { color: var(--fg); background: var(--tab-on, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.08), 0 0 0 1px var(--val-ln); }
.ps-tabs--line > .ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(8) { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-tabs__r:nth-of-type(8):focus-visible ~ .ps-tabs__list > .ps-tabs__tab:nth-child(8) { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-on-night .ps-tabs--pill, .ps-plate-night .ps-tabs--pill { --tab-on: rgba(255,255,255,.10); }

/* ---------- Japanese and Korean ---------- */
/* headings break between phrases, not inside them; CJK glyphs take no negative tracking */
:where(.ps-page):lang(ja) :is(h1, h2, h3, .ps-h1, .ps-t-44, .ps-t-64, .ps-t-20c), :where(.ps-page :lang(ja)) :is(h1, h2, h3) { word-break: auto-phrase; letter-spacing: 0; }
:where(.ps-page):lang(ko) :is(h1, h2, h3, .ps-h1, .ps-t-44, .ps-t-64, .ps-t-20c) { word-break: keep-all; letter-spacing: 0; }

/* ---------- compact layout ---------- */
@media (max-width: 1099.98px) {
  .ps-wrap { width: min(var(--wrap-compact), calc(100vw - 32px)); }
  .ps-panel > .ps-wrap { width: min(var(--wrap-compact), calc(100vw - 48px)); }
  .ps-sec { padding: 48px 0; }
  .ps-panel { margin: 0 8px; padding: 72px 0; }
  .ps-panel--tight { padding-top: 56px; }
  .ps-ceil { height: 220px; }
  .ps-h1 { font-size: 40px; }
  .ps-t-44 { font-size: 28px; }
  .ps-sh { margin-bottom: 28px; }
  .ps-sh__lead { margin-top: 14px; font-size: 17px; }
  .ps-tabs__panels { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ps-page *, .ps-page *::before, .ps-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Prontaro site · 05 · header, language list, compact menu, footer, skip link, windows. */

/* ---------- header ---------- */
.ps-hdr { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: var(--fg); }
.ps-hdr__in { position: relative; width: min(var(--wrap), calc(100vw - 96px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 36px; }
/* glass: blur and a light edge below */
.ps-hdr--glass { background: rgba(7,8,10,.84); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 -1px 0 rgba(255,255,255,.10); }
.ps-on-steel .ps-hdr--glass { background: rgba(244,245,247,.88); box-shadow: inset 0 -1px 0 rgba(14,16,20,.08); }
/* over the hero: the bar takes no room (the hero starts under it) and turns to glass after the first screen.
   Where scroll timelines are not supported the bar is glass from the start. */
.ps-hdr--over { margin-bottom: calc(-1 * var(--header-h)); background: rgba(7,8,10,.84); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 -1px 0 rgba(255,255,255,.10); }
@supports (animation-timeline: scroll()) {
  .ps-hdr--over { animation: ps-hdr-glass linear both; animation-timeline: scroll(root); animation-range: 480px 720px; }
  .ps-hdr--over .ps-hdr__cta { animation: ps-hdr-cta linear both; animation-timeline: scroll(root); animation-range: 480px 720px; }
}
@keyframes ps-hdr-glass { from { background: rgba(7,8,10,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); box-shadow: inset 0 -1px 0 rgba(255,255,255,0); } to { background: rgba(7,8,10,.84); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 -1px 0 rgba(255,255,255,.10); } }
@keyframes ps-hdr-cta { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
.ps-hdr__nav { display: flex; align-items: center; gap: 30px; flex-grow: 1; }
.ps-hdr__a { font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg2); text-decoration: none; white-space: nowrap; transition: color .14s; }
.ps-hdr__a:hover, .ps-hdr__a--on { color: var(--fg); }
.ps-hdr__search { flex: none; }
.ps-hdr__r { display: flex; align-items: center; gap: 22px; }
.ps-hdr__in2 { font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg); text-decoration: none; white-space: nowrap; }
.ps-hdr__in2:hover { text-decoration: underline; text-underline-offset: 5px; }
/* the language button and its list */
.ps-hdr__lang, .ps-ftr__lang { position: relative; display: inline-flex; }
.ps-hdr__lang-b { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 2px; font-size: 14px; font-weight: 500; color: var(--fg2); transition: color .14s; }
.ps-hdr__lang-b:hover { color: var(--fg); }
details[open] > .ps-hdr__lang-b .ps-hdr__chev { transform: rotate(180deg); }
.ps-hdr__lang-pop { position: absolute; z-index: 8; right: -12px; top: 46px; width: 248px; box-sizing: border-box; padding: 6px; border-radius: 12px; display: flex; flex-direction: column; background: var(--plate-top); box-shadow: var(--shadow-pop); }
.ps-hdr__lang-pop--up { top: auto; bottom: 46px; }
.ps-on-steel .ps-hdr__lang-pop { background: var(--white); box-shadow: 0 0 0 1px rgba(14,16,20,.10), 0 18px 36px -10px rgba(14,16,20,.28); }
.ps-hdr__lang-i { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg); text-decoration: none; }
.ps-hdr__lang-i:hover, .ps-hdr__lang-i--on { background: var(--val-bg); }
.ps-hdr__lang-no { font-weight: 400; color: var(--fg3); }
/* the compact menu: closed and hidden on desktop */
.ps-hdr__menu { display: none; }
.ps-hdr__menu-b { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -11px; color: var(--fg); }
.ps-hdr__menu-close, .ps-hdr__menu[open] .ps-hdr__menu-open { display: none; }
.ps-hdr__menu[open] .ps-hdr__menu-close { display: block; }
.ps-pm { position: fixed; z-index: 49; left: 0; right: 0; top: var(--header-h); bottom: 0; box-sizing: border-box; padding: 12px 16px 24px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--night); color: #F2F3F5; }
.ps-pm__a { display: flex; align-items: center; justify-content: space-between; flex: none; height: 60px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: #F2F3F5; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.ps-pm__a .ps-ico { color: #868C99; }
.ps-pm__b { display: flex; align-items: center; justify-content: space-between; flex: none; box-sizing: border-box; width: 100%; height: 56px; font-size: 17px; line-height: 1.3; color: #C6CAD3; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.ps-pm__l { display: inline-flex; align-items: center; gap: 10px; }
.ps-pm__v { display: inline-flex; align-items: center; gap: 6px; color: #F2F3F5; }
.ps-pm__lang[open] .ps-pm__chev { transform: rotate(-90deg); }
.ps-pm__opts { display: flex; flex-direction: column; padding: 6px 0 8px 30px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
/* the picture of a language option (a flag): the header list, the phone menu, the footer */
.ps-lang-ic { display: inline-flex; flex: none; align-items: center; }
.ps-pm__o { display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 44px; padding: 0 12px; border-radius: var(--r-sm); font-size: 17px; line-height: 1.3; color: #C6CAD3; text-decoration: none; }
.ps-pm__o--on { color: #FFFFFF; background: rgba(255,255,255,.07); }
.ps-pm__cta { margin-top: 20px; flex: none; }

/* «К содержимому»: the first stop of the keyboard, off the screen until it has the focus */
.ps-skip { position: absolute; z-index: 60; left: 16px; top: -64px; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--white); color: var(--ink); font-size: 14px; line-height: 1; font-weight: 600; text-decoration: none; }
/* the shadow only when it is shown: hidden above the page its blur would still reach into the window */
.ps-skip:focus, .ps-skip--on { top: 14px; box-shadow: 0 0 0 2px var(--ink), 0 8px 24px rgba(0,0,0,.4); }

/* ---------- footer ---------- */
.ps-ftr { position: relative; padding: 96px 0 40px; background: var(--night); color: var(--fg); }
.ps-ftr__grid { display: grid; grid-template-columns: 200px repeat(auto-fit, minmax(120px, 1fr)); column-gap: 20px; row-gap: 40px; }
.ps-ftr__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ps-ftr__tag { max-width: 210px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-ftr__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ps-ftr__h { margin-bottom: 6px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.ps-ftr__a { font-size: 14px; line-height: 1.3; color: var(--fg2); text-decoration: none; transition: color .14s; }
.ps-ftr__a:hover { color: var(--fg); }
.ps-ftr__bot { margin-top: 72px; padding-top: 24px; display: flex; align-items: center; gap: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-ftr__legal { flex-grow: 1; }

/* ---------- windows ---------- */
.ps-dlg { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--r-md); background: none; color: #F2F3F5; overflow: visible; }
.ps-dlg::backdrop { background: var(--scrim); }
/* a window drawn open without the script (a board, a page before the script runs): the scrim is its own shadow */
.ps-dlg[open]:not(:modal) { position: fixed; z-index: 70; inset: 0; box-shadow: 0 0 0 100vmax var(--scrim); }
.ps-dlg__box { box-sizing: border-box; max-height: calc(100dvh - 48px); display: flex; flex-direction: column; border-radius: var(--r-md); background: radial-gradient(120% 90% at 50% 0%, #1E2128 0%, #101216 58%, #0B0C0F 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px #000; }
.ps-dlg__head { display: flex; align-items: flex-start; gap: 16px; padding: 28px 28px 0 32px; }
.ps-dlg__titles { flex-grow: 1; min-width: 0; padding-top: 4px; }
.ps-dlg__title { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.ps-dlg__lead { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--fg2); }
.ps-dlg__x { margin: 0; flex: none; }
.ps-dlg__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -12px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--fg2); cursor: pointer; transition: color .14s, background-color .14s; }
.ps-dlg__close:hover { color: var(--fg); background: rgba(255,255,255,.07); }
.ps-dlg__body { padding: 24px 32px 32px; overflow-y: auto; overscroll-behavior: contain; }

@media (max-width: 1099.98px) {
  .ps-hdr { height: 60px; --header-h: 60px; }
  .ps-hdr__in { width: auto; margin: 0 16px; gap: 10px; }
  .ps-hdr__nav, .ps-hdr__lang, .ps-hdr__in2 { display: none; }
  .ps-hdr__lockup { margin-right: auto; font-size: 20px; }
  .ps-hdr__r { gap: 10px; }
  .ps-hdr__cta { height: 36px; padding: 0 14px; }
  .ps-hdr__menu { display: block; }
  /* the open menu covers the page: the page under it does not scroll (no script needed) */
  html:has(.ps-hdr__menu[open]) { overflow: hidden; }
  .ps-hdr:has(.ps-hdr__menu[open]) { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; color: #F2F3F5; --fg: #F2F3F5; --ln2: rgba(255,255,255,.14); }
  .ps-hdr:has(.ps-hdr__menu[open]) .ps-hdr__cta { display: none; }
  .ps-ftr { padding: 64px 0 32px; }
  .ps-ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 36px; }
  .ps-ftr__brand { grid-column: 1 / -1; }
  .ps-ftr__tag { display: none; }
  .ps-ftr__bot { margin-top: 44px; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  /* a window becomes a sheet from the bottom */
  .ps-dlg--night { width: 100vw; max-height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .ps-dlg--night[open]:not(:modal) { top: auto; }
  .ps-dlg--night .ps-dlg__box { max-height: calc(100dvh - 24px); border-radius: 24px 24px 0 0; }
  .ps-dlg__head { padding: 20px 16px 0 20px; }
  .ps-dlg__body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Prontaro site · 10 · the first screen of the home page: the H1 with a line per product, two buttons, the planet with the fixed point,
   the strip of links at the lower edge. The header (mode «over») lies on it.

   Geometry of the wide layout. The hero is as high as the window, but not higher than 62.5 % of its width and not lower than 620 px.
   The picture (1440 × 900) is drawn at 106 %, hung on the left edge of the window and, in a tall window, on the lower edge of the hero;
   in a window lower than 800 px it slides down slower than the window shrinks, so the horizon stays under the buttons.
   A window wider than 1440 scales the picture with it (--hero-u is «one pixel at 1440»).
   The fixed point is a place on the horizon given as a share of the picture; narrower windows cut the picture at the right,
   so the point steps left along the horizon. */
.ps-hero { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; background: var(--night);
  --hero-h: clamp(620px, 100vh, min(62.5vw, 1080px));
  --hero-u: max(1px, 100vw / 1440);
  --hero-top: clamp(88px, min(96px + (var(--hero-h) - 630px) * .343, max(120px + (var(--hero-h) - 700px) * .2, 140px + (var(--hero-h) - 800px) * .36)), 240px);
  --hero-sl: calc(var(--hero-u) * -26.4); --hero-sw: calc(var(--hero-u) * 1526.4); --hero-sh: calc(var(--hero-u) * 954);
  --hero-st: max(calc(100% - var(--hero-u) * 900), calc(min(-100px + (var(--hero-h) - 800px) * .32, -132px + (var(--hero-h) - 700px) * .6, -156px + (var(--hero-h) - 660px) * 1.133) + 572.4px - var(--hero-u) * 572.4));
  --hero-fx: .7222; --hero-fy: .6;
  min-height: var(--hero-h); }
/* grain over the planet, under the text */
.ps-hero::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: .05; filter: invert(1); mix-blend-mode: screen; background: url("../assets/material/grain.svg") 0 0 / 256px 256px; }
/* the container keeps the axis of the header; the picture and the point are placed against the hero itself */
.ps-hero__in { position: static; flex: 1 1 auto; display: flex; flex-direction: column; box-sizing: border-box; padding-top: var(--hero-top); }

/* ---------- text ---------- */
.ps-hero__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
/* a soft shade behind the text, over the planet */
.ps-hero__text::before { content: ""; position: absolute; z-index: -1; left: 364px; top: 150px; width: 2000px; height: 860px; margin: -430px 0 0 -1000px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7,8,10,.86) 0%, rgba(7,8,10,.55) 48%, rgba(7,8,10,0) 100%); }
/* the H1: equal lines, one per product. The product's name is white, what it is for steps back to silver */
.ps-hero__h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--h1-dim); font-size: clamp(34px, 3.2vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.ps-hero__row { position: relative; display: block; text-wrap: balance; }
.ps-hero__name { color: var(--white); }
/* the direction sign hangs in the margin at the first line of its row: the text keeps the axis of the logo and the buttons */
.ps-hero__sign { position: absolute; left: calc(-38px - .315em); top: calc(.225em + 2px); width: .63em; height: .63em; max-width: none; overflow: visible; fill: none; stroke: var(--fg3); stroke-width: 2.1; stroke-linecap: square; stroke-linejoin: miter; }
.ps-hero__sub { margin-top: 20px; max-width: 760px; font-size: 20px; line-height: 1.5; color: #E4E6EB; text-wrap: pretty; }
.ps-hero__btns { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ps-hero__sub + .ps-hero__btns { margin-top: 32px; }
.ps-hero__note { margin-top: 16px; max-width: 560px; font-size: 14px; line-height: 1.3; color: var(--on-night-soft); text-wrap: pretty; }
/* a label that does not fit its button is shortened, the price stays */
.ps-hero__btns .ps-btn, .ps-ph__btns .ps-btn { min-width: 0; max-width: 100%; }
.ps-hero__btns .ps-btn__label, .ps-ph__btns .ps-btn__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.ps-hero__btns .ps-btn__aside, .ps-ph__btns .ps-btn__aside { flex: none; }

/* ---------- the planet and the fixed point ---------- */
.ps-hero__stage { position: absolute; z-index: -2; left: var(--hero-sl); top: var(--hero-st); display: block; width: var(--hero-sw); height: var(--hero-sh); pointer-events: none; }
.ps-hero__img { display: block; width: 100%; height: 100%; max-width: none; }
/* the fixed point on the horizon: the planet turns, this does not */
.ps-hero__fix { position: absolute; z-index: 1; left: calc(var(--hero-sl) + var(--hero-sw) * var(--hero-fx)); top: calc(var(--hero-st) + var(--hero-sh) * var(--hero-fy)); width: 0; height: 0; }
.ps-hero__fix-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255,255,255,.16), 0 0 20px 3px rgba(255,77,104,.85); }
.ps-hero__fix-cap { position: absolute; left: 14px; bottom: 12px; box-sizing: border-box; width: max-content; max-width: 240px; min-height: 26px; padding: 4px 9px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--white);
  background: rgba(7,8,10,.58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--ln2); }

/* ---------- the lower edge: the network line and the strip ---------- */
.ps-hero__foot { margin-top: auto; padding: 56px 0 40px; display: flex; flex-direction: column; }
.ps-hero__net { align-self: flex-end; font-size: 14px; line-height: 1.3; color: var(--fg2); text-decoration: none; white-space: nowrap; transition: color .14s; }
.ps-hero__net:hover { color: var(--fg); }
.ps-hero__net:last-child { margin-bottom: 24px; }
.ps-hero__net-v { margin-left: 2px; font-weight: 500; color: var(--white); }
.ps-hero__net + .ps-hero__tasks { margin-top: 48px; }
/* a quiet row of links on a hairline, no plate under it */
.ps-hero__tasks { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--ln2); }
.ps-hero__task { display: flex; align-items: flex-start; gap: 10px; min-width: 0; font-size: 17px; line-height: 1.3; font-weight: 500; color: var(--on-night-soft); text-decoration: none; transition: color .14s, background-color .14s; }
.ps-hero__task:hover { color: var(--white); }
.ps-hero__task-ico { margin-top: 1px; color: var(--fg3); }
.ps-hero__task-t { min-width: 0; text-wrap: balance; }
.ps-hero__task-d { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--fg3); }
.ps-hero__task-go { display: none; }

/* narrower windows: the picture is cut at the right, the point steps left along the horizon; the strip drops its icons, the sign moves closer */
@media (min-width: 1100px) and (max-width: 1399.98px) {
  .ps-hero { --hero-fx: .6667; --hero-fy: .6033; }
  .ps-hero__sign { left: calc(-12px - .5em); top: calc(.29em + 1px); width: .5em; height: .5em; }
  .ps-hero__task-ico { display: none; }
}
@media (min-width: 1100px) and (max-width: 1320.98px) { .ps-hero { --hero-fx: .6139; --hero-fy: .6178; } }
@media (min-width: 1100px) and (max-width: 1199.98px) { .ps-hero { --hero-fx: .5694; --hero-fy: .6303; } }
/* a low window: one line in the strip. The examples stay in the markup with no height, so the columns keep their widths */
@media (min-width: 1100px) and (max-height: 759.98px) {
  .ps-hero__task-d { height: 0; margin-top: 0; overflow: hidden; visibility: hidden; }
}

/* ---------- compact: everything in one column; the planet rises behind the buttons, the strip is a list of rows ---------- */
@media (max-width: 1099.98px) {
  .ps-hero { display: block; min-height: 0; }
  .ps-hero::after { content: none; }
  .ps-hero__in { display: block; padding: 84px 0 24px; }
  .ps-hero__text { align-items: stretch; }
  .ps-hero__text::before { content: none; }
  /* the signs stand in a 32 px gutter inside the column */
  .ps-hero__h1 { gap: 14px; padding-left: 32px; font-size: 28px; line-height: 1.12; }
  .ps-hero__sign { left: -29px; top: 7px; width: 18px; height: 18px; }
  .ps-hero__sub { margin-top: 16px; font-size: 17px; }
  .ps-hero__btns, .ps-hero__sub + .ps-hero__btns { margin-top: 24px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
  .ps-hero__btns .ps-btn { height: 52px; padding: 0 20px; }
  .ps-hero__note { max-width: none; }
  /* phones: the picture (390 × 844) takes the width of the screen and hangs on the place where the buttons end: its point lands just under them */
  .ps-hero__stage { left: 0; top: auto; width: 100%; height: auto; aspect-ratio: 390 / 844; margin-top: calc(3px - 53.59%); }
  .ps-hero__stage::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, var(--night) 0, var(--night) 7.1%, rgba(7,8,10,0) 22.5%); }
  .ps-hero__fix { left: 70.26%; top: auto; margin-top: 3px; }
  .ps-hero__fix-cap { display: none; }
  .ps-hero__foot { margin-top: 24px; padding: 0; }
  .ps-hero__net { display: none; }
  .ps-hero__net + .ps-hero__tasks { margin-top: 0; }
  .ps-hero__tasks { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 0; box-shadow: none; }
  .ps-hero__task { align-items: center; gap: 12px; box-sizing: border-box; min-height: 56px; padding: 6px 14px 6px 16px; border-radius: var(--r-md); font-weight: 600; color: var(--fg);
    background-color: rgba(20,22,27,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--edge-plate); }
  .ps-hero__task:hover { color: var(--fg); background-color: rgba(34,37,44,.72); }
  .ps-hero__task-ico { display: block; margin-top: 0; color: var(--fg); }
  .ps-hero__task-t { flex-grow: 1; }
  .ps-hero__task-d { display: none; }
  .ps-hero__task-go { display: block; color: var(--fg3); }
}
/* tablets: the wide picture at 1680 × 1050, hung by its point on the same place, at the right part of the column */
@media (min-width: 700px) and (max-width: 1099.98px) {
  .ps-hero__stage { left: calc(50% - 1090.3px); width: 1680px; height: 1050px; aspect-ratio: auto; margin-top: -627px; }
  .ps-hero__stage::after { content: none; }
  .ps-hero__fix { left: calc(50% + 123px); }
}

/* ---------- the intro: the planet wipes in from the right, then the point lights up. CSS only; with «reduce motion» nothing moves ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ps-hero__img { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 66%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 66%, #000 100%);
    -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: ps-hero-rise 2.4s cubic-bezier(.3, 0, .2, 1) both; }
  /* the caption and the dot fade in one by one, not their parent: a fading parent would cut the caption's glass off from the planet behind it */
  .ps-hero__fix-cap, .ps-hero__fix-dot { animation: ps-hero-point .9s ease-out 1.8s both; }
}
@keyframes ps-hero-rise { from { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: .3; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 1; } }
@keyframes ps-hero-point { from { opacity: 0; } to { opacity: 1; } }

/* Prontaro site · 11 · the header block of a product page: left the H1, one sentence and one button; right one frame of the series,
   dissolved into the night. 520 px high together with the header that lies on it. */
.ps-ph { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; display: flex; align-items: center; min-height: 520px; padding: 134px 0 86px; background: var(--night); }
/* a glass header stands in the flow: the block slides under it, the picture shows through the glass. A header in the mode «over» already lies on the block */
.ps-page:has(.ps-hdr--glass) .ps-ph { margin-top: calc(-1 * var(--header-h)); }
.ps-ph::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: .05; filter: invert(1); mix-blend-mode: screen; background: url("../assets/material/grain.svg") 0 0 / 256px 256px; }
.ps-ph__text { display: flex; flex-direction: column; align-items: flex-start; width: min(640px, 58%); }
.ps-ph__h1 { color: var(--white); letter-spacing: -0.034em; text-wrap: balance; }
.ps-ph__lead { margin-top: 20px; max-width: 560px; font-size: 20px; line-height: 1.5; color: #E4E6EB; text-wrap: pretty; }
.ps-ph__btns { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ps-ph__img { position: absolute; z-index: -2; right: -24px; top: 50%; display: block; width: min(960px, 66.667vw); height: auto; max-width: none; aspect-ratio: 960 / 600; transform: translateY(-50%); object-fit: cover; mix-blend-mode: lighten; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); mask-composite: intersect; }

/* compact: the text first, the frame as a band under the button */
@media (max-width: 1099.98px) {
  .ps-ph { display: block; min-height: 0; padding: 84px 0 0; }
  .ps-ph::after { content: none; }
  .ps-page:has(.ps-hdr--glass) .ps-ph { margin-top: -60px; }
  .ps-ph__text { width: auto; align-items: stretch; }
  .ps-ph__lead { margin-top: 16px; max-width: none; font-size: 17px; }
  .ps-ph__btns { margin-top: 24px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .ps-ph__btns .ps-btn { padding: 0 20px; }
  .ps-ph__img { position: relative; right: auto; top: auto; width: 100%; height: min(62.56vw, 360px); aspect-ratio: auto; margin-top: 8px; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-composite: add; }
}

/* Prontaro site · 13 · «Как это работает» (ps-fl): at the client · Prontaro · the internet, on a strict grid.
   Wide: a band is five columns — cards, the fan, the dark card (420), the fan, cards; the three columns are exactly as high as each other.
   Compact: a band reads top-down along the request; the fans are not drawn. */
.ps-fl { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: baseline; color: var(--fg); }
.ps-fl__h { grid-column: 1; }
.ps-fl__all { grid-column: 2; line-height: 1.3; }
.ps-fl__body { grid-column: 1 / -1; margin-top: 48px; min-width: 0; }
.ps-fl__band + .ps-fl__band { margin-top: 48px; }
.ps-fl__band .ps-fl__bt { position: relative; margin: 0 0 16px; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--fg); }
/* the direction sign hangs in the margin, as in the hero: the heading keeps the left edge of the cards */
.ps-fl__gly { position: absolute; left: -27px; top: 6px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: square; stroke-linejoin: miter; color: #9AA0AB; }
.ps-fl__grid { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 420px) 48px minmax(0, 1fr); align-items: stretch; }
.ps-fl__side { position: relative; display: flex; flex-direction: column; min-width: 0; }
/* the name of a side: read by screen readers in the wide layout, shown over the cards in the compact one */
.ps-fl__ph { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* equal rows: every card of a side is as high as the highest one, and never lower than its own text */
.ps-fl__list { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ps-fl__item { display: flex; align-items: center; gap: 14px; box-sizing: border-box; min-height: 80px; padding: 14px 20px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln); }
.ps-fl__ic { color: var(--fg3); }
.ps-fl__it { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ps-fl__t { font-size: 17px; line-height: 1.3; font-weight: 500; color: var(--fg); overflow-wrap: anywhere; }
.ps-fl__d { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-fl__chs { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.ps-fl__ch { display: inline-flex; align-items: center; gap: 6px; color: var(--fg3); text-decoration: none; white-space: nowrap; transition: color .14s; }
a.ps-fl__ch:hover { color: var(--fg); }
.ps-fl__lg { color: #8A909C; }
/* the fan: a stub per card, a spine between the first and the last stub, a trunk to the dark card with the arrowhead */
.ps-fl__fan { position: relative; display: block; color: rgba(14,16,20,.5); }
.ps-fl__stubs { position: absolute; top: 0; bottom: 0; width: 16px; display: flex; flex-direction: column; gap: 8px; }
.ps-fl__stub { flex: 1 1 0; display: flex; align-items: center; }
.ps-fl__sl { display: block; width: 16px; height: 1px; background: rgba(14,16,20,.2); }
.ps-fl__spine { position: absolute; top: calc((100% - (var(--ps-fl-n) - 1) * 8px) / (2 * var(--ps-fl-n))); bottom: calc((100% - (var(--ps-fl-n) - 1) * 8px) / (2 * var(--ps-fl-n))); width: 1px; background: rgba(14,16,20,.2); }
.ps-fl__trunk { position: absolute; top: 50%; height: 1px; width: 32px; background: rgba(14,16,20,.2); }
.ps-fl__head { position: absolute; top: 50%; margin-top: -5px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ps-fl__fan--l .ps-fl__stubs { left: 0; } .ps-fl__fan--l .ps-fl__spine { left: 16px; } .ps-fl__fan--l .ps-fl__trunk { left: 16px; } .ps-fl__fan--l .ps-fl__head { left: 27px; }
.ps-fl__fan--r .ps-fl__stubs { right: 0; } .ps-fl__fan--r .ps-fl__spine { right: 16px; } .ps-fl__fan--r .ps-fl__trunk { right: 16px; } .ps-fl__fan--r .ps-fl__head { right: 27px; }
.ps-fl__fan--in .ps-fl__head { transform: rotate(180deg); }
/* the dark card: it takes the night inks */
.ps-fl__core { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; box-sizing: border-box; min-width: 0; padding: 18px 20px 16px; border-radius: 12px; background: var(--ink); color: var(--fg); }
.ps-fl__core-h { display: flex; align-items: center; gap: 9px; }
.ps-fl__core-t { flex-grow: 1; min-width: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--white); }
.ps-fl__plan { font-size: 14px; line-height: 1.3; color: var(--fg3); white-space: nowrap; }
.ps-fl__way { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 12px; box-shadow: inset 0 1px 0 var(--ln); }
.ps-fl__wh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-fl__wt { font-size: 14px; line-height: 1.3; color: var(--fg2); }
.ps-fl__wr { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.ps-fl__cpy { margin: -6px -6px -6px 0; }
.ps-fl__code { display: block; overflow-x: auto; white-space: nowrap; font-family: var(--font-mono); font-size: 14px; line-height: 1.45; color: var(--fg); scrollbar-width: none; }
.ps-fl__code::-webkit-scrollbar { display: none; }
.ps-fl__pr { color: var(--fg3); user-select: none; }
/* the arrow takes exactly three character cells, as « → » would */
.ps-fl__to { display: inline-block; margin: 0 calc((3ch - 12px) / 2); vertical-align: -1px; color: var(--fg3); }
.ps-fl__fact { font-size: 17px; line-height: 1.3; font-weight: 500; color: var(--fg); }
.ps-fl__more { display: flex; align-items: center; gap: 6px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--ln); font-size: 14px; line-height: 1.3; color: var(--fg2); text-decoration: none; transition: color .14s; }
.ps-fl__more:hover { color: var(--fg); }

@media (max-width: 1099.98px) {
  .ps-fl { display: flex; flex-direction: column; align-items: stretch; }
  .ps-fl__all { order: 3; align-self: flex-start; margin-top: 24px; }
  .ps-fl__body { margin-top: 28px; }
  .ps-fl__band + .ps-fl__band { margin-top: 40px; }
  .ps-fl__band .ps-fl__bt { margin-bottom: 14px; font-size: 17px; }
  /* the sign stands before the heading; a heading without a sign keeps the edge of the cards */
  .ps-fl__band--out .ps-fl__bt, .ps-fl__band--in .ps-fl__bt { padding-left: 26px; }
  .ps-fl__gly { left: 0; top: 4px; }
  .ps-fl__grid { display: flex; flex-direction: column; }
  /* an incoming request starts in the internet: its side comes first */
  .ps-fl__band--in .ps-fl__side--remote { order: -1; }
  .ps-fl__band--in .ps-fl__side--local { order: 1; }
  .ps-fl__fan { display: none; }
  .ps-fl__ph { position: static; width: auto; height: auto; margin: 0 0 8px; overflow: visible; clip-path: none; white-space: normal; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg3); }
  .ps-fl__list { grid-auto-rows: auto; }
  .ps-fl__item { min-height: 68px; padding: 12px 14px; }
  .ps-fl__core { margin: 14px 0 18px; padding: 16px; gap: 12px; }
}

/* Prontaro site · 14 · product pages, the ways (ps-wy): one white card, equal rows on the columns of the scheme above it.
   The code column starts on the text axis of the dark card (420 wide, in the middle), the last column on the text axis of the internet's cards.
   No boxes inside the card: hairlines between the rows only. */
.ps-wy__card { margin: 0; padding: 0 20px; list-style: none; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln); }
.ps-wy__row { display: grid; grid-template-columns: calc(50% - 190px) 468px minmax(0, 1fr); align-items: center; box-sizing: border-box; min-height: 80px; padding: 14px 0; }
.ps-wy__row + .ps-wy__row { box-shadow: inset 0 1px 0 var(--ln); }
.ps-wy__l { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 24px; }
.ps-wy__t { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.ps-wy__plan { margin-left: 10px; font-size: 14px; font-weight: 400; color: var(--fg3); white-space: nowrap; }
.ps-wy__d { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-wy__code { padding-right: 40px; }
.ps-wy__code .ps-cl__code { font-size: 14px; line-height: 1.45; }
.ps-wy__u { min-width: 0; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-wy__gives { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; overflow-wrap: anywhere; }
.ps-wy__ar { color: #8A909C; }
.ps-wy__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 48px; margin-top: 16px; }
.ps-wy__note { font-size: 14px; line-height: 1.5; color: var(--fg3); text-wrap: pretty; }
.ps-wy__cli { flex: none; line-height: 1.3; }

@media (max-width: 1099.98px) {
  .ps-wy__card { padding: 0 14px; }
  .ps-wy__row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ps-wy__l { padding-right: 0; }
  .ps-wy__code { padding-right: 0; }
  .ps-wy__foot { flex-direction: column; gap: 14px; }
}

/* Prontaro site · 15 · «Надёжность и отказоустойчивость» (ps-nv): plates of one anatomy, the network line (ps-as), the plain list of locations (ps-locs).
   A plate: a name, one sentence, a figure, a bottom line. The rows of neighbouring plates share one grid (subgrid), so the figures
   and the bottom lines stand on the same heights whatever the length of the sentences. The figures are fluid: they follow the width
   of their plate (container queries; without them the narrowest drawing is shown). */
.ps-nv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-items: stretch; }
.ps-nv__pl { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; grid-row: span 4; padding: 28px; }
@supports (grid-template-rows: subgrid) { .ps-nv__pl { grid-template-rows: subgrid; } }
.ps-nv__pl:nth-child(n + 3) { margin-top: 16px; }
.ps-nv__t { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.ps-nv__d { padding-top: 8px; font-size: 17px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
.ps-nv__figw { min-width: 0; padding: 24px 0 28px; }
.ps-nv__fig { container-type: inline-size; }

/* ---- figure 1: a server fails. Narrowest drawing first: the tags, the two servers, the API ---- */
.ps-nv__fail { display: grid; align-items: center; padding: 16px 0;
  grid-template-columns: auto 8px minmax(max-content, 92fr) 8px auto 24px minmax(max-content, 86fr); grid-template-rows: 40px 64px 40px;
  grid-template-areas: "in1 a1 s1 b1 ip1 mg api" "mv1 . . . mv2 mg api" "in2 a2 s2 b2 ip2 mg api"; }
.ps-nv__app { grid-area: app; } .ps-nv__fork { grid-area: fk; } .ps-nv__merge { grid-area: mg; } .ps-nv__api { grid-area: api; }
.ps-nv__in1 { grid-area: in1; } .ps-nv__a1 { grid-area: a1; } .ps-nv__s1 { grid-area: s1; } .ps-nv__b1 { grid-area: b1; } .ps-nv__ip1 { grid-area: ip1; }
.ps-nv__in2 { grid-area: in2; } .ps-nv__a2 { grid-area: a2; } .ps-nv__s2 { grid-area: s2; } .ps-nv__b2 { grid-area: b2; } .ps-nv__ip2 { grid-area: ip2; }
.ps-nv__mv1 { grid-area: mv1; } .ps-nv__mv2 { grid-area: mv2; }
.ps-nv__node { display: flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; min-height: 40px; padding: 0 8px; border-radius: var(--r-sm); background: var(--slab); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 14px; line-height: 1.3; color: var(--on-night-soft); white-space: nowrap; }
.ps-nv__node-n { flex-grow: 1; }
.ps-nv__node--on { color: var(--fg); background: #1A1D23; box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), inset 0 1px 0 rgba(255,255,255,.3); }
.ps-nv__node--off { color: #6F7683; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ps-nv__x { color: var(--spark); stroke-width: 2.4px; }
.ps-nv__led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.ps-nv__tag { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 26px; padding: 0 10px; border-radius: var(--r-sm); background: var(--fg); color: var(--ink); font-size: 14px; line-height: 1; font-weight: 600; white-space: nowrap; }
.ps-nv__tag--ghost { background: none; color: #6F7683; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(198,202,211,.3); }
.ps-nv__ln { display: block; height: 2px; background: var(--on-night-soft); }
.ps-nv__ln--dash { height: 0; background: none; border-top: 2px dashed rgba(198,202,211,.3); }
/* the move of a tag from the failed server to the live one: a line, its head and the word beside it */
.ps-nv__move { position: relative; justify-self: center; align-self: stretch; width: 2px; margin: -1px 0; background: #8D93A0; }
.ps-nv__move-h { position: absolute; left: -4px; bottom: -4px; max-width: none; fill: none; stroke: #8D93A0; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ps-nv__bgp { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg); }
/* the live path turns from the lower row to the node in the middle (and from the client's node to the lower row) */
.ps-nv__fork, .ps-nv__merge { position: relative; align-self: stretch; }
.ps-nv__fork::before, .ps-nv__fork::after, .ps-nv__merge::before, .ps-nv__merge::after { content: ""; position: absolute; box-sizing: border-box; border: 0 solid var(--on-night-soft); }
.ps-nv__fork::before { left: 0; width: 50%; top: calc(50% - 1px); border-top-width: 2px; }
.ps-nv__fork::after { left: calc(50% - 1px); right: 0; top: calc(50% - 1px); bottom: 19px; border-left-width: 2px; border-bottom-width: 2px; }
.ps-nv__merge::before { left: 0; width: 50%; top: calc(50% - 1px); bottom: 19px; border-right-width: 2px; border-bottom-width: 2px; }
.ps-nv__merge::after { left: calc(50% - 2px); right: 0; top: calc(50% - 1px); border-top-width: 2px; }
/* the narrowest drawing has no client's node */
.ps-nv__node.ps-nv__app, .ps-nv__fork { display: none; }
/* a plate from 420 px: the client's node comes in; its words wrap when the row is short of room */
@container (min-width: 420px) {
  .ps-nv__fail { grid-template-columns: auto 20px auto 8px minmax(max-content, 1fr) 8px auto 24px auto;
    grid-template-areas: "app fk in1 a1 s1 b1 ip1 mg api" "app fk mv1 . . . mv2 mg api" "app fk in2 a2 s2 b2 ip2 mg api"; }
  .ps-nv__node.ps-nv__app { display: flex; padding: 0 6px; white-space: normal; text-align: center; }
  .ps-nv__fork { display: block; }
}
/* a plate from 540 px: the full drawing of the 1440 board */
@container (min-width: 540px) {
  .ps-nv__fail { grid-template-columns: auto 28px auto 10px minmax(max-content, 1fr) 10px auto 28px auto; }
  .ps-nv__node { gap: 8px; padding: 0 10px; font-size: 17px; }
  .ps-nv__node.ps-nv__app { padding: 0 6px; }
  .ps-nv__api { min-width: 66px; }
  .ps-nv__tag { min-width: 62px; }
}

/* ---- figure 2: two lanes in time. Narrowest drawing first: the name of a lane stands over its bar ---- */
.ps-nv__upd { display: grid; grid-template-columns: 0 104fr 124fr 98fr; grid-template-rows: 22px auto auto auto auto auto auto; padding-bottom: 12px; min-height: 176px; box-sizing: border-box; align-content: start; }
.ps-nv__cut { grid-column: 3; grid-row: 1 / -1; justify-self: start; margin: 22px 0 -12px -1px; border-left: 2px dashed rgba(198,202,211,.3); }
.ps-nv__cut-t, .ps-nv__cap { font-size: 14px; line-height: 1.3; color: var(--fg3); padding-left: 8px; }
.ps-nv__cut-t { grid-column: 3 / 5; grid-row: 1; white-space: nowrap; }
.ps-nv__lane { font-size: 17px; line-height: 1.3; color: var(--fg); white-space: nowrap; }
.ps-nv__lane--old { grid-column: 2 / 5; grid-row: 2; margin-top: 4px; }
.ps-nv__bar { display: block; height: 12px; border-radius: 6px; margin-top: 5px; }
.ps-nv__bar--old { grid-column: 2 / 4; grid-row: 3; background: linear-gradient(90deg, #8D93A0 0%, #8D93A0 62%, rgba(141,147,160,0) 100%); }
.ps-nv__cap--old { grid-column: 3 / 5; grid-row: 4; margin-top: 5px; }
.ps-nv__lane--new { grid-column: 3 / 5; grid-row: 5; margin-top: 14px; padding-left: 8px; }
.ps-nv__bar--new { grid-column: 3 / 5; grid-row: 6; background: var(--fg); }
.ps-nv__cap--new { grid-column: 3 / 5; grid-row: 7; margin-top: 5px; }
/* a plate from 500 px: the names of the lanes stand at the left of the bars */
@container (min-width: 500px) {
  .ps-nv__upd { grid-template-columns: minmax(max-content, 30.36%) 1fr 1fr 1fr; grid-template-rows: 30px auto auto auto auto; padding-bottom: 22px; }
  .ps-nv__cut { margin: 30px 0 -22px -1px; }
  .ps-nv__cut-t { padding-top: 6px; }
  .ps-nv__lane { grid-column: 1; padding: 0 16px 0 0; }
  .ps-nv__lane--old, .ps-nv__bar--old { grid-row: 2; margin-top: 11px; }
  .ps-nv__lane--new, .ps-nv__bar--new { grid-row: 4; margin-top: 31px; }
  .ps-nv__bar { align-self: center; }
  .ps-nv__cap--old { grid-row: 3; margin-top: 1px; }
  .ps-nv__cap--new { grid-row: 5; margin-top: 1px; }
}

/* the bottom line of a plate: measured numbers, or one line of small print — the same place, the same hairline */
.ps-nv__bot { box-sizing: border-box; min-height: 66px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--ln); }
.ps-nv__sts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; margin: 0; padding: 0; list-style: none; }
.ps-nv__st { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ps-nv__st-v { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-nv__st-l { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-nv__fine { font-size: 14px; line-height: 1.45; color: var(--fg3); text-wrap: pretty; }
.ps-nv__foot { margin-top: 24px; }
.ps-nv__after { margin-top: 48px; }

/* ---- the network: a line under the plates, or a night card with the number large ---- */
.ps-as { font-size: 17px; line-height: 1.3; }
.ps-as__l, .ps-as__x { color: var(--fg2); }
.ps-as__n { font-family: var(--font-mono); font-weight: 500; color: var(--fg); }
.ps-as--line { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.ps-as--line .ps-as__go { margin-left: auto; }
.ps-as--card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; align-items: center; padding: 24px 28px; }
.ps-as--card .ps-as__id { display: flex; flex-direction: column; gap: 4px; }
.ps-as--card .ps-as__l, .ps-as--card .ps-as__x { font-size: 14px; }
.ps-as--card .ps-as__n { font-size: 28px; line-height: 1.2; color: var(--white); }
.ps-as--card .ps-as__x { grid-column: 1; }
.ps-as--card .ps-as__go { grid-column: 2; grid-row: 1 / span 2; }

/* ---- the locations as a plain list ---- */
.ps-locs__h { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.ps-locs__list { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.ps-locs__h + .ps-locs__list { margin-top: 16px; }
.ps-locs__i { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.3; }
.ps-locs__n { font-weight: 600; color: var(--fg); }
.ps-locs__x { font-size: 14px; color: var(--fg3); }

@media (max-width: 1099.98px) {
  .ps-nv__grid { grid-template-columns: minmax(0, 1fr); }
  .ps-nv__pl { padding: 20px 16px; }
  .ps-nv__pl:nth-child(n + 2) { margin-top: 12px; }
  .ps-nv__sts { column-gap: 12px; }
  .ps-nv__st-v { font-size: 17px; }
  .ps-nv__after { margin-top: 40px; }
  .ps-as--line { flex-direction: column; align-items: flex-start; }
  .ps-as--line .ps-as__go { margin-left: 0; }
  .ps-as--card { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 20px; }
  .ps-as--card .ps-as__go { grid-column: 1; grid-row: auto; }
}

/* Prontaro site · 16 · the latency block (ps-lat): cards per location, the pause control, the action «another location».
   Works on night and on steel. The words of every state are in the HTML; `data-state` picks what is seen:
   on a card when it carries one, otherwise on the block. With no state at all a card is drawn idle. */
.ps-lat { position: relative; }
.ps-lat__hrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.ps-lat__h { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--fg); }
/* adaptive columns: as many as fit, three at most (two in a text column); a short row stretches — one location and the action share it */
.ps-lat__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 240px), calc((100% - 48px) / 3)), 1fr)); column-gap: 24px; row-gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ps-lat__card { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-width: 0; min-height: 168px; padding: 22px 24px 24px; }
.ps-lat__main { flex: none; display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; max-width: 100%; }
.ps-lat__city { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.ps-lat__val { display: block; margin-top: auto; padding-top: 12px; }
.ps-lat__ms, .ps-lat__none { font-family: var(--font-mono); font-size: 44px; line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--fg); white-space: nowrap; }
.ps-lat__none { word-spacing: -0.32em; }
.ps-lat__u { margin-left: .28em; }
.ps-lat__st { display: block; min-height: 18px; margin-top: 8px; font-family: var(--font-mono); font-size: 14px; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--fg3); white-space: nowrap; }
.ps-lat__fail { padding-bottom: 26px; font-size: 20px; line-height: 1.3; color: var(--fg3); }
/* the bars keep their proportions when the card gets narrower: 20 bars of 5 with gaps of 4 make 176 */
.ps-lat__bars { flex: 1 1 0; min-width: 0; max-width: 176px; height: 56px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 2.2727%; align-items: end; }
.ps-lat__bar { display: block; min-height: 2px; border-radius: 2px; background: var(--fg); opacity: .32; }
.ps-lat__bar[data-kind="last"] { opacity: 1; }
.ps-lat__bar[data-kind="gap"] { height: 2px; opacity: 0; }
.ps-lat__bar[data-kind="none"] { height: 2px; opacity: .14; }

/* ---- states of a card. Idle (and no state at all): «— мс», the line under it empty ---- */
.ps-lat__ms, .ps-lat__fail { display: none; }
.ps-lat__none { display: inline; }
.ps-lat__st { visibility: hidden; }
/* measuring: the number and the line under it */
.ps-lat__card:is([data-state="running"], [data-state="paused"], [data-state="skipped"]) .ps-lat__ms,
.ps-lat:is([data-state="running"], [data-state="paused"], [data-state="skipped"]) .ps-lat__card:not([data-state]) .ps-lat__ms { display: inline; }
.ps-lat__card:is([data-state="running"], [data-state="paused"], [data-state="skipped"]) .ps-lat__st,
.ps-lat:is([data-state="running"], [data-state="paused"], [data-state="skipped"]) .ps-lat__card:not([data-state]) .ps-lat__st { visibility: visible; }
.ps-lat__card:is([data-state="running"], [data-state="paused"], [data-state="skipped"], [data-state="error"]) .ps-lat__none,
.ps-lat:is([data-state="running"], [data-state="paused"], [data-state="skipped"], [data-state="error"]) .ps-lat__card:not([data-state]) .ps-lat__none { display: none; }
/* no answers: the words instead of the number */
.ps-lat__card[data-state="error"] .ps-lat__fail, .ps-lat[data-state="error"] .ps-lat__card:not([data-state]) .ps-lat__fail { display: block; }
.ps-lat__card[data-state="error"] .ps-lat__st, .ps-lat[data-state="error"] .ps-lat__card:not([data-state]) .ps-lat__st { display: none; }

/* ---- the pause of the live measurement: one quiet control at the head of the block; nothing to pause before the script runs ---- */
.ps-lat__pause { flex: none; display: inline-flex; align-items: center; height: 28px; margin-right: -8px; padding: 0 8px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1; color: var(--fg3); transition: color .14s; }
.ps-lat__pause:hover { color: var(--fg); }
.ps-lat[data-state="idle"] .ps-lat__pause { display: none; }
.ps-lat__pz { display: none; align-items: center; gap: 6px; }
.ps-lat:not([data-state="paused"]) .ps-lat__pz--run, .ps-lat[data-state="paused"] .ps-lat__pz--held { display: inline-flex; }
.ps-lat[data-state="paused"] .ps-lat__pause { color: var(--fg); }

/* ---- the action in the size of a card, or a line under the row ---- */
.ps-lat__cell { display: flex; min-width: 0; }
.ps-lat__cell--wide { grid-column: 1 / -1; }
.ps-lat__more { flex: 1 1 auto; display: flex; align-items: center; gap: 16px; box-sizing: border-box; min-width: 0; min-height: 168px; padding: 14px 24px; border-radius: var(--r-md); text-decoration: none; color: var(--fg);
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.26); transition: box-shadow .14s, background-color .14s; }
.ps-on-steel .ps-lat__more { background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(14,16,20,.22); }
.ps-page .ps-lat__more:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.ps-lat__cell--wide .ps-lat__more { min-height: 80px; }
.ps-lat__more-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln2); }
.ps-lat__more-t { flex-grow: 1; min-width: 0; font-size: 17px; line-height: 1.3; font-weight: 600; }
.ps-lat__more-go { color: var(--fg2); }

/* in a text column: two cards in a row, tighter */
.ps-lat--c2 .ps-lat__row { grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 240px), calc((100% - 16px) / 2)), 1fr)); column-gap: 16px; }
.ps-lat--c2 .ps-lat__card { padding: 20px 20px 22px; }
.ps-lat--c2 .ps-lat__bars { max-width: 137px; column-gap: 2.19%; }

@media (max-width: 1099.98px) {
  /* cards 120 high in a column, the action under them */
  .ps-lat__row, .ps-lat--c2 .ps-lat__row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; margin-top: 20px; }
  .ps-lat__card, .ps-lat--c2 .ps-lat__card { min-height: 120px; padding: 16px 16px 18px; }
  .ps-lat__val { padding-top: 6px; }
  .ps-lat__ms, .ps-lat__none { font-size: 28px; }
  .ps-lat__st { margin-top: 6px; }
  .ps-lat__fail { padding-bottom: 20px; font-size: 17px; }
  .ps-lat__bars { max-width: 137px; height: 44px; column-gap: 2.19%; }
  .ps-lat__cell { grid-column: 1 / -1; margin-top: 2px; }
  .ps-lat__more, .ps-lat__cell--wide .ps-lat__more { min-height: 72px; padding: 14px 16px; gap: 12px; }
  .ps-lat__more-ico { width: 40px; height: 40px; }
}

/* Prontaro site · 18 · prices: the plan table (ps-pt) and the strip of sheets (ps-sheets).
   Wide: a real table — the label column is a quarter, the plans share the rest; the featured plan is one dark slab behind its column.
   The head is three rows (name and caption, price, button), so prices and buttons stand on one line whatever the captions wrap to.
   Compact: the same table shows one plan — the switcher (radio group), the plan's card (thead) and its list of rows (tbody). */

/* steel sheets of a night page one under another */
.ps-sheets { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }

.ps-pt { position: relative; --ps-pt-lab: 25%; color: var(--fg); }
/* a sheet with the table must not be a scroll container: the compact switcher sticks under the header */
.ps-panel:has(.ps-pt) { overflow: clip; }
.ps-pt__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 28px; }
.ps-pt__hgroup { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ps-pt__title { min-width: 0; }
.ps-pt__lead { font-size: 17px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
/* margins of headings and paragraphs are set with two classes: the page resets them with `.ps-page h1` */

/* the launch badge; with a hint it is a <details>: the whole badge is its summary */
.ps-pt__promo { position: relative; flex: none; max-width: 100%; margin-left: auto; }
.ps-pt__badge { display: flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 44px; margin: 0; padding: 4px 16px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2);
  font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg); }
summary.ps-pt__badge { padding-right: 6px; }
.ps-pt__i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; margin-left: auto; color: var(--fg2); transition: color .14s; }
.ps-pt__badge:hover .ps-pt__i, .ps-pt__promo[open] .ps-pt__i { color: var(--fg); }
/* hints: a small night plate under what opened it */
.ps-pt__pop { position: absolute; z-index: 6; box-sizing: border-box; margin: 0; padding: 14px 16px; border-radius: var(--r-sm); text-align: left; font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--fg);
  background: var(--plate-top); box-shadow: inset 0 0 0 1px rgba(255,255,255,.11), inset 0 1px 0 rgba(255,255,255,.10), 0 18px 36px -10px rgba(14,16,20,.45); text-wrap: pretty; }
.ps-pt__tip { right: 0; top: calc(100% + 8px); width: 360px; max-width: calc(100vw - 64px); }

/* the compact switcher and its radios: not on desktop */
.ps-pt__r, .ps-pt__sw { display: none; }

.ps-pt__grid { position: relative; isolation: isolate; }
/* the dark column: one slab behind the cells of the featured plan, over the whole height of the table */
.ps-pt__slab { position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(var(--ps-pt-lab) + (100% - var(--ps-pt-lab)) / var(--ps-pt-n) * var(--ps-pt-on)); width: calc((100% - var(--ps-pt-lab)) / var(--ps-pt-n));
  border-radius: var(--r-md); pointer-events: none; background: radial-gradient(330px 280px at 50% 0%, #262A33 0%, var(--slab) 72%) var(--slab);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
.ps-pt__t { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.ps-pt__corner { width: var(--ps-pt-lab); padding: 0; }
.ps-pt__plan, .ps-pt__price, .ps-pt__act { box-sizing: border-box; padding: 0 20px; text-align: left; vertical-align: top; font-weight: 400; color: var(--fg); }
.ps-pt__plan { padding-top: 24px; }
.ps-pt__price { padding-top: 12px; }
.ps-pt__act { padding-top: 16px; padding-bottom: 20px; }
.ps-pt__hrow--act > * { box-shadow: inset 0 -1px 0 var(--ln2); }
.ps-pt__name { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.ps-pt__cap { display: block; margin-top: 4px; font-size: 14px; line-height: 1.3; color: var(--fg2); text-wrap: pretty; overflow-wrap: anywhere; }
/* the price takes the size its column allows: 44 at the design width, smaller in a narrow column, the same in every column */
.ps-pt__pbox { container-type: inline-size; }
.ps-pt__p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.ps-pt__now { font-size: clamp(22px, 23cqw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ps-pt__rest { display: inline-flex; align-items: baseline; gap: 4px; font-size: 17px; line-height: 1.3; white-space: nowrap; }
.ps-pt__was { color: var(--fg3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.ps-pt__per { color: var(--fg2); }
/* the button fills its column; long words wrap inside it */
.ps-pt__cta { width: 100%; height: auto; min-height: 50px; padding: 8px 8px; border-radius: 25px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.2; }
.ps-pt__cta .ps-btn__label { min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
/* the second action on steel is white (stated here: the page above the sheet is night, and its rule for this button comes later in the base) */
.ps-pt__cta.ps-btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14,16,20,.20); }

.ps-pt__lab, .ps-pt__c { height: 44px; box-sizing: border-box; padding: 10px 20px; text-align: left; vertical-align: middle; font-size: 17px; line-height: 1.3; font-weight: 400; color: var(--fg);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-pt__lab { position: relative; padding-left: 0; color: var(--fg2); }
.ps-pt__row--lead > .ps-pt__lab, .ps-pt__row--lead > .ps-pt__c { font-weight: 600; color: var(--fg); }
.ps-pt__yes { display: inline-flex; vertical-align: middle; }
.ps-pt__no { opacity: .4; }
/* a group band of the expanded table */
.ps-pt__band-c { height: 40px; box-sizing: border-box; padding: 12px 20px 0 14px; text-align: left; vertical-align: middle; border-radius: var(--r-sm); background: rgba(14,16,20,.035);
  font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg2); }
.ps-pt__band-c .ps-dir { align-items: flex-start; white-space: normal; }
/* the question mark of a row stands at the right of its label; the hint opens under the label */
.ps-pt__lab-w { display: inline-flex; align-items: flex-start; gap: 6px; max-width: 100%; vertical-align: top; }
.ps-pt__lab-t { min-width: 0; }
.ps-pt__q { flex: none; margin: -1px 0; }
.ps-pt__qi { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; color: var(--fg3); transition: color .14s; }
.ps-pt__qi:hover, .ps-pt__q[open] .ps-pt__qi { color: var(--fg); }
.ps-pt__qtip { left: 0; top: calc(100% - 2px); width: 300px; max-width: calc(100vw - 80px); }

/* what every plan has: the last line under the table, on the table's columns */
.ps-pt__all { display: grid; grid-template-columns: var(--ps-pt-lab) minmax(0, 1fr); align-items: center; box-sizing: border-box; min-height: 56px; padding: 10px 0; font-size: 17px; line-height: 1.3; }
.ps-pt__all-l { color: var(--fg2); }
.ps-pt__feats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 36px; margin: 0; padding: 0 0 0 20px; list-style: none; }
.ps-pt__feat { display: flex; align-items: flex-start; gap: 10px; min-width: 0; color: var(--fg); }
.ps-pt__feat > .ps-ico { margin-top: 1px; }

.ps-pt__foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 20px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--ln2); font-size: 17px; line-height: 1.5; color: var(--fg2); }
.ps-pt__foot-l { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 32px; min-width: 0; }
.ps-pt .ps-pt__contact { margin-left: auto; }

@media (min-width: 1100px) {
  /* cells of the featured plan lie on the dark slab */
  .ps-pt__c--on, .ps-pt__row--lead > .ps-pt__c--on { color: #F2F3F5; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
  .ps-pt__row:last-child > .ps-pt__c--on { box-shadow: none; }
  .ps-pt__hrow--act > .ps-pt__on { box-shadow: inset 0 -1px 0 rgba(255,255,255,.10); }
}

@media (max-width: 1099.98px) {
  .ps-sheets { gap: 8px; padding-top: 8px; }
  .ps-pt__head { display: block; margin-bottom: 24px; }
  .ps-pt .ps-pt__head { margin-bottom: 0; }
  .ps-pt__hgroup { margin-bottom: 16px; }
  .ps-pt__hgroup:last-child { margin-bottom: 0; }
  .ps-pt__head > .ps-pt__title { margin-bottom: 16px; }
  .ps-pt__head > .ps-pt__title:last-child { margin-bottom: 0; }
  .ps-pt .ps-pt__head > .ps-pt__title { margin-bottom: 24px; }
  .ps-pt__promo { margin: 0; }
  .ps-pt .ps-pt__promo { margin: 0 0 8px; }
  .ps-pt__head .ps-pt__tip { position: static; width: auto; max-width: none; margin-top: 8px; }

  /* the switcher of plans: sticks under the header while the list scrolls */
  .ps-pt__r { display: block; }
  .ps-pt__sw { position: sticky; top: 60px; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); gap: 2px; margin: 8px 0; padding: 4px; border-radius: var(--r-pill);
    background: #E7E9ED; box-shadow: inset 0 0 0 1px var(--ln); overflow-x: auto; scrollbar-width: none; }
  .ps-pt__sw::-webkit-scrollbar { display: none; }
  .ps-pt__seg { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 10px; border-radius: var(--r-pill); font-size: 14px; line-height: 1; font-weight: 600; color: var(--fg2); white-space: nowrap; cursor: pointer; }

  .ps-pt__slab { display: none; }
  .ps-pt__t, .ps-pt__hd, .ps-pt__bd, .ps-pt__hrow, .ps-pt__band { display: block; }
  /* the card of the chosen plan: white, or the night plate for the featured one */
  .ps-pt__hd { margin-bottom: 8px; padding: 20px 16px 16px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
  .ps-pt:has(.ps-pt__r--on:checked) .ps-pt__hd { background: radial-gradient(120% 90% at 50% 0%, #1E2128 0%, var(--slab) 58%, #0B0C0F 100%); box-shadow: var(--shadow-slab); }
  .ps-pt__corner, .ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c { display: none; }
  .ps-pt__plan, .ps-pt__price, .ps-pt__act { padding: 0; }
  .ps-pt__price { margin-top: 12px; }
  .ps-pt__act { margin-top: 14px; }
  .ps-pt__hrow--act > * { box-shadow: none; }
  .ps-pt__cta { font-size: 17px; padding: 8px 12px; }
  .ps-pt__now { font-size: clamp(22px, 23cqw, 28px); }

  /* the list of rows: a white plate; with «на всех тарифах» under it the two make one plate */
  .ps-pt__bd { padding: 4px 16px 6px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
  .ps-pt--all .ps-pt__bd { padding-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
  .ps-pt__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-height: 44px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--ln); }
  .ps-pt__lab, .ps-pt__c { height: auto; padding: 0; box-shadow: none; }
  .ps-pt__lab { display: block; flex: 1 1 0; min-width: 0; }
  .ps-pt__c { flex: none; max-width: 60%; text-align: right; }
  .ps-pt__band-c { display: flex; align-items: flex-end; height: auto; min-height: 44px; padding: 0 0 8px; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--ln2); }
  .ps-pt__qtip { top: calc(100% + 6px); }
  .ps-pt__all { display: block; min-height: 0; padding: 0 16px 6px; border-radius: 0 0 var(--r-md) var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); clip-path: inset(0 -48px -64px -48px); }
  .ps-pt__all-l { display: flex; align-items: flex-end; box-sizing: border-box; min-height: 44px; padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--ln2); }
  .ps-pt__feats { display: block; padding: 0; }
  .ps-pt__feat { align-items: center; box-sizing: border-box; min-height: 44px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--ln); }
  .ps-pt__feat > .ps-ico { margin-top: 0; }
  .ps-pt__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ps-pt .ps-pt__contact { margin-left: 0; }

  /* the chosen plan: its segment, its card cells, its value in every row */
  .ps-pt__r:nth-of-type(1):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(1) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(1):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(1) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(1):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(2) { display: block; }
  .ps-pt__r:nth-of-type(2):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(2) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(2):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(2) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(2):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(3) { display: block; }
  .ps-pt__r:nth-of-type(3):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(3) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(3):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(3) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(3):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(4) { display: block; }
  .ps-pt__r:nth-of-type(4):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(4) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(4):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(4) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(4):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(5) { display: block; }
  .ps-pt__r:nth-of-type(5):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(5) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(5):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(5) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(5):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(6) { display: block; }
  .ps-pt__r:nth-of-type(6):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(6) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(6):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(6) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(6):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(7) { display: block; }
  .ps-pt__r:nth-of-type(7):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(7) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(7):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(7) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(7):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(8) { display: block; }
  .ps-pt__r:nth-of-type(8):checked ~ .ps-pt__sw > .ps-pt__seg:nth-child(8) { color: var(--white); background: var(--ink); }
  .ps-pt__r:nth-of-type(8):focus-visible ~ .ps-pt__sw > .ps-pt__seg:nth-child(8) { outline: 2px solid var(--fg); outline-offset: -2px; }
  .ps-pt__r:nth-of-type(8):checked ~ .ps-pt__grid :is(.ps-pt__plan, .ps-pt__price, .ps-pt__act, .ps-pt__c):nth-child(9) { display: block; }
}

/* ---------- compact: the plan table inside an article column (PlanTable variant="compact") ----------
   A quiet matrix on the white sheet: the head carries names and prices, no buttons; the featured plan is a light column with a crimson
   hairline on top instead of the dark slab. In the compact layout it keeps the switcher of the full table. */
.ps-pt--compact { --ps-pt-lab: 30%; }
.ps-pt--compact .ps-pt__head { margin-bottom: 12px; }
.ps-pt--compact .ps-pt__t { border: 1px solid var(--ln2); border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); }
.ps-pt--compact .ps-pt__plan, .ps-pt--compact .ps-pt__price { padding-left: 12px; padding-right: 12px; background: var(--docs-chrome, #f7f8fa); }
.ps-pt--compact .ps-pt__corner { background: var(--docs-chrome, #f7f8fa); }
.ps-pt--compact .ps-pt__hrow:first-child > :first-child { border-top-left-radius: var(--r-sm); }
.ps-pt--compact .ps-pt__hrow:first-child > :last-child { border-top-right-radius: var(--r-sm); }
.ps-pt--compact .ps-pt__plan { padding-top: 10px; }
.ps-pt--compact .ps-pt__price { padding-top: 2px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--docs-border-strong, var(--ln2)); }
.ps-pt--compact .ps-pt__hrow:last-child > .ps-pt__corner { box-shadow: inset 0 -1px 0 var(--docs-border-strong, var(--ln2)); }
.ps-pt--compact .ps-pt__name { font-size: 14px; line-height: 1.35; font-weight: 600; letter-spacing: 0; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
.ps-pt--compact .ps-pt__cap { font-size: 12.5px; line-height: 1.35; overflow-wrap: break-word; }
.ps-pt--compact .ps-pt__now { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: normal; }
.ps-pt--compact .ps-pt__rest { font-size: 12.5px; }
.ps-pt--compact .ps-pt__lab, .ps-pt--compact .ps-pt__c { height: 40px; padding: 8px 12px; font-size: 14px; line-height: 1.4; overflow-wrap: break-word; }
.ps-pt--compact .ps-pt__lab { padding-left: 14px; }
.ps-pt--compact .ps-pt__row:last-child > * { box-shadow: none; }
.ps-pt--compact .ps-pt__yes .ps-ico { width: 16px; height: 16px; }
.ps-pt--compact :is(.ps-pt__plan, .ps-pt__price).ps-pt__on { background: var(--docs-canvas, var(--white)); }
.ps-pt--compact .ps-pt__plan.ps-pt__on { box-shadow: inset 0 2px 0 var(--docs-accent, var(--brand)); }
.ps-pt--compact .ps-pt__c--on { background: rgba(14,16,20,.018); }
.ps-pt--compact .ps-pt__all { min-height: 44px; font-size: 14px; }
.ps-pt--compact .ps-pt__foot { margin-top: 10px; padding-top: 0; box-shadow: none; font-size: 14px; }
.ps-pt--compact .ps-pt__foot .ps-lnk--arrow .ps-ico { width: 16px; height: 16px; }
@media (min-width: 1100px) {
  .ps-pt--compact .ps-pt__c--on, .ps-pt--compact .ps-pt__row--lead > .ps-pt__c--on { color: var(--fg); box-shadow: inset 0 -1px 0 var(--ln); }
}
@media (max-width: 1099.98px) {
  .ps-pt--compact .ps-pt__t { border: 0; background: none; }
  .ps-pt--compact .ps-pt__plan, .ps-pt--compact .ps-pt__price, .ps-pt--compact .ps-pt__corner { background: none; }
  .ps-pt--compact .ps-pt__hd, .ps-pt--compact:has(.ps-pt__r--on:checked) .ps-pt__hd { padding: 14px 16px; border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); box-shadow: var(--shadow-plate); }
  .ps-pt--compact .ps-pt__plan.ps-pt__on { box-shadow: none; }
  .ps-pt--compact .ps-pt__price { box-shadow: none; padding-bottom: 0; }
  .ps-pt--compact .ps-pt__bd { border-radius: var(--r-sm); }
  .ps-pt--compact .ps-pt__lab, .ps-pt--compact .ps-pt__c { height: auto; padding: 0; }
  .ps-pt--compact .ps-pt__c--on { background: none; }
  .ps-pt--compact .ps-pt__sw { top: calc(var(--header-h) + 64px); }
}

/* Prontaro site · 18b · pricing tiers (ps-tiers, ps-tc, ps-tpd): two-block tier cards and native <details> pack drawers.
   0 new tokens, 0 edits to site.js. Wide (>= 1100 px): 3-col (1.15fr 1.15fr 0.85fr) or 2-col (1fr 1fr) grid with align-items: start
   so opening one card's pack drawer never stretches its neighbour. Compact (< 1100 px): clean single-column stack. */

/* ---------- TierBlock ---------- */
.ps-tiers { position: relative; color: var(--fg); }
.ps-tiers__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.ps-tiers__title { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.ps-tiers__sub { font-size: 13.5px; line-height: 1.4; color: var(--fg3); }

.ps-tiers__grid { display: grid; gap: 18px; align-items: start; }
.ps-tiers__grid--3 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 0.85fr); }
.ps-tiers__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* calm centered notes under a block (failover + refund policy) */
.ps-tiers__notes { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ps-tiers__note { font-size: 13px; line-height: 1.45; color: var(--fg2); text-wrap: pretty; }
.ps-tiers__note + .ps-tiers__note { font-size: 12.5px; color: var(--fg3); }
.ps-tiers__note a { color: var(--fg2); text-decoration: underline; text-decoration-color: var(--ln2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .14s, text-decoration-color .14s; }
.ps-tiers__note a:hover { color: var(--fg); text-decoration-color: currentColor; }

/* calm 1-line horizontal bridge strip under Block 2 */
.ps-tiers__bridge { margin-top: 16px; padding: 15px 24px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.08), 0 1px 2px rgba(14, 16, 20, 0.03);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ps-tiers__bridge-l { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; line-height: 1.4; color: var(--fg); }
.ps-tiers__bridge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.ps-tiers__bridge-copy { min-width: 0; text-wrap: pretty; }
.ps-tiers__bridge-title { font-weight: 600; color: var(--fg); }
.ps-tiers__bridge-sub { color: var(--fg3); margin-left: 6px; }
.ps-tiers__bridge-cta { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-height: 32px; padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--steel); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.10); color: var(--fg); font-size: 13px; line-height: 1.2; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .14s, box-shadow .14s; }
.ps-tiers__bridge-cta:hover { background: #e9ecf1; box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.16); }

/* ---------- TierCard ---------- */
/* overflow remains visible so native `?` tooltips never clip */
.ps-tc { position: relative; border-radius: var(--r-md); display: flex; flex-direction: column; min-width: 0; color: var(--fg); }
.ps-tc:has(.ps-tc__q[open]) { z-index: 6; }
.ps-tc--light { background: var(--white); box-shadow: var(--shadow-plate), inset 0 0 0 1px rgba(14, 16, 20, 0.06); }
.ps-tc--dark { background: radial-gradient(280px 140px at 0% 0%, rgba(255, 77, 104, 0.14), transparent 72%), linear-gradient(180deg, #17191f 0%, var(--slab) 100%); box-shadow: var(--shadow-slab); }
.ps-tc--quiet { background: rgba(255, 255, 255, 0.68); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.08); }

.ps-tc__body { padding: 26px 26px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ps-tc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.ps-tc__name { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); min-width: 0; }
.ps-tc__badge { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  background: rgba(212, 20, 58, 0.10); box-shadow: inset 0 0 0 1px rgba(212, 20, 58, 0.22); color: var(--brand);
  font-size: 11px; line-height: 1; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.ps-tc--dark .ps-tc__badge { background: rgba(255, 77, 104, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 77, 104, 0.30); color: #ff9ab0; }

.ps-tc__tag { margin-top: 6px; font-size: 13px; line-height: 1.38; color: var(--fg2); text-wrap: pretty; }

.ps-tc__price { margin: 18px 0 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; min-height: 44px; }
.ps-tc__num { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg); }
.ps-tc__num--text { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; }
.ps-tc__per { font-size: 14px; line-height: 1.2; color: var(--fg3); white-space: nowrap; }
.ps-tc__was { margin-left: 3px; font-size: 16px; line-height: 1.2; color: var(--fg2); text-decoration: line-through; white-space: nowrap; }

/* card CTA: 42-44 px pill, wraps gracefully on long locales */
.ps-tc .ps-tc__cta { height: auto; min-height: 42px; padding: 10px 18px; font-size: 14px; line-height: 1.25; white-space: normal; text-align: center; }
.ps-tc .ps-tc__cta.ps-btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.18); }
.ps-tc .ps-tc__cta.ps-btn--line:hover { filter: none; background: #f8f9fb; box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.30); }
.ps-tc .ps-tc__cta.ps-btn--quiet { background: rgba(255, 255, 255, 0.88); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.16); }
.ps-tc .ps-tc__cta.ps-btn--quiet:hover { filter: none; background: var(--white); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.28); }
.ps-tc.ps-tc--dark .ps-tc__cta.ps-btn--line { background: rgba(255, 255, 255, 0.08); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.ps-tc.ps-tc--dark .ps-tc__cta.ps-btn--line:hover { filter: none; background: rgba(255, 255, 255, 0.14); }
.ps-tc.ps-tc--dark .ps-tc__cta.ps-btn--quiet { background: rgba(255, 255, 255, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }

/* parameter rows: keep values single-line when room allows, wrap gracefully in narrow columns without squeezing the label */
.ps-tc__specs { margin: 20px 0 0; display: flex; flex-direction: column; }
.ps-tc__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ln); font-size: 13px; line-height: 1.35; }
.ps-tc__k { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 72px; color: var(--fg2); }
.ps-tc__kt { min-width: 0; overflow-wrap: break-word; }
.ps-tc__v { margin: 0; font-weight: 500; color: var(--fg); text-align: right; flex: 0 1 auto; max-width: 60%; white-space: normal; overflow-wrap: break-word; }
.ps-tc__v--out { color: var(--out); font-weight: 500; }
.ps-tc__v--muted { color: var(--fg3); font-weight: 400; }

/* native `<details data-ps-pop="">` ? tooltip anchored cleanly to the row */
.ps-tc__q { flex: none; display: inline-flex; align-items: center; }
.ps-tc__qi { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: -2px 0; border-radius: 50%; color: var(--fg3); list-style: none; cursor: pointer;
  transition: color .14s, background-color .14s; }
.ps-tc__qi::-webkit-details-marker { display: none; }
/* expand touch target without changing row height */
.ps-tc__qi::before { content: ""; position: absolute; inset: -8px; }
.ps-tc__qi:hover, .ps-tc__q[open] > .ps-tc__qi { color: var(--fg); background: var(--val-bg); }
.ps-tc__qtip { position: absolute; left: 0; bottom: calc(100% + 7px); z-index: 20; box-sizing: border-box; width: min(276px, 100%); padding: 10px 12px; border-radius: 10px;
  background: var(--plate-top); color: #f2f3f5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 32px -6px rgba(8, 9, 11, 0.42);
  font-size: 12px; line-height: 1.45; font-weight: 400; text-align: left; white-space: normal; text-wrap: pretty; }
.ps-tc--dark .ps-tc__qtip { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14, 16, 20, 0.10), 0 14px 32px -6px rgba(0, 0, 0, 0.45); }

.ps-tc__foot { flex: none; }

/* ---------- TierPacksDrawer ---------- */
.ps-tpd { border-top: 1px solid var(--ln); background: #fafbfc; border-radius: 0 0 calc(var(--r-md) - 1px) calc(var(--r-md) - 1px); }
.ps-tc--dark .ps-tpd { border-top-color: rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.03); border-radius: 0 0 var(--r-md) var(--r-md); }
.ps-tc--quiet .ps-tpd { background: rgba(255, 255, 255, 0.45); }

.ps-tpd__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 46px; padding: 10px 26px; list-style: none; cursor: pointer;
  color: var(--fg2); font-size: 13px; line-height: 1.3; font-weight: 500; border-radius: 0 0 calc(var(--r-md) - 1px) calc(var(--r-md) - 1px);
  transition: background-color .14s, color .14s; }
.ps-tpd__sum::-webkit-details-marker { display: none; }
.ps-tpd[open] > .ps-tpd__sum { border-radius: 0; }
.ps-tpd__sum:hover { background: rgba(14, 16, 20, 0.025); color: var(--fg); }
.ps-tc--dark .ps-tpd__sum { color: var(--on-night-soft); }
.ps-tc--dark .ps-tpd__sum:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.ps-tpd__label { min-width: 0; }
.ps-tpd__chev { flex: none; color: var(--fg3); transition: transform .18s ease, color .14s; }
.ps-tpd[open] > .ps-tpd__sum .ps-tpd__chev { transform: rotate(180deg); color: var(--fg); }

.ps-tpd__panel { padding: 2px 26px 16px; }
.ps-tpd__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.ps-tpd__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7.5px 0; border-top: 1px solid var(--ln); font-size: 13px; line-height: 1.35; }
.ps-tpd__name { color: var(--fg); font-weight: 500; min-width: 0; overflow-wrap: break-word; }
.ps-tpd__prices { display: inline-flex; align-items: baseline; gap: 8px; flex: none; white-space: nowrap; }
.ps-tpd__price { font-weight: 600; color: var(--fg); min-width: 30px; text-align: right; }
.ps-tc--dark .ps-tpd__price { color: var(--white); }
.ps-tpd__unit { font-size: 12px; color: var(--fg3); min-width: 82px; text-align: right; }

/* CJK tracking alignment */
:where(.ps-page):lang(ja) :is(.ps-tiers__title, .ps-tc__name),
:where(.ps-page):lang(ko) :is(.ps-tiers__title, .ps-tc__name) { letter-spacing: 0; }

/* ---------- compact layout (< 1100 px) ---------- */
@media (max-width: 1099.98px) {
  .ps-tiers__head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 14px; }
  .ps-tiers__grid--3,
  .ps-tiers__grid--2 { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .ps-tc__body { padding: 22px 20px 18px; }
  .ps-tc__row { gap: 10px; }
  .ps-tc__v { max-width: 58%; white-space: normal; overflow-wrap: break-word; }

  .ps-tpd__sum { padding: 10px 20px; }
  .ps-tpd__panel { padding: 2px 20px 14px; }
  .ps-tpd__unit { min-width: 68px; }

  .ps-tiers__bridge { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; }
  .ps-tiers__bridge-sub { display: block; margin-left: 0; margin-top: 2px; }
  .ps-tiers__bridge-cta { min-height: 38px; padding: 6px 16px; }
}

/* Prontaro site · 19 · the packs to buy on top of a plan (ps-pk): one plate, a row per pack.
   Wide: a table of four columns. Compact: every pack is three lines — the name with the price, for how long, on which plans. */
.ps-pk { padding: 4px 32px; color: var(--fg); }
/* the sheet's own heading takes the steel ink (the page above the sheet is night) */
.ps-panel:has(.ps-pk) { color: var(--fg); }
.ps-pk__t { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.ps-pk__row > * { box-sizing: border-box; height: 64px; padding: 8px 32px 8px 0; text-align: left; vertical-align: middle; font-size: 17px; line-height: 1.3; font-weight: 400; color: var(--fg); overflow-wrap: anywhere; box-shadow: inset 0 1px 0 var(--ln); }
.ps-pk__row > :last-child { padding-right: 0; }
.ps-pk__row--h > * { height: 44px; font-size: 14px; color: var(--fg3); box-shadow: none; }
.ps-pk__n { width: 37.1%; }
.ps-pk__p { width: 14.4%; font-variant-numeric: tabular-nums; }
.ps-pk__h:nth-child(3) { width: 25.6%; }
.ps-pk__bd .ps-pk__n { font-weight: 600; }
.ps-pk__bd .ps-pk__c { color: var(--fg2); }
.ps-pk .ps-price { flex-wrap: wrap; white-space: normal; }
/* «$7 $9 / мес»: the period of a pack is written with its own space */
.ps-pk .ps-price__per { margin-left: 0; }

@media (max-width: 1099.98px) {
  .ps-pk { padding: 4px 16px; }
  .ps-pk__t, .ps-pk__bd { display: block; }
  /* the captions of the columns stay for screen readers */
  .ps-pk__hd { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .ps-pk__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; padding: 14px 0; box-shadow: inset 0 1px 0 var(--ln); }
  .ps-pk__row:first-child { box-shadow: none; }
  .ps-pk__row > * { display: block; width: auto; height: auto; padding: 0; box-shadow: none; }
  .ps-pk__bd .ps-pk__c { grid-column: 1 / 3; font-size: 14px; }
  /* a pack sold on every plan has nothing to say in its third line */
  .ps-pk__bd .ps-pk__c--none { display: none; }
}

/* Prontaro site · 20 · questions (ps-faq): native <details>, one sign for every list — the chevron that turns over.
   ps-faq2: the heading (and what stands under it: a line, the contact card) at the left, the questions at the right. */
.ps-faq { color: var(--fg); display: flex; flex-direction: column; box-shadow: inset 0 1px 0 var(--ln2); }
.ps-faq__i { box-shadow: inset 0 -1px 0 var(--ln2); }
.ps-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: border-box; min-height: 68px; padding: 16px 0; color: var(--fg); }
.ps-faq__qt { margin: 0; min-width: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere; text-wrap: pretty; }
.ps-faq__ico { flex: none; color: var(--fg3); transition: transform .18s, color .14s; }
.ps-faq__q:hover .ps-faq__ico { color: var(--fg); }
.ps-faq__i[open] .ps-faq__ico { transform: rotate(180deg); }
.ps-faq__a { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-top: -4px; padding: 0 64px 28px 0; font-size: 17px; line-height: 1.5; color: var(--fg2); }
.ps-faq__p { margin: 0; text-wrap: pretty; overflow-wrap: anywhere; }

.ps-faq2 { color: var(--fg); display: grid; grid-template-columns: minmax(0, 400fr) minmax(0, 752fr); column-gap: clamp(48px, 6.667vw, 96px); align-items: start; }
/* the left column stays in sight while the questions scroll: the sheet must not be a scroll container for that */
.ps-panel:has(.ps-faq2) { overflow: clip; }
.ps-faq2__left { align-self: stretch; }
.ps-faq2__stick { position: sticky; top: calc(var(--header-h) + 24px); }
.ps-faq2__title { text-wrap: balance; }
.ps-faq2 .ps-faq2__note { margin-top: 20px; font-size: 17px; line-height: 1.5; color: var(--fg2); }
.ps-faq2__aside { margin-top: 32px; }
/* a low window: a tall card under the heading would not fit, so nothing sticks */
@media (max-height: 759.98px) { .ps-faq2__stick { position: static; } }

@media (max-width: 1099.98px) {
  .ps-faq2 { display: block; }
  .ps-faq2__stick { position: static; }
  .ps-faq2 .ps-faq2__note { margin-top: 14px; }
  .ps-faq2__aside { margin: 28px -8px 0; }
  .ps-faq2__list { margin-top: 28px; }
  .ps-faq__q { min-height: 64px; padding: 14px 0; gap: 16px; }
  .ps-faq__qt { font-size: 17px; letter-spacing: 0; }
  .ps-faq__a { padding: 0 0 22px; }
}

/* Prontaro site · 21 · the closing screen (ps-fin): the heading, the two buttons of the hero and the horizon at the lower edge.
   The horizon is drawn in CSS and is tied to the lower edge of the section, so the text above may take as many lines as it needs.
   Every size of it runs between the two drawn widths, 390 and 1440, and goes on the same way down to 360 and up to 1920:
   the planet's diameter 2400 → 5200, the top of its arc 80 → 108 above the lower edge, the air over the arc 259 → 182. */
.ps-fin { position: relative; overflow: hidden; background: var(--night); color: var(--fg);
  --fin-d: calc(1360px + 266.67vw);
  --fin-under: calc(69.6px + 2.667vw);
  --fin-air: clamp(182px, calc(287.6px - 7.333vw), 262px);
  --fin-hw: calc(357.7px + 72.38vw);
  --fin-hh: calc(228px + 13.33vw);
  padding: 96px 0 calc(var(--fin-under) + var(--fin-air)); }
.ps-fin__sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.ps-fin__globe, .ps-fin__rim, .ps-fin__edge { position: absolute; left: 50%; bottom: calc(var(--fin-under) - var(--fin-d)); width: var(--fin-d); height: var(--fin-d); margin-left: calc(var(--fin-d) / -2); border-radius: 50%; }
.ps-fin__globe { background: radial-gradient(closest-side, #050608 0%, #050608 97%, #0B0C10 100%); }
.ps-fin__rim { box-shadow: 0 -1px 3px var(--hot), 0 -8px 22px rgba(255,150,130,.95), 0 -28px 70px rgba(212,20,58,.72), 0 -90px 190px rgba(120,12,40,.48); }
.ps-fin__edge { box-shadow: 0 -1px 0 rgba(255,120,110,.24); }
/* the glow of the rim is seen around the point only and fades to the sides */
.ps-fin__mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse calc(194px + 47.62vw) calc(313px + 17.14vw) at 60% calc(100% - var(--fin-under) + 14px), #000 0%, rgba(0,0,0,.6) 40%, transparent 100%);
  mask-image: radial-gradient(ellipse calc(194px + 47.62vw) calc(313px + 17.14vw) at 60% calc(100% - var(--fin-under) + 14px), #000 0%, rgba(0,0,0,.6) 40%, transparent 100%); }
.ps-fin__halo { position: absolute; left: 60%; bottom: calc(var(--fin-under) - var(--fin-hh) / 2 - 4px); width: var(--fin-hw); height: var(--fin-hh); margin-left: calc(var(--fin-hw) / -2);
  background: radial-gradient(closest-side, rgba(212,20,58,.40), rgba(120,12,40,.16) 46%, rgba(120,12,40,0)); }
/* the fixed point: on the arc, where the glow is brightest */
.ps-fin__dot { position: absolute; left: 60%; bottom: calc(var(--fin-under) - 7px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255,255,255,.16), 0 0 20px 3px rgba(255,77,104,.85); }
.ps-fin__grain { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .05; mix-blend-mode: screen; filter: invert(1); background-image: url("../assets/material/grain.svg"); background-size: 256px 256px; }
.ps-fin__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-fin__h { max-width: 860px; text-wrap: balance; overflow-wrap: anywhere; }
.ps-fin__btns { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: 100%; }
/* the price after the action, as on the hero's buttons */
.ps-fin .ps-fin__note { margin-top: 16px; max-width: 560px; font-size: 14px; line-height: 1.3; color: var(--on-night-soft); text-wrap: pretty; }

@media (max-width: 1099.98px) {
  .ps-fin { padding-top: 64px; }
  .ps-fin__btns { flex-direction: column; align-items: stretch; align-self: stretch; gap: 10px; margin-top: 24px; }
  .ps-fin__btns .ps-btn { height: auto; min-height: 52px; padding: 8px 20px; white-space: normal; flex-wrap: wrap; row-gap: 2px; }
}

/* Prontaro site · 22 · comparison: the table (ours first, a night slab; neighbours with their sources) and the section with tabs.
   Wide: a table. Compact: ours and one neighbour side by side, the row's label above each pair, the neighbour chosen with chips. */

/* ---------- the table ---------- */
.ps-cmp { position: relative; color: var(--fg); }
/* the neighbour chooser belongs to the compact layout */
.ps-cmp__r, .ps-cmp__sw { display: none; }
.ps-cmp__t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ps-cmp__corner { width: 254px; padding: 0; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-cmp__th, .ps-cmp__label, .ps-cmp__c { text-align: left; vertical-align: top; overflow-wrap: break-word; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-cmp__th { padding: 22px 24px; font-weight: 500; }
.ps-cmp__name { display: flex; align-items: center; gap: 8px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.ps-cmp__sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.3; font-weight: 400; color: var(--fg2); }
.ps-cmp__src { display: flex; align-items: center; gap: 4px; width: fit-content; margin-top: 8px; font-size: 14px; line-height: 1.3; font-weight: 400; color: var(--fg3); text-decoration: none; transition: color .14s; }
.ps-cmp__src:hover { color: var(--fg); }
.ps-cmp__c { white-space: pre-line; } /* a value of several lines («$19\nза 10 ГБ») keeps its breaks */
.ps-cmp__label, .ps-cmp__c { padding: 20px 24px; font-size: 17px; line-height: 1.3; font-weight: 400; color: var(--fg); font-variant-numeric: tabular-nums; }
.ps-cmp__label { padding-left: 0; color: var(--fg2); }
.ps-cmp--lg .ps-cmp__th, .ps-cmp--lg .ps-cmp__c, .ps-cmp--lg .ps-cmp__label { padding: 26px 32px; }
.ps-cmp--lg .ps-cmp__label { padding-left: 0; }
/* many columns: tighter cells, so that six or seven still stand in the container */
.ps-cmp--dense .ps-cmp__th, .ps-cmp--dense .ps-cmp__c { padding-left: 14px; padding-right: 14px; }
.ps-cmp--dense .ps-cmp__name { font-size: 17px; }
.ps-cmp--dense .ps-cmp__corner { width: 200px; }
/* ours: a night slab through the whole column */
.ps-cmp__own { color: var(--fg); background: var(--slab); box-shadow: inset 1px 0 0 rgba(255,255,255,.08), inset -1px 0 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08); }
.ps-cmp__ok { display: block; margin-top: 1px; }
.ps-cmp__no { color: var(--fg3); opacity: .7; }
.ps-cmp .ps-cmp__note { margin-top: 20px; font-size: 14px; line-height: 1.3; color: var(--fg3); text-wrap: pretty; }
/* words with a hint: the question mark is a <details>; a click, Enter or a tap opens it, a click outside or Esc closes */
/* the words flow as text; the question mark follows the last word and goes to the next line whole when there is no room */
.ps-cmp__q { position: relative; }
.ps-cmp__hint { display: inline-block; vertical-align: top; }
.ps-cmp__qi { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; margin: -1px 0; border-radius: 6px; color: var(--fg3); transition: color .14s; }
.ps-cmp__qi:hover, .ps-cmp__hint[open] > .ps-cmp__qi { color: var(--fg); }
.ps-cmp__tip { position: absolute; z-index: 6; left: 0; top: 30px; width: 260px; box-sizing: border-box; padding: 12px 14px; border-radius: var(--r-sm); text-align: left; font-size: 14px; line-height: 1.45; font-weight: 400; color: #F2F3F5; background: #17191E; box-shadow: inset 0 0 0 1px rgba(255,255,255,.11), 0 18px 36px -10px rgba(14,16,20,.45); overflow-wrap: break-word; }

@media (min-width: 1100px) {
  .ps-cmp__row:last-child > .ps-cmp__label, .ps-cmp__row:last-child > .ps-cmp__c { box-shadow: none; }
  .ps-cmp__th.ps-cmp__own { border-radius: var(--r-md) var(--r-md) 0 0; background: radial-gradient(140% 160% at 50% 0%, #23262E 0%, var(--slab) 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 1px 0 0 rgba(255,255,255,.08), inset -1px 0 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08); }
  .ps-cmp__row:last-child > .ps-cmp__c.ps-cmp__own { border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: inset 1px 0 0 rgba(255,255,255,.08), inset -1px 0 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08); }
  /* the hint of the last column opens to the left, so it stays inside the sheet */
  .ps-cmp__c:last-child:not(:nth-child(2)) .ps-cmp__tip { left: auto; right: 0; }
}

/* ---------- the section: heading and line at the left, tabs at the right, the table, links ---------- */
.ps-cmps__in { color: var(--fg); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 48px; row-gap: 20px; }
.ps-cmps__head { flex: 1 1 400px; min-width: 0; }
.ps-cmps .ps-cmps__lead { margin-top: 16px; max-width: 640px; font-size: 17px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
/* the Tabs root dissolves: its tab row stands in the head line, its panels take the next line */
.ps-cmps__tabs { display: contents; }
.ps-cmps__tabs > .ps-tabs__list { flex: 0 1 auto; flex-wrap: wrap; gap: 8px; padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.ps-cmps__tabs > .ps-tabs__list > .ps-tabs__tab { box-sizing: border-box; height: 48px; padding: 0 20px; color: var(--fg); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2); transition: color .14s, background-color .14s, box-shadow .14s; }
.ps-cmps__tabs > .ps-tabs__list > .ps-tabs__tab:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(1),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(2),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(3),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(4),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(5),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(6),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(7),
.ps-cmps__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(8) { color: var(--white); background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ps-cmps__tabs > .ps-tabs__panels, .ps-cmps__one, .ps-cmps__links { flex: 0 0 100%; min-width: 0; }
.ps-cmps__tabs > .ps-tabs__panels, .ps-cmps__one { margin-top: 28px; }
.ps-cmps .ps-cmp .ps-cmp__note { margin-top: 24px; }
.ps-cmps__links { margin-top: 4px; display: flex; align-items: center; flex-wrap: wrap; column-gap: 36px; row-gap: 14px; }

@media (max-width: 1099.98px) {
  /* chips of the neighbours: a radio group */
  .ps-cmp__r { display: block; }
  .ps-cmp__sw { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .ps-cmp__chip { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 8px 16px; border-radius: var(--r-sm); font-size: 17px; line-height: 1.2; font-weight: 500; color: var(--fg2); box-shadow: inset 0 0 0 1px var(--ln2); cursor: pointer; transition: box-shadow .14s; }
  .ps-on-steel .ps-cmp__chip { background: var(--white); }
  .ps-cmp__chip:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
  .ps-cmp__r:nth-of-type(1):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(1),
  .ps-cmp__r:nth-of-type(2):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(2),
  .ps-cmp__r:nth-of-type(3):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(3),
  .ps-cmp__r:nth-of-type(4):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(4),
  .ps-cmp__r:nth-of-type(5):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(5),
  .ps-cmp__r:nth-of-type(6):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(6) { color: var(--night); background: var(--fg); box-shadow: none; }
  .ps-on-steel .ps-cmp__r:nth-of-type(1):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(1),
  .ps-on-steel .ps-cmp__r:nth-of-type(2):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(2),
  .ps-on-steel .ps-cmp__r:nth-of-type(3):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(3),
  .ps-on-steel .ps-cmp__r:nth-of-type(4):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(4),
  .ps-on-steel .ps-cmp__r:nth-of-type(5):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(5),
  .ps-on-steel .ps-cmp__r:nth-of-type(6):checked ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(6) { color: var(--white); }
  .ps-cmp__r:nth-of-type(1):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(1),
  .ps-cmp__r:nth-of-type(2):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(2),
  .ps-cmp__r:nth-of-type(3):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(3),
  .ps-cmp__r:nth-of-type(4):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(4),
  .ps-cmp__r:nth-of-type(5):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(5),
  .ps-cmp__r:nth-of-type(6):focus-visible ~ .ps-cmp__sw > .ps-cmp__chip:nth-child(6) { outline: 2px solid var(--fg); outline-offset: 3px; }
  /* the table folds: a plate; the head is a pair of cells, every row is its label and a pair of cells */
  .ps-cmp__box { padding: 12px 12px 4px; border-radius: var(--r-md); background: linear-gradient(180deg, var(--plate-top), var(--plate-bottom)); box-shadow: var(--edge-plate); }
  .ps-on-steel .ps-cmp__box { background: var(--white); box-shadow: var(--shadow-plate); }
  .ps-cmp__t, .ps-cmp__t thead, .ps-cmp__t tbody { display: block; }
  .ps-cmp__hr, .ps-cmp__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .ps-cmp__corner { display: none; }
  .ps-cmp__hr { margin-bottom: 4px; }
  .ps-cmp__row { position: relative; padding: 12px 0; box-shadow: inset 0 1px 0 var(--ln); }
  .ps-cmp__th, .ps-cmp__c, .ps-cmp--lg .ps-cmp__th, .ps-cmp--lg .ps-cmp__c, .ps-cmp--dense .ps-cmp__th, .ps-cmp--dense .ps-cmp__c { display: block; box-sizing: border-box; padding: 12px; border-radius: var(--r-sm); box-shadow: none; }
  .ps-cmp__th { min-height: 76px; }
  .ps-cmp__c { min-height: 48px; }
  .ps-cmp__name, .ps-cmp--dense .ps-cmp__name { font-size: 17px; letter-spacing: 0; }
  .ps-cmp__sub { margin-top: 3px; }
  .ps-cmp__src { margin-top: 5px; }
  .ps-cmp__label, .ps-cmp--lg .ps-cmp__label { display: block; grid-column: 1 / -1; padding: 0 12px 8px; font-size: 14px; color: var(--fg3); box-shadow: none; }
  .ps-cmp__own { background: radial-gradient(140% 160% at 50% 0%, #20232A 0%, var(--slab) 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.08); }
  .ps-cmp__th.ps-cmp__own, .ps-cmp__c.ps-cmp__own { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.08); }
  /* only the chosen neighbour is shown */
  .ps-cmp--pick .ps-cmp__other { display: none; }
  .ps-cmp__r:nth-of-type(1):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(3),
  .ps-cmp__r:nth-of-type(2):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(4),
  .ps-cmp__r:nth-of-type(3):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(5),
  .ps-cmp__r:nth-of-type(4):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(6),
  .ps-cmp__r:nth-of-type(5):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(7),
  .ps-cmp__r:nth-of-type(6):checked ~ .ps-cmp__box .ps-cmp__other:nth-child(8) { display: block; }
  /* a hint opens across the whole row, under it */
  .ps-cmp__q { position: static; }
  .ps-cmp__tip { left: 0; right: 0; top: calc(100% - 8px); width: auto; }

  .ps-cmps__in { flex-direction: column; flex-wrap: nowrap; align-items: stretch; row-gap: 20px; }
  .ps-cmps__head { flex: none; }
  .ps-cmps .ps-cmps__lead { margin-top: 14px; }
  /* tabs across, equal; a long name takes two lines instead of leaving the screen */
  .ps-cmps__tabs > .ps-tabs__list { display: flex; }
  .ps-cmps__tabs > .ps-tabs__list > .ps-tabs__tab { flex: 1 1 140px; justify-content: center; height: auto; min-height: 48px; padding: 6px 10px; line-height: 1.2; text-align: center; white-space: normal; text-wrap: balance; }
  .ps-cmps__tabs > .ps-tabs__panels, .ps-cmps__one { flex: none; margin-top: 8px; }
  .ps-cmps .ps-cmp .ps-cmp__note { margin-top: 24px; }
  .ps-cmps__links { flex: none; margin-top: 4px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Prontaro site · 23 · «Как это выглядит?»: tabs, one line per tab, a frame of the cabinet in a window with a lit top edge. */

.ps-cab { color: var(--fg); }
/* the tab row: words with icons on the night; the open one is a glass plate */
.ps-cab__tabs > .ps-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.ps-cab__tabs > .ps-tabs__list > .ps-tabs__tab { box-sizing: border-box; gap: 10px; height: 48px; padding: 0 20px 0 16px; color: var(--fg2); transition: color .14s, background-color .14s, box-shadow .14s; }
.ps-cab__tabs > .ps-tabs__list > .ps-tabs__tab:hover { color: var(--fg); }
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(1),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(2),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(3),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(4),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(5),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(6),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(7),
.ps-cab__tabs.ps-tabs--pill > .ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__list > .ps-tabs__tab:nth-child(8) { color: var(--fg); background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.22); }
/* every panel lies in the same two rows (its line, its window); the hidden ones keep their room,
   so the row of the line is as tall as the longest line and the window stands still when the tab changes */
.ps-cab__tabs > .ps-tabs__panels { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; margin-top: 16px; }
.ps-cab__tabs > .ps-tabs__panels > .ps-tabs__panel { display: grid; grid-area: 1 / 1 / 3 / 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; visibility: hidden; }
.ps-cab__tabs > .ps-tabs__r:nth-of-type(1):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(1),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(2):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(2),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(3):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(3),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(4):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(4),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(5):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(5),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(6):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(6),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(7):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(7),
.ps-cab__tabs > .ps-tabs__r:nth-of-type(8):checked ~ .ps-tabs__panels > .ps-tabs__panel:nth-child(8) { display: grid; visibility: visible; }
.ps-cab--bare .ps-cab__tabs > .ps-tabs__panels { margin-top: 44px; }
.ps-cab__say { position: relative; z-index: 1; grid-row: 1; max-width: 1100px; padding-bottom: 28px; font-size: 17px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
@supports not (grid-template-rows: subgrid) { .ps-cab__tabs .ps-cab__say { min-height: 52px; } }

/* the window */
.ps-cab__stage { position: relative; grid-row: 2; min-width: 0; }
/* the light over the frame: an ellipse that fades out by itself, the same light as on the planet's limb */
.ps-cab__glow { position: absolute; left: 8%; right: 8%; top: -100px; height: 200px; pointer-events: none; background: radial-gradient(closest-side, rgba(206,212,226,.36), rgba(206,212,226,.10) 55%, rgba(206,212,226,0)); }
.ps-cab__win { position: relative; overflow: hidden; border-radius: var(--r-md); background: #08090B; box-shadow: 0 0 0 1px rgba(255,255,255,.11), 0 40px 90px -30px #000000; }
.ps-cab__rim { position: absolute; left: 16px; right: 16px; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55) 22%, #FFFFFF 50%, rgba(255,255,255,.55) 78%, rgba(255,255,255,0)); }
.ps-cab__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 16px; background: linear-gradient(180deg, #1A1C22, #0E1013); box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.ps-cab__dots, .ps-cab__side { display: flex; flex: none; align-items: center; gap: 7px; width: 56px; }
.ps-cab__side { justify-content: flex-end; }
.ps-cab__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.13); }
.ps-cab__url { display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); color: var(--fg2); font-family: var(--font-mono); font-size: 14px; line-height: 1; white-space: nowrap; }
.ps-cab__url-t { min-width: 0; overflow: hidden; text-overflow: clip; }
.ps-cab__zoom { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-sm); color: var(--fg2); cursor: zoom-in; transition: color .14s, background-color .14s; }
.ps-cab__zoom::after { content: ""; position: absolute; left: -8px; right: -8px; top: -8px; bottom: -8px; }
.ps-cab__zoom:hover { color: #FFFFFF; background: rgba(255,255,255,.07); }
.ps-cab__compact { display: none; }
.ps-cab__shot { display: block; width: 100%; height: auto; }
.ps-cab__one .ps-cab__say { padding-bottom: 28px; }

@media (max-width: 1099.98px) {
  .ps-cab__tabs > .ps-tabs__list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; }
  .ps-cab__tabs > .ps-tabs__list > .ps-tabs__tab { justify-content: flex-start; height: auto; min-height: 44px; padding: 8px 16px; line-height: 1.3; white-space: normal; }
  .ps-cab__tabs > .ps-tabs__panels { margin-top: 14px; }
  .ps-cab--bare .ps-cab__tabs > .ps-tabs__panels { margin-top: 36px; }
  .ps-cab__say, .ps-cab__one .ps-cab__say { padding-bottom: 22px; }
  .ps-cab__glow { left: 10px; right: 10px; top: -60px; height: 120px; }
  .ps-cab__bar { height: 36px; padding: 0 12px; }
  .ps-cab__dots, .ps-cab__side { width: 36px; gap: 5px; }
  .ps-cab__dot { width: 7px; height: 7px; }
  .ps-cab__url { padding: 0 10px; gap: 6px; }
  .ps-cab__wide { display: none; }
  .ps-cab__zoom.ps-cab__compact { display: inline-flex; }
  .ps-cab__url-t.ps-cab__compact { display: inline; }
}

/* Prontaro site · 24 · the enlarged picture: one viewer for the cabinet frames of the home page and the screenshots of articles.
   A native <dialog>: the page goes dark, the picture takes the screen, its caption stands under it, «Закрыть» at the top right.
   Esc, a click on the dark and the button close it. */
.ps-zv { position: fixed; z-index: 70; left: 0; top: 0; right: 0; bottom: 0; box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--scrim); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--fg); }
.ps-zv[open] { display: flex; align-items: center; justify-content: center; }
.ps-zv::backdrop { background: none; }
.ps-zv__x { position: absolute; z-index: 1; right: 24px; top: 24px; margin: 0; }
.ps-zv__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.10); color: var(--fg); cursor: pointer; transition: background-color .14s; }
.ps-zv__close:hover { background: rgba(255,255,255,.18); }
/* the figure is as wide as its picture: the caption wraps under it and never widens it */
.ps-zv__pic { display: contents; }
.ps-zv__pic > source { display: none; }
.ps-zv__fig { display: flex; flex-direction: column; gap: 14px; width: min-content; margin: 0; }
.ps-zv__img { display: block; flex: none; width: auto; height: auto; max-width: calc(100vw - 96px); max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -30px #000000; }
.ps-zv__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 14px; line-height: 1.3; color: var(--on-night-soft); }
.ps-zv__text { min-width: 0; overflow-wrap: break-word; }
.ps-zv__touch { display: none; }
.ps-zv__esc { display: inline-flex; align-items: center; gap: 8px; flex: none; margin: -3px 0; color: var(--fg3); white-space: nowrap; }

@media (max-width: 1099.98px) {
  /* edge to edge; the picture can be enlarged further with two fingers */
  .ps-zv__x { right: 12px; top: 12px; }
  .ps-zv__fig { width: 100%; align-items: center; }
  .ps-zv__img { max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); border-radius: 0; }
  .ps-zv__cap { display: block; align-self: stretch; padding: 0 16px; }
  .ps-zv__touch { display: inline; }
  .ps-zv__esc { display: none; }
}

/* Prontaro site · 26 · forms: a field with its errors, the controls, the topic chip, the captcha place, the button, the results of sending.
   The states come from outside: `data-invalid="empty|type"` on .ps-field (the site script), `data-state` on the form's root (the site's code).
   Every text of every state is in the HTML; these rules only show the right one. */

/* inks of a form by surface: white fields on steel, glass fields on the night. The warning is amber on both. */
:root, .ps-on-night, .ps-plate-night { --f-bg: rgba(255,255,255,.065); --f-ln: rgba(255,255,255,.16); --f-ln-hover: rgba(255,255,255,.30); --f-label: var(--on-night-soft);
  --f-warn: #E9A23B; --f-warn-ln: #E9A23B; --f-warn-bg: rgba(233,162,59,.12); --f-warn-edge: rgba(233,162,59,.34); --f-warn-ink: var(--fg);
  --f-chip-bg: rgba(255,255,255,.065); --f-chip-ln: rgba(255,255,255,.16); --f-chip-ink: var(--on-night-soft); }
.ps-on-steel { --f-bg: var(--white); --f-ln: var(--ln2); --f-ln-hover: rgba(14,16,20,.30); --f-label: var(--fg2);
  --f-warn: #9A4E00; --f-warn-ln: #B45F06; --f-warn-bg: rgba(242,163,27,.13); --f-warn-edge: rgba(180,95,6,.30); --f-warn-ink: #7A4A06;
  --f-chip-bg: var(--val-bg); --f-chip-ln: var(--val-ln); --f-chip-ink: var(--fg); }

/* ---------- the form ---------- */
.ps-form { --f-gap: 16px; --f-act: 16px; display: flex; flex-direction: column; min-width: 0; margin: 0; }
.ps-form__fields { display: flex; flex-direction: column; gap: var(--f-gap); min-width: 0; }
.ps-form .ps-form__or { margin: 14px 0 0; font-size: 14px; line-height: 1.3; color: var(--fg3); text-align: center; overflow-wrap: anywhere; }
.ps-form-closer { display: none; }

/* ---------- a field ---------- */
.ps-field { display: flex; flex-direction: column; min-width: 0; }
.ps-field__label { align-self: flex-start; margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--f-label); }
.ps-field__note { margin-left: .35em; font-weight: 400; color: var(--fg3); }
.ps-field__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ps-field__msg { display: flex; min-width: 0; }
.ps-field__err, .ps-field__hint, .ps-field__aside { margin-top: 8px; font-size: 14px; line-height: 1.3; }
.ps-field__hint, .ps-field__aside { color: var(--fg3); }
.ps-field__aside { flex: none; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-field__err { display: none; align-items: flex-start; gap: 6px; color: var(--f-warn); }
.ps-field__err .ps-ico { margin-top: 1px; }
/* one error at a time; it takes the place of the hint */
.ps-field[data-invalid="empty"] .ps-field__err--empty, .ps-field[data-invalid]:not([data-invalid="empty"]) .ps-field__err--type { display: flex; }
.ps-field[data-invalid="empty"] .ps-field__err--empty ~ .ps-field__hint, .ps-field[data-invalid]:not([data-invalid="empty"]) .ps-field__err--type ~ .ps-field__hint { display: none; }

/* ---------- controls ---------- */
.ps-in { display: block; box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 0; border-radius: var(--r-sm); outline: 0; -webkit-appearance: none; appearance: none;
  background: var(--f-bg); box-shadow: inset 0 0 0 1px var(--f-ln); font-family: inherit; font-size: 17px; line-height: 1.3; color: var(--fg); transition: box-shadow .14s; }
.ps-in:hover { box-shadow: inset 0 0 0 1px var(--f-ln-hover); }
.ps-page .ps-in:focus-visible, .ps-in:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--fg); }
/* the hint inside a field is darker than it was: 4.5 : 1 and more on both surfaces */
.ps-in::placeholder { color: var(--fg3); opacity: 1; }
.ps-in--area { height: auto; min-height: 120px; max-height: 240px; padding: 12px 14px; line-height: 1.5; resize: none; overflow-y: auto; field-sizing: content; }
.ps-in--area[rows="3"] { min-height: 96px; }
.ps-field[data-invalid] .ps-in { box-shadow: inset 0 0 0 1.5px var(--f-warn-ln); }
.ps-page .ps-field[data-invalid] .ps-in:focus-visible, .ps-field[data-invalid] .ps-in:focus { box-shadow: inset 0 0 0 2px var(--f-warn-ln); }

/* the topic: a chip with a native list; seen only while a topic is chosen */
.ps-topic { position: relative; align-self: flex-start; display: inline-flex; align-items: center; box-sizing: border-box; max-width: 100%; height: 36px; margin-top: -12px; padding-left: 12px; border-radius: var(--r-sm);
  background: var(--f-chip-bg); box-shadow: inset 0 0 0 1px var(--f-chip-ln); font-size: 14px; line-height: 1.3; color: var(--f-chip-ink); white-space: nowrap; }
.ps-topic:has(option[value=""]:checked) { display: none; }
.ps-topic__label { flex: none; }
.ps-topic__sel { min-width: 0; height: 100%; margin: 0; padding: 0 32px 0 5px; border: 0; border-radius: var(--r-sm); -webkit-appearance: none; appearance: none; background: none;
  font: inherit; color: inherit; text-overflow: ellipsis; cursor: pointer; field-sizing: content; }
.ps-topic__sel option { color: var(--ink); background: var(--white); }
.ps-topic__ch { position: absolute; right: 11px; top: 11px; color: var(--fg3); pointer-events: none; }
.ps-topic:hover .ps-topic__ch { color: var(--fg); }

/* ---------- the captcha place: no room until the widget is put in ---------- */
.ps-fcap { max-width: 100%; margin-top: var(--f-gap); }
.ps-fcap:empty { display: none; }
.ps-fcap__sample { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 300px; max-width: 100%; height: 65px; border-radius: var(--r-sm);
  background: var(--f-chip-bg); box-shadow: inset 0 0 0 1px var(--f-ln); font-size: 14px; line-height: 1.3; color: var(--fg3); }

/* ---------- the button ---------- */
.ps-fsend { height: 52px; margin-top: var(--f-act); }
.ps-fsend__busy { display: none; align-items: center; gap: 8px; }
.ps-fsend__spin { flex: none; box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--white); animation: ps-form-spin .8s linear infinite; }
@keyframes ps-form-spin { to { transform: rotate(360deg); } }
/* busy: a deeper crimson, no hover, no second press */
[data-state="sending"] .ps-fsend, .ps-fsend[disabled] { opacity: 1; filter: none; background: #B8104F; color: rgba(255,255,255,.92); cursor: default; pointer-events: none; }
[data-state="sending"] .ps-fsend__idle { display: none; }
[data-state="sending"] .ps-fsend__busy { display: inline-flex; }

/* ---------- results ---------- */
.ps-fstatus__alert { display: none; align-items: flex-start; gap: 10px; margin-top: var(--f-gap); padding: 12px 14px; border-radius: var(--r-sm); background: var(--f-warn-bg); box-shadow: inset 0 0 0 1px var(--f-warn-edge);
  font-size: 14px; line-height: 1.3; color: var(--f-warn-ink); }
.ps-fstatus__ico { flex: none; margin-top: -1px; color: var(--f-warn-ln); }
.ps-fstatus__t { min-width: 0; overflow-wrap: anywhere; }
.ps-fstatus__alert .ps-lnk { color: inherit; }
[data-state="error-server"] .ps-fstatus__alert--server, [data-state="error-network"] .ps-fstatus__alert--network, [data-state="error-captcha"] .ps-fstatus__alert--captcha { display: flex; }
/* success stands instead of the fields */
.ps-fstatus__sent { display: none; flex-direction: column; align-items: flex-start; gap: 14px; }
.ps-fstatus__ok { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--val-ln); color: var(--fg); }
.ps-fstatus .ps-fstatus__sent-t { margin: 0; font-size: 17px; line-height: 1.5; color: var(--fg); overflow-wrap: anywhere; }
[data-state="sent"] .ps-fstatus__sent { display: flex; }
.ps-form[data-state="sent"] .ps-form__fields, .ps-form[data-state="sent"] .ps-fcap, .ps-form[data-state="sent"] .ps-fsend, .ps-form[data-state="sent"] .ps-form__or { display: none; }

/* Prontaro site · 27 · the contact form in its places: the card «Не нашли ответа?» on a steel sheet and the night window (a sheet from the
   bottom in the compact layout). The window itself is .ps-dlg (05-chrome); here only what a window with a form adds: .ps-dlg--form. */

/* ---------- the card ---------- */
.ps-ct { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; max-width: 400px; padding: 24px; color: var(--fg); }
.ps-ct__fold { display: none; }
.ps-ct .ps-ct__title { margin: 0 0 20px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); }

/* ---------- a window with a form: 480, the paddings of the canvas, a lighter scrim so the page stays seen ---------- */
.ps-dlg.ps-dlg--form { width: min(480px, calc(100vw - 32px)); }
.ps-dlg--form::backdrop { background: rgba(6,7,9,.6); }
.ps-dlg--form[open]:not(:modal) { box-shadow: 0 0 0 100vmax rgba(6,7,9,.6); }
.ps-dlg--form .ps-dlg__box { position: relative; }
.ps-dlg--form .ps-dlg__head { padding: 24px 24px 0 28px; }
.ps-dlg--form .ps-dlg__close { margin-top: -12px; }
.ps-dlg--form .ps-dlg__body { padding: 24px 28px 28px; }
.ps-dlg--form .ps-form { --f-gap: 20px; --f-act: 24px; }
.ps-dlg--form .ps-topic { margin-top: -4px; }
.ps-dlg--form .ps-fstatus__alert { font-size: 17px; line-height: 1.5; }
.ps-dlg--form .ps-fstatus__ico { margin-top: 3px; }
/* success in a window: a round sign, the words of a heading, the button that closes */
.ps-dlg--form .ps-fstatus__sent { gap: 16px; padding: 4px 0; }
.ps-dlg--form .ps-fstatus__ok { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ps-dlg--form .ps-fstatus__sent-t { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }

@media (max-width: 1099.98px) {
  /* the card is folded into one row above the questions and opens in place */
  .ps-ct { max-width: none; padding: 20px; }
  .ps-ct__fold { display: block; }
  .ps-ct .ps-ct__title { display: none; }
  .ps-ct__sum { display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: var(--r-sm); font-size: 17px; line-height: 1.3; color: var(--fg); }
  .ps-ct__sum-t { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .ps-ct__sum-h { font-weight: 600; }
  .ps-ct__sum-s { color: var(--fg2); }
  .ps-ct__sum-ico, .ps-ct__sum-ch { flex: none; }
  .ps-ct__sum-ch { color: var(--fg3); }
  .ps-ct:has(> .ps-ct__fold:not([open])) { padding: 10px 12px 10px 14px; }
  .ps-ct:has(> .ps-ct__fold:not([open])) .ps-ct__body { display: none; }
  .ps-ct__fold[open] { margin-bottom: 20px; }
  .ps-ct__fold[open] .ps-ct__sum { min-height: 26px; }
  .ps-ct__fold[open] .ps-ct__sum-ico, .ps-ct__fold[open] .ps-ct__sum-s { display: none; }
  .ps-ct__fold[open] .ps-ct__sum-h { font-size: 20px; letter-spacing: -0.015em; }
  .ps-ct__fold[open] .ps-ct__sum-ch { transform: rotate(180deg); }

  /* the sheet: the grip at the top, the fields of the phone */
  .ps-dlg.ps-dlg--form { width: 100vw; }
  .ps-dlg--form .ps-dlg__box::before { content: ""; position: absolute; left: 50%; top: 8px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: rgba(255,255,255,.24); }
  .ps-dlg--form .ps-dlg__head { padding: 24px 24px 0 16px; }
  .ps-dlg--form .ps-dlg__body { padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Prontaro site · 28 · the choice of a country in the window «Какая локация вам нужна?».
   Native parts: the box is the <summary> of a <details data-ps-pop>, the list is a group of radios that stands next to it.
   Closed: of the whole list only the chosen country is drawn, laid over the box. Open: the list drops under the box. */
.ps-csel { position: relative; }
.ps-csel__box { display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 48px; padding: 0 12px 0 14px; border-radius: var(--r-sm); background: var(--f-bg); box-shadow: inset 0 0 0 1px var(--f-ln);
  font-size: 17px; line-height: 1.3; color: var(--fg); transition: box-shadow .14s; }
.ps-csel__box:hover { box-shadow: inset 0 0 0 1px var(--f-ln-hover); }
.ps-csel__ph { flex-grow: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg3); }
.ps-csel__ch { flex: none; color: var(--fg2); }
.ps-csel:has(.ps-csel__r:checked) .ps-csel__ph { opacity: 0; }
.ps-csel__pop[open] .ps-csel__box { box-shadow: inset 0 0 0 1.5px var(--fg2); }
.ps-field[data-invalid] .ps-csel__box { box-shadow: inset 0 0 0 1.5px var(--f-warn-ln); }
/* the focus ring is the ring of a field: on the box itself and while the arrows walk the radios of a closed list */
.ps-page .ps-csel__box:focus-visible, .ps-csel__box:focus-visible, .ps-csel:has(> .ps-csel__pop:not([open])):has(.ps-csel__r:focus-visible) .ps-csel__box { outline: 0; box-shadow: inset 0 0 0 2px var(--fg); }

.ps-csel__list { position: absolute; z-index: 2; left: 0; right: 0; top: calc(100% + 12px); }
.ps-csel__opts { display: flex; flex-direction: column; }
.ps-csel__opt { display: block; height: 0; }
.ps-csel__r { display: block; flex: none; width: 0; height: 0; margin: 0; padding: 0; border: 0; outline: 0; opacity: 0; -webkit-appearance: none; appearance: none; }
/* the radio is 0 × 0: its focus is drawn on the row (open) or on the box (closed), never on itself */
.ps-page .ps-csel__r:focus-visible, .ps-csel__r:focus-visible { outline: 0; }
.ps-csel__row { display: none; }
.ps-csel__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the chosen country in the box: positioned from the list, which begins 12 px under the box */
.ps-csel__val { display: none; position: absolute; left: 14px; right: 42px; bottom: calc(100% + 12px); height: 48px; align-items: center; gap: 10px; font-size: 17px; line-height: 1.3; color: var(--fg); pointer-events: none; }
.ps-csel__r:checked ~ .ps-csel__val { display: flex; }

/* open */
.ps-csel:has(> .ps-csel__pop[open]) .ps-csel__opts { box-sizing: border-box; max-height: 236px; padding: 8px; border-radius: var(--r-sm); background: #17191E; box-shadow: var(--shadow-pop); overflow-y: auto; overscroll-behavior: contain; }
.ps-csel:has(> .ps-csel__pop[open]) .ps-csel__opt { display: flex; flex: none; height: auto; cursor: pointer; }
.ps-csel:has(> .ps-csel__pop[open]) .ps-csel__row { display: flex; flex-grow: 1; align-items: center; gap: 10px; box-sizing: border-box; min-width: 0; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); font-size: 17px; line-height: 1.3; color: var(--fg); transition: background-color .14s; }
.ps-csel__opt:hover .ps-csel__row, .ps-csel__r:checked + .ps-csel__row { background: rgba(255,255,255,.07); }
.ps-csel__r:focus-visible + .ps-csel__row { outline: 2px solid var(--fg); outline-offset: -2px; }
/* flags and code chips take one box here, so the names stand on one axis */
/* the filter of a long list: only with the script (html[data-ps-js]); without it the whole list reads as it is */
.ps-csel__find, .ps-csel .ps-csel__none { display: none; }
html[data-ps-js] .ps-csel:has(> .ps-csel__pop[open]) .ps-csel__find { display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 48px; margin-bottom: 6px; padding: 0 14px; border-radius: var(--r-sm); background: #17191E; box-shadow: var(--shadow-pop); color: var(--fg2); }
.ps-csel__find-i { flex: none; }
.ps-csel__q { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; margin: 0; border: 0; outline: 0; background: none; -webkit-appearance: none; appearance: none; font-family: inherit; font-size: 17px; line-height: 1.3; color: var(--fg); }
.ps-page .ps-csel__q:focus-visible, .ps-csel__q:focus-visible { outline: 0; }
.ps-csel__find:focus-within { box-shadow: var(--shadow-pop), inset 0 0 0 2px var(--fg); }
.ps-csel__q::placeholder { color: var(--fg3); opacity: 1; }
.ps-csel__q::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* the filter marks the countries it leaves out (data-out, not [hidden]: base.css hides that always); they go only from the open list —
   closed, the chosen country stays in the box whatever the filter says */
.ps-csel:has(> .ps-csel__pop[open]) .ps-csel__opt[data-out] { display: none; }
html[data-ps-js] .ps-csel[data-empty]:has(> .ps-csel__pop[open]) .ps-csel__none { display: block; margin: 0; padding: 14px; border-radius: var(--r-sm); background: #17191E; box-shadow: var(--shadow-pop); font-size: 15px; line-height: 1.4; color: var(--fg2); }
.ps-csel[data-empty]:has(> .ps-csel__pop[open]) .ps-csel__opts { display: none; }
.ps-flag--img { flex: 0 0 auto; object-fit: cover; border-radius: 2px; }
.ps-csel .ps-flag { box-sizing: border-box; width: 24px; height: 17px; min-width: 0; padding: 0; }
/* a country without a drawn flag: its code on a tile of the same size, so a list of mixed countries keeps one rhythm */
.ps-csel .ps-flag--code { font-family: var(--font-sans); font-size: 11px; font-weight: 600; background: rgba(255,255,255,.10); color: var(--fg2); }

/* Prontaro site · 40 · the documentation shell: the light page, the tree of sections, «На этой странице», breadcrumbs, labels,
   the compact bar with the drawer, «Назад / Далее», the feedback line. The documentation is light only; code inside it is dark (42).
   The documentation has its own editorial scale and palette (round 10): a white sheet for the text, a quiet steel chrome for the navigation,
   a softened graphite for code and one crimson laser pointer for «you are here». Everything new is set on .ps-docs only: the landing,
   the product pages, the prices and long texts keep the marketing scale of 00-base. */

/* ---------- the tokens of the documentation: the one place they are set ----------
   The documentation's own tokens (--docs-*), then the semantic inks of the steel surface re-pointed to them, so every block of the
   documentation (tables, callouts, inline code, chips, plates) takes the new palette without a rule of its own. A dark block inside
   (code: .ps-on-night) sets its own inks again. */
.ps-page.ps-docs {
  --docs-canvas: #ffffff;          /* the sheet of the article, tables, cards inside it */
  --docs-chrome: #f7f8fa;          /* the sidebar, the heads of tables, the soft plates */
  --docs-surface-subtle: #f3f5f8;  /* inline code, the note callout, quiet tags */
  --docs-border: #e6e8ee;          /* the edge of the sidebar, outer frames, rules */
  --docs-border-strong: #dfe3ec;   /* the line under the head of a table, the rail of the steps */
  --docs-border-soft: #eef0f4;     /* the lines between rows */
  --docs-fg: #11141a;              /* headings, key text */
  --docs-fg-strong: #1a202c;       /* <strong> inside prose (16.3:1) */
  --docs-fg-body: #333a45;         /* paragraphs, lists, cells (11.5:1, AAA) */
  --docs-fg2: #4e5665;             /* lead, descriptions, items of the tree, the second ink of cells */
  --docs-fg3: #646c7a;             /* breadcrumbs, captions, quiet items of «На этой странице», a dash in a table */
  --docs-marker: #949dae;          /* list markers */
  --docs-th: #4b5563;              /* the words in the head of a table */
  --docs-accent: #11141a;          /* active mark of the tree and of «На этой странице» */
  --docs-accent-ink: #11141a;      /* the words of the active item of the tree */
  --docs-accent-soft: #eaedf3;     /* the ground of the active item of the tree */
  --docs-link: #255499;            /* technical steel-blue for links inside articles */
  --docs-link-line: rgba(37,84,153,.32); /* the underline of a link in the text */
  --docs-code-bg: #14171f;         /* code: softened graphite */
  --docs-code-bar: #1b1f2a;        /* the bar of a code block and the row of its tabs */
  --docs-wrap: 1360px;             /* the container of the documentation */
  /* the steel inks re-pointed (the same names every block already reads) */
  --fg: var(--docs-fg); --fg2: var(--docs-fg2); --fg3: var(--docs-fg3);
  --ln: var(--docs-border-soft); --ln2: var(--docs-border); --val-bg: var(--docs-surface-subtle); --val-ln: #e4e7ee;
  --shadow-plate: inset 0 0 0 1px var(--docs-border);
  background: var(--docs-canvas);
  font-family: var(--font-docs-body);
}
/* keep brand display face Geologica on header, H1–H3 titles, and buttons */
.ps-docs :is(.ps-hdr, .ps-ahd__h1, .ps-dch__h, .ps-dph__h, .ps-dhh__h, .ps-sh__h, .ps-step__h, .ps-btn) { font-family: var(--font-sans); }
/* the header of the documentation: white glass with a crisp edge, on the same container as the columns below */
.ps-docs .ps-hdr--glass { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 -1px 0 var(--docs-border); }
.ps-docs .ps-hdr__in { width: min(var(--docs-wrap), calc(100% - 64px)); }

/* ---------- page ---------- */
/* the content fills the first screen: the footer never climbs under an open list of a short page */
.ps-docs__main { box-sizing: border-box; min-height: calc(100vh - var(--header-h)); padding: 40px 0 120px; }
.ps-docs .ps-wrap { width: min(var(--docs-wrap), calc(100% - 64px)); }
.ps-docs__content .ps-wrap { width: auto; max-width: none; margin: 0; }
.ps-docs__grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; align-items: start; }
.ps-docs__grid--side { grid-template-columns: 248px minmax(0, 1fr); }
.ps-docs__grid--toc { grid-template-columns: minmax(0, 1fr) 216px; }
.ps-docs__grid--side.ps-docs__grid--toc { grid-template-columns: 248px minmax(0, 1fr) 216px; }
/* the chrome of the tree runs the whole height of the page, from the left edge of the window to a hairline after the tree.
   Drawn as the ground of <main>, so the sticky tree and a short page need nothing of their own. */
.ps-docs__main:has(> .ps-docs__grid--side) { --docs-side-edge: calc((100% - min(var(--docs-wrap), 100% - 64px)) / 2 + 248px + 24px);
  background: linear-gradient(90deg, var(--docs-chrome) var(--docs-side-edge), var(--docs-border) var(--docs-side-edge) calc(var(--docs-side-edge) + 1px), transparent calc(var(--docs-side-edge) + 1px)); }
.ps-docs__content { min-width: 0; font-size: 16px; line-height: 1.6875; color: var(--docs-fg-body); }
.ps-docs__side, .ps-docs__toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ps-docs__side { margin-left: -10px; }
.ps-docs__bar, .ps-docs__otp { display: none; }
/* the field of the header: 252 px at the full width, narrower when the bar gets tight */
.ps-docs .ps-hdr__search { flex: 0 1 252px; min-width: 150px; }

/* ---------- breadcrumbs ---------- */
.ps-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; line-height: 1.35; }
.ps-crumbs__a { color: var(--fg3); text-decoration: none; transition: color .14s; }
.ps-crumbs__a:hover { color: var(--fg); }
.ps-crumbs__sep { color: var(--fg3); opacity: .6; }
.ps-crumbs__on { color: var(--fg2); }

/* ---------- labels ---------- */
.ps-lbls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ps-lbl { display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box; min-height: 26px; padding: 3px 9px; border-radius: var(--r-sm); font-size: 13px; line-height: 1.3; color: var(--fg2); background: var(--docs-canvas, transparent); box-shadow: inset 0 0 0 1px var(--ln2); }

/* ---------- the tree of sections ---------- */
.ps-dtree { display: block; padding-bottom: 24px; }
.ps-dtree__g + .ps-dtree__g { margin-top: 14px; }
.ps-dtree__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; box-sizing: border-box; padding: 5px 10px; border-radius: 6px; font-size: 13px; line-height: 1.3846; font-weight: 600; letter-spacing: -0.005em; color: var(--docs-fg); transition: background-color .14s; }
.ps-dtree__h:hover { background: rgba(14,16,20,.035); }
.ps-dtree__items { margin: 3px 0 4px 12px; padding-left: 10px; border-left: 1px solid var(--docs-border-strong); }
.ps-dtree__a { display: flex; align-items: center; gap: 8px; min-height: 30px; box-sizing: border-box; margin-top: 1px; padding: 5px 10px; border-radius: 6px; font-size: 14px; line-height: 1.4286; font-weight: 400; color: var(--docs-fg2); text-decoration: none; transition: color .14s, background-color .14s; }
.ps-dtree__a:hover { color: var(--docs-fg); background: rgba(14,16,20,.04); }
.ps-dtree__a--deep { padding-left: 12px; font-size: 13px; }
.ps-dtree__items > .ps-dtree__a--on, .ps-dtree__items > .ps-dtree__a--on:hover { position: relative; margin-left: -11px; padding-left: 19px; border-left: 2px solid var(--docs-accent); border-radius: 0 6px 6px 0; background: var(--docs-accent-soft); color: var(--docs-accent-ink); }
.ps-dtree__list > .ps-dtree__a--on, .ps-dtree__list > .ps-dtree__a--on:hover { color: var(--docs-accent-ink); background: var(--docs-accent-soft); box-shadow: inset 2px 0 0 var(--docs-accent); border-radius: 0 6px 6px 0; }
.ps-dtree__ch { margin-left: auto; color: var(--fg3); transition: transform .14s; }
.ps-dtree__g[open] > .ps-dtree__h .ps-dtree__ch, .ps-dtree__sub[open] > .ps-dtree__a .ps-dtree__ch { transform: rotate(90deg); }
.ps-dtree__list { margin: 2px 0 4px 12px; padding-left: 10px; border-left: 1px solid var(--docs-border); }
.ps-dtree__list .ps-dtree__a:first-child { margin-top: 0; }

/* ---------- «На этой странице»: two levels, the section in view marked on the left rail (the site script moves it) ---------- */
.ps-dtoc__h { margin-bottom: 10px; font-size: 12px; line-height: 1.3333; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg3); }
.ps-dtoc__a { display: block; padding: 4px 0 4px 12px; font-size: 13px; line-height: 1.3846; color: var(--fg3); text-decoration: none; box-shadow: inset 1px 0 0 var(--docs-border); overflow-wrap: break-word; transition: color .14s, box-shadow .14s; }
.ps-dtoc__a--3 { padding-left: 22px; font-size: 13px; }
.ps-dtoc__a:hover { color: var(--fg); }
.ps-dtoc__a[aria-current] { color: var(--docs-accent-ink); box-shadow: inset 2px 0 0 var(--docs-accent); }

/* ---------- under the article ---------- */
.ps-dpn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.ps-dpn__a { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; text-decoration: none; color: var(--fg); transition: box-shadow .14s; }
.ps-docs .ps-dpn__a { border-radius: var(--r-sm); background: var(--docs-canvas); box-shadow: inset 0 0 0 1px var(--docs-border); }
.ps-docs .ps-dpn__a:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
.ps-dpn__a--next { justify-content: space-between; text-align: right; }
.ps-dpn__x { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ps-dpn__l { font-size: 12px; line-height: 1.3333; color: var(--fg3); }
.ps-dpn__t { font-size: 15px; line-height: 1.35; font-weight: 500; overflow-wrap: break-word; }
.ps-dpn__back { transform: rotate(180deg); }
.ps-page .ps-dfb { display: flex; align-items: flex-start; gap: 10px; margin: 40px 0 0; padding-top: 20px; box-shadow: inset 0 1px 0 var(--ln2); font-size: 14px; line-height: 1.5; color: var(--fg2); }
.ps-dfb__i { flex: none; margin-top: 1px; color: var(--fg3); }

/* ---------- a laptop (1100–1279): two columns, «На этой странице» folds above the text as in the compact layout (no script) ---------- */
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .ps-docs__grid--side.ps-docs__grid--toc { grid-template-columns: 248px minmax(0, 1fr); }
  .ps-docs__grid--toc:not(.ps-docs__grid--side) { grid-template-columns: minmax(0, 1fr); }
  .ps-docs .ps-hdr__in { gap: 20px; }
  /* the field folds into a search sign of its own size: the same field — a click on the sign, Tab or «/» opens it over the menu to its left,
     the list drops under it as at the full width; without the script only the way to the tree stays */
  .ps-docs .ps-hdr__search { position: relative; flex: none; width: 40px; min-width: 0; height: 40px; }
  .ps-docs .ps-hdr__search .ps-ds--sm { position: absolute; z-index: 2; top: 0; right: 0; width: 340px; }
  .ps-docs .ps-hdr__search .ps-ds--sm .ps-ds__field { background: linear-gradient(var(--val-bg), var(--val-bg)), var(--white); }
  .ps-docs .ps-hdr__search .ps-ds--sm .ps-ds__pop { left: auto; right: 0; }
  .ps-docs .ps-hdr__search .ps-ds--sm:not(:focus-within, .ps-ds--focus, [data-state="open"], [data-state="results"], [data-state="empty"], [data-state="error"]) { width: 40px; }
  .ps-docs .ps-hdr__search .ps-ds--sm:not(:focus-within, .ps-ds--focus, [data-state="open"], [data-state="results"], [data-state="empty"], [data-state="error"]) .ps-ds__field { gap: 0; padding: 0 11px; overflow: hidden; cursor: pointer; }
  .ps-docs .ps-hdr__search .ps-ds--sm:not(:focus-within, .ps-ds--focus, [data-state="open"], [data-state="results"], [data-state="empty"], [data-state="error"]) :is(.ps-ds__key, .ps-ds__clear) { display: none; }
  .ps-docs .ps-hdr__search:has(> .ps-ds[data-state="nojs"]) { width: auto; height: auto; }
  .ps-docs .ps-hdr__search .ps-ds--sm[data-state="nojs"] { position: static; width: auto; }
  .ps-docs .ps-hdr__search .ps-ds--sm[data-state="nojs"] .ps-ds__form { display: none; }
  .ps-docs__toc { display: none; }
}

/* ---------- below 1280: «На этой странице» folded above the text (the compact layout below changes only its sizes) ---------- */
@media (max-width: 1279.98px) {
  .ps-docs__otp { display: block; margin-top: 20px; border-radius: var(--r-sm); background: var(--docs-chrome); box-shadow: inset 0 0 0 1px var(--ln2); }
  .ps-docs__otp-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 44px; padding: 8px 16px; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg); }
  .ps-docs__otp-n { font-weight: 400; color: var(--fg3); }
  .ps-docs__otp-n::before { content: " · "; white-space: pre; }
  .ps-docs__otp[open] .ps-docs__otp-ch { transform: rotate(180deg); }
  .ps-dtoc--fold { padding: 0 16px 12px; }
}

/* ---------- compact: the bar under the header, the drawer, the folded «На этой странице» ---------- */
@media (max-width: 1099.98px) {
  .ps-docs__main { padding: 20px 0 72px; }
  .ps-docs__main:has(> .ps-docs__grid--side) { background: none; }
  .ps-docs .ps-wrap, .ps-docs .ps-hdr__in { width: min(var(--wrap-compact), calc(100% - 32px)); }
  .ps-docs__content .ps-wrap { width: auto; }
  .ps-docs__side { margin-left: 0; }
  .ps-docs__grid, .ps-docs__grid--side, .ps-docs__grid--toc, .ps-docs__grid--side.ps-docs__grid--toc { grid-template-columns: minmax(0, 1fr); }
  .ps-docs__side, .ps-docs__toc, .ps-docs .ps-hdr__search { display: none; }
  .ps-docs__bar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 max(16px, calc((100% - var(--wrap-compact)) / 2)); background: var(--docs-chrome, transparent); box-shadow: inset 0 -1px 0 var(--ln2); }
  .ps-docs__menu { display: block; }
  .ps-docs__menu-open { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-left: -4px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--ln2); font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg); }
  .ps-docs__menu:focus-visible { outline: none; }
  .ps-docs__menu:focus-visible .ps-docs__menu-open, .ps-docs__menu:focus-visible .ps-docs__menu-close { outline: 2px solid var(--fg); outline-offset: 3px; }
  .ps-docs__menu-close { display: none; }
  .ps-docs__find { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; color: var(--fg2); }
  /* the drawer: the dark behind it belongs to the button, so a tap on it closes the drawer without a script */
  .ps-docs__panel { position: fixed; z-index: 61; left: 0; top: 0; bottom: 0; width: min(326px, calc(100vw - 56px)); box-sizing: border-box; padding: 8px 12px 24px; overflow-y: auto; overscroll-behavior: contain; background: var(--white); box-shadow: 24px 0 60px rgba(14,16,20,.28); }
  /* the open drawer covers the page: the page under it does not scroll (no script needed) */
  html:has(.ps-docs__drawer[open]) { overflow: hidden; }
  .ps-docs__drawer[open] > .ps-docs__menu::before { content: ""; position: fixed; z-index: 60; left: 0; top: 0; right: 0; bottom: 0; background: rgba(6,7,9,.62); cursor: default; }
  .ps-docs__drawer[open] .ps-docs__menu-close { position: fixed; z-index: 62; left: calc(min(326px, 100vw - 56px) - 60px); top: 12px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--fg); }
  .ps-docs__panel-top { display: flex; align-items: center; height: 52px; margin-bottom: 8px; padding: 0 52px 0 10px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg); }
  .ps-dtree--drawer .ps-dtree__g + .ps-dtree__g { margin-top: 12px; }
  .ps-dtree--drawer .ps-dtree__h { min-height: 44px; }
  .ps-dtree--drawer .ps-dtree__h { font-size: 13px; }
  .ps-dtree--drawer .ps-dtree__a { min-height: 44px; font-size: 15px; }
  .ps-docs__otp { margin-top: 16px; }
  .ps-docs__otp-b { min-height: 48px; font-size: 15px; }
  .ps-dtoc--fold .ps-dtoc__a { padding: 9px 0 9px 12px; font-size: 15px; color: var(--fg2); }
  .ps-dtoc--fold .ps-dtoc__a--3 { padding-left: 26px; font-size: 14px; }
  .ps-dpn { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* Prontaro site · 41 · the documentation search: the field (header and big), the list under it, the results page.
   States by [data-state] on the root: nojs · idle · open · results · empty · error (the search could not load). */

.ps-ds { position: relative; --ps-docs-mark: #e1e5eb; }
.ps-ds__form { display: block; margin: 0; }
.ps-ds__field { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln2); color: var(--fg3); cursor: text; transition: box-shadow .14s; }
.ps-ds__ico { color: var(--fg3); }
.ps-ds__in { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; margin: 0; border: 0; outline: 0; border-radius: 0; background: none; -webkit-appearance: none; appearance: none; font-family: inherit; font-size: 14px; line-height: 1.3; color: var(--fg); text-overflow: ellipsis; }
/* the ring of the field is its box (.ps-ds__field:focus-within): the page's own ring (.ps-page :focus-visible) would draw a second one */
.ps-page .ps-ds__in:focus-visible, .ps-ds__in:focus-visible { outline: 0; }
.ps-ds__in::placeholder { color: var(--fg3); opacity: 1; }
.ps-ds__in::-webkit-search-cancel-button, .ps-ds__in::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.ps-ds__in:disabled { cursor: default; }
.ps-ds__field:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
.ps-ds__field:focus-within, .ps-ds--focus .ps-ds__field { box-shadow: inset 0 0 0 2px var(--fg); }
.ps-ds__key { flex: none; }
.ps-ds__clear { display: none; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; margin-right: -8px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--fg2); cursor: pointer; }
/* the big field: the documentation home, the results page */
.ps-ds--lg .ps-ds__field { height: 52px; padding: 0 16px; gap: 12px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2), 0 1px 2px rgba(14,16,20,.04); }
.ps-ds--lg .ps-ds__field:hover { box-shadow: inset 0 0 0 1px var(--fg3), 0 1px 2px rgba(14,16,20,.04), 0 12px 32px rgba(14,16,20,.06); }
.ps-ds--lg .ps-ds__field:focus-within, .ps-ds--lg.ps-ds--focus .ps-ds__field { box-shadow: inset 0 0 0 2px var(--fg), 0 1px 2px rgba(14,16,20,.04), 0 12px 32px rgba(14,16,20,.06); }
.ps-ds--lg .ps-ds__in { font-size: 16px; }

/* without JS: the field is off and the way to the tree stands next to it */
.ps-ds .ps-ds__nojs { display: none; margin: 0; font-size: 14px; line-height: 1.3; color: var(--fg2); }
.ps-ds[data-state="nojs"] .ps-ds__nojs { display: block; }
.ps-ds[data-state="nojs"] .ps-ds__field { cursor: default; box-shadow: inset 0 0 0 1px var(--ln); }
.ps-ds[data-state="nojs"] .ps-ds__key { display: none; }
.ps-ds--sm[data-state="nojs"] { display: flex; align-items: center; gap: 16px; }
.ps-ds--sm[data-state="nojs"] .ps-ds__form { flex: 1 1 auto; min-width: 0; }
.ps-ds--sm .ps-ds__nojs { flex: none; white-space: nowrap; }
.ps-ds--sm .ps-ds__nojs-t { display: none; }
.ps-ds.ps-ds--lg .ps-ds__nojs { margin-top: 12px; font-size: 14.5px; line-height: 1.5; }

/* ---------- the list under the field ---------- */
.ps-ds__pop { display: none; position: absolute; z-index: 40; left: 0; top: calc(100% + 8px); box-sizing: border-box; width: 520px; max-width: calc(100vw - 32px); max-height: min(640px, calc(100vh - var(--header-h) - 96px)); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px rgba(14,16,20,.10), 0 30px 60px -18px rgba(14,16,20,.30); color: var(--fg); }
.ps-ds--lg .ps-ds__pop { right: 0; width: auto; padding: 10px; border-radius: var(--r-md); }
.ps-ds[data-state="open"] .ps-ds__pop, .ps-ds[data-state="results"] .ps-ds__pop, .ps-ds[data-state="empty"] .ps-ds__pop, .ps-ds[data-state="error"] .ps-ds__pop { display: block; }
/* open, but nothing to show yet: no empty box */
.ps-ds[data-state="open"] .ps-ds__pop:not(:has(.ps-shit)) { display: none; }
.ps-ds__group:not(:has(.ps-shit)) { display: none; }
.ps-ds[data-state="empty"] .ps-ds__group, .ps-ds[data-state="empty"] .ps-ds__all, .ps-ds[data-state="error"] .ps-ds__group, .ps-ds[data-state="error"] .ps-ds__all { display: none; }
.ps-ds__gh { padding: 12px 14px 8px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-ds .ps-ds__none { display: none; margin: 0; padding: 14px; font-size: 14.5px; line-height: 1.5; color: var(--fg2); }
.ps-ds[data-state="empty"] .ps-ds__none { display: block; }
/* the search could not load: say so and offer to reload — not «nothing found» */
.ps-ds .ps-ds__err { display: none; margin: 0; padding: 14px; font-size: 14.5px; line-height: 1.5; color: var(--fg); }
.ps-ds[data-state="error"] .ps-ds__err { display: block; }
.ps-ds__err .ps-lnk, .ps-sr__err .ps-lnk { white-space: nowrap; }
.ps-ds__all { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 14px 6px; box-shadow: inset 0 1px 0 var(--ln); font-size: 14px; line-height: 1.3; color: var(--fg2); text-decoration: none; }
.ps-ds__all:hover { color: var(--fg); }
.ps-ds__all-n:not(:empty)::before { content: " · "; white-space: pre; }
.ps-ds__all-go { display: none; }
.ps-ds__all-key { min-width: 0; }
/* a row of the list */
.ps-shit { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--fg); transition: background-color .14s; }
.ps-shit:hover, .ps-shit:focus-visible { background-color: var(--val-bg); }
.ps-ds--sm .ps-shit { padding: 10px; gap: 12px; }
.ps-shit__ic { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--fg2); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln); }
.ps-shit__i { display: none; }
.ps-shit[data-kind="platform"] .ps-shit__i--platform, .ps-shit[data-kind="article"] .ps-shit__i--article, .ps-shit[data-kind="command"] .ps-shit__i--command, .ps-shit[data-kind="error"] .ps-shit__i--error { display: block; }
.ps-shit__m { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.ps-shit__t { font-size: 15px; line-height: 1.35; font-weight: 500; overflow-wrap: break-word; }
.ps-shit[data-kind="command"] .ps-shit__t { font-family: var(--font-mono); letter-spacing: 0; }
.ps-shit__code:not(:empty) { margin-right: 6px; }
.ps-shit__x { font-size: 14px; line-height: 1.3; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-shit__go { flex: none; color: var(--fg3); }
.ps-shit:not([data-other-lang]) .ps-sres__lang-b { display: none; }
.ps-shit .ps-sres__lang-b { margin-right: 6px; vertical-align: 1px; }
.ps-ds mark, .ps-sr mark { padding: 0 2px; background: var(--ps-docs-mark); color: var(--fg); }

/* ---------- the results page ---------- */
.ps-sr { --ps-docs-mark: #e1e5eb; }
.ps-sr[data-state="idle"] { display: none; }
.ps-sr .ps-sr__count { margin: 16px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--fg2); }
.ps-sr .ps-sr__count:empty { display: none; }
.ps-sr__count b, .ps-sr__count strong { font-weight: 500; color: var(--fg); }
.ps-sr__col { max-width: 876px; margin-top: 44px; }
.ps-sr__list { display: flex; flex-direction: column; }
.ps-sr__list:not(:empty) { box-shadow: inset 0 1px 0 var(--ln); }
.ps-sres { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 0; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-sres__kind { display: none; align-items: center; gap: 6px; min-height: 24px; box-sizing: border-box; padding: 3px 8px; border-radius: 6px; background: var(--ps-docs-mark); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--fg); }
.ps-sres[data-kind="platform"] .ps-sres__kind--platform, .ps-sres[data-kind="article"] .ps-sres__kind--article, .ps-sres[data-kind="command"] .ps-sres__kind--command, .ps-sres[data-kind="error"] .ps-sres__kind--error { display: inline-flex; }
.ps-sres__way { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; line-height: 1.3; }
.ps-sres__crumbs { display: inline-flex; align-items: center; flex-wrap: wrap; row-gap: 6px; color: var(--fg3); }
.ps-sres__crumbs:empty { display: none; }
.ps-sres__crumb:last-child { color: var(--fg2); }
/* the chevron between steps, drawn: the site's code only adds spans */
.ps-sres__crumb + .ps-sres__crumb::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 1px 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.ps-sres__lang { display: none; align-items: center; gap: 6px; color: var(--fg3); }
.ps-sres[data-other-lang] .ps-sres__lang { display: inline-flex; }
.ps-sres__lang-b { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--ln2); font-family: var(--font-sans); font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fg2); }
.ps-sres__t { font-size: 17.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; overflow-wrap: break-word; }
.ps-sres__t:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ps-sres[data-kind="command"] .ps-sres__t { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.ps-sres__code { font-weight: 500; letter-spacing: 0; }
.ps-sres__code:not(:empty) { margin-right: 10px; }
.ps-sres__usage { font-size: 14px; line-height: 1.45; color: var(--fg2); overflow-wrap: anywhere; }
.ps-sres__usage:empty, .ps-sres__labels:empty { display: none; }
.ps-sres .ps-sres__x { max-width: 780px; margin: 0 0 4px; font-size: 14.5px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; overflow-wrap: anywhere; }
.ps-sr__more { display: flex; align-items: center; gap: 20px; padding-top: 28px; }
.ps-sr__more-n { font-size: 14px; line-height: 1.3; color: var(--fg3); }
/* nothing found */
.ps-sr__empty, .ps-sr__err { display: none; flex-direction: column; align-items: flex-start; margin-top: 40px; padding: 40px 48px 44px; }
.ps-sr[data-state="empty"] .ps-sr__empty { display: flex; }
.ps-sr[data-state="empty"] .ps-sr__more, .ps-sr[data-state="error"] .ps-sr__more, .ps-sr[data-state="error"] .ps-sr__count, .ps-sr[data-state="error"] .ps-sr__list { display: none; }
/* the search could not load: the same plate (above), its own sentence and the reload link */
.ps-sr[data-state="error"] .ps-sr__err { display: flex; }
.ps-sr__empty-i { color: var(--fg3); }
.ps-sr .ps-sr__empty-t { max-width: 620px; margin: 16px 0 0; font-size: 17px; line-height: 1.5; color: var(--fg); text-wrap: pretty; }
.ps-sr__ex { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ps-sr__ex-l { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-sr__ex-a { display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box; height: 36px; padding: 0 12px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2); font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg2); text-decoration: none; white-space: nowrap; transition: box-shadow .14s, color .14s; }
.ps-sr__ex-a:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg3); }

@media (max-width: 1099.98px) {
  .ps-ds--lg .ps-ds__field { height: 56px; padding: 0 16px; gap: 12px; }
  .ps-ds--lg .ps-ds__in { font-size: 16px; }
  /* no keyboard here: the key hint gives way to the button that clears the field */
  .ps-ds__key { display: none; }
  .ps-ds:not([data-state="nojs"]) .ps-ds__in:not(:placeholder-shown) ~ .ps-ds__clear { display: inline-flex; }
  .ps-ds--lg .ps-ds__pop { padding: 6px; }
  .ps-shit { padding: 10px 8px; gap: 12px; }
  .ps-shit__go, .ps-ds__all-key { display: none; }
  .ps-ds__all { padding: 14px 8px 8px; font-weight: 500; color: var(--fg); }
  .ps-ds__all-go { display: block; }
  .ps-sr .ps-sr__count { margin-top: 14px; font-size: 14px; line-height: 1.3; }
  .ps-sr__col { margin-top: 24px; }
  .ps-sres { padding: 20px 0; gap: 8px; }
  .ps-sres__t { font-size: 16px; }
  .ps-sr__empty, .ps-sr__err { margin-top: 28px; padding: 24px 20px 28px; }
  .ps-sr__empty-t { font-size: 15.5px; }
  .ps-sr__ex { margin-top: 24px; }
  .ps-sr__more { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
}

/* Prontaro site · 42 · the body of a documentation article (ps-art), its head, and code — dark on the light page.
   Scale of the documentation (round 10): H1 34 · H2 22 · H3 17.5 · text 15.5 / 1.65 · lead 17 · tables 14 · code 13.5 · captions 13
   (compact: 26 · 20 · 16.5 · 15.5). Rhythm: every bare tag and every block (ps-ab) keeps one step above itself (--ps-flow: 16; 14 inside
   a step); right under a heading the step is 12, so a heading holds to its own text. Nothing here
   relies on direct children: the generator may wrap the article or a block. Bare tags are reached only while they carry no class, so the
   insides of a block are never touched. */

/* ---------- the head ---------- */
.ps-ahd .ps-ahd__h1 { margin: 12px 0 14px; font-size: 32px; line-height: 1.1875; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); text-wrap: balance; overflow-wrap: break-word; }
.ps-ahd .ps-ahd__meta { margin: 12px 0 0; font-size: 13px; line-height: 1.3846; color: var(--fg3); }
.ps-ahd--rule { padding-bottom: 20px; box-shadow: inset 0 -1px 0 var(--ln2); }
.ps-ahd .ps-ahd__lead { max-width: 64ch; margin: 12px 0 0; font-size: 17px; line-height: 1.5882; color: var(--fg2); text-wrap: pretty; }
.ps-ahd__note { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 0 0 1px var(--ln2); font-size: 14px; line-height: 1.4286; color: var(--fg); }
.ps-ahd__note-i { flex: none; color: var(--fg2); }
.ps-ahd__note-t { flex: 1 1 auto; min-width: 0; }
.ps-ahd__note-b { flex: none; height: 36px; }
.ps-crumbs + .ps-docs__body { margin-top: 20px; }

/* ---------- the text ---------- */
.ps-art { --ps-flow: 18px; display: flow-root; padding-top: 4px; overflow-wrap: break-word; }
.ps-art :where(p, ul, ol, blockquote, hr, pre, table, figure):not([class]), .ps-art .ps-ab { margin: var(--ps-flow) 0 0; }
.ps-art :where(p):not([class]) { text-wrap: pretty; }
.ps-art :where(p, ul, ol):not([class]) { max-width: 64ch; }
/* a heading holds to its own text: the first block under it stands closer than two paragraphs do */
.ps-art :is(h2, h3, .ps-ah) + :where(p, ul, ol, pre, table, blockquote):not([class]), .ps-art :is(h2, h3, .ps-ah) + .ps-ab { margin-top: 12px; }
.ps-art :where(h2):not([class]), .ps-art .ps-ah { margin: 44px 0 0; }
.ps-art :where(h3):not([class]), .ps-art .ps-ah--3 { margin: 30px 0 0; }
.ps-art :where(h2):not([class]), .ps-ah { font-family: var(--font-sans); font-size: 22px; line-height: 1.2727; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); text-wrap: balance; overflow-wrap: break-word; }
.ps-art :where(h3):not([class]), .ps-ah--3 { font-family: var(--font-sans); font-size: 17px; line-height: 1.3529; font-weight: 600; letter-spacing: -0.01em; color: #181c24; }
.ps-art :where(ul, ol):not([class]) { padding: 0 0 0 22px; }
.ps-art :where(li):not([class]) { padding-left: 4px; }
.ps-art :where(li):not([class])::marker { color: var(--docs-marker, var(--fg3)); }
.ps-art :where(li):not([class]) + :where(li) { margin-top: 10px; }
.ps-art :where(li):not([class]) :where(p, ul, ol):not([class]) { margin-top: 8px; }
.ps-art :where(strong, b):not([class]) { font-weight: 550; color: var(--docs-fg-strong, var(--fg)); }
.ps-art :where(a):not([class]) { color: var(--docs-link, var(--fg)); text-decoration: underline; text-decoration-color: var(--docs-link-line, var(--ln2)); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .14s, text-decoration-color .14s; }
.ps-art :where(a):not([class]):hover { color: var(--docs-link, var(--fg)); text-decoration-color: currentColor; }
.ps-art :where(hr):not([class]) { height: 1px; border: 0; background: var(--ln2); }
/* a quote or a plain Markdown «>» note: a calm aside in the register of the callouts (43) */
.ps-art :where(blockquote):not([class]) { --ps-flow: 8px; padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 3px 0 0 #cbd5e1; font-size: 14px; line-height: 1.5714; color: #363d4a; }
.ps-art :where(blockquote):not([class]) > :where(p, ul, ol):not([class]):first-child { margin-top: 0; }
/* a bare table (an insert that draws its own <table>) looks like a Table (43) and scrolls inside itself */
.ps-art :where(table):not([class]) { display: block; max-width: 100%; width: max-content; min-width: 100%; box-sizing: border-box; overflow-x: auto; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--ln2); border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); scrollbar-width: thin; }
.ps-art :where(table):not([class]) :where(caption) { caption-side: top; padding: 8px 14px; text-align: left; font-size: 12px; line-height: 1.3333; color: var(--fg3); }
/* inline code: the block InlineCode and a bare <code> in the text look the same */
/* it moves to the next line whole; only a value longer than the line breaks inside */
.ps-ic, .ps-art :where(:not(pre) > code):not([class]) { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 1px 6px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--val-ln); font-family: var(--font-mono); font-size: 17px; line-height: 1.3; letter-spacing: 0; color: var(--fg); overflow-wrap: anywhere; vertical-align: baseline; }
/* in the documentation: crisp integer 13 px token, whisper hairline; flows with the sentence and wraps only when longer than a line */
.ps-docs .ps-ic, .ps-docs .ps-art :where(:not(pre) > code):not([class]) { display: inline; padding: 2px 5px; border-radius: 4px; background: #f1f3f7; box-shadow: inset 0 0 0 1px rgba(14,16,20,.07); font-size: 13px; line-height: 1.3846; color: #242c37; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* the text inside a block: its first line starts at the top of the block */
.ps-call__t, .ps-err__x, .ps-err__a, .ps-sf__apply, .ps-at__t { --ps-flow: 8px; }
:is(.ps-call__t, .ps-err__x, .ps-err__a, .ps-sf__apply, .ps-at__t) :where(p, ul, ol):not([class]) { margin: var(--ps-flow) 0 0; }
:is(.ps-call__t, .ps-err__x, .ps-err__a, .ps-sf__apply, .ps-at__t) :where(p, ul, ol):not([class]):first-child { margin-top: 0; }

/* ---------- a heading and its anchor ---------- */
.ps-ah { display: flex; align-items: center; gap: 8px; }
/* a jump to an anchor leaves the heading under the sticky header by the host's scroll-padding-top (base.css) — the one offset; site.js reads it for «На этой странице» */
.ps-ah__t { min-width: 0; }
.ps-ah__a { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: var(--r-sm); color: var(--fg3); opacity: 0; transition: opacity .14s, color .14s, background-color .14s; }
.ps-ah:hover .ps-ah__a, .ps-step__h:hover .ps-ah__a, .ps-ah__a:focus-visible, .ps-ah__a--on { opacity: 1; }
.ps-ah__a:hover, .ps-ah__a--on { background: var(--val-bg); color: var(--fg); }
.ps-ah__a .ps-ico { width: 15px; height: 15px; }
@media (hover: none) { .ps-ah__a { opacity: 1; } }

/* ---------- code ---------- */
.ps-cb { min-width: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--docs-code-bg, var(--code-bg)); box-shadow: inset 0 0 0 1px var(--ln2); color: var(--code-fg);
  --ps-tok-c: #868c99; --ps-tok-s: #6fd3a8; --ps-tok-k: #c9a0ea; --ps-tok-n: #e9a23b; --ps-tok-v: #8fb4e8; --ps-tok-o: #9aa0ab; }
.ps-cb__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 14px; background: var(--docs-code-bar, var(--plate-top)); box-shadow: inset 0 -1px 0 var(--ln2), inset 0 0 0 1px var(--ln2); }
.ps-cb__title { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); font-size: 14px; line-height: 1; color: var(--fg2); white-space: nowrap; }
.ps-cb__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.ps-cb__lang { flex: none; font-size: 14px; line-height: 1; color: var(--fg3); }
.ps-cb__copy { color: var(--fg2); }
.ps-cb__pre { margin: 0; padding: 14px 16px 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 17px; line-height: 1.5; letter-spacing: 0; color: var(--code-fg); white-space: pre; tab-size: 2; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.ps-cb__pre code { font: inherit; white-space: inherit; }
.ps-page .ps-cb__pre:focus-visible { outline-offset: -3px; }
.ps-cb__prompt { color: var(--ps-tok-c); -webkit-user-select: none; user-select: none; }
.ps-tok-c { color: var(--ps-tok-c); font-style: italic; }
.ps-tok-s { color: var(--ps-tok-s); }
.ps-tok-k { color: var(--ps-tok-k); }
.ps-tok-n { color: var(--ps-tok-n); }
.ps-tok-v, .ps-tok-a { color: var(--ps-tok-v); }
.ps-tok-o { color: var(--ps-tok-o); }
/* a line that runs past the edge: while there is more to the right, the edge fades (where scroll timelines exist; elsewhere the cut glyphs say it) */
/* the documentation: graphite, a slim 32 px bar, 13 px code that fits 86+ characters in the article column */
.ps-docs .ps-cb { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 1px 2px rgba(14,16,20,.06); }
.ps-docs .ps-cb__bar { height: 32px; background: rgba(255,255,255,.03); box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
.ps-docs .ps-cb__title, .ps-docs .ps-cb__lang { font-size: 12px; color: #8c93a3; }
.ps-docs .ps-cb__pre { padding: 12px 16px 14px; font-size: 13px; line-height: 1.6; }
/* the quiet line under a recipe: «Пример. В кабинете этот фрагмент уже с вашими реквизитами →» */
.ps-cbn { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--fg2); text-wrap: pretty; }
.ps-cbn__i { flex: none; margin-top: 1px; color: var(--fg3); }
.ps-cbn a { color: var(--docs-link, var(--fg)); text-decoration: underline; text-decoration-color: var(--docs-link-line, var(--ln2)); text-underline-offset: 3px; }
.ps-cbn a:hover { color: var(--docs-link, var(--fg)); text-decoration-color: currentColor; }

/* tabs over code. list: every variant with its label (no JS); tabs: the row and the chosen variant */
.ps-ctabs { min-width: 0; }
.ps-ctabs .ps-ctabs__panel .ps-ab { margin-top: 0; }
/* the dark ground and the frame of the tab row belong to the block, so the fading edge of a row that scrolls shows the dark, not the page */
.ps-ctabs[data-state="tabs"] { border-radius: var(--r-sm); background: var(--docs-code-bg, var(--code-bg)); box-shadow: inset 0 0 0 1px var(--ln2); }
.ps-ctabs__row { display: none; align-items: stretch; gap: 4px; height: 44px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.ps-ctabs__row::-webkit-scrollbar { display: none; }
.ps-ctabs__tab { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1; font-weight: 500; white-space: nowrap; color: var(--fg3); transition: color .14s; }
.ps-ctabs__tab:hover { color: var(--fg); }
.ps-ctabs__tab[aria-selected="true"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.ps-page .ps-ctabs__tab:focus-visible { outline-offset: -4px; }
.ps-ctabs__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg2); }
.ps-ctabs__panel + .ps-ctabs__panel { margin-top: 16px; }
.ps-ctabs[data-state="tabs"] .ps-ctabs__row { display: flex; }
.ps-ctabs[data-state="tabs"] .ps-ctabs__label, .ps-ctabs[data-state="tabs"] .ps-ctabs__panel:not([data-active]) { display: none; }
.ps-ctabs[data-state="tabs"] .ps-ctabs__panel { margin-top: 0; }
.ps-ctabs[data-state="tabs"] .ps-cb { border-radius: 0 0 var(--r-sm) var(--r-sm); }
.ps-docs .ps-ctabs__row, .ps-docs .ps-ctabs__tab { height: 38px; }
.ps-docs .ps-ctabs__tab { font-size: 13px; }
.ps-docs .ps-ctabs__label { font-size: 13px; }

/* the latency block in the text stands for a part of the article: its title reads as a heading of the article, the pause goes under it */
.ps-art .ps-ab:has(.ps-lat) { margin-top: 48px; }
.ps-art .ps-lat__hrow { flex-wrap: wrap; row-gap: 12px; }
.ps-art .ps-lat__h { flex: 1 0 100%; font-size: 22px; letter-spacing: -0.015em; text-wrap: balance; }
.ps-art .ps-lat__pause { margin-left: auto; }

@media (max-width: 1099.98px) {
  .ps-art .ps-ab:has(.ps-lat) { margin-top: 44px; }
  .ps-ahd .ps-ahd__h1 { margin: 12px 0; font-size: 26px; line-height: 1.18; }
  .ps-ahd--rule { padding-bottom: 18px; }
  .ps-ahd .ps-ahd__lead { margin-top: 12px; font-size: 16px; }
  .ps-ahd__note { flex-wrap: wrap; row-gap: 12px; }
  .ps-ahd__note-t { flex-basis: calc(100% - 32px); }
  .ps-ahd__note-b { margin-left: 32px; }
  .ps-art { padding-top: 0; }
  .ps-art :where(h2):not([class]), .ps-art .ps-ah { margin-top: 36px; }
  .ps-art :where(h2):not([class]), .ps-ah { font-size: 20px; }
  .ps-art :where(h3):not([class]), .ps-ah--3 { font-size: 16px; }
  .ps-art :where(h3):not([class]), .ps-art .ps-ah--3 { margin-top: 24px; }
  .ps-docs .ps-cb__pre { padding: 12px 14px 14px; font-size: 13px; }
  .ps-cb__pre { padding: 12px 14px 14px; font-size: 14px; line-height: 1.6; }
  /* in a narrow column inline code flows with the sentence and breaks where it must */
  .ps-ic, .ps-art :where(:not(pre) > code):not([class]) { display: inline; padding: 2px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}

/* Prontaro site · 43 · blocks of an article: callout, steps, table, error card, command reference, the form of another service,
   the way through the cabinet, the expected result, the closing action, the tabs of a scenario (Кабинет / CLI).
   Blocks lie on the white sheet of the documentation: a hairline frame instead of a shadow, text one step under the article (14–14.5). */

/* ---------- note, tip, warning, danger: a 3 px rail of the meaning, full subtle frame, block heading ---------- */
.ps-call { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 13px 16px 13px 17px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--ps-call-bg); box-shadow: inset 3px 0 0 var(--ps-call-rail), inset 0 0 0 1px var(--ps-call-edge);
  --ps-call-ink: #475569; --ps-call-bg: var(--docs-chrome, #f7f8fa); --ps-call-rail: #94a3b8; --ps-call-edge: var(--docs-border, #e6e8ee); }
.ps-call__i { width: 17px; height: 17px; margin-top: 2px; color: var(--ps-call-ink); }
.ps-call__t { font-size: 14px; line-height: 1.5714; color: var(--docs-fg-body, var(--fg)); text-wrap: pretty; }
.ps-call__l { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.4286; font-weight: 600; color: var(--ps-call-ink); }
.ps-call__l + :where(p, ul, ol):not([class]) { margin-top: 0; }
.ps-call--tip { --ps-call-bg: #f3f7fd; --ps-call-rail: #3d6bb3; --ps-call-ink: #254d8a; --ps-call-edge: rgba(61,107,179,.18); }
.ps-call--warning { --ps-call-bg: #fffcf0; --ps-call-rail: #d97706; --ps-call-ink: #92400e; --ps-call-edge: rgba(217,119,6,.20); }
.ps-call--danger { --ps-call-bg: #fef3f4; --ps-call-rail: #b3261a; --ps-call-ink: #991b1b; --ps-call-edge: rgba(179,38,26,.18); }
.ps-call--note .ps-call__l { color: var(--fg); }
.ps-call .ps-ic, .ps-call :where(code):not([class]) { background: rgba(255,255,255,.7); }

/* ---------- steps ---------- */
.ps-steps { margin: 0; padding: 0; list-style: none; counter-reset: ps-step; }
.ps-art .ps-steps { margin-top: 36px; }
.ps-step { position: relative; counter-increment: ps-step; padding-bottom: 32px; }
.ps-step:last-child { padding-bottom: 12px; }
.ps-step:not(:last-child)::before { content: ""; position: absolute; left: 12.5px; top: 34px; bottom: 6px; width: 1px; background: var(--docs-border-strong, var(--ln2)); }
.ps-page .ps-step__h { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.ps-step__n { display: flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; margin-right: 4px; border-radius: 50%; background: var(--docs-canvas, transparent); box-shadow: inset 0 0 0 1px var(--docs-border-strong, var(--ln2)); font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: 0; color: var(--fg); }
.ps-step__n::before { content: counter(ps-step); }
.ps-step__t { min-width: 0; padding-top: 1px; overflow-wrap: break-word; }
.ps-step__b { --ps-flow: 14px; min-width: 0; padding-left: 38px; }
.ps-step__b > :where(p, ul, ol):not([class]):first-child, .ps-step__b > .ps-ab:first-child { margin-top: 10px; }

/* ---------- table: white, a hairline frame, a quiet head, 14 px rows that read; also a bare <table> of the article ---------- */
.ps-at { overflow-x: auto; border: 1px solid var(--ln2); border-radius: var(--r-sm); background: var(--docs-canvas, transparent); scrollbar-width: thin; }
.ps-art .ps-at { margin-bottom: 20px; }
.ps-page .ps-at:focus-visible { outline-offset: 2px; }
.ps-at__t { width: 100%; border-collapse: separate; border-spacing: 0; }
.ps-at__t :where(th, td), .ps-art :where(table):not([class]) :where(th, td) { padding: 9px 13px; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5714; font-weight: 400; color: var(--docs-fg-body, var(--fg)); box-shadow: inset 0 -1px 0 var(--ln); font-variant-numeric: tabular-nums; }
.ps-at__t :where(thead th), .ps-art :where(table):not([class]) :where(thead th) { padding: 9px 13px; font-size: 12px; line-height: 1.3333; font-weight: 600; letter-spacing: .01em; color: var(--docs-th, var(--fg3)); background: var(--docs-chrome, #f3f4f6); box-shadow: inset 0 -1px 0 var(--docs-border-strong, var(--ln2)); white-space: normal; text-wrap: balance; vertical-align: bottom; }
/* the first column names the row: a term, a flag, a plan */
.ps-at__t :where(tbody th), .ps-art :where(table):not([class]) :where(tbody th) { font-weight: 500; color: var(--fg); }
.ps-at__t :where(tbody tr:last-child) :where(th, td), .ps-art :where(table):not([class]) :where(tbody tr:last-child) :where(th, td) { box-shadow: none; }
.ps-at__t :where(tbody tr:hover) :where(th, td), .ps-art :where(table):not([class]) :where(tbody tr:hover) :where(th, td) { background: rgba(14,16,20,.018); }
/* a column of numbers (Markdown «---:»): to the right, figures of one width, on one line */
.ps-at__t :where(th, td)[align="right"], .ps-at__t :where(th, td)[style*="right"], .ps-art :where(table):not([class]) :where(th, td):is([align="right"], [style*="right"]) { text-align: right; white-space: nowrap; }
/* code in a cell: a step smaller; a short value stays whole, a long command or message wraps instead of widening the column */
/* a value is one plate: when it wraps, it wraps inside its plate, never into a patch per line */
.ps-at__t .ps-ic, .ps-at__t :where(code):not([class]), .ps-art :where(table):not([class]) :where(code):not([class]) { display: inline-block; max-width: 100%; vertical-align: top; font-size: 13px; line-height: 1.3846; white-space: normal; overflow-wrap: anywhere; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
/* a long value (a command, a URL — InlineCode marks it) is monospace text, not a plate: it wraps at its spaces as words do */
.ps-at__t .ps-ic--long { padding: 0; border-radius: 0; background: none; box-shadow: none; }
/* a cell never gets narrower than a few words: a wide table scrolls inside its frame instead of crumbling into letters */
.ps-at__t :where(td), .ps-art :where(table):not([class]) :where(td) { min-width: 8em; }
/* a value of several lines («$19\nза 10 ГБ» of a comparison insert) keeps its breaks, as in Compare (22); code in it wraps as above */
.ps-at__t :where(td), .ps-art :where(table):not([class]) :where(td) { white-space: pre-line; }
/* a column of a long value keeps room for a few words of it; the column that explains (the last one, in words) keeps ~14em,
   so its words never stand one or two a line; a first column of a mere code (a flag) is as wide as the code, which never breaks */
.ps-at__t :where(td:has(> .ps-ic--long)) { min-width: 9em; }
.ps-at__t :where(td:last-child:not(:first-child, [align], [style*="right"])), .ps-art :where(table):not([class]) :where(td:last-child:not(:first-child, [align], [style*="right"])) { min-width: 14em; }
.ps-at__t :where(td:first-child:has(> .ps-ic:only-child)), .ps-art :where(table):not([class]) :where(td:first-child:has(> code:only-child)) { min-width: 0; }
.ps-at--cards .ps-at__t :where(td) { min-width: 0; }
/* the first column names the row (a flag, a key, a code): its code never breaks inside */
.ps-at__t :where(tr) > :first-child :is(.ps-ic, code), .ps-art :where(table):not([class]) :where(tr) > :first-child :where(code) { white-space: nowrap; overflow-wrap: normal; }
.ps-at__no { color: var(--fg3); }
/* a word of code joined by a hyphen (InlineCode): it moves to the next line whole, and breaks inside only when longer than the line */
.ps-ic__w { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
/* a link with an arrow in a cell stays on one line: the arrow never drops away from its words */
.ps-at__t .ps-lnk--arrow { white-space: nowrap; }
/* while there is more to the right, a soft shade at the right edge says so (where scroll timelines exist) */
@supports (animation-timeline: scroll()) {
  .ps-at, .ps-art :where(table):not([class]) { animation: ps-table-more linear both; animation-timeline: scroll(self inline); }
}
@keyframes ps-table-more {
  from, 97% { box-shadow: inset -18px 0 14px -14px rgba(14,16,20,.16); }
  to { box-shadow: none; }
}

/* ---------- error card ---------- */
.ps-err { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 16px; border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); box-shadow: inset 0 0 0 1px var(--ln2); }
.ps-err__h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 17px; line-height: 1.35; }
.ps-err__code { padding: 1px 7px; border-radius: 5px; background: #fef2f4; font-size: 15px; font-weight: 500; color: var(--crit); overflow-wrap: anywhere; }
.ps-err__m { font-weight: 600; letter-spacing: -0.01em; overflow-wrap: break-word; }
.ps-err__x { font-size: 14px; line-height: 1.5714; color: var(--fg2); text-wrap: pretty; }
.ps-err__do { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; box-shadow: inset 0 1px 0 var(--ln); }
.ps-err__l { font-size: 12px; line-height: 1.3333; font-weight: 600; color: var(--fg3); }
.ps-err__a { font-size: 14px; line-height: 1.5714; color: var(--docs-fg-body, var(--fg)); }
.ps-err__a :where(ol, ul) { margin: 0; padding: 0 0 0 20px; }
.ps-err__a :where(li) { padding-left: 4px; text-wrap: pretty; }
.ps-err__a :where(li) + :where(li) { margin-top: 4px; }

/* ---------- command reference ---------- */
.ps-cref { display: flex; flex-direction: column; gap: 16px; }
.ps-cref__t { min-width: 600px; }
.ps-cref__t :where(tbody th) { width: 1%; white-space: nowrap; }
.ps-cref__t :where(tbody th) .ps-ic { white-space: nowrap; overflow-wrap: normal; }
.ps-cref__v { font-family: var(--font-mono); font-size: 13px; line-height: 1.3846; letter-spacing: 0; }
.ps-cref__w { color: var(--fg2); }
.ps-cref__no { color: var(--fg3); }

/* ---------- the form of another service ---------- */
.ps-sf { overflow: hidden; border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); box-shadow: inset 0 0 0 1px var(--ln2); }
.ps-sf__h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; box-sizing: border-box; min-height: 44px; padding: 9px 16px; background: var(--docs-chrome, #f3f4f6); box-shadow: inset 0 -1px 0 var(--ln2), inset 0 0 0 1px var(--ln2); font-size: 14px; line-height: 1.3; }
.ps-sf__lead { color: var(--fg2); }
.ps-sf__path { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 500; color: var(--fg); }
.ps-sf__seg + .ps-sf__seg::before { content: "›"; margin-right: 6px; font-weight: 400; color: var(--fg3); }
.ps-sf__open { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--fg2); text-decoration: none; white-space: nowrap; transition: color .14s; }
.ps-sf__open:hover { color: var(--fg); }
.ps-sf__form { display: flex; flex-direction: column; margin: 0; padding: 4px 16px; }
.ps-sf__f { display: grid; grid-template-columns: 168px minmax(0, 1fr) 36px; align-items: center; column-gap: 12px; min-height: 48px; }
.ps-sf__f + .ps-sf__f { box-shadow: inset 0 1px 0 var(--ln); }
.ps-sf__l { font-size: 13px; line-height: 1.35; color: var(--fg3); }
.ps-sf__v { min-width: 0; margin: 0; padding: 8px 0; font-size: 13px; line-height: 1.45; color: var(--fg); overflow-wrap: anywhere; }
.ps-sf__v--text { font-size: 14px; line-height: 1.4286; }
.ps-sf__n { display: block; font-family: var(--font-sans); color: var(--fg3); }
.ps-sf__copy { width: 36px; height: 36px; color: var(--fg2); }
.ps-sf__apply { padding: 12px 16px 14px; box-shadow: inset 0 1px 0 var(--ln2); font-size: 14px; line-height: 1.5714; color: var(--fg); }

/* ---------- the way through the cabinet ---------- */
.ps-cp { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 46px; padding: 9px 14px; border-radius: var(--r-sm); background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 0 0 1px var(--ln2); font-size: 14px; line-height: 1.4286; }
.ps-cp__i { flex: none; color: var(--fg2); }
.ps-cp__path { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
.ps-cp__seg { color: var(--fg2); }
.ps-cp__on { font-weight: 600; }
.ps-cp__sep { color: var(--fg3); }
.ps-cp__go { flex: none; white-space: nowrap; font-size: 13px; }

/* ---------- the expected result: what the screen answers, not what you type ---------- */
.ps-ares { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px dashed var(--docs-border-strong, var(--ln2)); background: var(--docs-canvas, transparent); }
.ps-ares__l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3333; font-weight: 600; color: var(--fg3); }
.ps-ares__v { font-size: 13px; line-height: 1.3846; font-weight: 500; color: var(--fg); overflow-wrap: anywhere; }
.ps-ares__n { font-size: 14px; line-height: 1.4; color: var(--fg2); }

/* ---------- the closing action ---------- */
.ps-aact { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-top: 32px; box-shadow: inset 0 1px 0 var(--ln2); }
.ps-art .ps-aact { margin-top: 40px; }

/* ---------- tabs of a scenario: «Кабинет / CLI», languages — bordered card container with connected tab bar ----------
   The contract of the site script is the one of CodeTabs (42): root data-ps-tabs data-group data-state, tabs data-ps-tab, panels data-ps-panel.
   Without the script every panel stands one under another inside the same card; with it — the tab bar and the chosen panel. */
.ps-dtabs { min-width: 0; border-radius: var(--r-sm); border: 1px solid var(--docs-border-strong, var(--ln2)); background: var(--docs-canvas, var(--white)); box-shadow: 0 1px 2px rgba(14,16,20,.03); overflow: hidden; }
.ps-art .ps-dtabs { margin-bottom: 24px; }
.ps-art .ps-dtabs + :where(p, ul, ol, pre, table, blockquote):not([class]), .ps-art .ps-dtabs + .ps-ab { margin-top: 0; }
.ps-dtabs__row { display: none; align-items: flex-end; gap: 2px; min-height: 42px; padding: 4px 8px 0; overflow-x: auto; scrollbar-width: none; background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 -1px 0 var(--docs-border, var(--ln2)); }
.ps-dtabs__row::-webkit-scrollbar { display: none; }
.ps-dtabs__tab { position: relative; display: inline-flex; align-items: center; gap: 7px; flex: none; height: 38px; padding: 0 14px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; background: none; cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1; font-weight: 500; white-space: nowrap; color: var(--fg2); transition: color .14s, background-color .14s; }
.ps-dtabs__tab .ps-ico { width: 15px; height: 15px; color: var(--fg3); }
.ps-dtabs__tab:hover { color: var(--fg); }
.ps-dtabs__tab:hover .ps-ico { color: var(--fg2); }
.ps-dtabs__tab[aria-selected="true"] { color: var(--fg); background: var(--docs-canvas, var(--white)); border-color: var(--docs-border, var(--ln2)); box-shadow: inset 0 -1px 0 var(--docs-canvas, var(--white)); }
.ps-dtabs__tab[aria-selected="true"] .ps-ico { color: var(--fg); }
.ps-page .ps-dtabs__tab:focus-visible { outline-offset: -3px; }
.ps-dtabs__label { display: flex; align-items: center; gap: 8px; margin: -16px -18px 14px; padding: 9px 18px; font-size: 12px; line-height: 1.3333; font-weight: 600; letter-spacing: .01em; color: var(--fg2); background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 -1px 0 var(--docs-border, var(--ln2)); }
.ps-dtabs__label .ps-ico { width: 15px; height: 15px; }
.ps-dtabs__panel { --ps-flow: 14px; padding: 16px 18px 18px; }
.ps-dtabs__panel + .ps-dtabs__panel { box-shadow: inset 0 1px 0 var(--docs-border, var(--ln2)); }
.ps-dtabs[data-state="tabs"] .ps-dtabs__row { display: flex; }
.ps-dtabs[data-state="tabs"] .ps-dtabs__label, .ps-dtabs[data-state="tabs"] .ps-dtabs__panel:not([data-active]) { display: none; }
.ps-dtabs[data-state="tabs"] .ps-dtabs__panel { box-shadow: none; }
.ps-dtabs[data-state="tabs"] .ps-dtabs__panel > :nth-child(2) { margin-top: 0; }
.ps-dtabs__panel > :last-child { margin-bottom: 0; }
.ps-aact__n { font-size: 14px; line-height: 1.3; color: var(--fg3); }

@media (max-width: 1099.98px) {
  .ps-dtabs__tab { padding: 0 11px; font-size: 13px; }
  .ps-dtabs__panel { padding: 14px 14px 16px; }
  .ps-dtabs__label { margin: -14px -14px 12px; padding: 8px 14px; }
  .ps-art .ps-steps { margin-top: 32px; }
  .ps-step { padding-bottom: 28px; }
  .ps-page .ps-step__h { font-size: 16px; }
  .ps-step:not(:last-child)::before { display: none; }
  .ps-step__n { margin: -1px 4px 0 0; }
  .ps-step__t { padding-top: 0; }
  .ps-step__b { padding-left: 0; }
  .ps-err__h { font-size: 16px; }
  .ps-at__t :where(tbody th, td) { font-size: 14px; }
  .ps-at__t :where(thead th) { font-size: 12px; }
  .ps-sf__f { grid-template-columns: minmax(0, 1fr) 36px; row-gap: 2px; padding: 10px 0; }
  .ps-sf__l { grid-column: 1 / 3; }
  .ps-sf__v { padding: 0; }
  .ps-sf__open { margin-left: 0; flex-basis: 100%; }
  /* one text axis: the sign hangs at the left, the path and the link stand one under the other */
  .ps-cp { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 10px; padding: 14px 16px; }
  .ps-cp__i { margin-top: 2px; }
  .ps-cp__go { grid-column: 2; justify-self: start; }
  .ps-aact { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 12px; }
  /* a table of a few short columns: every row becomes a card */
  .ps-at--cards { overflow: visible; border: 0; border-radius: 0; }
  .ps-at--cards .ps-at__t { display: block; min-width: 0 !important; }
  .ps-at--cards :where(thead) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ps-at--cards :where(tbody) { display: flex; flex-direction: column; gap: 10px; }
  .ps-at--cards :where(tr) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); box-shadow: var(--shadow-plate); }
  .ps-at--cards .ps-at__t :where(th, td) { display: block; padding: 0; box-shadow: none; color: var(--fg2); line-height: 1.5; }
  .ps-at--cards .ps-at__t :where(tr) :where(th, td):first-child { color: var(--fg); font-weight: 600; line-height: 1.3; }
  .ps-at--cards .ps-at__t :where(td):empty { display: none; }
}

/* Prontaro site · 44 · «Такой страницы нет» in the shell of the documentation. */
.ps-dnf { display: flex; flex-direction: column; align-items: flex-start; max-width: 760px; padding: 48px 0 40px; }
.ps-dnf__code { margin-top: 28px; font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--fg3); }
.ps-dnf .ps-dnf__h { margin-top: 12px; text-wrap: balance; }
.ps-dnf .ps-dnf__x { margin-top: 16px; font-size: 20px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
.ps-dnf__list { align-self: stretch; display: flex; flex-direction: column; margin-top: 16px; padding: 6px 28px; }
.ps-dnf__a { display: flex; align-items: center; gap: 14px; min-height: 60px; text-decoration: none; color: var(--fg); }
.ps-dnf__a + .ps-dnf__a { box-shadow: inset 0 1px 0 var(--ln); }
.ps-dnf__i { color: var(--fg2); }
.ps-dnf__t { flex: 1 1 auto; min-width: 0; font-size: 17px; line-height: 1.3; font-weight: 500; }
.ps-dnf__go { color: var(--fg3); transition: color .14s, transform .14s; }
.ps-dnf__a:hover .ps-dnf__go { color: var(--fg); transform: translateX(2px); }
@media (max-width: 1099.98px) {
  .ps-dnf { padding: 12px 0 8px; }
  .ps-dnf__x { font-size: 17px; }
  .ps-dnf__list { padding: 2px 16px; }
}

/* Prontaro site · 47 · documentation: the list of articles with their labels, the head of a section page.
   Wide: a white plate of rows, labels at the right. Compact: a flat list with hairlines, labels under the title. */

/* ---------- a row ---------- */
.ps-dl { display: flex; flex-direction: column; }
.ps-dl__plate { position: relative; box-sizing: border-box; padding: 4px 24px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dl__rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.ps-dar__li { display: block; }
.ps-dar { display: flex; align-items: center; gap: 20px; padding: 14px 0; text-decoration: none; color: var(--fg); }
.ps-dar__li + .ps-dar__li .ps-dar, .ps-dl__plate--next .ps-dar { box-shadow: inset 0 1px 0 var(--ln); }
.ps-dar__main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.ps-dar__t { font-size: 15.5px; line-height: 1.35; font-weight: 500; overflow-wrap: break-word; }
.ps-dar__x { font-size: 14px; line-height: 1.5; color: var(--fg2); }
.ps-dar__p { font-size: 13px; line-height: 1.35; color: var(--fg3); }
/* the labels keep their line while they fit in half of the row: the text gives way first */
.ps-dar__labels { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; flex: none; min-width: 0; max-width: 55%; }
.ps-dar__go { color: var(--fg3); transition: color .14s, transform .14s; }
.ps-dar:hover .ps-dar__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ps-dar:hover .ps-dar__go { color: var(--fg); transform: translateX(2px); }
/* the last row of a plate: a link to the whole section */
.ps-dl__all { display: flex; align-items: center; gap: 6px; min-height: 52px; font-size: 14.5px; line-height: 1.3; font-weight: 500; color: var(--fg); text-decoration: none; box-shadow: inset 0 1px 0 var(--ln); }
.ps-dl__all:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- «Показать ещё»: a native <details>; opened, the rest continues the same plate ---------- */
.ps-dl__more { display: block; }
.ps-dl__more-s { display: flex; align-items: center; gap: 20px; padding-top: 24px; }
.ps-dl__more[open] > .ps-dl__more-s { display: none; }
.ps-dl__more-s:focus-visible { outline: none; }
.ps-dl__more-s:focus-visible .ps-dl__more-b { outline: 2px solid var(--fg); outline-offset: 3px; }
.ps-dl__more-s:hover .ps-dl__more-b { filter: brightness(1.12); box-shadow: inset 0 0 0 1.5px rgba(14,16,20,.34); }
.ps-dl__count { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-page .ps-dl__count--all { margin: 0; padding-top: 24px; }
.ps-dl__plate--next { border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 0; clip-path: inset(0 -48px -64px -48px); }
.ps-dl:has(> .ps-dl__more[open]) > .ps-dl__plate { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }

/* ---------- head of a section page ---------- */
.ps-dsh { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
.ps-page .ps-dsh__h { margin-top: 12px; font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.ps-page .ps-dsh__lead { margin-top: 14px; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--fg2); text-wrap: pretty; }

@media (max-width: 1099.98px) {
  .ps-dl__plate { padding: 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--ln); }
  .ps-dl__plate--next { clip-path: none; box-shadow: none; }
  .ps-dar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--ln); }
  .ps-dar__li + .ps-dar__li .ps-dar, .ps-dl__plate--next .ps-dar { box-shadow: inset 0 -1px 0 var(--ln); }
  .ps-dar__main { gap: 6px; align-self: stretch; }
  .ps-dar__x { font-size: 14px; line-height: 1.45; }
  .ps-dar__p, .ps-dar__go { display: none; }
  .ps-dar__labels { justify-content: flex-start; max-width: 100%; }
  .ps-dl__all { box-shadow: inset 0 -1px 0 var(--ln); }
  .ps-dl__more-s { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 28px; text-align: center; }
  .ps-dl__more-b { height: 50px; font-size: 17px; }
  .ps-page .ps-dl__count--all { padding-top: 20px; }
  .ps-dsh { margin-bottom: 24px; }
  .ps-page .ps-dsh__h { margin-top: 12px; font-size: 26px; line-height: 1.18; }
  .ps-page .ps-dsh__lead { margin-top: 12px; font-size: 16px; }
}

/* Prontaro site · 48 · documentation home: the filters of the catalogue.
   Wide: a plate, a row per filter, the «Выбрано» row at its foot. Compact: the «Фильтры» button with the chosen chips next to it;
   the filters are a sheet from the bottom, shown while the sheet is the :target of the address (or data-state="open"). No script. */

/* ---------- a chip: a link ---------- */
.ps-dfc { display: inline-flex; align-items: center; gap: 7px; flex: none; box-sizing: border-box; max-width: 100%; height: 36px; padding: 0 12px; border-radius: var(--r-sm);
  font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg2); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2); text-decoration: none; white-space: nowrap; transition: box-shadow .14s; }
.ps-dfc:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
.ps-dfc--big { gap: 9px; height: 44px; padding: 0 14px; color: var(--fg); }
.ps-dfc__n { font-weight: 400; color: var(--fg3); }
.ps-dfc--on, .ps-dfc--on:hover { color: var(--white); background: var(--ink); box-shadow: none; }
.ps-dfc--on .ps-dfc__n { color: rgba(255,255,255,.62); }

/* ---------- the plate ---------- */
.ps-dfl { position: relative; box-sizing: border-box; margin-top: 24px; padding: 4px 28px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dfl__scrim, .ps-dfl__head, .ps-dfl__foot, .ps-dfl__open { display: none; }
.ps-dfl__row { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 24px; padding: 22px 0; }
.ps-dfl__row + .ps-dfl__row { box-shadow: inset 0 1px 0 var(--ln); }
.ps-dfl__label { padding-top: 13px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg2); }
.ps-dfl__parts { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ps-dfl__part { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.ps-dfl__part > .ps-dir { margin-top: 12px; }
.ps-dfl__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-dfl__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; align-self: stretch; box-sizing: border-box; margin-top: 2px; padding: 12px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln); }
.ps-dfl__sub-l { margin: 0 6px 0 4px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dfl__line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.ps-dfl__note { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dfl__note--fits { color: var(--fg); }
.ps-page .ps-dfl__hint { margin-top: -6px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
/* «Выбрано» */
.ps-dfl__now { display: flex; align-items: center; gap: 18px; padding: 18px 0; box-shadow: inset 0 1px 0 var(--ln); }
.ps-dfl__now--none { display: none; }
.ps-dfl__picked { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.ps-dfl__now-l { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dfl__sum { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; flex: 1 1 auto; font-size: 14px; line-height: 1.3; }
.ps-dfl__sum-t { color: var(--fg2); text-align: right; }
.ps-dfl__reset { flex: none; font-size: 14px; line-height: 1.3; }

@media (max-width: 1099.98px) {
  .ps-dfl { margin-top: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .ps-dfc--big, .ps-dfl__sub .ps-dfc, .ps-dfl__line .ps-dfc, .ps-dfl__picked .ps-dfc { height: 44px; }
  .ps-dfc--big { padding: 0 12px; }

  /* the bar on the page: the button and what is chosen, in one line that scrolls */
  .ps-dfl__now, .ps-dfl__now--none { display: block; padding: 0; box-shadow: none; }
  .ps-dfl__picked { flex-wrap: nowrap; gap: 8px; margin-right: calc((100vw - 100%) / -2); padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .ps-dfl__picked::-webkit-scrollbar { display: none; }
  .ps-dfl__now-l { display: none; }
  .ps-dfl__open { display: inline-flex; align-items: center; gap: 8px; flex: none; box-sizing: border-box; height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1; font-weight: 500; color: var(--fg); background: var(--white); box-shadow: inset 0 0 0 1px var(--ln2); text-decoration: none; }
  .ps-dfl__open-n { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-sm); font-size: 14px; color: var(--white); background: var(--ink); }
  .ps-dfl__sum { flex-direction: row; justify-content: flex-start; gap: 12px; margin-top: 14px; }
  .ps-dfl__sum-t { text-align: left; }

  /* the sheet */
  .ps-dfl__sheet { display: none; }
  .ps-dfl__sheet:target, .ps-dfl[data-state="open"] .ps-dfl__sheet { display: block; position: fixed; z-index: 70; left: 0; top: 0; right: 0; bottom: 0; }
  .ps-dfl__scrim { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(6,7,9,.66); }
  .ps-dfl__box { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; box-sizing: border-box; max-height: calc(100% - 80px); border-radius: var(--r-md) var(--r-md) 0 0; background: var(--white); box-shadow: 0 -24px 48px rgba(14,16,20,.28); }
  .ps-dfl__head { position: relative; display: flex; align-items: center; justify-content: space-between; flex: none; padding: 20px 5px 4px 16px; }
  .ps-dfl__grab { position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: var(--r-pill); background: rgba(14,16,20,.2); }
  .ps-dfl__title { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
  .ps-dfl__x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--fg2); }
  .ps-dfl__body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 24px; }
  .ps-dfl__row { display: block; padding: 0; }
  .ps-dfl__row + .ps-dfl__row { margin-top: 26px; box-shadow: none; }
  .ps-dfl__label { padding: 12px 0; }
  .ps-dfl__part > .ps-dir { margin-top: 6px; margin-bottom: 4px; }
  .ps-dfl__sub { margin-top: 4px; padding: 10px; }
  .ps-dfl__line { gap: 6px 14px; }
  .ps-dfl__line + .ps-dfl__line { margin-top: 6px; }
  .ps-dfl__sub-l { display: none; }
  .ps-page .ps-dfl__hint { margin-top: -4px; }
  .ps-dfl__foot { display: flex; align-items: center; gap: 20px; flex: none; box-sizing: border-box; padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--white); box-shadow: inset 0 1px 0 var(--ln); }
  .ps-dfl__foot .ps-dfl__reset { margin-left: 8px; font-size: 14px; }
  .ps-dfl__apply { flex: 1 1 auto; min-width: 0; }
}

/* Prontaro site · 49 · documentation home: the head with the big search, «Начать», the platforms, the columns of links, the empty result. */

/* ---------- body: the air above the footer ---------- */
.ps-dhb { padding-bottom: 120px; }

/* ---------- head ---------- */
.ps-dhh { position: relative; padding-top: 44px; }
.ps-dhh__h { font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.ps-dhh__search { position: relative; max-width: 760px; margin-top: 24px; }
.ps-page .ps-dhh__lead { max-width: 760px; margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--fg2); text-wrap: pretty; }

/* ---------- a block under a small heading ---------- */
.ps-dbk { position: relative; margin-top: 56px; }
.ps-page .ps-dbk__h, .ps-page .ps-dlc__h { font-size: 18px; line-height: 1.3; }
.ps-dbk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 20px; }
.ps-dbk__h { max-width: 22em; }
.ps-dbk__aside { font-size: 13.5px; line-height: 1.35; color: var(--fg2); }

/* ---------- «Начать» ---------- */
.ps-dst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ps-dst__card { display: flex; flex-direction: column; box-sizing: border-box; padding: 10px 10px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); text-decoration: none; color: var(--fg); transition: box-shadow .14s; }
.ps-dst__card:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
/* the dark picture keeps the night's inks on the light card */
.ps-dst__vis { position: relative; display: flex; align-items: center; justify-content: center; height: 120px; padding: 0 16px; border-radius: var(--r-sm); overflow: hidden; color: #F2F3F5; background: var(--docs-code-bg, #14171f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.ps-dst__ico { display: none; }
.ps-dst__os { display: flex; gap: 12px; }
.ps-dst__os-i { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--r-md); background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07); }
.ps-dst__term { display: flex; flex-direction: column; gap: 6px; max-width: 100%; overflow: hidden; font-family: var(--font-mono); font-size: 13px; line-height: 1.55; }
.ps-dst__term-l { display: block; white-space: nowrap; }
.ps-dst__term-l--dim { color: #A4A9B4; }
.ps-dst__prompt { color: #868C99; }
.ps-dst__main { display: flex; flex-direction: column; gap: 6px; margin: 16px 8px 0; }
.ps-dst__t { font-size: 17.5px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; }
.ps-dst__d { font-size: 14px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
.ps-dst__d--compact { display: none; }
/* the foot stands at the bottom of every card, so the three feet lie on one line whatever the length of the text */
.ps-dst__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 8px 0; padding-top: 14px; font-size: 13px; line-height: 1.35; color: var(--fg2); }
.ps-dst__go { color: var(--fg); transition: transform .14s; }
.ps-dst__card:hover .ps-dst__go { transform: translateX(3px); }

/* ---------- platforms ---------- */
.ps-dpl { display: flex; flex-direction: column; }
.ps-dpl__row { display: grid; grid-template-columns: 226px minmax(0, 1fr); column-gap: 24px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-page .ps-dpl__name { display: flex; align-items: baseline; gap: 10px; margin: 0; padding-top: 15px; font-size: 15px; line-height: 1.3; font-weight: 500; }
.ps-dpl__n { font-size: 13px; font-weight: 400; color: var(--fg3); }
.ps-dpl__tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ps-dpl__li { display: flex; min-width: 0; }
.ps-dpl__li--more { grid-column: span 2; }
.ps-dpl__tile { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; box-sizing: border-box; min-width: 0; min-height: 48px; padding: 7px 14px; border-radius: var(--r-sm); background: var(--white); box-shadow: var(--shadow-plate);
  font-size: 14.5px; line-height: 1.3; color: var(--fg); text-decoration: none; overflow-wrap: break-word; transition: box-shadow .14s; }
.ps-dpl__tile:hover { box-shadow: inset 0 0 0 1px var(--fg3); }
.ps-dpl__more { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 auto; box-sizing: border-box; min-height: 48px; padding: 7px 14px; font-size: 14.5px; line-height: 1.3; color: var(--fg2); text-decoration: none; transition: color .14s; }
.ps-dpl__more:hover { color: var(--fg); }
.ps-page .ps-dpl__note { margin-top: 20px; font-size: 14.5px; line-height: 1.5; color: var(--fg2); }
.ps-dpl__note .ps-lnk { margin-left: 4px; font-size: 14px; }

/* ---------- task links ---------- */
.ps-dtl { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-dtl__chip { display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box; height: 36px; padding: 0 13px; border-radius: var(--r-sm);
  background: var(--docs-canvas, var(--white)); box-shadow: inset 0 0 0 1px var(--docs-border-strong, var(--ln2));
  font-size: 13.5px; line-height: 1; font-weight: 500; color: var(--docs-fg, var(--fg)); text-decoration: none; white-space: nowrap;
  transition: background-color .14s, box-shadow .14s, color .14s; }
.ps-dtl__ico { color: var(--fg3); transition: color .14s; }
.ps-dtl__go { color: var(--fg3); opacity: .7; transition: transform .14s, color .14s, opacity .14s; }
.ps-dtl__chip:hover { background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 0 0 1px var(--fg3); }
.ps-dtl__chip:hover .ps-dtl__ico { color: var(--fg); }
.ps-dtl__chip:hover .ps-dtl__go { color: var(--fg); opacity: 1; transform: translateX(2px); }

/* ---------- columns of links ---------- */
.ps-dlc { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 56px; }
/* at the full width: symmetrical 3x2 grid (and 2x1 / 2x2 when 2 or 4 columns are passed) */
@media (min-width: 1100px) {
  .ps-dlc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-dlc:not(:has(> :nth-child(3))), .ps-dlc:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ps-dlc__col { box-sizing: border-box; padding: 22px 24px 10px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-page .ps-dlc__h { margin-bottom: 12px; }
.ps-dlc__hl { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.ps-dlc__hgo { color: var(--fg3); opacity: 0; transition: opacity .14s, transform .14s, color .14s; }
.ps-dlc__hl:hover .ps-dlc__hgo, .ps-dlc__hl:focus-visible .ps-dlc__hgo { opacity: 1; color: var(--fg); transform: translateX(2px); }
.ps-dlc__list { margin: 0; padding: 0; list-style: none; }
.ps-dlc__a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; box-sizing: border-box; text-decoration: none; color: var(--fg); box-shadow: inset 0 1px 0 var(--ln); }
.ps-dlc__i { color: var(--fg2); }
.ps-dlc__t { flex: 1 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.35; font-weight: 500; overflow-wrap: break-word; }
.ps-dlc__go { color: var(--fg3); transition: color .14s, transform .14s; }
.ps-dlc__a:hover .ps-dlc__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ps-dlc__a:hover .ps-dlc__go { color: var(--fg); transform: translateX(2px); }

/* ---------- nothing under the filters ---------- */
.ps-dna { display: flex; flex-direction: column; align-items: flex-start; box-sizing: border-box; margin-top: 40px; padding: 40px 48px 44px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dna__i { color: var(--fg3); }
.ps-page .ps-dna__t { margin-top: 16px; max-width: 620px; font-size: 17px; line-height: 1.5; color: var(--fg); text-wrap: pretty; }
.ps-dna__ex { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ps-dna__ex-l { margin-right: 6px; font-size: 13px; line-height: 1.3; color: var(--fg3); }

@media (max-width: 1099.98px) {
  .ps-dhb { padding-bottom: 72px; }
  .ps-dhh { padding-top: 40px; }
  .ps-dhh__h { font-size: 26px; line-height: 1.18; }
  .ps-dhh__search { margin-top: 24px; }
  .ps-page .ps-dhh__lead { font-size: 16px; }
  .ps-dbk { margin-top: 48px; }
  .ps-dbk__head { margin-bottom: 14px; }
  .ps-dtl__chip { height: 40px; padding: 0 14px; font-size: 14px; }

  .ps-dst { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ps-dst__card { flex-direction: row; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; }
  .ps-dst__vis { display: none; }
  .ps-dst__ico { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--fg); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln); }
  .ps-dst__main { flex: 1 1 auto; min-width: 0; gap: 3px; margin: 0; }
  .ps-dst__t { font-size: 15.5px; font-weight: 500; letter-spacing: 0; }
  .ps-dst__d { font-size: 13.5px; line-height: 1.35; }
  .ps-dst__d--wide { display: none; }
  .ps-dst__d--compact { display: block; }
  .ps-dst__foot { flex: none; margin: 0; padding: 0; }
  .ps-dst__note, .ps-dst__card--plan .ps-dst__go { display: none; }
  .ps-dst__go { width: 18px; height: 18px; color: var(--fg3); }

  .ps-dpl__row { display: block; padding: 0 0 20px; box-shadow: none; }
  .ps-page .ps-dpl__name { padding: 0 0 10px; font-size: 13.5px; color: var(--fg2); }
  .ps-dpl__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ps-dpl__li--more { grid-column: auto; }
  .ps-dpl__tile { gap: 10px; padding: 8px 14px; }
  .ps-dpl__more { padding: 8px 14px; border-radius: var(--r-md); color: var(--fg); box-shadow: inset 0 0 0 1px var(--ln2); }
  .ps-page .ps-dpl__note { margin-top: 0; font-size: 14px; }
  .ps-dpl__note .ps-lnk { margin-left: 0; }

  .ps-dlc { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
  .ps-dlc__col { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .ps-page .ps-dlc__h { margin-bottom: 14px; }
  .ps-dlc__list { box-shadow: inset 0 1px 0 var(--ln); }
  .ps-dlc__a { box-shadow: inset 0 -1px 0 var(--ln); }

  .ps-dna { margin-top: 24px; padding: 24px 20px 28px; }
  .ps-page .ps-dna__t { margin-top: 14px; font-size: 15.5px; }
  .ps-dna__ex { margin-top: 24px; }
  .ps-dna__ex-l { flex-basis: 100%; }
}

/* Prontaro site · 50 · documentation: a platform page. Light and flat: sections lie on the steel page under a hairline;
   only the closing call and the footer are dark. Head with the logo and the scheme, the plan card, short steps, groups of articles. */

/* ---------- a flat section ---------- */
/* a page built of full-width sections (`DocsShell bleed`) brings its own air: the padding the shell gives to <main> is taken off */
.ps-docs__main:has(> .ps-docs__bleed) { padding-top: 0; padding-bottom: 0; }
.ps-dfs { position: relative; padding: 64px 0; box-shadow: inset 0 1px 0 var(--ln2); }
.ps-dfs--tight { padding: 0 0 96px; box-shadow: none; }
.ps-dfs .ps-sh { margin-bottom: 32px; }
/* a section head of the documentation: the editorial scale, not the landing's 44 / 20 */
.ps-docs .ps-dfs .ps-sh__h { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: break-word; }
.ps-docs .ps-dfs .ps-sh__lead { font-size: 16px; line-height: 1.5625; }

/* ---------- the plan card ---------- */
.ps-dpc { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; box-sizing: border-box; padding: 12px 12px 12px 20px; border-radius: var(--r-sm); background: var(--white); box-shadow: var(--shadow-plate); font-size: 15px; line-height: 1.35; }
.ps-dpc__info { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; flex: 1 1 auto; min-width: 0; }
.ps-dpc__lead { color: var(--fg2); }
.ps-dpc__price { display: inline-flex; align-items: baseline; gap: 2px; font-size: 17.5px; white-space: nowrap; }
.ps-dpc__now { font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-dpc__per { color: var(--fg3); }
.ps-dpc__was { margin-left: 8px; font-size: 15px; color: var(--fg3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.ps-dpc__text { color: var(--fg2); }
.ps-dpc__btn { flex: none; margin-left: auto; }

/* ---------- head ---------- */
.ps-dph { position: relative; padding: 44px 0 88px; }
.ps-dph__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 64px; align-items: center; }
.ps-dph__l { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ps-dph__top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; margin-top: 20px; width: 100%; }
.ps-dph__top:first-child { margin-top: 0; }
.ps-dph__logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: 2px; border-radius: 12px; color: var(--ink); background: var(--docs-chrome, var(--white)); box-shadow: inset 0 0 0 1px var(--docs-border, var(--ln2)); }
.ps-dph__titles { min-width: 0; }
.ps-page .ps-dph__h { margin-top: 0; font-size: 32px; line-height: 1.18; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.ps-page .ps-dph__lead { margin-top: 8px; max-width: 64ch; font-size: 16px; line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
.ps-dph__card { align-self: stretch; margin-top: 28px; }
.ps-page .ps-dph__note { margin-top: 12px; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dph__aside { min-width: 0; }
/* inside 3-column DocsShell (.ps-docs__content): compact single-column head with framed scheme */
.ps-docs__content .ps-dph { padding: 12px 0 28px; box-shadow: inset 0 -1px 0 var(--docs-border); }
.ps-docs__content .ps-dph__grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
.ps-docs__content .ps-dph__top { margin-top: 0; }
.ps-docs__content .ps-dph__card { margin-top: 20px; }
.ps-docs__content .ps-dph__aside { padding: 20px; border-radius: var(--r-sm); background: var(--docs-chrome); box-shadow: inset 0 0 0 1px var(--docs-border); }
.ps-docs__content .ps-dph__aside .ps-dsc { max-width: 560px; margin: 0 auto; }
.ps-docs__content .ps-dfs { padding: 32px 0 0; margin-top: 32px; }
.ps-docs__content :is(.ps-dch, .ps-dph) + .ps-dfs { margin-top: 0; padding-top: 28px; box-shadow: none; }

/* ---------- the scheme ---------- */
.ps-page .ps-dsc { --dsc-line: rgba(14,16,20,.30); position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; }
.ps-dsc__top { align-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 12px; }
.ps-dsc__node { position: relative; display: flex; align-items: flex-start; gap: 12px; box-sizing: border-box; padding: 14px 16px; border-radius: var(--r-sm); background: var(--docs-canvas, var(--white)); box-shadow: var(--shadow-plate); }
.ps-dsc__node-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--docs-chrome, var(--val-bg)); box-shadow: inset 0 0 0 1px var(--docs-border, var(--ln)); color: var(--fg); }
.ps-dsc__node-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.ps-dsc__node-t { font-size: 14.5px; line-height: 1.3; font-weight: 600; color: var(--fg); overflow-wrap: break-word; }
.ps-dsc__node-x { font-size: 13px; line-height: 1.35; color: var(--fg3); }
/* every upper box drops a short line to a rail; the stem goes from the rail to the IP. Lines end on the things they join. */
.ps-dsc__node::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 16px; background: var(--dsc-line); }
.ps-dsc__node::before { content: ""; position: absolute; left: -6px; right: -6px; top: calc(100% + 16px); height: 1px; background: var(--dsc-line); }
.ps-dsc__node:first-child::before { left: 50%; }
.ps-dsc__node:last-child::before { right: calc(50% - 1px); }
.ps-dsc__node:only-child::before { display: none; }
.ps-dsc__stem { flex: none; width: 1px; height: 44px; background: var(--dsc-line); }
.ps-dsc__stem--rail { height: 28px; margin-top: 16px; }
.ps-dsc__hub { display: flex; flex-direction: column; align-items: center; gap: 4px; box-sizing: border-box; min-width: min(260px, 100%); max-width: 100%; padding: 18px 28px; text-align: center; }
.ps-dsc__hub-t { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.ps-dsc__hub-x { font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dsc__targets { align-self: stretch; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 22px; box-sizing: border-box; margin: 0; padding: 18px 16px; list-style: none; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dsc__target { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; line-height: 1.3; white-space: nowrap; }
.ps-dsc__cap { margin-top: 12px; font-size: 14px; line-height: 1.3; color: var(--fg3); text-align: center; }
/* a drawn list of another service */
.ps-dsc__list { align-self: stretch; box-sizing: border-box; padding: 6px 20px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dsc__list-h { padding: 12px 0; font-size: 14px; line-height: 1.3; color: var(--fg3); }
.ps-dsc__list-r { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; min-height: 56px; box-sizing: border-box; padding: 8px 0; box-shadow: inset 0 1px 0 var(--ln); }
.ps-dsc__list-v { font-family: var(--font-mono); font-size: 17px; line-height: 1.3; color: var(--fg); }
.ps-dsc__list-l { flex: 1 1 auto; font-size: 14px; line-height: 1.3; color: var(--fg2); }
.ps-dsc__list-a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; line-height: 1.3; color: var(--fg); }
.ps-dsc__list-r--gone .ps-dsc__list-v { color: var(--fg3); text-decoration: line-through; }
.ps-dsc__list-r--gone .ps-dsc__list-l, .ps-dsc__list-r--gone .ps-dsc__list-a { color: var(--fg3); }

/* ---------- short steps ---------- */
.ps-dsp__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ps-dsp__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; box-sizing: border-box; min-width: 0; padding: 32px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-plate); }
.ps-dsp__n { margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--fg3); }
.ps-dsp__x { font-size: 14.5px; line-height: 1.55; color: var(--fg2); }
/* the value stands at the foot of every card: one line across the row */
.ps-dsp__v { margin-top: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.ps-page .ps-dsp__more { margin-top: 20px; font-size: 17px; line-height: 1.5; color: var(--fg2); }
.ps-page .ps-dsp__more:first-child { margin-top: 0; }
.ps-dsp__more .ps-lnk { display: inline-flex; vertical-align: baseline; }

/* ---------- groups of articles ---------- */
.ps-dag { display: flex; flex-direction: column; gap: 16px; }
.ps-dag__g { display: grid; grid-template-columns: minmax(0, 340fr) minmax(0, 880fr); column-gap: 28px; align-items: start; }
.ps-dag__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; color: var(--fg); }
.ps-dag__t { display: flex; align-items: flex-start; gap: 10px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.ps-dag__t .ps-ico { margin-top: 3px; color: var(--fg2); }

@media (max-width: 1099.98px) {
  .ps-docs .ps-dfs .ps-sh__h { font-size: 22px; }
  .ps-docs .ps-dfs .ps-sh__lead { font-size: 15.5px; }
  .ps-dfs { padding: 48px 0 0; box-shadow: none; }
  .ps-dfs--tight { padding: 32px 0 0; }
  .ps-dfs .ps-sh { margin-bottom: 20px; }

  .ps-dpc { padding: 16px; gap: 14px; }
  .ps-dpc__info { gap: 6px 12px; }
  .ps-dpc__btn { flex: 1 1 100%; height: 44px; margin-left: 0; }

  .ps-dph { padding: 20px 0 8px; }
  .ps-dph__grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ps-dph__top { column-gap: 12px; margin-top: 16px; }
  .ps-dph__logo { width: 44px; height: 44px; margin-top: 2px; border-radius: 10px; }
  .ps-dph__logo .ps-lg, .ps-dph__logo .ps-ico { width: 24px; height: 24px; }
  .ps-page .ps-dph__h { margin-top: 0; font-size: 26px; line-height: 1.18; }
  .ps-page .ps-dph__lead { margin-top: 8px; font-size: 15.5px; }
  .ps-dph__card { margin-top: 20px; }
  .ps-page .ps-dph__note { margin-top: 12px; }
  .ps-docs__content .ps-dph__aside { padding: 14px; }

  .ps-dsc__node { padding: 14px; }
  .ps-dsc__list { padding: 6px 16px; }

  .ps-dsp__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ps-dsp__card { padding: 20px; gap: 10px; }
  .ps-dsp__n { margin-bottom: 0; }

  .ps-dag { gap: 28px; }
  .ps-dag__g { display: block; }
  .ps-dag__head { gap: 8px; padding: 0 0 12px; }
  .ps-dag__t { align-items: center; gap: 8px; font-size: 17px; letter-spacing: 0; }
  .ps-dag__t .ps-ico { width: 18px; height: 18px; margin-top: 0; color: var(--fg); }
}

/* Prontaro site · 51 · documentation: a comparison page. Light and flat like a platform page: the head, the table in a flat section (50),
   the text with «На этой странице» at its right, the plan card. */

/* ---------- head ---------- */
.ps-dch { position: relative; padding: 72px 0 96px; }
.ps-page .ps-dch__h { margin-top: 16px; max-width: 860px; font-size: 32px; line-height: 1.1875; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.ps-page .ps-dch__lead { margin-top: 12px; max-width: 64ch; font-size: 17px; line-height: 1.5882; color: var(--fg2); text-wrap: pretty; }
.ps-dch__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* inside 3-column DocsShell (.ps-docs__content): compact single-column head and body */
.ps-docs__content .ps-dch { padding: 12px 0 28px; box-shadow: inset 0 -1px 0 var(--docs-border); }
.ps-docs__content .ps-dch__h { margin-top: 0; }
.ps-docs__content .ps-dch__btns { margin-top: 20px; }
.ps-docs__content .ps-dcb { padding: 0; }
.ps-docs__content .ps-dcb__grid { display: block; }

/* ---------- body ---------- */
.ps-dcb { position: relative; padding: 40px 0 96px; }
.ps-dcb__grid { display: grid; grid-template-columns: minmax(0, 728px) minmax(0, 280px); justify-content: space-between; column-gap: 64px; align-items: start; }
.ps-dcb__text { min-width: 0; font-size: 16px; line-height: 1.6875; color: var(--docs-fg-body, var(--fg)); }
/* «На этой странице» starts on the line of the first heading of the text */
.ps-dcb__toc { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 56px; }
.ps-dcb__after { margin-top: 64px; }
/* steps right under a heading of the text keep the step of any block (an article gives them more air after a paragraph) */
.ps-dcb__text .ps-ah + .ps-steps { margin-top: var(--ps-flow); }

/* ---------- facts: the sign hangs on the margin, the text keeps one axis ---------- */
.ps-dfx { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ps-dfx__li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; margin: 0; padding: 0; }
.ps-dfx__i { margin-top: 3px; color: var(--fg3); }

@media (max-width: 1099.98px) {
  .ps-dch { padding: 20px 0 8px; }
  .ps-page .ps-dch__h { margin-top: 16px; font-size: 28px; }
  .ps-page .ps-dch__lead { margin-top: 12px; font-size: 17px; }
  .ps-dch__btns { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
  .ps-dcb { padding: 8px 0 0; }
  .ps-dcb__grid { grid-template-columns: minmax(0, 1fr); }
  .ps-dcb__toc { display: none; }
  .ps-dcb__after { margin-top: 40px; }
}

/* Prontaro site · 53 · the «long text» template (ps-lt): terms, privacy, refund, security, «О нас».
   An article under the site's header on the steel page: no left menu, the contents at the right, the revision date under the title.
   Uses the calm IBM Plex Sans reading register of the documentation; Geologica stays on H1–H3 titles. */

.ps-lt { position: relative; padding: 56px 0 112px; font-family: var(--font-docs-body); }
.ps-lt__grid { display: grid; grid-template-columns: minmax(0, 720px) 232px; column-gap: 48px; justify-content: space-between; align-items: start; }
.ps-lt__grid--solo { grid-template-columns: minmax(0, 720px); justify-content: start; }
.ps-lt__art { min-width: 0; font-size: 15px; line-height: 1.6667; color: #333a45; }

/* the head: the row of the legal pages, the title, the date; one hairline under it */
.ps-lt__head { padding-bottom: 20px; box-shadow: inset 0 -1px 0 var(--ln2); }
.ps-lt__sib { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 20px; font-size: 14px; line-height: 1.35; }
.ps-lt__sib-a { color: #646c7a; text-decoration: none; transition: color .14s; }
.ps-lt__sib-a:hover { color: #11141a; }
.ps-lt__sib-on { font-weight: 550; color: #11141a; }
.ps-page .ps-lt__h1 { font-family: var(--font-sans); font-size: 32px; line-height: 1.18; font-weight: 600; letter-spacing: -0.025em; color: #11141a; text-wrap: balance; overflow-wrap: break-word; }
.ps-page .ps-lt__rev { margin-top: 12px; font-size: 13px; line-height: 1.38; color: #646c7a; }

/* the contents at the right: follows the page while the text scrolls */
.ps-lt__toc { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; scrollbar-width: thin; }
.ps-lt__toc-h { margin-bottom: 10px; font-size: 12px; line-height: 1.35; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #646c7a; }
.ps-lt__toc-list, .ps-lt__fold-list { margin: 0; padding: 0; list-style: none; }
.ps-lt__toc-a { display: block; padding: 5px 0 5px 12px; font-size: 13px; line-height: 1.38; font-weight: 400; color: #4e5665; text-decoration: none; overflow-wrap: break-word; box-shadow: inset 2px 0 0 var(--ln2); transition: color .14s; }
.ps-lt__toc-a:hover { color: #11141a; }
.ps-lt__toc-a[aria-current] { color: #11141a; box-shadow: inset 2px 0 0 #11141a; }
.ps-page .ps-lt__toc-a:focus-visible { outline-offset: -2px; }

/* the same contents folded above the text: compact layout only */
.ps-lt__fold { display: none; }

@media (max-width: 1099.98px) {
  .ps-lt { padding: 20px 0 72px; }
  .ps-lt__grid { grid-template-columns: minmax(0, 1fr); }
  .ps-lt__toc { display: none; }
  .ps-lt__head { padding-top: 16px; padding-bottom: 16px; }
  .ps-lt__sib { margin-bottom: 16px; }
  .ps-page .ps-lt__h1 { font-size: 26px; }
  .ps-page .ps-lt__rev { margin-top: 10px; }
  .ps-lt__fold { display: block; margin-top: 16px; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln); }
  .ps-lt__fold-s { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.35; font-weight: 550; color: #11141a; }
  .ps-lt__fold-n { font-weight: 400; color: #646c7a; }
  .ps-lt__fold-n::before { content: " · "; white-space: pre; }
  .ps-lt__fold-ch { color: #11141a; transition: transform .14s; }
  .ps-lt__fold[open] .ps-lt__fold-ch { transform: rotate(180deg); }
  .ps-lt__fold-list { padding: 0 14px 12px; }
  .ps-lt__fold .ps-lt__toc-a { padding: 7px 0 7px 12px; font-size: 14px; }
}

/* Prontaro site · 54 · the typography of a long text (ps-prose).
   A tag without a class is text: it is styled here at any depth, so a wrapper added by the generator changes nothing.
   A tag with a class belongs to a component and is left alone (a block of another family goes into <ProseBlock>).
   Calm IBM Plex Sans editorial reading register matching documentation (15 px / 25 px); Geologica stays on headings. */

.ps-prose { padding-top: 8px; font-family: var(--font-docs-body); font-size: 15px; line-height: 1.6667; color: #333a45; overflow-wrap: break-word; }
.ps-prose p:not([class]), .ps-prose ul:not([class]), .ps-prose ol:not([class]), .ps-prose table:not([class]), .ps-prose hr:not([class]), .ps-prose__block, .ps-prose__tw, .ps-prose__facts { margin: 16px 0 0; }
.ps-prose p:not([class]) { text-wrap: pretty; }
.ps-prose h2:not([class]), .ps-prose h3:not([class]), .ps-prose .ps-prose__h { position: relative; margin: 36px 0 0; font-family: var(--font-sans); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: #11141a; text-wrap: balance; }
.ps-prose h3:not([class]), .ps-prose .ps-prose__h--3 { margin-top: 24px; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.ps-prose h3:not([class]) + p:not([class]), .ps-prose .ps-prose__h--3 + p:not([class]) { margin-top: 10px; }
.ps-prose ul:not([class]), .ps-prose ol:not([class]) { padding: 0 0 0 22px; }
.ps-prose li:not([class]) { padding-left: 4px; }
.ps-prose li:not([class])::marker { color: #949dae; }
.ps-prose li:not([class]) + li:not([class]) { margin-top: 8px; }
.ps-prose li:not([class]) p:not([class]), .ps-prose li:not([class]) ul:not([class]), .ps-prose li:not([class]) ol:not([class]) { margin-top: 6px; }
.ps-prose strong:not([class]), .ps-prose b:not([class]) { font-weight: 550; color: #1a202c; }
.ps-prose a:not([class]) { color: #255499; text-decoration: underline; text-decoration-color: rgba(37,84,153,.32); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .14s, text-decoration-color .14s; }
.ps-prose a:not([class]):hover { color: #255499; text-decoration-color: currentColor; }
.ps-prose code:not([class]) { display: inline; padding: 2px 5px; border-radius: 4px; background: #f1f3f7; box-shadow: inset 0 0 0 1px rgba(14,16,20,.07); font-family: var(--font-mono); font-size: 13px; line-height: 1.3846; color: #242c37; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ps-prose hr:not([class]) { height: 1px; border: 0; background: var(--ln2); }

/* the anchor sign of a heading: shows on hover and focus */
.ps-prose__anchor { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 26px; margin-left: 4px; vertical-align: top; border-radius: 6px; color: var(--fg3); opacity: 0; transition: opacity .14s, color .14s; }
.ps-prose__h:hover .ps-prose__anchor, .ps-prose__anchor:focus-visible { opacity: 1; }
.ps-prose__anchor:hover { color: var(--fg); }

/* small print under a block */
.ps-prose .ps-prose__note { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: #646c7a; text-wrap: pretty; }

/* tables. A bare <table> scrolls as a block; ProseTable gives it a frame that scrolls */
.ps-prose table:not([class]), .ps-prose__table { border-collapse: separate; border-spacing: 0; }
.ps-prose table:not([class]) { display: block; max-width: 100%; overflow-x: auto; border: 1px solid var(--ln2); border-radius: var(--r-sm); background: #ffffff; }
.ps-prose table:not([class]) th, .ps-prose table:not([class]) td, .ps-prose__table th, .ps-prose__table td { padding: 10px 14px; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5; font-weight: 400; color: #333a45; box-shadow: inset 0 -1px 0 var(--ln); }
.ps-prose table:not([class]) thead th, .ps-prose__table thead th { padding: 10px 14px; font-size: 12px; font-weight: 600; color: #4b5563; background: var(--val-bg); box-shadow: inset 0 -1px 0 var(--ln2); white-space: nowrap; }
.ps-on-steel .ps-prose table:not([class]) thead th, .ps-on-steel .ps-prose__table thead th { background: #f7f8fa; }
.ps-prose table:not([class]) tbody tr:last-child th, .ps-prose table:not([class]) tbody tr:last-child td, .ps-prose__table tbody tr:last-child th, .ps-prose__table tbody tr:last-child td { box-shadow: none; }
.ps-prose__tw { overflow-x: auto; border: 1px solid var(--ln2); border-radius: var(--r-sm); background: #ffffff; }
.ps-page .ps-prose__tw:focus-visible { outline-offset: 2px; }
.ps-prose__table { width: 100%; margin: 0; }

/* a card of facts: the name at the left, the value on the text axis of the card */
.ps-prose__facts { padding: 4px 24px; }
.ps-prose__fact { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; align-items: center; min-height: 52px; }
.ps-prose__fact + .ps-prose__fact { box-shadow: inset 0 1px 0 var(--ln); }
.ps-prose__fact dt { font-size: 13px; line-height: 1.35; color: #646c7a; }
.ps-prose__fact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 1099.98px) {
  .ps-prose { padding-top: 0; }
  .ps-prose p:not([class]), .ps-prose ul:not([class]), .ps-prose ol:not([class]), .ps-prose table:not([class]), .ps-prose hr:not([class]), .ps-prose__block, .ps-prose__tw, .ps-prose__facts { margin-top: 14px; }
  .ps-prose h2:not([class]), .ps-prose .ps-prose__h { margin-top: 32px; font-size: 19px; }
  .ps-prose h3:not([class]), .ps-prose .ps-prose__h--3 { margin-top: 22px; font-size: 15px; }
  .ps-prose h3:not([class]) + p:not([class]), .ps-prose .ps-prose__h--3 + p:not([class]) { margin-top: 8px; }
  .ps-prose li:not([class]) p:not([class]), .ps-prose li:not([class]) ul:not([class]), .ps-prose li:not([class]) ol:not([class]) { margin-top: 6px; }
  .ps-prose .ps-prose__note { margin-top: 10px; }
  .ps-prose code:not([class]) { white-space: normal; overflow-wrap: anywhere; }
  .ps-prose__anchor { opacity: 1; }
  .ps-prose__fact { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 12px 0; }
}

/* Prontaro site · 55 · «такой страницы нет» in the shell of the site (ps-nf): the night page, the code, the title, a search of the docs, a few links. */

.ps-nf { position: relative; box-sizing: border-box; min-height: calc(720px - var(--header-h)); }
.ps-nf__in { display: flex; flex-direction: column; align-items: flex-start; max-width: 760px; padding: 96px 0 40px; }
.ps-nf__code { font-family: var(--font-mono); font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--fg3); }
.ps-page .ps-nf__h { margin-top: 12px; text-wrap: balance; overflow-wrap: break-word; }
.ps-page .ps-nf__lead { margin-top: 16px; font-size: 20px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }

/* the field: a plain form that goes to the documentation search */
.ps-nf__form { position: relative; align-self: stretch; margin: 36px 0 0; }
.ps-nf__field { display: flex; align-items: center; gap: 14px; box-sizing: border-box; height: 64px; padding: 0 64px 0 20px; border-radius: var(--r-md); background: #111318; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.12); color: var(--fg3); cursor: text; transition: box-shadow .14s; }
.ps-nf__field:focus-within { box-shadow: inset 0 0 0 2px var(--fg); }
.ps-nf__ico { color: var(--fg3); }
.ps-nf__input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; -webkit-appearance: none; appearance: none; font-family: inherit; font-size: 20px; line-height: 1.3; color: var(--fg); }
.ps-page .ps-nf__input:focus-visible { outline: none; }
.ps-nf__input::placeholder { color: var(--fg2); opacity: 1; }
.ps-nf__input::-webkit-search-cancel-button, .ps-nf__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.ps-nf__go { position: absolute; right: 12px; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: var(--r-sm); background: var(--val-bg); box-shadow: inset 0 0 0 1px var(--ln2); color: var(--fg2); cursor: pointer; transition: color .14s, box-shadow .14s; }
.ps-nf__go:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg3); }

/* the ways out */
.ps-nf__links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; font-size: 17px; line-height: 1.5; }
.ps-nf__link { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--fg); font-weight: 500; text-decoration: none; }
.ps-nf__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

@media (max-width: 1099.98px) {
  .ps-nf { min-height: 0; padding-bottom: 56px; }
  .ps-nf__in { max-width: none; padding: 32px 0 8px; }
  .ps-page .ps-nf__lead { font-size: 17px; }
  .ps-nf__field { height: 56px; padding: 0 56px 0 16px; gap: 12px; }
  .ps-nf__input { font-size: 17px; }
  .ps-nf__go { right: 8px; }
  .ps-nf__links { flex-direction: column; flex-wrap: nowrap; gap: 0; align-self: stretch; margin-top: 24px; }
  .ps-nf__link { justify-content: space-between; min-height: 52px; box-shadow: inset 0 -1px 0 var(--ln); }
}

/* Prontaro site · 56 · the picture for links (ps-og), exactly 1200 × 630. The night ground with the horizon, all in CSS.
   Safe field: 80 px from the sides, 72 from the top, 64 from the bottom. It carries its own font and inks: it may be shot outside a page. */

.ps-og { position: relative; box-sizing: border-box; flex: none; width: 1200px; height: 630px; overflow: hidden; background: var(--night); color: #F2F3F5;
  font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 400; }

/* the horizon: a glow, the lit rim of the planet under a soft mask, a thin edge, the dark globe, the fixed point */
.ps-og__halo { position: absolute; left: 60px; top: 330px; width: 1200px; height: 400px; background: radial-gradient(closest-side, rgba(212,20,58,.40), rgba(120,12,40,.16) 46%, rgba(120,12,40,0)); }
.ps-og__mask { position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  -webkit-mask-image: radial-gradient(ellipse 760px 520px at 66% 540px, #000 0%, rgba(0,0,0,.6) 40%, transparent 100%); mask-image: radial-gradient(ellipse 760px 520px at 66% 540px, #000 0%, rgba(0,0,0,.6) 40%, transparent 100%); }
.ps-og__arc { position: absolute; left: 50%; top: 520px; width: 5200px; height: 5200px; margin-left: -2600px; border-radius: 50%; }
.ps-og__rim { box-shadow: 0 -1px 3px var(--hot), 0 -8px 22px rgba(255,150,130,.95), 0 -28px 70px rgba(212,20,58,.72), 0 -90px 190px rgba(120,12,40,.48); }
.ps-og__edge { box-shadow: 0 -1px 0 rgba(255,120,110,.24); }
.ps-og__globe { background: radial-gradient(closest-side, #050608 0%, #050608 97%, #0B0C10 100%); }
.ps-og__dot { position: absolute; left: 792px; top: 515px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255,255,255,.16), 0 0 20px 3px rgba(255,77,104,.85); }

.ps-og__in { position: absolute; left: 80px; right: 80px; top: 72px; bottom: 64px; display: flex; flex-direction: column; }
.ps-og__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 32px; }
.ps-og__lockup { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 28px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: #F2F3F5; }
.ps-og__sec { min-width: 0; font-size: 24px; line-height: 1.3; color: #A4A9B4; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* home: the two rows of the heading, the first words of each bright */
.ps-og__h1 { margin-top: 56px; display: flex; flex-direction: column; gap: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--h1-dim); }
.ps-og__row { font-size: 50px; line-height: 1.1; overflow-wrap: break-word; }
.ps-og__key { color: var(--white); }

/* page: the title. 64 px takes two lines; a longer title steps down to 52 and to 44 and is cut after the last line that fits */
.ps-og__title { margin-top: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 960px; font-weight: 600; letter-spacing: -0.03em; color: var(--white); }
.ps-og__t { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; overflow-wrap: break-word; padding-bottom: .08em; }
/* Japanese breaks between phrases, not inside a word (where the browser can) */
.ps-og__t:lang(ja) { word-break: auto-phrase; }
.ps-og__title--l { font-size: 64px; line-height: 1.08; }
.ps-og__title--m { font-size: 52px; line-height: 1.1; }
.ps-og__title--s { font-size: 44px; line-height: 1.12; }
.ps-og__title--l .ps-og__t { -webkit-line-clamp: 3; line-clamp: 3; }
.ps-og__title--m .ps-og__t { -webkit-line-clamp: 4; line-clamp: 4; }
.ps-og__title--s .ps-og__t { -webkit-line-clamp: 5; line-clamp: 5; }
.ps-og__title--logo.ps-og__title--l .ps-og__t { -webkit-line-clamp: 2; line-clamp: 2; }
.ps-og__title--logo.ps-og__title--m .ps-og__t { -webkit-line-clamp: 3; line-clamp: 3; }
.ps-og__title--logo.ps-og__title--s .ps-og__t { -webkit-line-clamp: 4; line-clamp: 4; }
.ps-og__logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 84px; height: 84px; border-radius: 20px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--white); }
.ps-og__url { margin-top: auto; font-family: var(--font-mono); font-size: 22px; line-height: 1.3; color: #A4A9B4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
