/* declaration.kz — проверка подлинности сертификатов Q PRO
   Палитра снята с бланка сертификата. */
:root {
  --navy-950: #030f22;
  --navy-900: #061a36;
  --navy: #09264d;
  --blue: #12487d;
  --slate: #425c78;
  --slate-2: #6b819a;
  --sky: #48b4e4;
  --sky-2: #8fd3f2;
  --sky-soft: #e3f3fb;
  --paper: #f3f6fa;
  --line: #dbe4ef;
  --ok: #2bc38a;
  --bad: #ef6b5b;
  --radius: 22px;
  --font: 'Onest', system-ui, sans-serif;
  --display: 'Unbounded', 'Onest', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--sky); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Заставка «идёт проверка» ───────── */
.intro {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: var(--navy-950);
  color: var(--sky-2);
  font: 500 13px/1.9 var(--mono);
  letter-spacing: .02em;
  animation: introOut .55s var(--ease) 1.35s forwards;
}
.intro__box { width: min(320px, 82vw); }
.intro__line { display: block; opacity: 0; transform: translateY(6px); animation: lineIn .3s var(--ease) forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intro__line:nth-child(1) { animation-delay: .05s; color: #fff; }
.intro__line:nth-child(2) { animation-delay: .38s; }
.intro__line:nth-child(3) { animation-delay: .9s; color: var(--ok); }
.intro__line::before { content: '› '; color: var(--slate-2); }
.intro__bar { height: 2px; margin-top: 14px; background: rgba(72, 180, 228, .15); overflow: hidden; border-radius: 2px; }
.intro__bar i { display: block; height: 100%; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; animation: barFill 1.05s var(--ease) .1s forwards; }
.intro--bad .intro__line:nth-child(3) { color: var(--bad); }
.intro--bad .intro__bar i { background: var(--bad); }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.seen .intro { display: none; }

/* Появление после заставки */
.rise { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: calc(1.45s + var(--d, 0s)); }
html.seen .rise { animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ───────── Шапка ───────── */
.top {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(18px, 4vw, 44px);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { font: 700 15px/1 var(--display); letter-spacing: .08em; padding: 8px 10px; border: 1px solid rgba(143, 211, 242, .45); border-radius: 9px; }
.brand__mark b { color: var(--sky); font-weight: 700; }
.brand__text { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .72); max-width: 210px; }
.domain { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--mono); color: rgba(255, 255, 255, .8); padding: 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.domain svg { width: 13px; height: 13px; color: var(--ok); }
@media (max-width: 560px) { .brand__text { display: none; } }

/* ───────── Герой ───────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  background:
    radial-gradient(120% 80% at 50% 0%, #0d3466 0%, transparent 60%),
    radial-gradient(60% 50% at 85% 80%, rgba(72, 180, 228, .16), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 108px clamp(18px, 4vw, 44px) 150px;
}
.hero--full { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-bottom: 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__rosette { position: absolute; width: 1400px; height: 1400px; left: 50%; top: 50%; margin: -700px 0 0 -700px; opacity: .2; animation: spin 240s linear infinite; will-change: transform; }
.hero__rosette path { fill: none; stroke: var(--sky); stroke-width: .6; }
.hero__grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__circuit { position: absolute; width: 360px; opacity: .55; }
/* дорожки — по углам, в стороне от печати и текста; на телефоне не нужны */
.hero__circuit--l { left: -70px; bottom: 40px; }
.hero__circuit--r { right: -70px; top: 84px; transform: scale(-1, -1); }
@media (max-width: 899px) { .hero__circuit { display: none; } }
.hero__circuit path { fill: none; stroke: var(--sky); stroke-width: 1.2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards; animation-delay: 1.4s; }
.hero__circuit circle { fill: var(--sky-2); }
html.seen .hero__circuit path { animation-delay: 0s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__in { width: 100%; max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; justify-items: center; text-align: center; }
.hero__in > * { min-width: 0; max-width: 100%; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 300px minmax(0, 1fr); align-items: center; text-align: left; justify-items: start; gap: 64px; }
}

/* Печать-голограмма */
.seal { position: relative; width: clamp(200px, 58vw, 300px); aspect-ratio: 1; --hx: 0; --hy: 0; --ha: 0deg; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(72, 180, 228, .45), transparent 68%); filter: blur(18px); animation: breathe 4s ease-in-out infinite; }
.seal__rings { transform-origin: 50% 50%; transform-box: view-box; animation: spin 90s linear infinite; will-change: transform; }
.seal__rings path { fill: none; stroke: var(--sky-2); stroke-width: .45; opacity: .9; }
.seal__inner path { fill: none; stroke: #fff; stroke-width: .4; opacity: .55; }
.seal__text { font: 700 9.2px var(--font); letter-spacing: 2.6px; fill: #fff; text-transform: uppercase; }
.seal__core { fill: var(--navy); stroke: rgba(143, 211, 242, .6); stroke-width: 1; }
.seal__check { fill: none; stroke: var(--ok); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .7s var(--ease) forwards; animation-delay: 1.6s; }
.seal__cross { fill: none; stroke: var(--bad); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) forwards; animation-delay: 1.6s; }
html.seen .seal__check, html.seen .seal__cross { animation-delay: .25s; }
.seal__holo {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--ha) at calc(50% + var(--hx) * 1%) calc(50% + var(--hy) * 1%),
    #ff9bd2, #ffe29a, #9bffcf, #8fd3f2, #b79bff, #ff9bd2);
  mix-blend-mode: color-dodge; opacity: .55;
  -webkit-mask: radial-gradient(circle, transparent 37%, #000 38%, #000 49%, transparent 50%);
          mask: radial-gradient(circle, transparent 37%, #000 38%, #000 49%, transparent 50%);
  animation: holo 9s linear infinite;
}
@property --ha { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes holo { to { --ha: 360deg; } }
@keyframes breathe { 50% { opacity: .65; transform: scale(.94); } }

.chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; background: rgba(43, 195, 138, .12); color: #7ff0c2; border: 1px solid rgba(43, 195, 138, .35); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(43, 195, 138, .6); animation: pulse 2s infinite; }
.chip--bad { background: rgba(239, 107, 91, .12); color: #ffb3a8; border-color: rgba(239, 107, 91, .35); }
.chip--bad i { background: var(--bad); animation: none; }
.chip--info { background: rgba(72, 180, 228, .12); color: var(--sky-2); border-color: rgba(72, 180, 228, .35); }
.chip--info i { background: var(--sky); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 195, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 195, 138, 0); } }

.hero h1 { margin: 18px 0 14px; font-weight: 800; font-size: clamp(34px, 7.4vw, 64px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 span { color: var(--sky); }
.lead { margin: 0; max-width: 560px; font-size: clamp(16px, 2.2vw, 18.5px); color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.live { margin-top: 22px; display: inline-flex; flex-wrap: wrap; justify-content: inherit; align-items: center; gap: 4px 10px; font: 500 12.5px/1.5 var(--mono); color: rgba(255, 255, 255, .6); }
.live > span:not(.live__dot) { white-space: nowrap; }
.live b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.live__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ───────── Основная колонка ───────── */
.main { position: relative; z-index: 2; max-width: 880px; margin: -96px auto 0; padding: 0 clamp(14px, 3vw, 24px) 40px; }

/* Карточка документа */
.doc {
  position: relative; overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(9, 38, 77, .04), 0 30px 60px -30px rgba(6, 26, 54, .45), 0 0 0 1px rgba(9, 38, 77, .06);
}
.doc__wm { position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; opacity: .5; pointer-events: none; }
.doc__wm path { fill: none; stroke: #cfe3f3; stroke-width: .6; }
.doc__head { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 18px clamp(20px, 4vw, 40px); border-bottom: 1px dashed var(--line); }
.label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.code { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--mono); letter-spacing: .08em; color: var(--navy); background: var(--sky-soft); padding: 8px 8px 8px 12px; border-radius: 10px; }
.code small { font: 600 10.5px var(--font); letter-spacing: .1em; color: var(--slate); text-transform: uppercase; }
.code button { border: 0; background: #fff; color: var(--blue); border-radius: 7px; width: 28px; height: 26px; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.code button:hover { background: var(--navy); color: #fff; }
.code button svg { width: 14px; height: 14px; }

.doc__body { position: relative; padding: clamp(26px, 5vw, 48px) clamp(20px, 4vw, 40px) 8px; text-align: center; }
.doc__pre { text-wrap: balance; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.doc__name { margin: 14px 0 10px; font-weight: 800; font-size: clamp(28px, 5.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.doc__mid { color: var(--slate); }
.doc__prog { margin: 6px 0 0; font-weight: 700; font-size: clamp(21px, 3.8vw, 30px); line-height: 1.2; color: var(--blue); }
.doc__type { margin-top: 10px; font-size: 14px; color: var(--slate-2); }

.facts { position: relative; display: grid; grid-template-columns: 1fr; margin: 30px clamp(20px, 4vw, 40px) 0; border-top: 1px solid var(--line); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
.fact dd { margin: 5px 0 0; font-weight: 600; font-size: 17px; line-height: 1.35; }
.fact dd small { display: block; font-weight: 400; font-size: 14px; color: var(--slate); }
@media (min-width: 700px) {
  .facts { grid-template-columns: 1fr 1.5fr 1fr; }
  .fact { padding: 20px 22px 22px 0; border-bottom: 0; }
  .fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
}
.micro {
  margin-top: 26px; padding: 7px 0; overflow: hidden; white-space: nowrap;
  font: 600 6.5px/1 var(--mono); letter-spacing: .22em; color: #9db6cd;
  background: linear-gradient(90deg, var(--sky-soft), #f5fafd, var(--sky-soft));
  border-top: 1px solid #d5e9f5;
}
.micro span { display: inline-block; animation: marquee 60s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: #fff; border-radius: 18px; padding: 18px 14px 16px; box-shadow: 0 0 0 1px rgba(9, 38, 77, .06); text-align: center; }
.stat b { display: block; font: 700 clamp(30px, 7vw, 44px)/1 var(--display); letter-spacing: -.02em; color: var(--navy); }
.stat b em { font-style: normal; font-size: .52em; margin-left: .12em; color: var(--sky); }
.stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--slate); }

/* Программа */
.section { margin-top: 56px; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; padding: 0 4px; }
.section h2 { margin: 6px 0 0; font-weight: 800; font-size: clamp(26px, 4.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--slate); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.t-th { background: var(--navy); }
.t-pr { background: var(--sky); }

.modules { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(9, 38, 77, .06); overflow: hidden; }
.mod { display: grid; grid-template-columns: 38px 1fr; gap: 4px 14px; padding: 18px clamp(16px, 3vw, 26px); border-bottom: 1px solid var(--line); }
.mod__n { grid-row: span 2; font: 600 13px/1.6 var(--mono); color: var(--sky); }
.mod__t { font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.mod__bar { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bar { position: relative; flex: 1; height: 8px; border-radius: 99px; background: #eef3f8; overflow: hidden; }
.bar > span { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); display: flex; border-radius: 99px; overflow: hidden; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.bar i { display: block; height: 100%; }
.in .bar > span { transform: scaleX(1); }
.mod__h { flex: none; min-width: 108px; text-align: right; font: 500 12.5px/1 var(--mono); color: var(--slate); font-variant-numeric: tabular-nums; }
.mod__h b { color: var(--navy); font-weight: 700; }
@media (min-width: 760px) {
  .mod { grid-template-columns: 38px minmax(0, 1fr) 330px; align-items: center; gap: 14px; }
  .mod__n { grid-row: auto; }
  .mod__bar { margin-top: 0; }
}
.mod--total { background: var(--navy); color: #fff; border-bottom: 0; }
.mod--total .mod__n { color: var(--sky-2); }
.mod--total .bar { background: rgba(255, 255, 255, .12); }
.mod--total .t-th { background: rgba(255, 255, 255, .9); }
.mod--total .mod__h { color: rgba(255, 255, 255, .7); }
.mod--total .mod__h b { color: #fff; }
.note { margin: 12px 4px 0; font-size: 13px; color: var(--slate-2); }

/* Как сверить */
.steps { display: grid; gap: 10px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border-radius: 18px; padding: 22px 20px 20px; box-shadow: 0 0 0 1px rgba(9, 38, 77, .06); }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font: 600 12px var(--mono); color: var(--sky); margin-bottom: 12px; }
.step b { display: block; font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--slate); }
.step code { font: 600 13.5px var(--mono); color: var(--navy); background: var(--sky-soft); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }

/* Действия */
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 48px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; }
.actions .btn { flex: 1 1 230px; max-width: 300px; justify-content: center; }
.btn--main { background: var(--navy); color: #fff; box-shadow: 0 12px 24px -12px rgba(9, 38, 77, .7); }
.btn--main:hover { background: var(--blue); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: 0 0 0 1px var(--sky); transform: translateY(-1px); }
.btn:focus-visible, .code button:focus-visible, .field input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.foot { max-width: 880px; margin: 56px auto 0; padding: 26px clamp(18px, 4vw, 24px) 44px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--slate-2); }
.foot b { color: var(--navy); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 16px 30px -12px rgba(3, 15, 34, .6); transition: transform .35s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ───────── Главная: ввод кода ───────── */
.lookup { width: 100%; max-width: 520px; margin-top: 28px; }
.field { display: flex; gap: 8px; padding: 7px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(143, 211, 242, .3); backdrop-filter: blur(6px); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(72, 180, 228, .18); }
.field input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #fff; font: 600 clamp(19px, 4.6vw, 24px)/1 var(--mono); letter-spacing: .14em; padding: 12px 12px; text-transform: uppercase; }
.field input::placeholder { color: rgba(255, 255, 255, .3); }
.field input:focus { outline: none; }
.field .btn { padding: 0 20px; background: var(--sky); color: var(--navy-950); font-weight: 700; }
.field .btn:hover { background: #fff; }
.field .btn[disabled] { opacity: .6; cursor: progress; }
.hint { margin: 12px 4px 0; font-size: 14px; color: rgba(255, 255, 255, .62); }
.err:empty { display: none; }
.err { margin: 12px 4px 0; font-size: 14.5px; font-weight: 500; color: #ffb3a8; }
.where { display: flex; align-items: center; gap: 18px; margin-top: 30px; text-align: left; }
.where svg { flex: none; width: 150px; height: auto; }
.where p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); max-width: 300px; }
.where .q { animation: qpulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes qpulse { 50% { opacity: .35; } }
@media (max-width: 899px) { .where { justify-content: center; } }

/* ───────── Доступность и печать ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .intro { display: none; }
  .hero__rosette, .seal__rings, .micro span { animation: none !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
  .intro, .top .domain, .actions, .toast, .hero__bg, .seal__holo, .seal__glow, .micro, .code button { display: none !important; }
  .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero { background: #fff !important; color: var(--navy); padding: 70px 0 20px; }
  .top { color: var(--navy); padding: 0; }
  .brand__mark { border-color: var(--navy); }
  .brand__text, .lead, .live { color: var(--slate) !important; }
  .live b { color: var(--navy); }
  .hero h1 { font-size: 30px; }
  .hero__in { grid-template-columns: 120px 1fr; gap: 26px; text-align: left; justify-items: start; }
  .seal { width: 120px; }
  .seal__rings path, .seal__inner path { stroke: var(--blue); }
  .seal__text { fill: var(--navy); }
  .seal__check, .seal__cross { stroke-dashoffset: 0 !important; animation: none !important; }
  .chip { color: #138a5e; border-color: #138a5e; }
  .main { margin-top: 0; max-width: none; padding: 0; }
  .doc, .stat, .modules, .step { box-shadow: 0 0 0 1px var(--line) !important; break-inside: avoid; }
  .bar > span { transform: none !important; }
  .mod { padding: 9px 16px; }
  .section { margin-top: 22px; break-inside: avoid; }
  .foot { margin-top: 20px; padding-bottom: 0; }
}
