.at-input { padding: 20px 22px 18px; }
.at-form { display: grid; gap: 14px; }
.at-form .textarea { min-height: 280px; }
.at-acts .btn-l .ico { width: 20px; height: 20px; }
.at-len { margin-left: auto; font-variant-numeric: tabular-nums; }
.at-out { margin-top: 22px; display: grid; gap: 16px; scroll-margin-top: calc(var(--head-h) + 16px); }
.at-out .panel + .panel { margin-top: 0; }
.at-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 20px 22px; }
.at-verdict { display: grid; gap: 2px; min-width: 120px; }
.at-verdict-k { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.at-verdict b { justify-self: start; font-size: 30px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.25; padding: 0 4px; margin-left: -4px; white-space: nowrap; background-image: linear-gradient(100deg, transparent 1%, var(--v-mk) 3%, var(--v-mk) 97%, transparent 99%); background-repeat: no-repeat; background-size: 100% 42%; background-position: 0 90%; }
.lv-low { --v-mk: var(--mk-green); }
.lv-mid { --v-mk: var(--mk-yellow); }
.lv-high { --v-mk: var(--mk-orange); }
:root[data-theme="dark"] .lv-low { --v-mk: color-mix(in srgb, var(--mks-green) 50%, transparent); }
:root[data-theme="dark"] .lv-mid { --v-mk: color-mix(in srgb, var(--mks-yellow) 50%, transparent); }
:root[data-theme="dark"] .lv-high { --v-mk: color-mix(in srgb, var(--mks-orange) 50%, transparent); }
.at-sum-msg { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.at-sum-nums { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; }
.at-sum-nums li { display: inline-flex; align-items: baseline; gap: 2px; font-size: 14px; color: var(--ink-3); }
.at-sum-nums b { font-size: 21px; color: var(--ink); font-variant-numeric: tabular-nums; }
.at-sum-nums span { margin-left: 6px; }
.at-copy .ico { width: 16px; height: 16px; }
.at-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.at-doc-wrap { padding: 0; overflow: hidden; position: sticky; top: calc(var(--head-h) + 12px); max-height: calc(100vh - var(--head-h) - 24px); display: flex; flex-direction: column; }
.at-doc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.at-legend { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; color: var(--ink-3); }
.at-legend i { display: inline-block; width: 16px; height: 10px; margin-left: 6px; border-radius: 3px; }
.at-legend i.is-s { background: var(--mk-pink); box-shadow: inset 0 -2px 0 var(--red); }
.at-legend i.is-w { height: 6px; border-radius: 0; border-bottom: 2px dotted var(--red); }
.at-doc { padding: 18px 20px 24px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: keep-all; font-size: 16px; line-height: 2; color: var(--ink); }
.at-h { display: inline-block; font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; }
.at-m { cursor: pointer; color: inherit; border-radius: 3px; scroll-margin: 90px; }
.at-m.is-s { background: color-mix(in srgb, var(--mk-pink) 85%, transparent); color: var(--mark-ink); text-decoration: underline 2px var(--red); text-underline-offset: 4px; }
.at-m.is-w { background: none; text-decoration: underline dotted 2px var(--red); text-underline-offset: 5px; }
.at-m sup { margin-left: 1px; font-size: 10.5px; font-weight: 800; line-height: 0; color: var(--red); font-variant-numeric: tabular-nums; }
.at-m:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.at-notes { display: grid; gap: 12px; }
.at-list { list-style: none; display: grid; gap: 10px; padding: 0; }
.at-note { padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin: 90px; }
.at-note-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.at-note-h b { font-size: 15.5px; letter-spacing: -0.01em; }
.at-num { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.at-num.is-s { background: var(--red); color: var(--on-ink); }
:root[data-theme="dark"] .at-num.is-s { color: #161613; }
.at-num.is-w { background: var(--surface); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.at-num.is-shape { background: var(--surface-2); color: var(--ink-3); }
.at-num .ico { width: 14px; height: 14px; }
.at-cnt { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.at-cat { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.at-fix { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.at-exs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.at-ex { border: 0; padding: 3px 9px; border-radius: 6px; font-size: 13.5px; line-height: 1.5; text-align: left; max-width: 100%; overflow-wrap: anywhere; color: var(--mark-ink); background: var(--mk-pink); }
.at-ex.is-w { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--red) 55%, transparent); }
.at-ex:hover { filter: brightness(0.96); }
.at-human h2 { font-size: 16.5px; margin-bottom: 12px; }
.at-empty b { display: block; font-size: 16px; }
.at-empty p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.at-out .is-flash { animation: at-flash 1.3s var(--ease-out); }
@keyframes at-flash { 0%, 30% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 45%, transparent); } 100% { box-shadow: 0 0 0 3px transparent; } }
@media (max-width: 1020px) {
.at-grid { grid-template-columns: 1fr; }
.at-doc-wrap { position: static; max-height: 460px; }
}
@media (max-width: 720px) {
.at-input { padding: 16px; }
.at-sum { grid-template-columns: 1fr; gap: 12px; }
.at-len { margin-left: 0; width: 100%; }
.at-cat { margin-left: 0; width: 100%; }
.at-acts .btn-l { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.at-out .is-flash { animation: none; outline: 2px solid var(--red); }
}
