/* The landing page and the server-rendered pages. Style "service on blueprint": docs/design.md and the mockups. */
@font-face { font-family: Onest; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Onest; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Onest; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/onest-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/onest-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+2212; }
:root {
  --bg: #F4F6F8;
  --card: #FFFFFF;
  --text: #121821;
  --text-2: #2B3644;
  --text-3: #3A4552;
  --muted: #5B6675;
  --line: #DCE3EA;
  --chip: #E6EDF5;
  --soft: #EEF2F6;
  --blue: #0E3A68;
  --link: #1B5596;
  --yellow: #FFC53D;
  --on-yellow: #10243D;
  --bp-text: #EAF2FB;
  --bp-muted: #A9C3E0;
  --bp-soft: #C9DBEE;
  --error: #A12A1C;
  --font: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--link); }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.lbl { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lbl.accent { color: var(--link); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* The blueprint: the one place with the grid. */
.bp {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 12px 12px, 12px 12px, 60px 60px, 60px 60px;
  color: var(--bp-text);
}
.bp a { color: var(--yellow); }
.bp .lbl { color: var(--bp-muted); }

/* ---------- header ---------- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.mark { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; font: 800 19px/1 var(--font); letter-spacing: -.03em; flex: none; }
.mark i, .word i { font-style: normal; }
.mark i { color: var(--yellow); }
.word { font: 800 18px/1 var(--font); letter-spacing: -.03em; white-space: nowrap; }
.word i { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { display: none; color: var(--text-3); text-decoration: none; }
.login { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 0; }
.balance { font-size: 14px; font-weight: 600; color: var(--blue); background: var(--chip); border-radius: 999px; padding: 9px 12px; text-decoration: none; white-space: nowrap; }
.balance:hover { color: var(--blue); background: #DAE5F0; }
.balance .mail { display: none; }
body:not([data-view="landing"]) .nav-link { display: none !important; }

/* ---------- buttons and fields ---------- */
.btn { -webkit-appearance: none; appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; background: var(--blue); color: #fff; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: #0A2C50; color: #fff; }
.btn.amber { background: var(--yellow); color: var(--on-yellow); }
.btn.amber:hover { background: #FFD266; color: var(--on-yellow); }
.btn.ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.ghost:hover { background: #F2F6FA; color: var(--blue); }
.btn.big { width: 100%; }
.btn:disabled { background: #C5CFDA; color: #fff; cursor: not-allowed; }
.btn .sub { font-size: 13px; font-weight: 400; color: var(--bp-soft); }
.link { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 8px 0; font: inherit; font-size: 15px; color: var(--link); text-decoration: underline; cursor: pointer; }
.link.center { display: block; width: 100%; text-align: center; }
.back { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; color: var(--link); cursor: pointer; align-self: flex-start; text-align: left; }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.field-label { font-size: 15px; font-weight: 600; margin-bottom: -8px; }
#report-file { margin-top: 8px; }
input[type=email], input[type=text], input[type=password], textarea {
  width: 100%; min-height: 52px; padding: 0 14px; font: 400 17px/1.3 var(--font); color: var(--text);
  background: #fff; border: 1.5px solid #C5CFDA; border-radius: 12px;
}
input[type=email]:focus, input[type=text]:focus, input[type=password]:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(14,58,104,.15); }
input[aria-invalid=true] { border-color: var(--error); }
textarea { min-height: 96px; padding: 12px 14px; font-size: 16px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.error { color: var(--error); font-size: 14px; }
.note { font-size: 14px; color: var(--link); }
.inline { display: flex; flex-wrap: wrap; gap: 10px; }
.inline input { flex: 1 1 220px; }
.inline .btn { flex: 1 1 auto; }

/* ---------- cards, plates ---------- */
.card { background: var(--card); border-radius: 18px; padding: 18px; }
.card.outlined { box-shadow: inset 0 0 0 1.5px var(--blue); }
.card-line { display: flex; gap: 14px; align-items: center; }
.card-line > div { display: grid; gap: 4px; min-width: 0; flex: 1; }
.summary-name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-tag { width: 44px; height: 56px; border-radius: 6px; background: var(--chip); color: var(--blue); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font: 700 11px/1 var(--font); flex: none; }
.plate { background: var(--blue); border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--bp-text); }
.plate > div:first-child { display: grid; gap: 7px; font-size: 14px; }
.plate .lbl { color: var(--bp-muted); }
.plate-n { display: flex; align-items: baseline; gap: 6px; font-size: 15px; }
.plate-n b, .plate-big { font: 800 38px/1 var(--font); color: var(--yellow); letter-spacing: -.03em; }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.small-p { font-size: 14px; line-height: 1.45; color: var(--text-3); }

/* ---------- landing ---------- */
.desk { display: none !important; }
.hero { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero-text { display: flex; flex-direction: column; gap: 12px; }
.hero h1 { font-size: 38px; line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: 16px; line-height: 1.5; color: var(--text-3); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.facts li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B5596' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / contain; }
.mob-facts { margin-top: 22px; }
.board { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.drop { position: relative; display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-hint { border: 1.5px dashed rgba(234,242,251,.6); border-radius: 12px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 1.4; }
.drop.drag .drop-hint, .board.drag .drop-hint { border-color: var(--yellow); background: rgba(255,197,61,.08); }
.drop:focus-within .btn { outline: 3px solid #fff; outline-offset: 2px; }
.board-foot, .board-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 12px/1 var(--mono); color: var(--bp-muted); }
.sample-sheet { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.stats-wrap { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font: 800 26px/1 var(--font); letter-spacing: -.03em; color: var(--blue); }
.stat span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.sec { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.h2 { font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.sec-head { display: flex; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; font-size: 15px; line-height: 1.45; }
.steps b { grid-row: 1 / 3; font: 800 22px/1 var(--font); color: var(--link); }
.steps span { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.who { display: flex; flex-direction: column; gap: 10px; }
.who b { font-size: 19px; line-height: 1.25; }
.who > span:last-child { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.price { display: flex; flex-direction: column; gap: 6px; position: relative; }
.price span { font-size: 16px; color: var(--text-3); }
.price b { font: 800 36px/1.1 var(--font); letter-spacing: -.03em; }
.price small { font: 400 13px/1 var(--mono); color: var(--muted); }
.price.best { background: var(--blue); color: #fff; }
.price.best span { color: var(--bp-soft); }
.price.best b { color: var(--yellow); }
.price.best small { color: var(--bp-muted); }
.price em { position: absolute; top: 16px; right: 16px; background: var(--yellow); color: var(--on-yellow); font: 700 12px/1 var(--font); font-style: normal; padding: 6px 10px; border-radius: 999px; }
.faq { display: grid; gap: 22px; }
.q h3 { font-size: 17px; line-height: 1.35; font-weight: 700; margin-bottom: 6px; }
.q p { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.cta-wrap { margin-top: 40px; }
.cta { background: var(--blue); border-radius: 22px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #fff; }
.cta span { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.cta .btn { flex: 1 1 auto; }

/* ---------- app views ---------- */
.view.wrap { padding-top: 4px; padding-bottom: 8px; }
.split { display: flex; flex-direction: column; gap: 18px; }
.split-main, .split-side, .split-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split-text { gap: 14px; }
.loading { align-items: center; justify-content: center; min-height: 420px; gap: 14px; }
.loading p { color: var(--bp-text); }
.loading progress { width: 70%; max-width: 260px; accent-color: var(--yellow); }
.skeleton { width: 60%; max-width: 220px; border-radius: 4px; background: linear-gradient(100deg, rgba(255,255,255,.75) 40%, #fff 50%, rgba(255,255,255,.75) 60%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton::before { content: ""; display: block; padding-top: 141.43%; } /* A4: 297 / 210 */
@keyframes shimmer { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.file-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.file-head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.file-name { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; word-break: break-word; overflow-wrap: anywhere; }
.file-name.long { font-size: 18px; line-height: 1.25; }
.file-head > .link { flex: 0 0 auto; white-space: nowrap; }
#file-meta { font-size: 13px; }
.preview { align-items: center; padding: 14px; }
.sheet { margin: 0; background: #fff; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.25); line-height: 0; max-width: 100%; }
.sheet img { display: block; max-width: 100%; max-width: min(100%, 380px); height: auto; max-height: 42vh; max-height: min(42vh, 420px); border-radius: 4px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; max-width: 100%; padding: 2px; align-self: flex-start; }
.thumbs button { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font: 400 11px/1 var(--mono); color: var(--bp-muted); flex: none; }
.thumbs img { height: 55px; width: auto; background: #fff; border-radius: 3px; opacity: .75; }
.thumbs button[aria-selected=true] { color: var(--bp-text); }
.thumbs button[aria-selected=true] img { opacity: 1; box-shadow: 0 0 0 2px var(--yellow); }
/* The ESKD check's findings under the preview (/proverka-chertezha). */
.eskd { display: grid; gap: 12px; }
.eskd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.eskd-head [role=heading] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.eskd-sum { font-weight: 600; color: var(--muted); }
.eskd-sum.ok { color: var(--link); }
.eskd-sum.warn { color: var(--blue); }
.eskd-sum.bad { color: var(--error); }
.eskd-lock { background: var(--chip); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.4; color: var(--blue); }
.eskd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eskd-list:empty { display: none; }
.eskd-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.eskd-tag { flex: none; min-width: 84px; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 5px 7px; margin-top: 1px; }
.eskd-tag.error { background: #F8E3E0; color: var(--error); }
.eskd-tag.warn { background: var(--chip); color: var(--blue); }
.ok-line { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-2); }
.ok-line svg { flex: none; }

/* Packs and payment: two steps on a phone, one column on desktop. */
#buy-form { gap: 0; padding: 0; background: none; }
.step-pack, .step-pay { display: flex; flex-direction: column; gap: 16px; }
body[data-view="preview"] .step-pay { display: none; }
body[data-view="pay"] .step-pack { display: none; }
body[data-view="pay"] .split-main { display: none; }
body[data-view="pay"] #already { display: none; }
/* A pack for the balance, without a file: there was no preview to choose it on. */
body.no-file[data-view="pay"] .step-pack { display: flex; margin-bottom: 24px; }
.side-head { display: grid; gap: 6px; }
.side-head [role=heading] { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
/* Flex and grid go on a div inside a fieldset: on the fieldset itself they are Chrome 86+. */
.packs { border: 0; margin: 0; padding: 10px 0 0; min-width: 0; }
.packs-row { display: flex; gap: 8px; }
.pack { position: relative; flex: 1 1 0; min-width: 0; border-radius: 16px; padding: 22px 6px 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; cursor: pointer; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack b { font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.pack span { font-size: 13px; color: var(--muted); }
.pack strong { font-size: 18px; font-weight: 800; margin-top: 10px; }
.pack small { font: 400 11px/1.3 var(--mono); color: var(--muted); }
/* .on and .focus come from app.js: :has() is Chrome 105+. */
.pack.on { background: var(--blue); color: #fff; box-shadow: none; }
.pack.on span { color: var(--bp-soft); }
.pack.on strong { color: var(--yellow); }
.pack.on small { color: var(--bp-muted); }
.pack.focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* Format of the file (sites that sell DWG): above the packs, the same in every view of the aside. */
.formats { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.formats legend { padding: 0; margin-bottom: 8px; }
.formats-row { display: flex; gap: 8px; }
.fmt { position: relative; flex: 1 1 0; min-width: 0; border-radius: 14px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; cursor: pointer; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.fmt input { position: absolute; opacity: 0; pointer-events: none; }
.fmt b { font-size: 18px; line-height: 1.1; font-weight: 800; }
.fmt span { font-size: 12px; color: var(--muted); }
.fmt.on { background: var(--blue); color: #fff; box-shadow: none; }
.fmt.on span { color: var(--bp-soft); }
.fmt.focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
body[data-view="pay"] .formats { display: none; }
.badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--on-yellow); font: 700 11px/1 var(--font); font-style: normal; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.hint-box { background: var(--chip); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.4; color: var(--blue); }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-3); }
/* A pseudo-element is spaced by its margin, not gap: compat.js cannot reach it. */
.trust li { display: flex; align-items: center; }
.trust li::before { content: ""; width: 6px; height: 6px; margin-right: 10px; border-radius: 2px; background: var(--link); flex: none; }
.pay-title { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.summary { background: var(--card); border-radius: 18px; padding: 14px 16px; }
.summary img { width: 56px; height: 40px; object-fit: contain; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.summary b { font-size: 18px; font-weight: 800; }
.widget-box { border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
#yk-widget:empty { display: none; }
/* With the widget open the form folds into one line, so the card fields are near the top. */
#buy-form.paying .step-pack, #buy-form.paying .step-pay > .field, #buy-form.paying .check, #buy-form.paying #offer-note, #buy-form.paying .step-pay > p.mob { display: none; }
.paying-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.paying-line > span { display: grid; gap: 2px; min-width: 0; }
.paying-line b { font-weight: 700; }
.paying-line .link { flex: none; padding: 4px 0; }
#paying-mail { overflow-wrap: anywhere; }
.lock { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-3); }
.lock svg { flex: none; }
.notes { display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-3); }

/* Waiting for the bank */
.order-steps { padding: 22px 20px; gap: 18px; }
.order-head { display: grid; gap: 6px; }
.order-head .lbl { color: var(--bp-muted); }
.order-head b { font-size: 18px; word-break: break-word; overflow-wrap: anywhere; }
.order-head span:last-child { font-size: 15px; color: var(--bp-soft); }
.osteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.osteps li { display: flex; align-items: center; font-size: 16px; color: var(--bp-muted); }
.osteps li::before { content: ""; width: 24px; height: 24px; margin-right: 12px; border-radius: 50%; box-sizing: border-box; border: 2px solid rgba(234,242,251,.35); flex: none; }
.osteps li.done { color: var(--bp-text); }
.osteps li.done::before { border: 0; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310243D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 14px; }
.osteps li.now { color: #fff; font-weight: 600; }
.osteps li.now::before { border: 3px solid var(--yellow); }
.osteps li.bad::before { border: 2px solid #FF8A7A; }
.h-big { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.h-big.bad { color: var(--error); }
.h-mid { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
[data-wait] { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* Done */
.done-head { display: flex; align-items: center; gap: 12px; }
.done-head [role=heading] { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.done-tick { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; flex: none; }
.feedback { display: flex; flex-direction: column; gap: 14px; }
.fb-q { display: block; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.yn { display: flex; gap: 10px; }
.yn button { -webkit-appearance: none; appearance: none; border: 0; flex: 1 1 0; min-height: 48px; border-radius: 12px; background: var(--soft); font: 600 16px/1 var(--font); color: var(--blue); cursor: pointer; }
.yn button:hover { background: #E3E9F0; }

/* Report */
.reasons { border: 0; margin: 0; min-width: 0; }
.reasons-list { display: flex; flex-direction: column; gap: 2px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; cursor: pointer; }
.opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: none; }
.board-note { font-size: 15px; line-height: 1.5; color: var(--bp-soft); }

/* Problems */
.problem-board { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
.ext-tag { min-width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(234,242,251,.5); display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--mono); color: var(--yellow); padding: 0 8px; flex: none; }
.problem-file { display: grid; gap: 4px; min-width: 0; }
.problem-file span:first-child { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.problem-file .mono { font-size: 12px; color: var(--bp-muted); }
.send-title { font-size: 16px; font-weight: 600; }
@media (max-width: 959px) {
  .problem-board { background: var(--card); color: var(--text); }
  .problem-board .ext-tag { background: var(--chip); box-shadow: none; color: var(--blue); }
  .problem-board .problem-file .mono { color: var(--muted); }
}

/* ---------- footer, cookies ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 18px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.foot a { color: var(--link); }
.foot-links { display: flex; flex-direction: column; gap: 2px; }
.foot-links a, .foot-links .link { padding: 4px 0; font-size: 13px; text-align: left; }
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; background: var(--card); border-radius: 16px; box-shadow: 0 8px 32px rgba(18,24,33,.18); padding: 16px; z-index: 10; font-size: 14px; }
.cookies p { margin-bottom: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies .btn { min-height: 44px; flex: 1 1 auto; }

/* ---------- server pages: login, account, order ---------- */
.page { display: flex; flex-direction: column; gap: 18px; padding-top: 16px; }
.page h1 { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.mail-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.login-board { display: none; }
.history { list-style: none; margin: 0; }
.history li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.history li:first-child { border-top: 0; padding-top: 0; }
.history li:last-child { padding-bottom: 0; }
.history .file { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history .st { font-size: 14px; font-weight: 600; color: var(--link); text-align: right; }
.history .st.bad { color: #8A4B2A; }
.history .st.plus { color: var(--text); }
.history .meta { grid-column: 1 / -1; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.history-table { display: none; }
.logout { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.logout .link { color: var(--muted); padding: 12px 32px; }

.account-head { display: flex; flex-direction: column; gap: 6px; }
.account-head .muted { font-size: 15px; }
.account .split { gap: 18px; }
.account-plate .plate-n b { font-size: 38px; }
.plate-note { font-size: 15px; color: var(--bp-soft); }
.h2-small { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.empty { display: grid; gap: 8px; padding: 22px 18px; }
.empty b { font-size: 16px; }
.history-table .strong { font-weight: 600; }
.history-table .num { text-align: right; padding-right: 0; }
.history-table .st { color: var(--link); font-weight: 600; }
.history-table .st.bad { color: #8A4B2A; }

/* ---------- error pages: the code on the blueprint, its own words for each code ---------- */
.err { gap: 18px; padding-top: 8px; }
.err h1 { font-size: 32px; }
.err-board { position: relative; overflow: hidden; border-radius: 20px; padding: 56px 24px 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stamp { position: absolute; top: 18px; right: 14px; transform: rotate(-9deg); border: 3px solid var(--yellow); border-radius: 8px; padding: 6px 10px; font: 400 14px/1 var(--mono); letter-spacing: .06em; color: var(--yellow); text-transform: uppercase; white-space: nowrap; }
.err-code { position: relative; display: flex; justify-content: center; }
.digits { font: 800 128px/.9 var(--font); letter-spacing: -.05em; color: #fff; }
.digits.outline, .digits.faded, .digits.hatch { color: transparent; -webkit-text-stroke: 2.5px #fff; }
.digits.faded { -webkit-text-stroke-color: rgba(255,255,255,.35); }
.digits.hatch { background: repeating-linear-gradient(45deg, #fff 0, #fff 2px, transparent 2px, transparent 9px); -webkit-background-clip: text; background-clip: text; }
.err-code svg { position: absolute; left: -12px; top: 38%; width: calc(100% + 24px); height: 46px; }
.dim { display: flex; align-items: center; gap: 6px; width: 100%; font: 400 12px/1.3 var(--mono); color: var(--yellow); text-align: center; }
.dim i { position: relative; flex: 1 1 auto; border-top: 1.5px solid var(--yellow); }
.dim i::before { content: ""; position: absolute; top: -5.25px; border: 4.5px solid transparent; }
.dim i:first-child::before { left: 0; border-left: 0; border-right: 8px solid var(--yellow); }
.dim i:last-child::before { right: 0; border-right: 0; border-left: 8px solid var(--yellow); }
.err-text { display: flex; flex-direction: column; gap: 18px; }
.err-text .lbl { font-size: 12px; padding-top: 6px; }
.err-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.err-text .small-p { text-align: center; color: var(--muted); }
.history-table .st.plus { color: var(--text); }
.history-table-wrap { overflow-x: auto; }
.order-page .board { min-height: 0; }
.order-page .split-text > [data-state] { display: flex; flex-direction: column; align-items: flex-start; gap: inherit; }

/* ---------- legal documents ---------- */
.doc-top { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.doc-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font: 500 14px/1 var(--font); text-decoration: none; white-space: nowrap; flex: none; background: #fff; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); }
.doc-tabs a[aria-current] { background: var(--blue); color: #fff; box-shadow: none; }
.doc-top h1 { margin-top: 6px; font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.doc-layout { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.toc { display: none; }
.doc { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dsec-intro { font-size: 15px; line-height: 1.6; color: var(--text-3); margin: 0 2px 6px; }
.doc-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px; }
.doc-bar .link { font-size: 14px; text-decoration: none; padding: 10px 0; }
.dsec { background: #fff; border-radius: 16px; scroll-margin-top: 16px; }
.dsec > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; cursor: pointer; }
.dsec > summary::-webkit-details-marker { display: none; }
.dsec > summary b { font: 500 13px/1 var(--mono); color: var(--link); flex: none; }
.dsec > summary h2 { flex: 1 1 auto; font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; padding: 14px 0; }
.chev { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.dsec[open] .chev { transform: rotate(180deg); }
.dsec-body { padding: 0 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.dsec-body p, .dsec-body li { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.dsec-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dsec-body li { position: relative; padding-left: 18px; }
.dsec-body li::before { content: ""; position: absolute; left: 1px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--link); }
.dsec-body li strong { color: var(--text); font-weight: 600; }
.basis { display: inline-block; margin-top: 6px; font: 500 11px/1.4 var(--mono); color: var(--blue); background: var(--chip); border-radius: 6px; padding: 4px 8px; }
.rec { width: 100%; border-collapse: collapse; font-size: 15px; }
.rec th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 12px 10px 0; border-bottom: 1px solid #E6EBF1; }
.rec td { padding: 12px 12px 12px 0; border-bottom: 1px solid #E6EBF1; vertical-align: top; line-height: 1.5; color: var(--text-2); }
.rec tr:last-child td { border-bottom: 0; }
.rec td:first-child { font-weight: 600; color: var(--text); }
.rec td:first-child span { display: block; font-weight: 400; color: var(--muted); }
.term { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.term div { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.term b { font: 800 19px/1.1 var(--font); letter-spacing: -.02em; }
.term span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.req { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 20px; margin-top: 8px; }
.req div { display: flex; flex-direction: column; gap: 5px; }
.req .v { font-size: 15px; font-weight: 600; color: var(--text); }
.req .m { font: 400 14px/1.3 var(--mono); }

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  .mob { display: none !important; }
  /* revert is Chrome 84+: older browsers keep the displays before it */
  .desk { display: block !important; display: revert !important; }
  span.desk, a.desk { display: inline !important; display: revert !important; }
  button.desk { display: inline-block !important; display: revert !important; }
  .board.desk { display: flex !important; }
  .btn.desk { display: inline-flex !important; }
  .wrap { padding-left: 48px; padding-right: 48px; }
  .top { padding-top: 20px; padding-bottom: 20px; }
  .mark { width: 36px; height: 36px; border-radius: 9px; font-size: 23px; }
  .brand { gap: 10px; }
  .word { font-size: 22px; }
  .nav-link { display: inline; font-size: 16px; }
  .login { font-size: 16px; }
  .balance { font-size: 15px; padding: 10px 14px; }
  .balance .mail { display: inline; }
  .btn { min-height: 56px; font-size: 17px; padding: 0 28px; }

  .hero { flex-direction: row; align-items: center; gap: 48px; padding-top: 24px; }
  .hero-text { flex: 1 1 400px; gap: 24px; }
  .hero h1 { font-size: 64px; font-size: clamp(42px, 5.2vw, 72px); line-height: .96; letter-spacing: -.045em; }
  .lead { font-size: 20px; max-width: 28em; }
  .facts li { font-size: 17px; grid-template-columns: 20px 1fr; }
  .mob-facts, .how { display: none; }
  .hero .board { flex: 1.15 1 480px; border-radius: 28px; padding: 28px; gap: 18px; }
  .hero .drop { flex: 1; justify-content: center; align-items: center; }
  .hero .drop-hint { border: 0; padding: 0; gap: 14px; font-size: 18px; line-height: 1.45; min-height: 0; }
  .hero .drop { border: 2px dashed rgba(234,242,251,.55); border-radius: 18px; padding: 56px 24px; gap: 22px; min-height: 380px; }
  .hero .drop.drag, .hero .board.drag .drop { border-color: var(--yellow); background: rgba(255,197,61,.08); }
  .hero .drop .btn { flex: none; white-space: nowrap; min-width: 220px; }
  .board-foot { font-size: 13px; }
  .stats-wrap { margin-top: 56px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px 32px; }
  .stat b { font-size: 34px; }
  .stat span { font-size: 15px; }
  .sec { gap: 28px; margin-top: 80px; }
  .h2 { font-size: 36px; line-height: 1.05; letter-spacing: -.035em; }
  .grid3 { gap: 20px; }
  .card { border-radius: 20px; padding: 24px; }
  .who b { font-size: 21px; }
  .who > span:last-child { font-size: 16px; }
  .price b { font-size: 44px; }
  .price em { top: 20px; right: 20px; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
  .q h3 { font-size: 18px; margin-bottom: 8px; }
  .q p { font-size: 16px; }
  .cta-wrap { margin-top: 80px; }
  .cta { border-radius: 28px; padding: 40px; }
  .cta span { font-size: 30px; }
  .cta .btn { flex: 0 0 auto; }

  .view.wrap { padding-top: 8px; }
  .split { flex-direction: row; align-items: flex-start; gap: 32px; }
  .split-main { flex: 999 1 560px; }
  .split-side { flex: 1 1 380px; }
  .split-text { flex: 1 1 460px; justify-content: center; gap: 20px; padding: 24px 8px; align-self: stretch; }
  .split > .board { flex: 1 1 440px; border-radius: 28px; padding: 32px; align-self: stretch; }
  .file-name { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
  .file-name.long { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
  #file-meta { font-size: 14px; }
  .preview { border-radius: 24px; padding: 28px; }
  .sheet img { max-width: min(100%, 560px); max-height: 56vh; max-height: min(56vh, 520px); }
  .thumbs { align-self: center; }
  .thumbs img { height: 78px; }
  #buy-form { padding: 24px; background: var(--card); }
  body[data-view="preview"] .step-pay { display: flex; margin-top: 16px; }
  .side-head [role=heading] { font-size: 26px; }
  .pack b { font-size: 30px; }
  .order-steps { padding: 40px; gap: 26px; }
  .order-head b { font-size: 22px; }
  .osteps li { font-size: 19px; }
  .osteps li::before { width: 30px; height: 30px; margin-right: 16px; }
  .h-big { font-size: 44px; line-height: 1.02; letter-spacing: -.04em; }
  .p { font-size: 18px; max-width: 30em; }
  .done-board { flex: 999 1 520px !important; justify-content: center; align-items: center; }
  .done-head [role=heading] { font-size: 40px; letter-spacing: -.04em; }
  .done-tick { width: 52px; height: 52px; }
  .report-board { gap: 16px; }
  .h-mid { font-size: 40px; line-height: 1.02; letter-spacing: -.04em; }
  .reasons-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
  .problem-board { flex-direction: column; justify-content: center; min-height: 520px; padding: 48px 40px; gap: 22px; text-align: center; }
  .ext-tag { min-width: 96px; height: 120px; border-radius: 14px; font-size: 22px; }
  .problem-file { justify-items: center; max-width: 100%; }
  .problem-file span:first-child { font-size: 20px; font-weight: 700; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
  .problem-file .mono { font-size: 14px; }
  .split-text .btn.big { width: auto; align-self: flex-start; }

  .foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; margin-top: 72px; padding-top: 24px; }
  .foot-links { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; order: 2; }
  .foot p { order: 1; }
  .foot p.muted { order: 3; flex-basis: 100%; }

  .doc-top { gap: 22px; padding-top: 24px; }
  .doc-tabs { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
  .doc-tabs a { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .doc-top h1 { margin-top: 8px; font-size: 52px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; }
  .doc-meta { font-size: 14px; gap: 10px 24px; }
  .doc-layout { flex-direction: row; align-items: flex-start; gap: 40px; margin-top: 36px; }
  .toc { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; max-width: 280px; position: sticky; top: 24px; }
  .toc .lbl { padding: 0 12px 10px; }
  .toc a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 15px; line-height: 1.35; color: var(--text-3); text-decoration: none; }
  .toc a b { font: 500 12px/1.6 var(--mono); color: var(--muted); }
  .toc a:hover, .toc a[aria-current] { background: var(--chip); color: var(--blue); }
  .toc a[aria-current] { font-weight: 600; }
  .doc { flex: 999 1 600px; background: #fff; border-radius: 24px; padding: 48px 56px; gap: 0; }
  .doc > * { max-width: 42em; }
          .doc-bar { display: none; }
  .dsec-intro { font-size: 17px; line-height: 1.65; margin: 0 0 32px; }
  .dsec { border-radius: 0; border-top: 1px solid #E6EBF1; padding: 32px 0; scroll-margin-top: 24px; }
  .doc .dsec:first-of-type { border-top: 0; padding-top: 0; }
  .dsec > summary { padding: 0; min-height: 0; gap: 14px; align-items: baseline; cursor: default; pointer-events: none; }
  .dsec > summary b { font-size: 14px; }
  .dsec > summary h2 { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; padding: 0; }
  .chev { display: none; }
  .dsec-body { padding: 14px 0 0; }
  .dsec-body p, .dsec-body li { font-size: 17px; line-height: 1.65; }
  .dsec-body ul { gap: 16px; }
  .dsec-body li { padding-left: 22px; }
  .dsec-body li::before { left: 2px; top: .72em; width: 8px; height: 8px; }
  .basis { font-size: 12px; }
  .rec { font-size: 16px; }
  .term b { font-size: 22px; }
  .req { margin-top: 16px; border-radius: 18px; padding: 24px 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 28px; }
  .req .v { font-size: 16px; }
  .page { padding-top: 24px; }
  .page h1 { font-size: 44px; line-height: 1; letter-spacing: -.04em; }
  .login-board { display: flex; flex: 1 1 400px; border-radius: 28px; padding: 48px 40px; flex-direction: column; justify-content: center; gap: 22px; min-height: 480px; }
  .login-board .tile { width: 88px; height: 88px; border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(234,242,251,.4); display: flex; align-items: center; justify-content: center; }
  .login-board b { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; max-width: 14em; }
  .login-board span { font-size: 16px; line-height: 1.5; color: var(--bp-soft); max-width: 26em; }
  .history-list { display: none; }
  .history-table { display: table; width: 100%; border-collapse: collapse; }
  .history-table th, .history-table td { text-align: left; padding: 12px 16px 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
  .history-table th { border-top: 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
  .history-table .mono { font-size: 13px; }
  .account-head { flex-direction: row; align-items: baseline; gap: 18px; }
  .account-head h1 { font-size: 44px; }
  .account-head .muted { font-size: 17px; }
  .account .split { gap: 28px; }
  .account-plate {
    flex: 1 1 320px; border-radius: 28px; padding: 32px; gap: 22px; flex-direction: column; align-items: flex-start;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 12px 12px, 12px 12px, 60px 60px, 60px 60px;
  }
  .account-plate .plate-n { gap: 10px; font-size: 20px; }
  .account-plate .plate-n b { font-size: 88px; line-height: .9; letter-spacing: -.04em; }
  .account-plate .btn { align-self: stretch; }
  .h2-small { font-size: 24px; }
  .logout { margin-top: 56px; }
  .err { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 24px; }
  .err h1 { font-size: 52px; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; }
  .err-board { flex: 1.1 1 480px; min-width: 0; min-height: 520px; justify-content: center; border-radius: 28px; padding: 120px 48px 48px; gap: 24px; }
  .stamp { top: 36px; right: 36px; border-width: 4px; border-radius: 10px; padding: 10px 16px; font-size: 20px; }
  .digits { font-size: 220px; }
  .digits.outline, .digits.faded, .digits.hatch { -webkit-text-stroke-width: 3px; }
  .digits.hatch { background-image: repeating-linear-gradient(45deg, #fff 0, #fff 3px, transparent 3px, transparent 13px); }
  .err-code svg { left: -20px; top: 36%; width: calc(100% + 40px); height: 70px; }
  .dim { gap: 8px; font-size: 15px; }
  .err-text { flex: 1 1 420px; min-width: 0; gap: 22px; padding: 16px 8px; }
  .err-text .lbl { font-size: 13px; padding-top: 0; }
  .err-text .p { font-size: 19px; max-width: 28em; }
  .err-text .hint-box { font-size: 16px; max-width: 30em; }
  .err-actions { flex-direction: row; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
  .err-actions .btn { min-height: 56px; padding: 0 28px; font-size: 17px; }
  .err-text .small-p { text-align: left; font-size: 15px; }
}
