/* Стиль «ПрофНайм» по утверждённому прототипу дизайнера (landing/): тёмная шапка, боковое меню,
   тёплый «бумажный» фон, терракотовый акцент, Golos Text + IBM Plex Mono для служебных надписей.
   Терракота — только интерфейс (кнопки, ссылки, номера). Зелёный / жёлтый / красный — только сигналы отчёта (--sig-*). */
:root {
  --ink: #242925;          /* шапка, основной текст, тёмные кнопки */
  --on-ink: #fbfaf6;
  --bg: #f0eee7;           /* фон страницы */
  --side: #e8e7df;         /* боковое меню, подсказки */
  --paper: #fbfaf6;        /* листы и таблицы */
  --paper-2: #f3f2eb;      /* подвалы, зоны загрузки */
  --field: #ffffff;
  --border: #d8d9d0;
  --border-2: #e5e5dc;     /* линии внутри таблиц */
  --border-field: #cbd0c7;
  --text: #242925;
  --muted: #747970;
  --muted-2: #5e665e;
  --accent: #9b4c38;
  --accent-hover: #803d2c;
  --accent-soft: #9b4c3822;
  --ok: #466650;   --ok-soft: #e6ebe4;
  --warn: #76591f; --warn-soft: #eee9d7;
  --bad: #a2342a;  --bad-soft: #f3e3de;
  --info: #646b62; --info-soft: #ebe9e1;
  --sig-green: #4f8a63; --sig-yellow: #d9a52b; --sig-red: #c43d2f;
  --r: 7px;
  --r-sm: 5px;
  --font: "Golos Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font: 16px/1.48 var(--font); font-synthesis: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: #9b4c3855; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-weight: 600; letter-spacing: -.045em; line-height: 1.12; font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 9px; }
h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; margin-bottom: 6px; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; margin-bottom: 6px; }
h4 { font-weight: 600; }
p { margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px !important; }
.strong { font-weight: 600; color: var(--text); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.overline, .eyebrow, .section-num, .draft-tag { font: 500 11px/1.5 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.overline, .eyebrow { color: var(--accent); }
.overline--muted { color: var(--muted); }
.eyebrow { margin-bottom: 10px; }
code { font: .9em var(--mono); background: var(--paper-2); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; }

/* ---------- шапка ---------- */
.topbar { height: 76px; background: var(--ink); color: var(--on-ink); position: sticky; top: 0; z-index: 20; }
.topbar__inner { height: 100%; max-width: 1660px; margin: auto; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__name { font-size: 20px; font-weight: 600; letter-spacing: -.045em; }
.brand__sub { font-size: 12px; color: #aeb5aa; margin-left: 4px; }
/* знак: два пересекающихся квадрата, пересечение — акцентом */
.brand__mark { width: 31px; height: 31px; position: relative; border: 1.8px solid #f0eee7; border-radius: 2px; display: block; margin: 5px 5px 0 0; flex: none; }
.brand__mark::before { content: ""; position: absolute; inset: 6px -6px -6px 6px; border: 1.8px solid #f0eee7; border-radius: 2px; }
.brand__mark span { position: absolute; background: var(--accent); width: 10px; height: 10px; top: 10px; left: 12px; z-index: 1; }
.topnav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.topnav > a:not(.btn), .topnav__exit { color: #e6e6dd; text-decoration: none; }
.topnav > a:not(.btn):hover, .topnav__exit:hover { color: #fff; }
.topnav form { margin: 0; }
.topnav__user { padding-left: 22px; border-left: 1px solid #586158; color: #d9dfd5 !important; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.topnav__exit { border: 0; background: none; padding: 8px 0; font-size: 14px; }
.menu-toggle { display: none; border: 1px solid #687167; color: #fff; background: none; border-radius: 6px; padding: 9px; }

/* ---------- каркас: боковое меню + содержимое ---------- */
.shell { max-width: 1660px; margin: auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar { background: var(--side); border-right: 1px solid var(--border); padding: 38px 18px 30px; display: flex; flex-direction: column; }
.sidebar__overline { color: var(--muted); padding: 0 16px 19px; }
.sidenav { display: grid; gap: 5px; }
.sidenav a, .sidenav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: #526057; text-decoration: none; border: 0; background: none; width: 100%; text-align: left; }
.sidenav a:hover, .sidenav button:hover { background: #dfdfd6; color: var(--text); }
.sidenav a.is-active { background: var(--ink); color: var(--on-ink); }
.sidenav a.is-active .icon { color: #d79885; }
.sidenav form { margin: 0; }
.sidenav__mobile { display: none !important; }
.sidebar__bottom { margin-top: auto; padding: 28px 15px 0; color: var(--muted); }
.sidebar__glyph { width: 83px; height: 65px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.sidebar__glyph path { fill: var(--accent); stroke: none; opacity: .86; }
.sidebar__bottom p { font-size: 14px; line-height: 1.4; color: #475048; max-width: 150px; margin: 11px 0 25px; }
.sidebar__bottom span { font: 11px var(--mono); letter-spacing: .02em; }
.main { min-width: 0; padding: 42px clamp(25px, 4.2vw, 76px) 90px; }

/* ---------- заголовок страницы ---------- */
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 32px; flex-wrap: wrap; }
.pagehead--compact { align-items: center; margin-bottom: 29px; }
.subtle { color: var(--muted); margin: 0; font-size: 15px; }
.subtle a { margin-left: 8px; }
.crumb { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 20px; text-decoration: none; }
.crumb:hover { color: var(--accent); }
.crumb .icon { width: 15px; height: 15px; }
.draft-tag { color: var(--muted); text-align: right; max-width: 220px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }

/* ---------- кнопки ---------- */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: var(--r-sm); padding: 11px 18px;
  font-size: 14px; font-weight: 600; border: 1px solid var(--border-field); background: var(--paper); color: var(--text); white-space: nowrap; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .12s, border-color .12s; }
.btn:hover { border-color: var(--muted); background: #fff; color: var(--text); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn .icon { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn--primary:hover { background: var(--accent-hover); border-color: transparent; color: #fff; }
.btn--outline { border-color: var(--border-field); background: var(--paper); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--paper-2); border-color: transparent; color: var(--accent-hover); }
.btn--dark { background: var(--ink); border-color: transparent; color: #fff; }
.btn--danger { background: transparent; border-color: transparent; color: var(--bad); }
.btn--danger:hover { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.btn--sm { min-height: 38px; padding: 8px 13px; }
.btn--xs { min-height: 30px; padding: 4px 11px; font-size: 12px; background: var(--field); }
.btn--lg { min-height: 50px; padding: 13px 26px; font-size: 15px; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.linkbtn:hover { color: var(--accent); }
.text-link { color: var(--accent); font-size: 14px; }

/* ---------- сообщения ---------- */
.flash { padding: 13px 17px; margin-bottom: 24px; border-left: 3px solid var(--ok); background: var(--ok-soft); color: var(--ok); font-size: 14px; }
.flash--error { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }
.flash--warn { border-color: #9a7635; background: var(--warn-soft); color: var(--warn); }
.notice { border-left: 3px solid var(--muted); background: #e6e8e0; padding: 15px 18px; margin-bottom: 24px; color: #475048; font-size: 14px; }
.notice p { margin: 6px 0 0; }
.notice h2 { font-size: 18px; margin-bottom: 6px; color: var(--text); }
.notice .actions { margin-top: 14px; }
.notice--warn { border-color: #9a7635; background: #eee9df; }
.notice--bad { border-color: var(--bad); background: var(--bad-soft); }
.note-warn { font-size: 13px; color: var(--warn); background: var(--warn-soft); border-left: 3px solid #9a7635; padding: 9px 13px; margin: 14px 0 0; }
.bg-job { margin-left: 6px; }
.spinner { width: 11px; height: 11px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- метки состояния ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 3px; padding: 5px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.3; background: var(--info-soft); color: var(--info); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--bad { background: var(--bad-soft); color: var(--bad); }
.badge--warn, .badge--run { background: var(--warn-soft); color: #6f5b2c; }
.badge--run::before { animation: pulse 1.2s ease-in-out infinite; }
.badge--info { background: var(--info-soft); color: var(--info); }
@keyframes pulse { 50% { opacity: .25; } }
.st-text--ok { color: var(--ok); }
.st-text--warn { color: var(--warn); }
.st-text--bad { color: var(--bad); }
.st-text--muted { color: var(--muted); }

/* ---------- сводка над списком ---------- */
.overview { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); display: flex; align-items: center; margin: 28px 0 40px; padding: 24px 0; gap: 35px; }
.overview > div { display: flex; align-items: baseline; gap: 11px; white-space: nowrap; color: var(--muted); font-size: 13px; }
.overview__num { font-size: 32px; font-weight: 600; letter-spacing: -.05em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.overview__note { color: var(--muted); font-size: 13px; margin: 0 0 0 auto; max-width: 370px; line-height: 1.5; }

/* ---------- списки и таблицы ---------- */
.listing { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.listing--spaced { margin-top: 32px; }
.listing + .listing, .listing + .sheet--spaced, .sheet--spaced { margin-top: 20px; }
.listing__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 28px 22px; flex-wrap: wrap; }
.listing__head > div { display: flex; align-items: baseline; gap: 13px; }
.listing__head h2 { margin: 0; }
.count { color: var(--muted); font-size: 13px; }
.searchbox { display: flex; align-items: center; gap: 9px; background: var(--field); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0 4px 0 12px; min-width: 290px; max-width: 420px; flex: 1; color: var(--muted); margin: 0; }
.searchbox:focus-within { border-color: var(--accent); }
.searchbox .icon { width: 18px; height: 18px; }
.searchbox input { border: 0; outline: 0; width: 100%; height: 42px; background: none; font-size: 14px; color: var(--text); padding: 0; box-shadow: none; min-width: 0; }
.searchbox input:focus { box-shadow: none; }
.searchbox .btn { min-height: 34px; padding: 6px 10px; }
.table-wrap { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; text-align: left; }
.table th { color: var(--muted); font-size: 12px; font-weight: 500; padding: 13px 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; text-align: left; }
.table th.num { text-align: right; }
.table td { padding: 16px 14px; border-bottom: 1px solid var(--border-2); font-size: 14px; vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: 28px; }
.table th:last-child, .table td:last-child { padding-right: 28px; }
.table tbody tr:last-child td { border-bottom: 0; }
.table:not(.table--static) tbody tr { cursor: pointer; }
.table:not(.table--static) tbody tr:hover, .table--checks tbody tr:hover { background: #f4f2eb; }
.card .table th { border-top: 0; }
.card .table-wrap { margin: 0 -28px 16px; }
.table--checks td:first-child, .batch-table td:first-child { min-width: 180px; }
.c-date small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.c-date { white-space: nowrap; }
.candidate { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: #bec3b9; text-underline-offset: 4px; }
.candidate:hover { color: var(--accent); }
.table small.mono, .table td > small { display: block; color: var(--muted); font: 12px var(--mono); margin-top: 5px; }
.row-go a { color: var(--accent); display: inline-flex; }
.is-muted td { opacity: .55; }
.empty { text-align: center; padding: 55px 20px; color: var(--muted); border-top: 1px solid var(--border); }
.empty > .icon { width: 31px; height: 31px; margin: 0 auto 15px; }
.empty h3 { color: var(--text); }
.empty .btn { margin-top: 10px; }
.pager { display: flex; gap: 4px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pager a { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--paper); color: var(--text); text-decoration: none; font: 13px var(--mono); }
.pager a.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* точки светофора в списках */
.dots { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; flex: none; background: var(--muted);
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.dot--green { background: var(--sig-green); box-shadow: 0 0 0 4px #4f8a6324; }
.dot--yellow { background: var(--sig-yellow); box-shadow: 0 0 0 4px #d9a52b2e; }
.dot--red { background: var(--sig-red); box-shadow: 0 0 0 4px #c43d2f24; }
.dot--sm { width: 10px; height: 10px; vertical-align: 0; box-shadow: none; }

/* ---------- листы, формы ---------- */
.paper, .card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); }
.card { padding: 26px 28px; margin-bottom: 20px; }
.card__title { font-size: 18px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sheet { padding: clamp(22px, 3vw, 38px); }
.narrow { max-width: 520px; }
.workarea { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 280px); gap: 20px; align-items: start; }
.section-title { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 30px; }
.section-num { color: var(--accent); white-space: nowrap; padding-top: 7px; font-size: 13px; }
.section-title h2 { font-size: 28px; margin-bottom: 7px; }
.section-title p { color: var(--muted); font-size: 14px; max-width: 620px; margin: 0; }
.grid { display: grid; gap: 20px 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.align-end { align-items: end; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 500; min-width: 0; align-content: start; }
.field--full { margin-top: 20px; }
input, select, textarea { border: 1px solid var(--border-field); background: var(--field); color: var(--text); border-radius: 4px; padding: 11px 12px; width: 100%; min-width: 0;
  min-height: 45px; outline: none; font-weight: 400; font-size: 15px; transition: border-color .12s, box-shadow .12s; }
select { appearance: none; padding-right: 36px; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23747970' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: #8c9389; }
textarea { resize: vertical; line-height: 1.5; }
input[type=file] { padding: 8px; background: var(--paper-2); border-style: dashed; cursor: pointer; }
input[type=checkbox] { width: 19px; height: 19px; min-height: 0; padding: 0; accent-color: var(--accent); flex: none; margin: 1px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.field__error { color: var(--bad); font-size: 12px; font-weight: 400; }
.checkbox { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.divider { border-top: 1px solid var(--border); margin: 30px 0 25px; }
.small-heading { font-size: 16px; margin-bottom: 19px; }
.small-heading .muted { font-weight: 400; font-size: 14px; }
.details summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; }
.details textarea { margin-top: 12px; }
.inline { display: flex; gap: 6px; margin: 0; }
.inline input { max-width: 180px; min-height: 38px; padding: 7px 10px; }
.formactions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 16px; flex-wrap: wrap; }
.formactions > div { display: flex; align-items: center; gap: 12px; }
.formactions > :only-child { margin-left: auto; }
.consent { background: #efeee7; border-left: 3px solid var(--accent); padding: 19px 20px; margin-top: 27px; }
.consent .checkbox { font-weight: 600; }
.consent .checkbox b { font-weight: 700; }
.consent.has-error { background: var(--bad-soft); border-color: var(--bad); }
.consent .field__error { display: block; margin: 8px 0 0 32px; }

/* подсказка справа от листа */
.context { border: 1px solid var(--border); background: var(--side); border-radius: var(--r); padding: 26px 24px; color: #475048; }
.context__symbol { width: 59px; height: 59px; display: grid; place-items: center; border: 1px solid #bdc3b8; border-radius: var(--r-sm); margin: 29px 0 22px; transform: rotate(-5deg); }
.context__symbol .icon { width: 32px; height: 32px; transform: rotate(5deg); color: var(--accent); }
.context h3 { font-size: 20px; color: var(--text); }
.context p { font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.context p:last-child { margin-bottom: 0; }
.context__rule { border-top: 1px solid #c9cec5; margin: 24px 0; }
.howto { margin: 18px 0 16px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.howto li { margin-bottom: 8px; }

/* загрузка файла */
.upload { border: 1px dashed #aeb4a9; border-radius: 6px; background: var(--paper-2); padding: 22px 25px; display: flex; align-items: center; gap: 18px; cursor: pointer; margin-bottom: 14px; }
.upload:hover, .upload:focus-within { border-color: var(--accent); }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload.has-file { border-style: solid; border-color: var(--ok); background: #eef1ea; }
.upload.has-error { border-color: var(--bad); }
.upload__symbol { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #c6c9bf; border-radius: var(--r-sm); color: var(--accent); flex: none; }
.upload__symbol .icon { width: 24px; height: 24px; }
.upload__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.upload__text b { font-size: 16px; font-weight: 600; }
.upload__text small { color: var(--muted); font-size: 13px; }
.upload__file { font: 12px var(--mono); color: var(--ok); overflow-wrap: anywhere; }
.upload__file:empty { display: none; }
.upload__button { margin-left: auto; pointer-events: none; }

/* мастер новой проверки: без JS видны все шаги */
.wsteps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); background: var(--side); border-radius: 6px; overflow: hidden; margin: 0 0 25px; }
.wsteps[hidden] { display: none; }
.wsteps__item { border: 0; border-right: 1px solid var(--border); background: none; display: flex; align-items: center; gap: 12px; text-align: left; padding: 15px 17px; color: var(--muted); font-size: 14px; font-weight: 500; min-height: 67px; }
.wsteps__item:last-child { border-right: 0; }
.wsteps__item.is-current { background: var(--ink); color: #fff; }
.wsteps__item.is-done { color: var(--text); }
.wsteps__item:disabled { cursor: default; }
.wsteps__index { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; font: 12px var(--mono); flex: none; }
.wsteps__item.is-current .wsteps__index { color: #e4ae9c; }
.wsteps__index .icon { width: 16px; height: 16px; }
.wstep + .wstep { margin-top: 20px; }
.wizard.is-js .wstep { display: none; margin-top: 0; }
.wizard.is-js .wstep.is-current { display: grid; }
.js-only { display: none !important; }
.wizard.is-js .js-only { display: flex !important; }
.review-card { gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--border); align-items: center; }
.review-card:first-of-type { padding-top: 0; }
.review-card__icon { width: 45px; height: 45px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); border-radius: 4px; flex: none; }
.review-card__icon .icon { width: 23px; height: 23px; }
.review-card > div:nth-child(2) { min-width: 0; }
.review-card h3 { margin: 3px 0; font-size: 17px; overflow-wrap: anywhere; }
.review-card p { font-size: 13px; color: var(--muted); margin: 0; }
.inline-edit { margin-left: auto; border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- отчёт ---------- */
.report-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-heading h1 { margin: 0; }
.report-heading + .subtle { margin-top: 10px; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.report-main, .report-aside { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); }
.report-main { padding: 30px 0 0; overflow: hidden; }
.report-main > .overline, .report-main > h2, .report-main > .report-intro, .report-main > .note-warn, .report-main > .progress__steps,
.report-main > .progress__stage, .report-main > .sources { margin-left: 30px; margin-right: 30px; }
.report-main > .overline { margin-bottom: 12px; }
.report-main > h2 { font-size: 25px; }
.report-intro { font-size: 14px; color: var(--muted); max-width: 700px; margin-bottom: 20px; }
.report-foot { padding: 17px 30px; border-top: 1px solid var(--border); background: var(--paper-2); color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 22px; }
.report-main .table-wrap + .report-foot { margin-top: 0; }
.report-aside { padding: 25px; }
.monogram { width: 56px; height: 56px; border: 1px solid #adbaac; background: #edf0e7; display: grid; place-items: center; margin: 23px 0; color: var(--accent); font-size: 20px; font-weight: 600; }
.report-aside dl, .report-aside dd { margin: 0; }
.report-aside dl > div { border-top: 1px solid var(--border-2); padding: 13px 0; }
.report-aside dl > div:last-child { padding-bottom: 0; }
.report-aside dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.report-aside dd { font-size: 14px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* сводка: пункт × зелёный / жёлтый / красный */
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 30px 16px; color: var(--muted-2); font-size: 13px; }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.lights { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 1px solid var(--border); }
.lights th { color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; padding: 11px 15px 11px 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lights td { padding: 16px 15px 16px 30px; border-bottom: 1px solid var(--border-2); vertical-align: middle; line-height: 1.45; }
.lights tbody tr:last-child td { border-bottom: 0; }
.lights tbody tr:hover td { background: #f4f2eb; }
.lights__c { width: 88px; text-align: center !important; padding-left: 8px !important; padding-right: 8px !important; }
.lights__item { display: flex; align-items: center; gap: 12px; }
.lights td.lights__dot { width: 64px; padding: 16px 30px 16px 8px; text-align: center; }
.row-num { font: 11px var(--mono); color: var(--accent); flex: none; }
.lights__icon { color: var(--muted); flex: none; }
.lights__icon .icon { width: 18px; height: 18px; }
.lights__title { color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.lights__title:hover { color: var(--accent); }
.lights__sum { display: block; color: var(--muted-2); font-size: 13px; margin-top: 2px; }

/* прогресс сбора */
.progress__steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); background: var(--side); border-radius: 6px; overflow: hidden; margin-top: 18px; margin-bottom: 18px; }
.pstep { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--muted); font-weight: 500; font-size: 14px; border-right: 1px solid var(--border); }
.pstep:last-child { border-right: 0; }
.pstep.is-active { background: var(--ink); color: #fff; }
.pstep__index { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid currentColor; border-radius: 50%; font: 11px var(--mono); flex: none; }
.pstep.is-active .pstep__index { color: #e4ae9c; animation: pulse 1.2s ease-in-out infinite; }
.progress__stage { font-weight: 600; }
.sources { margin-top: 12px; margin-bottom: 12px; }
.sources__sum { color: var(--muted); margin-bottom: 8px; }
.sources__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 20px; }
.src { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: baseline; gap: 2px 8px; padding: 6px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; }
.src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; align-self: center; background: var(--border); }
.src__name { min-width: 0; }
.src__state { font-size: 12px; color: var(--muted); }
.src__err { grid-column: 2 / -1; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.src--done::before { background: var(--sig-green); }
.src--done .src__state { color: var(--ok); }
.src--error::before { background: var(--sig-red); }
.src--error .src__state { color: var(--bad); }
.src--running::before, .src--retry::before { background: var(--sig-yellow); animation: pulse 1.2s ease-in-out infinite; }
.src--running .src__state, .src--retry .src__state { color: var(--warn); font-weight: 600; }
.src--waiting { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .src--running::before, .src--retry::before, .badge--run::before, .pstep.is-active .pstep__index { animation: none; } }

/* сайты и соцсети, пункты — листы под сводкой */
.rsec { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); margin-top: 20px; padding: 28px 30px; scroll-margin-top: 92px; }
.rsec > .overline { margin-bottom: 8px; }
#s-criteria { background: transparent; border: 0; padding: 0; }
.social__title { font-size: 23px; margin-bottom: 12px; }
.social__title .muted { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.social__list { list-style: none; margin: 0; padding: 0; font-size: 14px; border-top: 1px solid var(--border); }
.social__list li { padding: 11px 0; border-bottom: 1px solid var(--border-2); overflow-wrap: anywhere; }
.social__net { display: inline-block; min-width: 96px; color: var(--muted); font: 12px var(--mono); }
.social__list a { color: var(--text); font-weight: 600; }
.social__list a:hover { color: var(--accent); }
.social__why { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.conf--high { color: var(--ok); }
.conf--medium { color: var(--warn); }
.conf--low { color: var(--muted); }
.source-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.printonly { display: none; }
.more { margin-top: 12px; }
.more > summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; padding: 6px 0; }
.linkgroup { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; }
.linkgroup:last-child { border-bottom: 0; }
.linkgroup__name { font: 12px var(--mono); color: var(--muted); }
.linkgroup__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* пункты и соцсети: строки одной высоты (--crit-h считает скрипт в check.html), длинные обрезаны до «Раскрыть» */
.report-crits { min-width: 0; }
.crits-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 12px; }
.crits-bar .legend { margin: 0; }
.crits-bar__all { font-size: 13px; font-weight: 600; color: var(--accent); }
.report-crits > .note-warn { margin: 0 0 12px; }
.crits-foot { color: var(--muted); font-size: 12px; margin: 14px 2px 0; }
.crit { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); margin-top: 12px; scroll-margin-top: 92px; }
.crits--fit .crit:not(.is-open) { height: var(--crit-h); }
.crits--fit .crit.is-long:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 250, 246, 0), var(--paper)); }
.crits-bar + .crit { margin-top: 0; }
.crit__head { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto 92px; gap: 16px; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--border-2); }
.crit.is-long > .crit__head { cursor: pointer; }
.crit.is-long > .crit__head:hover { background: #f4f2eb; }
.crit__head:hover .crit__toggle { color: var(--accent-hover); }
.crit__name { min-width: 0; }
.crit__num { display: block; margin-bottom: 2px; color: var(--muted); }
.crit__title { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.crit__summary { font-size: 14px; font-weight: 600; text-align: right; }
.crit__summary small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.crit__toggle { grid-column: 4; font-size: 13px; font-weight: 600; color: var(--accent); text-align: right; white-space: nowrap; }
.crit__body { padding: 14px 26px 22px; }
.crit__body > * { margin-left: 32px; }
/* статусы в карточке кандидата: СЗ, ИП, учредитель, гендиректор */
.status-row__value { font-weight: 600; }
.status-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.more--inline { margin-top: 4px; }
.more--inline > summary { font-size: 12px; padding: 2px 0; }
.facts--nested .fact { font-size: 13px; padding: 7px 0 7px 18px; }
.facts--nested .fact::before { top: 13px; }
.crit__note { color: var(--muted); font-size: 12px; margin-top: 10px !important; }
.subhead { font: 500 11px/1.5 var(--mono); letter-spacing: .075em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.crit .table th { padding: 10px 14px; }
.crit .table td { padding: 10px 14px; font-size: 13px; }

/* факты: маркер-точка */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-2); }
.fact { position: relative; padding: 10px 0 10px 20px; font-size: 14px; border-bottom: 1px solid var(--border-2); overflow-wrap: anywhere; }
.fact:last-child { border-bottom: 0; }
.fact::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .45; }
.fact--ok::before { background: var(--sig-green); opacity: 1; }
.fact--warn::before { background: var(--sig-yellow); opacity: 1; }
.fact--bad::before { background: var(--sig-red); opacity: 1; }
.fact__src { font-size: 12px; color: var(--muted); margin-left: 4px; }
.fact__src:hover { color: var(--accent); }
.fact--stop { color: var(--bad); font-weight: 600; }
.fact--rejected .fact__text { text-decoration: line-through; color: var(--muted); }
.fact--pending::before { background: transparent !important; border: 2px solid var(--sig-yellow); width: 6px; height: 6px; opacity: 1; }
.review { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.review__form { display: inline-flex; gap: 6px; margin: 0; }
.review .linkbtn { font-size: 12px; text-decoration: underline; }
.review__ask { color: var(--warn); }
.review__done--yes { color: var(--bad); }
.review__done--no { color: var(--ok); }
.attention__where { display: block; font-size: 12px; color: var(--muted); }
.stops .facts { border-top: 0; }
.stops .fact { border-bottom-color: #e3cbc4; }

/* пачки */
.batch-rows td { font-size: 13.5px; vertical-align: top; }
.batch-rows .checkbox { margin-top: 6px; font-size: 13px; }
.batch-table td.dotcell { text-align: center; }
.batch-table th.lights__c { font-family: var(--mono); }
.batch-table .lights__c { width: 40px; }
.row-error td { background: var(--bad-soft); }
.row-skip td { color: var(--muted); }

/* настройки */
.diag { display: flex; flex-direction: column; border-top: 1px solid var(--border-2); }
.diag__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-2); flex-wrap: wrap; font-size: 14px; }
.diag__row:last-child { border-bottom: 0; }
.diag__row > span:last-child { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.diag__sub { font-size: 12px; color: var(--muted); padding: 0 0 12px; margin-top: -4px; border-bottom: 1px solid var(--border-2); }
.diag__row > span:first-child { font-weight: 600; }
.backup { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 10px; }
.backup__text { margin: 0; max-width: 70ch; font-size: 14px; }
.backup__text .muted { display: block; font-size: 13px; margin-top: 4px; }

/* ---------- вход ---------- */
.guest { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.guest > .flash { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); }
.login { width: 100%; max-width: 420px; }
.login__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; justify-content: center; }
.login__brand .brand__mark { border-color: var(--ink); }
.login__brand .brand__mark::before { border-color: var(--ink); }
.login__brand .brand__name { font-size: 26px; }
.login__card { padding: 34px 32px 32px; border-top: 2px solid var(--ink); }
.login__card h1 { font-size: 32px; }
.login__card .subtle { margin-bottom: 24px; }
.login__card .flash { margin-bottom: 16px; }
.login__foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* ---------- адаптив ---------- */
@media (max-width: 1120px) {
  .shell { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .sidebar__bottom { display: none; }
  .main { padding-left: 32px; padding-right: 32px; }
  .workarea, .report-grid { grid-template-columns: minmax(0, 1fr) 240px; }
  .lights__icon { display: none; }
  .lights__c { padding-left: 4px !important; padding-right: 4px !important; }
  .lights td { padding-left: 20px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upload { flex-wrap: wrap; }
  .upload__button { margin-left: 68px; }
  .topnav > a:first-child { display: none; }
}
@media (max-width: 860px) {
  .topbar { height: 64px; }
  .topbar__inner { padding: 0 20px; }
  .brand__sub, .topnav { display: none; }
  .menu-toggle { display: block; }
  .shell { display: block; min-height: calc(100vh - 64px); }
  .sidebar { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 19; box-shadow: 0 15px 25px #0002; padding: 15px; }
  .sidebar.is-open { display: block; }
  .sidebar__overline { display: none; }
  .sidenav__mobile { display: flex !important; }
  .sidenav form.sidenav__mobile { display: block !important; }
  .main { padding: 28px 20px 65px; }
  .workarea, .report-grid { grid-template-columns: minmax(0, 1fr); }
  .context { display: none; }
  .report-aside { grid-row: 1; }
  .report-aside dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .monogram { display: none; }
  .report-aside > .overline { margin-bottom: 6px; }
  .overview__note, .head-cta { display: none; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .rsec, .crit { scroll-margin-top: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1, .report-heading h1 { font-size: 30px; }
  .pagehead { margin-bottom: 23px; }
  .pagehead--compact { align-items: flex-start; }
  .draft-tag { display: none; }
  .overview { gap: 25px; margin: 24px 0 28px; padding: 18px 0; }
  .overview > div { flex-direction: column; gap: 1px; }
  .overview__num { font-size: 28px; }
  .listing__head { display: block; padding: 20px; }
  .listing__head > div { margin-bottom: 14px; }
  .searchbox { min-width: 0; max-width: none; width: 100%; }
  .table th, .table td { padding-left: 16px; padding-right: 16px; }
  .card { padding: 20px 18px; }
  .card .table-wrap { margin: 0 -18px 12px; }
  .wsteps__item { padding: 10px 6px; justify-content: center; min-height: 55px; }
  .wsteps__title { display: none; }
  .sheet { padding: 22px 18px; }
  .section-title { flex-direction: column; gap: 6px; margin-bottom: 22px; }
  .section-num { font-size: 11px; padding-top: 0; }
  .section-title h2 { font-size: 23px; }
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .upload { padding: 18px; gap: 12px; }
  .upload__text { width: calc(100% - 65px); }
  .upload__button { margin: 6px 0 0; width: 100%; }
  .formactions { align-items: stretch; }
  .formactions > div { flex: 1; justify-content: flex-end; }
  .consent { padding: 16px; }
  .report-heading { gap: 8px; }
  .report-main { padding-top: 22px; }
  .report-main > .overline, .report-main > h2, .report-main > .report-intro, .report-main > .note-warn, .report-main > .progress__steps,
  .report-main > .progress__stage, .report-main > .sources { margin-left: 18px; margin-right: 18px; }
  .legend { margin-left: 18px; margin-right: 18px; gap: 14px; }
  .report-foot { padding: 14px 18px; }
  .report-aside { padding: 20px 18px; }
  .report-aside dl { grid-template-columns: minmax(0, 1fr); }
  .lights th, .lights td { padding-left: 18px; padding-right: 8px; }
  .lights__icon { display: none; }
  .lights__item { gap: 9px; align-items: flex-start; }
  .lights td.lights__dot { width: 40px; padding: 12px 16px 12px 4px; }
  .row-num { padding-top: 3px; }
  .progress__steps { grid-template-columns: minmax(0, 1fr); }
  .pstep { border-right: 0; border-bottom: 1px solid var(--border); }
  .pstep:last-child { border-bottom: 0; }
  .rsec { padding: 20px 18px; }
  .crit__head { grid-template-columns: 16px minmax(0, 1fr); gap: 4px 14px; padding: 16px 18px; }
  .crit__summary, .crit__toggle { grid-column: 2; text-align: left; }
  .crit__body { padding: 12px 18px 18px; }
  .crit__body > * { margin-left: 0; }
  .crit__title { font-size: 17px; }
  .linkgroup { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand__name { font-size: 18px; }
  .login__card { padding: 26px 20px; }
}

/* Таблицы без горизонтальной прокрутки: до 1024 px каждая строка — карточка.
   Подпись поля — из data-label ячейки; .c-name — заголовок карточки. */
@media (max-width: 1024px) {
  /* отчёт: карточка кандидата над сводкой, сводка во всю ширину */
  .report-grid { grid-template-columns: minmax(0, 1fr); }
  .report-aside { grid-row: 1; }
  .report-aside dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
  .monogram { display: none; }
  .report-aside > .overline { margin-bottom: 6px; }
  .table--cards, .table--cards tbody { display: block; }
  .table--cards thead { display: none; }
  .table--cards tr { display: block; padding: 16px 20px; border-bottom: 1px solid var(--border-2); }
  .table--cards tbody tr:last-child { border-bottom: 0; }
  .table--cards td { display: block; padding: 3px 0 !important; border: 0; min-width: 0 !important; width: auto !important; text-align: left !important; font-size: 14px; }
  .table--cards td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 110px; margin-right: 8px; color: var(--muted); font: 12px var(--mono); }
  .table--cards td.c-name { padding-bottom: 6px !important; }
  .table--cards td.row-go { display: none; }
  .table--cards .inline { display: inline-flex; flex-wrap: wrap; vertical-align: middle; }
  .card .table--cards tr { padding-left: 0; padding-right: 0; }
  .crit .table--cards tr { padding: 10px 0; }
  .table--cards tbody tr:hover { background: none; }
  .table--cards tr.row-error { background: var(--bad-soft); }
  .table--cards tr.row-error td { background: none; }
  .table--cards td.is-empty { display: none; }

  /* список проверок: ФИО и состояние, должность, точки и дата */
  .table--checks tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px;
    grid-template-areas: "name status" "pos pos" "dots date"; align-items: center; }
  .table--checks .c-name { grid-area: name; }
  .table--checks .c-status { grid-area: status; align-self: start; }
  .table--checks .c-pos { grid-area: pos; }
  .table--checks .c-dots { grid-area: dots; }
  .table--checks .c-date { grid-area: date; text-align: right !important; font-size: 13px; color: var(--muted); }
  .table--checks .c-date small { display: inline; margin: 0 0 0 6px; }
  .table--checks .c-date small::before { content: "· "; }

  /* итоги пачки: точки по пунктам в строку с номерами */
  .batch-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
  .batch-table td.c-name { flex: 1 0 100%; }
  .batch-table td.dotcell { display: inline-flex; align-items: center; gap: 5px; }
  .batch-table td.dotcell::before { min-width: 0; margin: 0; }
  .batch-table td.c-status { margin-left: auto; }
}
@media (max-width: 600px) {
  .table--cards tr { padding: 14px 16px; }
  .table--cards td[data-label]::before { min-width: 92px; }
  .table--checks .c-date { font-size: 12px; }
  .table--checks tr { grid-template-areas: "name status" "pos pos" "dots dots" "date date"; }
  .table--checks .c-date { text-align: left !important; }
}
@media (max-width: 860px) { .report-aside dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .report-aside dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- печать ---------- */
@media print {
  :root { --bg: #fff; --paper: #fff; --paper-2: #fff; }
  body { font-size: 12px; background: #fff; }
  .topbar, .sidebar, .crumb, .noprint, .details summary, .more > summary, .menu-toggle { display: none !important; }
  .printonly { display: block; }
  .shell { display: block; min-height: 0; }
  .main { padding: 0; }
  /* A4 уже 860 px — поэтому печать всегда одной колонкой: карточка кандидата строкой, под ней сводка на всю ширину */
  .report-grid { display: block; }
  .report-aside { grid-row: auto; margin-bottom: 14px; padding: 14px 18px; }
  .report-aside > .overline { margin-bottom: 4px; }
  .report-aside dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; }
  .report-aside dl > div { padding: 8px 0; }
  .report-main, .report-aside, .rsec, .crit { break-inside: avoid; }
  .crits--fit .crit:not(.is-open) { height: auto; }
  .crits--fit .crit::after { display: none; }
  .report-main { padding-top: 18px; margin-bottom: 14px; }
  .lights__icon { display: none; }
  .monogram { display: none; }
  .pagehead { margin-bottom: 16px; }
  details { display: block; }
  details > *:not(summary) { display: block; }
  a { color: inherit; text-decoration: none; }
  .notice, .badge, .row-num, .overline { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .lights tbody tr:hover td { background: none; }
}
