:root {
    --paper: #f3f6f8;
    --surface: #ffffff;
    --ink: #0e1b26;
    --text: #263544;
    --muted: #5d6b79;
    --rule: #dce3e9;
    --rule-2: #c5d0da;
    --accent: #1f4fd8;
    --accent-deep: #1739a3;
    --accent-soft: #e7eefd;
    --ok: #138a4b;
    --ok-soft: #e3f4ea;
    --navy: #0b1a2b;
    --navy-2: #13283f;
    --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
    --wrap: 1200px;
    --pad: 24px;
    --r: 14px;
    --r-s: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.tr { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

.tr-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tr-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--r-s); background: var(--accent); color: #fff; font-weight: 700; }
.tr-skip:focus { left: 8px; }
.tr-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.tr-main { flex: 1 0 auto; padding-bottom: 64px; }
.tr-empty { margin: 40px 0; padding: 28px; border: 1px dashed var(--rule-2); border-radius: var(--r); background: var(--surface); color: var(--muted); }

.tr-head { position: relative; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--rule); }
.tr-head__row { display: flex; align-items: center; gap: 16px 28px; min-height: 72px; }
.tr-logo { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.tr-logo__mark { display: grid; flex: none; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 9px; color: var(--accent); }
.tr-logo__mark img { width: 100%; height: 100%; }
.tr-logo__name { font: 800 21px/1.1 var(--sans); letter-spacing: -.02em; }
.tr-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.tr-nav__link { padding: 8px 14px; border-radius: 999px; color: var(--text); font: 600 15px/1.2 var(--sans); text-decoration: none; }
.tr-nav__link:hover { background: var(--paper); color: var(--ink); }
.tr-nav__link.is-active { background: var(--accent-soft); color: var(--accent-deep); }

.tr-search { display: flex; align-items: center; width: 260px; height: 42px; padding-left: 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--paper); }
.tr-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-search__input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 500 15px var(--sans); -webkit-appearance: none; appearance: none; }
.tr-search__input:focus { outline: none; }
.tr-search__input::placeholder { color: var(--muted); opacity: 1; }
.tr-search__btn { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 2px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.tr-search__btn:hover { background: var(--accent-deep); }
.tr-search:focus-within { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }

.tr-hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 0%, var(--navy-2) 0%, var(--navy) 60%); color: #dbe5ef; }
.tr-hero::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 360px; height: 420px; background: rgb(255 255 255 / .04); clip-path: path("M180 0 0 68v124c0 110 76 196 180 232 104-36 180-122 180-232V68Z"); }
.tr-hero__inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 60px; }
.tr-hero__title { max-width: 18ch; margin: 0 0 16px; color: #fff; font: 800 clamp(32px, 4.4vw, 54px)/1.08 var(--sans); letter-spacing: -.03em; }
.tr-hero__lead { max-width: 62ch; margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: #b9c8d7; }
.tr-hero__search { display: flex; align-items: center; gap: 10px; max-width: 680px; padding: 8px 8px 8px 20px; border-radius: 16px; background: var(--surface); box-shadow: 0 18px 40px rgb(0 0 0 / .28); }
.tr-hero__icon { flex: none; color: var(--muted); }
.tr-hero__search input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; color: var(--ink); font: 500 18px var(--sans); -webkit-appearance: none; appearance: none; }
.tr-hero__search input:focus { outline: none; }
.tr-hero__search input::placeholder { color: var(--muted); opacity: 1; }
.tr-hero__search button { flex: none; height: 48px; padding: 0 26px; border: 0; border-radius: 11px; background: var(--accent); color: #fff; font: 700 16px var(--sans); cursor: pointer; }
.tr-hero__search button:hover { background: var(--accent-deep); }
.tr-hero__search:focus-within { box-shadow: 0 18px 40px rgb(0 0 0 / .28), 0 0 0 4px rgb(31 79 216 / .45); }
.tr-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: #9fb2c4; }
.tr-hero__facts b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.tr-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.tr-hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(19 138 75 / .3); }

.tr-block { margin-top: 48px; }
.tr-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.tr-block__title { margin: 0; color: var(--ink); font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.tr-more { color: var(--accent); font: 700 15px var(--sans); text-decoration: none; }
.tr-more:hover { text-decoration: underline; }

.tr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tr-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.tr-card:hover { border-color: var(--rule-2); box-shadow: 0 10px 28px rgb(14 27 38 / .08); }
.tr-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.tr-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tr-card__ph { display: grid; place-items: center; height: 100%; color: rgb(31 79 216 / .35); }
.tr-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.tr-card__title { margin: 0; color: var(--ink); font: 700 18px/1.35 var(--sans); letter-spacing: -.01em; }
.tr-card__title a { text-decoration: none; }
.tr-card__title a:hover { color: var(--accent); }
.tr-card__lead { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.tr-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: auto 0 0; padding-top: 6px; color: var(--muted); font: 500 13.5px var(--sans); }
.tr-cards > .tr-card:first-child { grid-column: span 2; grid-row: span 2; }
.tr-cards > .tr-card:first-child .tr-card__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.tr-cards--four > .tr-card:first-child { grid-column: auto; grid-row: auto; }
.tr-cards--four > .tr-card:first-child .tr-card__title { font-size: 18px; }

.tr-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: 56px; }
.tr-split__main .tr-block__title { margin-bottom: 8px; }
.tr-split__side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 20px; }
.tr-topics { padding: 22px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.tr-topics__title { margin: 0 0 14px; color: var(--ink); font: 800 17px var(--sans); }
.tr-topics__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tr-topics__list a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--text); font: 600 14px var(--sans); text-decoration: none; }
.tr-topics__list a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.tr-method { padding: 22px; border-radius: var(--r); background: var(--ok-soft); color: #1d4a33; font-size: 15px; line-height: 1.6; }
.tr-method__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #0d3d25; font: 800 16px var(--sans); }
.tr-method__title::before { content: ""; flex: none; width: 18px; height: 20px; background: var(--ok); clip-path: path("M9 0 0 3.4v6.2C0 15 3.8 19 9 20.6 14.2 19 18 15 18 9.6V3.4Z"); }
.tr-method p { margin: 0; }
.tr-method--inline { margin: 36px 0 0; }

.tr-rows { margin: 0; padding: 0; list-style: none; }
.tr-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.tr-row:last-child { border-bottom: 0; }
.tr-row__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-s); background: var(--accent-soft); }
.tr-row__media img { width: 100%; height: 100%; object-fit: cover; }
.tr-row__shield { display: grid; place-items: center; height: 100%; color: rgb(31 79 216 / .35); }
.tr-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tr-row__title { margin: 0; color: var(--ink); font: 700 20px/1.3 var(--sans); letter-spacing: -.01em; }
.tr-row__title a { text-decoration: none; }
.tr-row__title a:hover { color: var(--accent); }
.tr-row__lead { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.tr-row__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 0; color: var(--muted); font: 500 13.5px var(--sans); }
.tr-rows--section { margin-top: 8px; padding: 6px 28px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }

.crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font: 500 14px/1.4 var(--sans); }
.crumbs__item { display: flex; min-width: 0; }
.crumbs__item + .crumbs__item::before { content: "›"; margin-right: 8px; color: var(--rule-2); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { min-width: 0; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tr-section { padding-top: 28px; }
.tr-pagehead { margin-bottom: 22px; }
.tr-pagehead__title { margin: 14px 0 8px; color: var(--ink); font: 800 clamp(28px, 3.6vw, 42px)/1.15 var(--sans); letter-spacing: -.025em; }
.tr-pagehead__page { color: var(--muted); font-weight: 600; font-size: .55em; }
.tr-pagehead__intro { margin: 0; font-size: 17.5px; color: var(--muted); }

.tr-article__head { padding-top: 28px; }
.tr-article__section { margin: 16px 0 10px; }
.tr-article__section a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font: 700 13.5px var(--sans); text-decoration: none; }
.tr-article__title { margin: 0 0 14px; color: var(--ink); font: 800 clamp(30px, 4.2vw, 50px)/1.1 var(--sans); letter-spacing: -.03em; }
.tr-article__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font: 500 14.5px var(--sans); }
.tr-article__meta time { color: var(--ink); font-weight: 700; }
.tr-brief { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 20px 22px; border: 1px solid #cddcfa; border-radius: var(--r); background: var(--accent-soft); }
.tr-brief__mark { flex: none; color: var(--accent); }
.tr-brief__title { margin: 0 0 4px; color: var(--accent-deep); font: 800 15px var(--sans); }
.tr-brief__text { margin: 0; color: var(--ink); font-size: 17.5px; line-height: 1.6; }
.tr-article__cover { margin: 26px auto 8px; }
.tr-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--accent-soft); }

.tr-read { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 28px; }
.tr-read.has-toc { grid-template-columns: 260px minmax(0, 1fr); }
.tr-read__side { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow: auto; }
.tr-read__main { min-width: 0; }

.toc { padding: 18px 18px 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.toc__title { margin: 0 0 8px; color: var(--ink); font: 800 15px var(--sans); }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; padding: 6px 0; counter-increment: toc; border-top: 1px solid var(--rule); }
.toc__list li:first-child { border-top: 0; }
.toc__list li::before { content: counter(toc); color: var(--accent); font: 700 13px/1.5 var(--sans); font-variant-numeric: tabular-nums; }
.toc__link { color: var(--text); font: 500 14.5px/1.45 var(--sans); text-decoration: none; }
.toc__link:hover { color: var(--accent); }

.tr-prose { font-size: 18px; line-height: 1.75; color: var(--text); }
.tr-prose > * { margin: 0 0 1.1em; }
.tr-prose h2 { position: relative; margin: 2em 0 .7em; padding-left: 18px; color: var(--ink); font: 800 clamp(23px, 2.5vw, 29px)/1.25 var(--sans); letter-spacing: -.02em; scroll-margin-top: 20px; }
.tr-prose h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 3px; background: var(--accent); }
.tr-prose h3 { margin: 1.6em 0 .5em; color: var(--ink); font: 700 20px/1.35 var(--sans); }
.tr-prose a { color: var(--accent); }
.tr-prose a:hover { color: var(--accent-deep); }
.tr-prose strong { color: var(--ink); font-weight: 700; }
.tr-prose ul, .tr-prose ol { padding-left: 1.4em; }
.tr-prose li { margin-bottom: .45em; }
.tr-prose ul > li::marker { color: var(--accent); }
.tr-prose ol > li::marker { color: var(--accent); font-weight: 700; }
.tr-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--accent); border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--surface); color: var(--ink); }
.tr-prose blockquote p { margin: 0; }
.tr-prose img { border-radius: var(--r-s); }
.tr-prose figure { margin: 1.6em 0; }
.tr-prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.tr-prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--rule); }
.tr-prose code { padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); font: 500 .88em var(--mono); }
.tr-table { margin: 1.6em 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.tr-prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; background: var(--surface); font-variant-numeric: tabular-nums; }
.tr-table table { min-width: 520px; margin: 0; }
.tr-prose th, .tr-prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tr-prose th { background: var(--paper); color: var(--ink); font-weight: 700; }
.tr-prose tbody tr:last-child td { border-bottom: 0; }
.tr-prose td:first-child { color: var(--ink); font-weight: 600; }
figure:not([class]) { margin: 1.8em 0; }
figure:not([class]) img { display: block; width: 100%; height: auto; border-radius: var(--r-s); }
figure:not([class]) figcaption { margin-top: .6em; font-size: .86em; line-height: 1.45; color: inherit; opacity: .72; }

.faq { margin: 44px 0 0; }
.faq__title { margin: 0 0 16px; color: var(--ink); font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.faq__item { margin-bottom: 10px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--surface); }
.faq__item[open] { border-color: var(--rule-2); }
.faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--ink); font: 700 17px/1.4 var(--sans); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; display: grid; flex: 0 0 28px; place-items: center; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); font: 700 18px/1 var(--sans); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 18px 16px; }
.faq__a p { margin: 0; font-size: 16.5px; line-height: 1.65; }

.tr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.tr-tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 14px var(--sans); text-decoration: none; }
.tr-tags a:hover { border-color: var(--accent); color: var(--accent-deep); }

.tr-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.tr-byline { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font: 700 15.5px var(--sans); }
.tr-byline__mark { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fff; font: 800 17px var(--sans); }
.tr-byline__mark--icon { overflow: hidden; background: none; }
.tr-byline__mark--icon img { width: 100%; height: 100%; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 14px/1.2 var(--sans); }
.share__label { margin-right: 4px; color: var(--muted); }
.share__link { display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 13.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.share__link:hover { border-color: var(--accent); color: var(--accent-deep); }

.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; color: var(--ink); font: 500 14px/1.3 var(--sans); }
.rating__label { font-weight: 700; }
.rating__stars { position: relative; display: inline-block; color: var(--rule-2); font-size: 18px; line-height: 1; letter-spacing: 1px; }
.rating__stars::before { content: "★★★★★"; }
.rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating__fill::before { content: "★★★★★"; }
.rating__value { font-weight: 800; }
.rating__count { color: var(--muted); }
.rating__vote { display: inline-flex; gap: 2px; padding-left: 12px; border-left: 1px solid var(--rule); }
.rating__btn { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--rule-2); font-size: 19px; line-height: 1; cursor: pointer; }
.rating__vote:hover .rating__btn, .rating__btn.is-on { color: var(--accent); }
.rating__btn:hover ~ .rating__btn { color: var(--rule-2); }
.rating__mine { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: 13px; }
.rating__mine[hidden], .comments__replying[hidden] { display: none; }

.comments { margin-top: 48px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.comments__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink); font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.comments__count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); font: 800 15px var(--sans); }
.comments__notice { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-s); background: var(--ok-soft); color: #0d3d25; font-size: 15px; }
.comments__empty { margin: 0 0 8px; color: var(--muted); }
.comments__item { padding: 18px 0; border-top: 1px solid var(--rule); }
.comments__item:first-of-type { border-top: 0; padding-top: 4px; }
.comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 6px; }
.comment__author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 16px var(--sans); }
.comment__author::before { content: ""; flex: none; width: 9px; height: 10px; background: var(--accent); clip-path: path("M4.5 0 0 1.7v3.1C0 7.6 1.9 9.6 4.5 10.4 7.1 9.6 9 7.6 9 4.8V1.7Z"); }
.comment__date { color: var(--muted); font-size: 13.5px; }
.comment__text { font-size: 16.5px; line-height: 1.6; }
.comment__reply { margin-top: 8px; padding: 5px 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 13px var(--sans); cursor: pointer; }
.comment__reply:hover { border-color: var(--accent); color: var(--accent-deep); }
.comment--reply { margin: 14px 0 0 20px; padding: 14px 16px; border-left: 3px solid var(--accent-soft); border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--paper); }
.comments__form { margin-top: 22px; padding: 22px; border-radius: var(--r); background: var(--paper); }
.comments__form-title { margin: 0 0 14px; color: var(--ink); font: 800 19px var(--sans); }
.comments__replying { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-deep); font-size: 14.5px; }
.comments__cancel { padding: 0; border: 0; background: none; color: var(--accent-deep); font: 700 14px var(--sans); text-decoration: underline; cursor: pointer; }
.comments__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comments__field { display: block; margin-bottom: 14px; }
.comments__field span { display: block; margin-bottom: 6px; color: var(--ink); font: 700 14px var(--sans); }
.comments__field input, .comments__field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: var(--r-s); background: var(--surface); color: var(--text); font: 400 16px/1.5 var(--sans); }
.comments__field textarea { min-height: 120px; resize: vertical; }
.comments__field input:focus, .comments__field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.comments__submit { padding: 12px 24px; border: 0; border-radius: var(--r-s); background: var(--accent); color: #fff; font: 700 15.5px var(--sans); cursor: pointer; }
.comments__submit:hover { background: var(--accent-deep); }

.tr-related { margin-top: 56px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 32px; font: 700 15px/1 var(--sans); }
.pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--surface); color: var(--ink); text-decoration: none; }
.pager__link:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager__link.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.pager__gap { padding: 0 4px; color: var(--muted); }

.tr-error { padding-top: 48px; }
.tr-error__box { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.tr-error__code { margin: 0; color: var(--accent); font: 800 clamp(72px, 12vw, 128px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tr-error__title { margin: 8px 0 10px; color: var(--ink); font: 800 30px/1.2 var(--sans); }
.tr-error__text { margin: 0 0 24px; color: var(--muted); }
.tr-error__search { margin: 0 auto 18px; border: 1px solid var(--rule); box-shadow: 0 10px 28px rgb(14 27 38 / .08); text-align: left; }
.tr-error__latest { margin-top: 12px; }
.tr-error__latest > .tr-card:first-child { grid-column: auto; grid-row: auto; }

.tr-foot { margin-top: auto; background: var(--navy); color: #a9b8c7; font-size: 15px; }
.tr-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.tr-logo--foot { color: #fff; }
.tr-logo--foot .tr-logo__mark { color: #8fb1ff; }
.tr-foot__tagline { margin: 12px 0 0; }
.tr-foot__note { margin: 0; padding: 16px 18px; border: 1px solid rgb(255 255 255 / .1); border-radius: var(--r-s); font-size: 14px; line-height: 1.6; }
.tr-foot__links { display: flex; flex-direction: column; gap: 8px; }
.tr-foot__links a { color: #dbe5ef; text-decoration: none; }
.tr-foot__links a:hover { color: #fff; text-decoration: underline; }
.tr-foot__copy { padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgb(255 255 255 / .08); color: #7f91a3; font-size: 13.5px; }

.tr-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 14px; width: min(560px, calc(100vw - 32px)); padding: 14px 14px 14px 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); box-shadow: 0 18px 44px rgb(14 27 38 / .16); color: var(--text); font: 400 14.5px/1.5 var(--sans); }
.tr-cookie[hidden] { display: none; }
.tr-cookie__lock { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ok-soft); color: var(--ok); }
.tr-cookie__text { flex: 1; margin: 0; }
.tr-cookie__text b { color: var(--ink); }
.tr-cookie__text a { color: var(--accent); }
.tr-cookie__ok { flex: none; padding: 10px 18px; border: 0; border-radius: var(--r-s); background: var(--accent); color: #fff; font: 700 14.5px var(--sans); cursor: pointer; }
.tr-cookie__ok:hover { background: var(--accent-deep); }

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--paper); }
body::-webkit-scrollbar-thumb { border: 2px solid var(--paper); border-radius: 20px; background-color: var(--rule-2); }
body::-webkit-scrollbar-thumb:hover { background-color: var(--muted); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: var(--rule-2) var(--paper); } }

@media (max-width: 1080px) {
    .tr-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-split { grid-template-columns: minmax(0, 1fr); }
    .tr-split__side { position: static; }
    .tr-read.has-toc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tr-read__side { position: static; max-height: none; }
}

@media (max-width: 900px) {
    .tr-head__row { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
    .tr-nav { margin-left: auto; }
    .tr-search { order: 5; width: 100%; }
    .tr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 640px) {
    :root { --pad: 16px; }
    body.tr { font-size: 16px; }
    .tr-logo__name { font-size: 19px; }
    .tr-hero__inner { padding-top: 40px; padding-bottom: 40px; }
    .tr-hero__lead { font-size: 16px; }
    .tr-hero__search { flex-wrap: wrap; padding: 8px; }
    .tr-hero__icon { display: none; }
    .tr-hero__search input { flex-basis: 100%; height: 46px; padding: 0 10px; font-size: 17px; }
    .tr-hero__search button { width: 100%; }
    .tr-cards, .tr-cards--four { grid-template-columns: minmax(0, 1fr); }
    .tr-cards > .tr-card:first-child { grid-column: auto; grid-row: auto; }
    .tr-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
    .tr-row__title { font-size: 17px; }
    .tr-row__lead { display: none; }
    .tr-rows--section { padding: 4px 16px; }
    .tr-brief { padding: 16px; }
    .tr-prose { font-size: 17px; }
    .comments { padding: 20px 16px; }
    .comment--reply { margin-left: 8px; }
    .rating__vote { padding-left: 0; border-left: 0; }
    .tr-cookie { left: 16px; bottom: 16px; flex-wrap: wrap; }
    .tr-cookie__ok { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
