/* «Антиприказ» TOTOLAW. Токены по DESIGN_PLAN.md (11.11.2026) */
:root {
  --paper: #EEF0EB;
  --sheet: #FBFBF8;
  --ink: #15171A;
  --graphite: #5A5F66;
  --rule: #D3D6CE;
  --field: #5A5F66;      /* граница полей, контраст 6.2:1 на sheet */
  --marker: #C8FF00;
  --olive: #3F5F00;
  --late: #8C1D18;
  --off: #E4E6E0;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --logo: 'Manrope', 'Onest', system-ui, sans-serif;
  --col: 620px;
  --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--font); font-variant-numeric: tabular-nums;
  overflow-wrap: break-word; min-height: 100vh; display: flex; flex-direction: column;
}
[hidden] { display: none !important; }
a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; border-radius: 2px; }
[tabindex="-1"]:focus-visible { outline: none; }
p { margin: 0 0 14px; }
.ap-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ap-skip { position: absolute; left: 8px; top: -60px; background: var(--marker); color: var(--ink); padding: 12px 16px; z-index: 10; font-weight: 500; }
.ap-skip:focus { top: 8px; }

/* шапка */
.ap-top { background: var(--ink); color: #fff; }
.ap-top-in { max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ap-logo { font: 800 22px/1 var(--logo); letter-spacing: 2px; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.ap-logo-a { color: #fff; }
.ap-logo-b { color: var(--marker); }
.ap-logo:focus-visible { outline-color: var(--marker); }
.ap-top-name { color: #C9CCD1; font-size: 15px; }

.ap-app { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 28px var(--gut) 56px; }
.ap-app:focus { outline: none; }

/* вход */
.ap-entry { display: grid; gap: 40px; }
.ap-entry-main { max-width: var(--col); }
.ap-entry-h { margin: 0 0 18px; font-weight: 700; letter-spacing: -0.01em; }
.ap-entry-h1 { display: block; font-size: 32px; line-height: 1.12; }
.ap-entry-h2 { display: block; font-size: 22px; line-height: 1.3; font-weight: 500; margin-top: 12px; }
.ap-lead { font-size: 17px; color: var(--ink); max-width: 36em; }
.ap-what { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 30px 0 6px; }
.ap-entry-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ap-entry-rows li { border-bottom: 1px solid var(--rule); }
.ap-entry-row {
  display: block; width: 100%; min-height: 60px; padding: 16px 8px 16px 0; text-align: left;
  background: none; border: 0; cursor: pointer; font-size: 19px; font-weight: 500; line-height: 1.35;
}
@media (hover: hover) { .ap-entry-row:hover { background: var(--sheet); padding-left: 8px; } }
.ap-entry-row:focus-visible { outline-offset: -3px; padding-left: 8px; }
.ap-note { color: var(--graphite); font-size: 15px; margin-top: 14px; }
.ap-disclaimer { color: var(--graphite); font-size: 13px; line-height: 1.5; margin-top: 26px; max-width: 46em; }
.ap-entry-aside { align-self: start; }
.ap-sample-cap { color: var(--graphite); font-size: 15px; margin: 0 0 10px; }

/* FAQ */
.ap-faq { max-width: var(--col); margin-top: 56px; }
.ap-h2 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0 0 12px; }
.ap-faq-i { border-bottom: 1px solid var(--rule); }
.ap-faq-i:first-of-type { border-top: 1px solid var(--rule); }
.ap-faq-i summary { cursor: pointer; padding: 14px 32px 14px 0; min-height: 48px; font-weight: 500; list-style: none; position: relative; }
.ap-faq-i summary::-webkit-details-marker { display: none; }
.ap-faq-i summary::after, .ap-how summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
.ap-faq-i[open] summary::after, .ap-how[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ap-faq-i p { color: var(--ink); }

/* экран вопроса */
.ap-screen { max-width: var(--col); }
body[data-mode="result"] .ap-screen { max-width: 980px; }
.ap-progress { margin: 0 0 22px; }
.ap-bar { height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.ap-bar span { display: block; height: 100%; background: var(--ink); }
.ap-count { color: var(--graphite); font-size: 15px; margin: 8px 0 0; }
.ap-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.ap-legend-q { padding: 0; margin: 0 0 10px; display: block; width: 100%; }
.ap-qtitle { font-size: 28px; line-height: 1.2; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.ap-hint { color: var(--graphite); margin: 0 0 18px; max-width: 34em; }
.ap-error { color: var(--late); font-weight: 500; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--late); }

.ap-rows { border-top: 1px solid var(--rule); margin-top: 8px; }
.ap-row { display: flex; align-items: flex-start; gap: 14px; min-height: 56px; padding: 15px 4px 15px 0; border-bottom: 1px solid var(--rule); cursor: pointer; position: relative; }
@media (hover: hover) { .ap-row:hover { background: var(--sheet); } }
.ap-row input, .ap-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ap-mark { flex: none; width: 24px; height: 24px; border: 2px solid var(--field); border-radius: 50%; background: var(--sheet); margin-top: 1px; position: relative; }
.ap-rows.is-multi .ap-mark, .ap-check .ap-mark { border-radius: 4px; }
.ap-row input:checked + .ap-mark { border-color: var(--ink); }
.ap-row input[type=radio]:checked + .ap-mark::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.ap-row input[type=checkbox]:checked + .ap-mark, .ap-check input:checked + .ap-mark { background: var(--ink); border-color: var(--ink); }
.ap-row input[type=checkbox]:checked + .ap-mark::after, .ap-check input:checked + .ap-mark::after {
  content: ''; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid var(--marker); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.ap-row input:focus-visible + .ap-mark, .ap-check input:focus-visible + .ap-mark { outline: 3px solid var(--olive); outline-offset: 2px; }
.ap-row:has(input:checked) { background: var(--sheet); }
.ap-row-t { font-size: 17px; line-height: 1.45; }

/* дата */
.ap-date-label { font-weight: 500; margin: 6px 0 8px; }
.ap-date { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.ap-df { display: flex; flex-direction: column; gap: 6px; }
.ap-df label { font-size: 15px; color: var(--graphite); }
.ap-in {
  height: 56px; border: 2px solid var(--field); border-radius: 4px; background: var(--sheet); color: var(--ink);
  font: 500 22px/1 var(--font); font-variant-numeric: tabular-nums; padding: 0 12px; text-align: left;
}
.ap-in:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; border-color: var(--ink); }
.ap-in[aria-invalid="true"] { border-color: var(--late); }
.ap-in-2 { width: 4.2ch; min-width: 68px; }
.ap-in-4 { width: 6.2ch; min-width: 96px; }
.ap-in-wide { width: 100%; font-size: 18px; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ap-chip {
  min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 24px; background: transparent; cursor: pointer; font-size: 16px;
}
@media (hover: hover) { .ap-chip:hover { background: var(--sheet); } }
.ap-chip[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap-unknown { background: var(--sheet); border-left: 3px solid var(--ink); padding: 14px 16px; margin: 0 0 18px; }
.ap-check { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 10px 0; cursor: pointer; position: relative; }
.ap-secondary { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.ap-sec-legend { font-weight: 500; padding: 0; margin-bottom: 8px; }

/* кнопки */
.ap-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 4px; cursor: pointer;
  font-size: 17px; font-weight: 500; text-decoration: none; text-align: center; line-height: 1.25;
}
.ap-btn:hover { background: #2A2D31; }
.ap-btn:disabled { opacity: .6; cursor: progress; }
.ap-btn-quiet { background: transparent; color: var(--ink); }
.ap-btn-quiet:hover { background: var(--sheet); }
.ap-link {
  background: none; border: 0; padding: 0 2px; min-height: 48px; cursor: pointer; color: var(--olive);
  text-decoration: underline; text-underline-offset: 3px; font-size: 17px;
}
.ap-link:hover { text-decoration-thickness: 2px; }

/* проверка ответов */
.ap-answers { margin: 18px 0 0; border-top: 1px solid var(--rule); }
.ap-ans { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ap-ans dt { grid-column: 1; color: var(--graphite); font-size: 15px; }
.ap-ans dd { margin: 0; grid-column: 1; font-weight: 500; }
.ap-ans .ap-ans-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 400; }

/* результат */
.ap-result { max-width: 980px; }
.ap-res-head { max-width: var(--col); }
.ap-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 10px; }
.ap-status.is-late { color: var(--late); }
.ap-status-ico { width: 14px; height: 14px; border: 2px solid var(--late); transform: rotate(45deg); display: inline-block; }
.ap-res-title { font-size: 32px; line-height: 1.15; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.ap-res-sum { font-size: 22px; line-height: 1.35; margin: 0 0 22px; }

.ap-term { display: grid; gap: 20px; margin: 8px 0 28px; }
.ap-term-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ap-big { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.ap-big-n { font-size: 120px; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.ap-big-t { font-size: 17px; max-width: 9em; line-height: 1.3; }
.ap-lastline { margin: 0 0 6px; font-size: 17px; }
.ap-lastline b { display: block; font-size: 22px; font-weight: 700; }
.ap-lastline.is-late span { color: var(--late); font-weight: 500; }

/* лист календаря */
.ap-sheet {
  margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 18px 12px 12px; position: relative; max-width: 420px;
}
.ap-sheet::before { /* перфорация отрывного листа */
  content: ''; position: absolute; left: 10px; right: 10px; top: 6px; height: 4px;
  background: radial-gradient(circle at 2px 2px, var(--rule) 1.6px, transparent 2px) 0 0 / 10px 4px repeat-x;
}
.ap-sheet-month + .ap-sheet-month { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.ap-sheet-title { font-weight: 700; margin: 0 4px 4px; font-size: 17px; }
.ap-cal-svg { display: block; width: 100%; height: auto; }
.ap-cal-svg text { font-family: var(--font); text-anchor: middle; }
.ap-cal-wd { font-size: 13px; fill: var(--graphite); }
.ap-cal-n { font-size: 16px; fill: var(--ink); font-weight: 500; }
.ap-cal-n.is-off { fill: var(--graphite); font-weight: 400; }
.ap-cal-n.is-last { font-weight: 700; }
.ap-cal-dot { fill: #8E938C; }
.ap-cal-today { fill: none; stroke: var(--ink); stroke-width: 2; }
.ap-cal-lastbox { fill: none; stroke: var(--ink); stroke-width: 2; }
.ap-cal-lbl { font-size: 12px; fill: var(--ink); font-weight: 500; }
.ap-mk { fill: var(--marker); }
.ap-mk-layer.is-ghost .ap-mk { fill: var(--marker); opacity: .45; }
.ap-mk.is-draw { clip-path: inset(0 100% 0 0); animation-name: ap-draw; animation-timing-function: cubic-bezier(.3,.6,.4,1); animation-fill-mode: forwards; }
@keyframes ap-draw { to { clip-path: inset(0 0 0 0); } }
.ap-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 4px 0; font-size: 13px; color: var(--graphite); }
.ap-lg { display: inline-flex; align-items: center; gap: 6px; }
.ap-lg i { display: inline-block; flex: none; }
.ap-lg-mk { width: 22px; height: 12px; background: var(--marker); border-radius: 2px; }
.ap-lg-mk.is-ghost { opacity: .45; }
.ap-lg-off { width: 5px; height: 5px; border-radius: 50%; background: #8E938C; margin: 0 4px; }
.ap-lg-today { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; }

.ap-res-body { max-width: var(--col); }
.ap-how { margin: 18px 0 30px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ap-how summary { cursor: pointer; list-style: none; position: relative; padding: 14px 32px 14px 0; min-height: 48px; font-weight: 500; }
.ap-how summary::-webkit-details-marker { display: none; }
.ap-how-in { padding: 0 0 16px; }
.ap-how-t { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
.ap-how-t th, .ap-how-t td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ap-how-t th { font-weight: 400; color: var(--graphite); padding-right: 14px; width: 48%; }
.ap-how-t td { font-weight: 500; }
.ap-how-p { font-size: 15px; color: var(--graphite); }
.ap-quote { margin: 14px 0; padding: 0 0 0 14px; border-left: 3px solid var(--marker); }
.ap-quote p { font: italic 400 17px/1.5 var(--serif); margin: 0 0 4px; }
.ap-quote cite { font-style: normal; font-size: 13px; color: var(--graphite); }
.ap-norms { font-size: 15px; color: var(--graphite); margin: 10px 0 0; }
.ap-norms-l { color: var(--graphite); margin-right: 4px; }
.ap-norms a { display: inline-block; min-height: 24px; }

.ap-now { margin: 0 0 34px; }
.ap-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ap-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--rule); }
.ap-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--marker); color: var(--ink); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}

.ap-finds { margin: 0 0 34px; }
.ap-find { padding: 16px 0 6px; border-top: 1px solid var(--ink); }
.ap-find + .ap-find { border-top-color: var(--rule); }
.ap-find-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.ap-find-k { font-size: 13px; font-weight: 500; color: var(--graphite); flex: none; min-width: 5.5em; }
.ap-find-lead { display: none; }
.ap-find-t { flex: 1 1 14em; }
.ap-find.is-statement .ap-find-k::after { content: ''; }
.ap-find-act { margin: 0 0 8px; padding-left: 20px; }
.ap-find-act li { margin-bottom: 6px; }

/* выбор v4: сделать самому или с юристом */
.ap-choice { margin: 10px 0 26px; max-width: 980px; }
.ap-ch-grid { display: grid; gap: 16px; }
.ap-ch { border-radius: 4px; padding: 24px 20px; min-width: 0; display: flex; flex-direction: column; }
.ap-ch-self { background: var(--sheet); border: 1px solid var(--rule); }
.ap-ch-law { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.ap-ch-k { font-size: 15px; color: var(--graphite); margin: 0 0 4px; }
.ap-ch-h { font-size: 24px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
.ap-ch-price { font-size: 22px; font-weight: 700; margin: 0 0 14px; }
.ap-ch-doc { margin: 0 0 12px; padding: 10px 0 10px 12px; border-left: 3px solid var(--marker); }
.ap-ch-doc b { display: block; font-weight: 700; }
.ap-ch-sub { display: block; font-size: 15px; color: var(--graphite); }
.ap-ch-l { margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ap-ch-l li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; }
.ap-ch-btns { display: flex; flex-direction: column; gap: 12px; margin: auto 0 0; }
.ap-ch-btns .ap-btn { width: 100%; }
.ap-ch-note { font-size: 13px; line-height: 1.45; color: var(--graphite); margin: 12px 0 0; }
.ap-ch-alt { font-size: 15px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.ap-ch-alt a { display: inline-block; padding: 4px 0; }
.ap-ch-law .ap-ch-k, .ap-ch-law .ap-ch-note { color: #C9CCD1; }
.ap-ch-law .ap-ch-l { border-top-color: #3A3E44; }
.ap-ch-law .ap-ch-l li { border-bottom-color: #3A3E44; color: #E6E8EA; }
.ap-ch-law p { color: #E6E8EA; }
.ap-ch-law .ap-ch-h, .ap-ch-law .ap-ch-price { color: #fff; }
.ap-ch-law a { color: var(--marker); }
.ap-ch-law :focus-visible { outline-color: var(--marker); }
.ap-btn-marker { background: var(--marker); color: var(--ink); border-color: var(--marker); font-weight: 700; }
.ap-btn-marker:hover { background: #D6FF3D; }
.ap-btn-line { background: transparent; color: #fff; border-color: #9AA0A6; }
.ap-btn-line:hover { background: #22252A; border-color: #fff; }
.ap-ch-law a.ap-btn-line { color: #fff; text-decoration: none; }
.ap-ch-self a.ap-btn { color: #fff; text-decoration: none; }
.ap-leadform { margin-top: 22px; padding-top: 20px; border-top: 1px solid #3A3E44; display: flex; flex-direction: column; gap: 14px; }
.ap-field { display: flex; flex-direction: column; gap: 6px; }
.ap-field label { color: #E6E8EA; font-size: 15px; }
.ap-ch-law .ap-in { border-color: #9AA0A6; }
.ap-ch-law .ap-in:focus-visible { outline-color: var(--marker); border-color: #fff; }
.ap-check-dark { color: #E6E8EA; font-size: 15px; }
.ap-check-dark .ap-mark { border-color: #9AA0A6; background: transparent; }
.ap-check-dark input:checked + .ap-mark { background: var(--marker); border-color: var(--marker); }
.ap-check-dark input:checked + .ap-mark::after { border-color: var(--ink); }
.ap-check-dark input:focus-visible + .ap-mark { outline-color: var(--marker); }
.ap-error-dark { color: #FFB4AB; border-left-color: #FFB4AB; }
.ap-lead-ok { margin-top: 20px; padding: 16px; border: 1px solid var(--marker); border-radius: 4px; }
.ap-lead-ok-h { font-weight: 700; color: #fff !important; }

.ap-res-foot { max-width: var(--col); display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.ap-res-foot .ap-disclaimer { flex-basis: 100%; margin-top: 10px; }

/* подвал */
.ap-foot { border-top: 1px solid var(--rule); }
.ap-foot-in { max-width: 1120px; margin: 0 auto; padding: 18px var(--gut); display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; color: var(--graphite); align-items: center; }
.ap-foot a { display: inline-flex; align-items: center; min-height: 48px; }

/* планшет и десктоп */
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .ap-app { padding-top: 48px; }
  .ap-entry-h1 { font-size: 44px; line-height: 1.08; }
  .ap-qtitle { font-size: 32px; }
  .ap-res-title { font-size: 40px; }
  .ap-term { grid-template-columns: minmax(320px, 440px) minmax(220px, 1fr); align-items: start; gap: 40px; }
  .ap-term-side { order: 2; padding-top: 10px; }
  .ap-term-cal { order: 1; }
  .ap-ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .ap-choice.is-solo .ap-ch-grid { grid-template-columns: minmax(0, 1fr); }
  .ap-choice.is-solo { max-width: var(--col); }
  .ap-ch { padding: 28px 28px 26px; }
}
@media (min-width: 1024px) {
  .ap-entry { grid-template-columns: minmax(0, 620px) minmax(300px, 400px); justify-content: space-between; gap: 56px; }
  .ap-entry-h1 { font-size: 56px; line-height: 1.05; }
  .ap-entry-aside { margin-top: 18px; }
  .ap-entry-aside .ap-sheet { transform: rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ap-mk.is-draw { clip-path: none; }
  .ap-entry-aside .ap-sheet { transform: none; }
}

/* ================= Инструменты v2 (11.11.2026) ================= */
a.ap-entry-row { color: var(--ink); text-decoration: none; }
.ap-tools-h { margin-top: 36px; }
.ap-tools-ctx { margin: 0 0 34px; }
.ap-plan-cta { margin: 18px 0 0; }
body[data-mode="tool"] .ap-screen { max-width: var(--col); }
.tl-back { margin: -8px 0 6px; }
.tl-title { margin-bottom: 10px; }
.tl-intro { color: var(--ink); margin: 0 0 26px; max-width: 34em; }
.tl-form { margin: 0; }
.tl-f { margin: 0 0 28px; }
.tl-q { display: block; padding: 0; margin: 0 0 8px; font-size: 19px; line-height: 1.35; font-weight: 700; }
.tl-opt { font-size: 15px; font-weight: 400; color: var(--graphite); }
.tl-hint { margin: 0 0 12px; }
.tl-f .ap-rows { margin-top: 4px; }
.tl-f .ap-error { margin-top: 4px; }
.tl-in-w { position: relative; max-width: 320px; }
.tl-in { width: 100%; }
.tl-in-w.is-rub .tl-in, .tl-in-w.is-pct .tl-in { padding-right: 44px; }
.tl-in-w.is-rub::after, .tl-in-w.is-pct::after { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--graphite); pointer-events: none; }
.tl-in-w.is-rub::after { content: '₽'; }
.tl-in-w.is-pct::after { content: '%'; }
.tl-f .tl-in-text { font-size: 18px; font-weight: 400; }
.tl-delo .tl-in-w { max-width: none; }
.tl-select-w { position: relative; }
.tl-select-w::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.tl-select { width: 100%; -webkit-appearance: none; appearance: none; font-size: 17px; font-weight: 500; padding-right: 44px; line-height: 1.3; text-overflow: ellipsis; }
.tl-flink { margin: 10px 0 0; font-size: 15px; }
.tl-flink a { display: inline-block; padding: 12px 0; }
.tl-note { color: var(--graphite); font-size: 15px; margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--rule); }
.tl-sub { margin: 0 0 28px; padding: 4px 0 0 14px; border-left: 3px solid var(--rule); }
.tl-sub > .tl-q { margin-bottom: 4px; }
.tl-sub .tl-f { margin-bottom: 20px; }
.tl-sub .tl-q { font-size: 17px; font-weight: 500; }
.tl-sub > legend.tl-q { font-size: 19px; font-weight: 700; }
.tl-group { margin: 0; }

/* платежи списком */
.tl-pays { border-top: 1px solid var(--rule); margin-top: 6px; }
.tl-pay { padding: 14px 0 6px; border-bottom: 1px solid var(--rule); }
.tl-pay-l { padding: 0; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tl-pay-in { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-start; }
.tl-pay-in .ap-date { margin: 0 0 8px; }
.tl-pay-a { flex: 1 1 180px; max-width: 240px; }
.tl-sublabel { display: block; font-size: 15px; color: var(--graphite); margin: 0 0 6px; }
.tl-pay-a .tl-sublabel { margin-bottom: 6px; }
.tl-pay-d .ap-df label { font-size: 13px; }
.tl-del { font-size: 15px; }
.tl-add { margin-top: 14px; }

/* результат инструмента */
.tl-result { margin: 40px 0 0; padding-top: 26px; border-top: 2px solid var(--ink); }
.tl-res-title { font-size: 28px; }
.tl-stmt { margin: 0 0 24px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 2px 16px; }
.tl-stmt-r { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 11px 0; border-bottom: 1px dashed var(--rule); }
.tl-stmt-r:last-child { border-bottom: 0; }
.tl-stmt dt { color: var(--graphite); font-size: 15px; }
.tl-stmt dd { margin: 0 0 0 auto; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.tl-stmt-r.is-key dd { font-size: 22px; font-weight: 700; }
.tl-now { margin-top: 24px; }
.tl-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; font-variant-numeric: tabular-nums; }
.tl-table th { text-align: left; font-weight: 400; color: var(--graphite); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.tl-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tl-table td:nth-child(2) { white-space: nowrap; }
.tl-cell-note { display: block; font-size: 13px; color: var(--graphite); }
.tl-st { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tl-st.is-out { color: var(--late); font-weight: 700; }
.tl-st.is-unclear { color: var(--graphite); }
.tl-st .ap-status-ico { width: 10px; height: 10px; flex: none; }
@media (max-width: 600px) {
  .tl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tl-table, .tl-table tbody, .tl-table tr, .tl-table td { display: block; width: 100%; }
  .tl-table tr { padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .tl-table td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: right; }
  .tl-table td::before { content: attr(data-l); color: var(--graphite); text-align: left; flex: none; max-width: 50%; }
  .tl-table td > * { text-align: right; }
}

/* найти дело */
.tl-sections { margin: 0 0 34px; }
.tl-sec-in { padding: 0 0 18px; }
.tl-bul { margin: 0 0 8px; padding-left: 20px; }
.tl-bul li { margin-bottom: 8px; }
.tl-h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.tl-signs { list-style: none; margin: 0 0 8px; padding: 0; }
.tl-signs li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; }
.tl-signs .ap-status-ico { width: 10px; height: 10px; flex: none; position: relative; top: -1px; }
.tl-links { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.tl-links li { border-bottom: 1px solid var(--rule); padding: 4px 0 8px; }
.tl-links a { display: inline-block; padding: 10px 0 2px; font-weight: 500; }
.tl-url { display: block; font-size: 13px; color: var(--graphite); word-break: break-all; }
.tl-delo { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--ink); }

/* мой план */
body[data-mode="tool"] .ap-screen:has(.pl-doc) { max-width: 760px; }
.pl-printhint { margin-top: 12px; }
.pl-actions { margin-top: 0; }
.pl-doc { margin: 26px 0 10px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 20px 16px 24px; }
.pl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); border-radius: 3px; padding: 10px 14px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pl-logo { font: 800 20px/1 var(--logo); letter-spacing: 2px; }
.pl-head-name { color: #C9CCD1; font-size: 15px; }
.pl-title { font-size: 28px; line-height: 1.2; font-weight: 700; margin: 20px 0 6px; }
.pl-meta { color: var(--graphite); font-size: 15px; margin: 0 0 8px; }
.pl-sec { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--ink); }
.pl-sec-h { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.pl-lead { font-weight: 500; }
.pl-rows { background: transparent; border: 0; padding: 0; border-radius: 0; margin-bottom: 8px; }
.pl-rows .tl-stmt-r { border-bottom-style: solid; }
.pl-checks { list-style: none; margin: 0; padding: 0; }
.pl-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.pl-box { flex: none; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 3px; margin-top: 2px; }
.pl-foot { margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--rule); }
.pl-foot .ap-disclaimer { margin-top: 0; }
.pl-contacts { font-size: 13px; color: var(--graphite); margin: 0; }

@media (min-width: 720px) {
  .tl-res-title { font-size: 32px; }
  .pl-doc { padding: 28px 32px 32px; }
}

@media print {
  @page { margin: 14mm 14mm 16mm; }
  .ap-top, .ap-foot, .ap-choice, .ap-nav, .ap-res-foot button, [data-ics], .ap-skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .pl-screen, .pl-nav, .tl-form, .tl-back { display: none !important; }
  body[data-mode="tool"] .ap-app { padding: 0; max-width: none; }
  body[data-mode="tool"] .ap-screen, body[data-mode="tool"] .ap-screen:has(.pl-doc) { max-width: none; }
  .pl-doc { margin: 0; border: 0; padding: 0; background: #fff; }
  .pl-title { font-size: 20pt; margin-top: 12pt; }
  .pl-sec { margin-top: 14pt; padding-top: 8pt; }
  .pl-sec-h { break-after: avoid; page-break-after: avoid; font-size: 13pt; }
  .tl-stmt-r, .pl-checks li, .tl-table tr, .tl-links li { break-inside: avoid; page-break-inside: avoid; }
  .tl-stmt { background: #fff; }
  .pl-doc a { color: var(--ink); text-decoration: none; }
  .tl-url { color: var(--ink); }
}
a.ap-link.tl-alink { display: inline-flex; align-items: center; }

/* ================= Интерактив v3 (11.11.2026) ================= */
/* Вход: компактный левый столбец */
.ap-entry-h { margin-bottom: 14px; }
.ap-entry-h1 { font-size: 30px; }
.ap-entry-h2 { font-size: 19px; margin-top: 8px; }
.ap-lead { font-size: 16px; margin-bottom: 0; }
.ap-what { font-size: 19px; margin: 22px 0 4px; }
.ap-entry-row { min-height: 52px; padding: 12px 8px 12px 0; font-size: 17px; }
.ap-note { margin-top: 10px; }
.ap-entry .ap-disclaimer { margin-top: 18px; }

/* Живой калькулятор срока */
.hc { border-top: 2px solid var(--ink); padding-top: 16px; min-width: 0; }
.hc-h { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; }
.hc-date { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.hc-date .ap-date { margin: 0; }
.hc-chips { margin: 0; }
.hc .ap-error { margin: 12px 0 0; }
.hc-out { display: grid; gap: 14px; margin-top: 18px; }
.hc-side { min-width: 0; }
.hc-cap { color: var(--graphite); font-size: 15px; margin: 0 0 2px; }
.hc-big { margin: 0 0 6px; }
.hc-big .ap-big-n { font-size: 88px; }
.hc-big .ap-big-t { max-width: 8em; }
.hc-sub { font-size: 15px; margin: 6px 0 0; }
.hc .ap-status { margin-bottom: 6px; }
.hc-cal { min-width: 0; }
.hc-cal .ap-sheet { max-width: 380px; transform: none !important; }
.hc-foot { margin-top: 18px; }
.hc-go { width: 100%; }
.hc-note { color: var(--graphite); font-size: 13px; line-height: 1.45; margin: 10px 0 0; }
@media (min-width: 560px) {
  .hc-out { grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 18px; }
  .hc-big { flex-direction: column; align-items: flex-start; gap: 0; }
  .hc-go { width: auto; }
}

/* Плитки v4: спокойные ссылки на инструменты, статичная картинка, сетка 2 на 2 */
.tiles { margin-top: 52px; }
.tiles-h { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 20px; }
.tiles-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tiles-grid li { min-width: 0; display: flex; }
.tile { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); text-decoration: none; }
.tile-pic { display: block; width: 160px; height: 64px; margin: 0 0 8px; }
.tile-h { font-size: 21px; line-height: 1.25; font-weight: 700; margin: 0; color: var(--ink); }
.tile-p { font-size: 16px; line-height: 1.45; margin: 0; color: var(--graphite); max-width: 32em; }
@media (hover: hover) { .tile:hover { border-color: var(--ink); } .tile:hover .tile-h { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; } }
.tile:focus-visible { outline-offset: 3px; }
.tile:focus-visible .tile-h { text-decoration: underline; text-underline-offset: 4px; }
.tp-ink { fill: var(--ink); }
.tp-mk { fill: var(--marker); }
.tp-late { fill: var(--late); }
.tp-rule { fill: var(--rule); }
.tp-off { fill: var(--off); }
.tp-axis, .tp-tick { fill: var(--ink); }
.tp-frame { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.tp-sheet { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; }
.tp-ring { fill: none; stroke: var(--ink); stroke-width: 4; }
@media (min-width: 720px) {
  .tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tile { padding: 24px 24px 22px; }
}

/* Переключатели-пилюли */
.sg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sg-o { position: relative; display: inline-flex; cursor: pointer; max-width: 100%; }
.sg-o input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sg-o span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px; border: 1px solid var(--field); border-radius: 24px; font-size: 16px; line-height: 1.3; }
.sg-o input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sg-o input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }
@media (hover: hover) { .sg-o:hover input:not(:checked) + span { background: var(--sheet); } }

/* Статичные полосы в полных инструментах (без анимации) */
.vz-track { position: relative; display: flex; height: 46px; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; background: var(--marker); }
.vz-w { flex: none; background: var(--ink); }
.vz-r { flex: 1; background: var(--marker); }
.vz-pm { position: absolute; top: 0; bottom: 0; width: 0; border-left: 3px dotted var(--sheet); }
.vz-bar-l { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; }
.vz-bar-l div { min-width: 0; }
.vz-bar-l dt { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--graphite); }
.vz-bar-l dd { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; }
.vz-l-r { text-align: right; }
.vz-l-r dt { justify-content: flex-end; }
.vz-key { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 2px; }
.vz-key.is-w, .vz-key.is-in { background: var(--ink); }
.vz-key.is-r { background: var(--marker); box-shadow: inset 0 0 0 1px var(--ink); }
.vz-key.is-out { background: var(--late); }
.vz-key.is-unclear { background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink); }
.vz-pm-l { font-size: 15px; margin: 10px 0 0; padding-left: 12px; border-left: 3px dotted var(--ink); }
.vz-rows { margin: 0; }
.vz-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 6px 0 10px; }
.vz-row dt { color: var(--graphite); font-size: 15px; }
.vz-row dd { margin: 0; font-size: 22px; font-weight: 700; }
.vz-line { grid-column: 1 / -1; position: relative; height: 22px; background: var(--off); border-radius: 2px; }
.vz-fill, .vz-over { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; }
.vz-fill.is-ok { background: var(--marker); box-shadow: inset 0 0 0 1px var(--ink); }
.vz-fill.is-val { background: var(--ink); }
.vz-over { background: var(--late); border-radius: 0 2px 2px 0; }
.vz-cap { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.25; font-weight: 700; margin: 6px 0 0; }
.vz-cap.is-over { color: var(--late); }
.vz-cap .ap-status-ico { flex: none; }
.vz-count { height: 30px; background: var(--sheet); }
.vz-seg { flex: none; }
.vz-seg + .vz-seg { border-left: 2px solid var(--sheet); }
.vz-seg.is-out { background: var(--late); }
.vz-seg.is-in { background: var(--ink); }
.vz-seg.is-unclear { background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink); }
.vz-leg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; font-size: 15px; }
.vz-leg li { display: inline-flex; align-items: center; gap: 8px; }

/* Полный инструмент: калькулятор на одном экране */
body[data-mode="tool"] .ap-screen:has(.tc) { max-width: 1120px; }
.tc { display: grid; gap: 28px; }
.tc-form .tl-f { margin-bottom: 22px; }
.tc-form .tl-q { font-size: 17px; }
.tc-g { margin: 0 0 22px; padding-top: 14px; border-top: 1px solid var(--ink); }
.tc-gl { font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--graphite); margin: 0 0 12px; }
.tc-g[hidden] { display: none; }
.tc-more-f { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 0 22px; }
.tc-more-f summary { cursor: pointer; list-style: none; position: relative; padding: 14px 32px 14px 0; min-height: 48px; font-weight: 700; }
.tc-more-f summary::-webkit-details-marker { display: none; }
.tc-more-f summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.tc-more-f[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.tc-more-in { padding: 6px 0 2px; }
.tc-out { min-width: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 20px 18px 18px; scroll-margin-top: 12px; }
.tc-out:focus { outline: none; }
.tc-out:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.tc-out .ap-res-title { font-size: 26px; margin-bottom: 6px; }
.tc-out .ap-res-sum { font-size: 18px; margin-bottom: 14px; }
.tc-out .tc-wait { color: var(--graphite); }
.tc-miss { margin: 0; }
.tc-viz { margin: 10px 0 6px; }
.tc-viz:empty { display: none; }
.tc-out .tl-stmt { background: transparent; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 0; margin: 16px 0 0; }
.tc-out .tl-stmt:empty { display: none; }
.tc-body { max-width: var(--col); margin-top: 32px; }
.tc-body:empty { display: none; }
@media (min-width: 960px) {
  .tc { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
  .tc-out { position: sticky; top: 16px; padding: 26px 28px 24px; }
  .tc-out .ap-res-title { font-size: 30px; }
}

/* Поиск по номеру */
.fd { min-width: 0; }
.fd-l { display: block; font-weight: 500; margin: 0 0 6px; }
.fd-box { position: relative; }
.fd-box::before { content: ''; position: absolute; left: 2px; top: 16px; width: 15px; height: 15px; border: 2.5px solid var(--ink); border-radius: 50%; pointer-events: none; }
.fd-box::after { content: ''; position: absolute; left: 16px; top: 33px; width: 8px; height: 2.5px; background: var(--ink); transform: rotate(45deg); transform-origin: left center; pointer-events: none; }
.fd-in { width: 100%; height: 56px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 500 21px/1 var(--font); padding: 0 4px 0 34px; }
.fd-in:focus { background: var(--sheet); }
.fd-in:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.fd-hint { color: var(--graphite); font-size: 13px; margin: 6px 0 0; }
.fd-type { font-weight: 500; margin: 10px 0 0; }
.fd-type:empty { display: none; }
.fd-type.is-unknown { color: var(--graphite); font-weight: 400; }
.fd-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fd-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fd-sec { font-weight: 700; margin: 16px 0 0; }
.fd-links { margin-top: 6px; }
.fd.is-big { margin: 0 0 8px; }
.fd.is-big .fd-in { height: 64px; font-size: 24px; }
.fd.is-big .fd-box::before { top: 20px; }
.fd.is-big .fd-box::after { top: 37px; }
.fd-all-h { margin-top: 36px; }

@media (min-width: 720px) {
  .ap-entry-h1 { font-size: 40px; }
  .tiles-h { font-size: 32px; }
}
@media (min-width: 1024px) {
  .ap-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; }
  .ap-entry-main { max-width: 540px; }
  .ap-entry-h1 { font-size: 44px; }
  .ap-entry-aside { margin-top: 6px; }
}
@media print { .tiles, .hc { display: none !important; } }
.ap-entry .ap-entry-disc { margin-top: 0; }
@media (min-width: 1024px) { .ap-entry-disc { grid-column: 1 / -1; } }


/* v8 (18.11.2026): строгая сетка. Сверху оффер (заголовок, кнопка с ценой) и «Что вы получите»,
   под ним проверка срока полосой во всю ширину, дальше другие ситуации и три шага. */
.ap-entry { display: block; }
.ap-entry > * + * { margin-top: 40px; }
.ap-entry-h { margin: 0; }
.ap-entry-h1 { display: block; font-size: 38px; line-height: 1.04; letter-spacing: -0.02em; }
.ap-entry-h2 { display: block; font-size: 19px; line-height: 1.45; font-weight: 400; color: var(--ink); margin-top: 18px; max-width: 34em; }

.ap-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.ap-offer-go { background: var(--marker); color: var(--ink); border-color: var(--marker); font-weight: 700; font-size: 18px; min-height: 58px; padding: 0 32px; }
.ap-offer-go:hover { background: #D6FF3D; }
.ap-offer-price { margin: 0; display: grid; line-height: 1.2; }
.ap-offer-price b { font-size: 26px; font-weight: 700; }
.ap-offer-price span { font-size: 14px; color: var(--graphite); margin-top: 2px; }

.ap-inside-h { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.ap-inside { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ap-inside li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.4; }
.ap-inside li::before { content: ''; position: absolute; left: 3px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--olive); border-bottom: 2.5px solid var(--olive); transform: rotate(-45deg); }

/* проверка срока */
.hc { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 22px 18px; }
.hc-h { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 16px; }
#hc-body { display: grid; gap: 22px; }
.hc-q { margin: 0 0 10px; font-size: 15px; color: var(--graphite); }
.hc-date { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.hc-date .ap-date { margin: 0; }
.hc-chips { margin: 0; display: flex; gap: 8px; }
.hc-out { margin: 0; min-width: 0; }
.hc-cap { margin: 0 0 6px; font-size: 13px; color: var(--graphite); }
.hr { display: flex; align-items: center; gap: 16px; }
.hr-n { font-size: 64px; line-height: .85; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hr-t { display: grid; gap: 4px; }
.hr-l { font-size: 18px; font-weight: 700; line-height: 1.2; }
.hr-d { font-size: 15px; line-height: 1.35; color: var(--graphite); }
.hr-d b { color: var(--ink); font-weight: 700; }
.hr.is-late .hr-l { color: var(--late); }
.hc-cal { margin-top: 16px; }

.hs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 8px; }
.hs-d { width: calc(100% / 7); display: grid; justify-items: center; position: relative; padding-bottom: 16px; }
.hs-m { height: 13px; font-size: 11px; line-height: 13px; color: var(--graphite); }
.hs-w { font-size: 11px; line-height: 14px; color: var(--graphite); }
.hs-n { width: 100%; height: 34px; display: grid; place-items: center; font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; margin-top: 3px; }
.hs-d.is-term .hs-n { background: var(--marker); }
.hs-d.is-off .hs-n { color: #8A8F96; font-weight: 400; }
.hs-d.is-today .hs-n { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 50%; width: 34px; }
.hs-d.is-last .hs-n { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.hs-l { position: absolute; bottom: 0; font-size: 11px; line-height: 13px; font-weight: 700; white-space: nowrap; }
.hs.is-ghost .hs-d.is-term .hs-n { background: var(--off); }
.hs-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 12px; color: var(--graphite); }
.hs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hs-k { width: 12px; height: 12px; display: inline-block; border-radius: 2px; }
.hs-k.is-term { background: var(--marker); }
.hs-k.is-off { border: 1px solid #8A8F96; }
.hs-k.is-today { border: 2px solid var(--ink); border-radius: 50%; }

.hc-foot { display: grid; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.hc-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--graphite); }
.hc-go { width: 100%; }
.ap-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--olive); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* другие ситуации, шаги, юрист */
.ap-other-h { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.ap-other-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ap-other-list li { border-bottom: 1px solid var(--rule); }
.hx-steps { list-style: none; padding: 0; display: grid; gap: 24px; counter-reset: how; }
.hx-step { counter-increment: how; border-top: 2px solid var(--ink); padding-top: 14px; }
.hx-step-h { font-size: 18px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.hx-step-h::before { content: counter(how); width: 24px; height: 24px; border-radius: 50%; background: var(--marker); display: grid; place-items: center; font-size: 13px; flex: none; }
.hx-step p { margin: 0; font-size: 15px; line-height: 1.5; }
.ap-lawyer { margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--graphite); }
.ap-entry .ap-other + .hx-steps { margin-top: 48px; }
.ap-entry .hx-steps + .ap-lawyer { margin-top: 24px; }

@media (max-width: 559px) { .ap-offer-go { width: 100%; } .hr-n { font-size: 56px; } }
@media (min-width: 560px) { .hs { flex-wrap: nowrap; } .hs-d { flex: 1 1 0; width: auto; min-width: 0; } }
@media (min-width: 720px) {
  .ap-entry-h1 { font-size: 52px; }
  .hx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .hc { padding: 28px 32px; }
  .hc-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .hc-go { width: auto; white-space: nowrap; }
}
@media (min-width: 1024px) {
  .ap-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: end; }
  .ap-inside-box { border-left: 1px solid var(--rule); padding-left: 40px; padding-bottom: 6px; }
  .ap-entry-h1 { font-size: 64px; }
  #hc-body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
  .hc-out { border-left: 1px solid var(--rule); padding-left: 40px; }
}
#ap-hero .hc-out { display: block; }
#ap-hero .hc-side { display: block; }
#ap-hero .hc-cal .ap-sheet { display: none; }
.ap-entry .ap-lawyer + .ap-entry-disc { margin-top: 28px; }

/* нижние блоки во всю ширину */
.ap-entry .ap-entry-disc { max-width: none; }
@media (min-width: 720px) {
  .ap-other-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
  .ap-other-list li { border-top: 1px solid var(--rule); }
}
/* частые вопросы во всю ширину: на компьютере заголовок слева, вопросы справа */
.ap-faq { max-width: none; }
.ap-faq-i p { max-width: 70ch; }
@media (min-width: 1024px) {
  .ap-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
  .ap-faq > h2 { margin-top: 0; }
  .ap-faq > :not(h2) { grid-column: 2; }
}


/* 21.11.2026 разъясняющий раздел для поиска */
.ap-entry-sub { margin-top: -6px; }
.ap-guide { max-width: var(--col); margin-top: 56px; }
.ap-guide p, .ap-guide li { line-height: 1.65; }
.ap-guide p { margin: 0 0 14px; }
.ap-guide ul { margin: 0 0 16px; padding-left: 22px; }
.ap-guide li { margin-bottom: 6px; }
.ap-guide a:not(.ap-btn) { color: var(--olive); text-underline-offset: 3px; }
.ap-guide-h3 { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 32px 0 10px; }
.ap-guide-table { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); }
.ap-guide-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ap-guide-table th, .ap-guide-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.ap-guide-table th { font-weight: 700; background: #E4E7DF; }
.ap-guide-table tr:last-child td { border-bottom: 0; }
.ap-guide-table td:first-child { width: 38%; font-weight: 500; }
.ap-guide-cta { margin: 20px 0 14px; }
.ap-guide-note { font-size: 13px; color: #5F6368; }
@media print { .ap-guide { display: none; } }

/* 21.11.2026 образец заявления в размытии */
.ap-sample { margin: 8px 0 22px; }
.ap-sample-pic { display: block; position: relative; max-width: 420px; aspect-ratio: 1191 / 1300; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(21,23,26,.08); }
.ap-sample-pic img { display: block; width: 100%; height: auto; }
.ap-sample-pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(rgba(255,255,255,0), #fff); }
.ap-sample-badge { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 1; width: max-content; max-width: 86%; text-align: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.35; padding: 10px 16px; border-radius: 6px; }
.ap-sample-pic:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ap-sample figcaption { font-size: 14px; color: #5F6368; margin-top: 10px; max-width: 420px; }

/* 21.11.2026 разделы на всю ширину: заголовок слева, текст справа */
.ap-guide { max-width: none; }
.ap-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 48px; padding: 28px 0; border-top: 1px solid var(--rule); }
.ap-split-h .ap-h2, .ap-split-h .ap-guide-h3 { margin: 0 0 8px; }
.ap-split-b { min-width: 0; }
.ap-split-b > :last-child { margin-bottom: 0; }
.ap-guide .ap-split:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .ap-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; }
  .ap-split-h { position: sticky; top: 92px; align-self: start; }
  .ap-split-h .ap-guide-h3 { font-size: 20px; }
  .ap-split-h .ap-h2 { font-size: 26px; }
}
