/* Раздел /testy/: только то, чего нет в site.css. Токены и шрифты берём оттуда */
.testy .t-narrow{max-width:760px}
.testy .t-h2{font-family:var(--display);font-stretch:62.5%;font-weight:900;text-transform:uppercase;line-height:.96;font-size:clamp(28px,4vw,40px);margin-bottom:18px}

/* ссылка на помощь видна на каждой странице раздела */
.t-helpbar{position:sticky;top:65px;z-index:19;background:var(--scene);border-bottom:1px solid var(--line);font-size:15px}
.t-helpbar .wrap{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;padding-block:10px}
.t-helpbar a{font-weight:800;color:var(--ink);text-decoration-color:var(--red);text-underline-offset:3px;text-decoration-thickness:2px}
.t-helpbar span{color:var(--text)}
/* на телефоне полоса одной строкой: пояснение прячем, иначе она занимает 95 px и съедает экран */
@media (max-width:560px){.t-helpbar .wrap{padding-block:7px}.t-helpbar span{display:none}}

.t-head .h1{font-size:clamp(34px,6vw,72px);max-width:18ch}
.t-head .runhead a{text-decoration-color:var(--red);text-underline-offset:3px}
.t-head .runhead b{color:var(--warm)}
.t-headgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:end}
.t-cover{width:min(100%,220px)}
.t-cover img{border-radius:var(--radius);width:100%}
@media (min-width:760px){.t-headgrid:has(.t-cover){grid-template-columns:minmax(0,1fr) 220px}}

.t-about{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:10px 20px;margin:0}
.t-about dt{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--text);font-weight:700;padding-top:3px}
.t-about dd{margin:0}
@media (max-width:560px){.t-about{grid-template-columns:minmax(0,1fr);gap:2px}.t-about dd{margin-bottom:12px}}
.t-privacy{margin-top:22px;padding:12px 16px;border-left:3px solid var(--red);background:var(--scene);color:var(--text);font-size:15px}

.t-instr{font-weight:700;margin-bottom:6px}
.t-items{margin:18px 0;padding-left:1.6em;display:grid;gap:14px}
.t-items li::marker{color:var(--terra);font-weight:800}
.t-items li{padding-left:4px;overflow-wrap:anywhere}
.t-own{display:block;font-size:14px;color:var(--text);margin-top:2px}
.t-noscript{padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.t-note{margin-top:22px;color:var(--text);font-size:15px}

.t-intro .t-fine,.t-fine{font-size:14px;color:var(--text)}
.t-related{padding-left:1.2em;display:grid;gap:8px}
.t-related a{text-decoration-color:var(--red);text-underline-offset:3px}

/* источники на светлой бумаге: в site.css они рассчитаны на тёмный фон */
.t-sources{padding-left:1.4em;display:grid;gap:10px;color:var(--text)}
.t-sources li::marker{color:var(--terra);font-weight:800}
.t-sources a{color:var(--ink);text-decoration-color:var(--red);text-underline-offset:3px;overflow-wrap:anywhere}
.t-checked{margin-top:14px}

.t-legal{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:8px;font-size:14px;color:var(--text)}
.t-18{display:inline-block;border:1.5px solid var(--ink);border-radius:6px;padding:0 6px;margin-right:6px;font-size:13px;color:var(--ink)}
.t-author a{color:var(--ink);text-decoration-color:var(--red);text-underline-offset:3px}

/* страница помощи */
.t-chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.t-chips .chip{display:inline-block}
.t-country{padding:18px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr);gap:8px;scroll-margin-top:130px}
.t-country li,.t-em{overflow-wrap:anywhere}
.t-country ul{list-style:none;padding:0;display:grid;gap:10px}
.t-phone{font-weight:800}
.t-country a{text-underline-offset:3px;text-decoration-color:var(--red)}

/* hidden всегда прячет, даже если у блока задан display */
.testy [hidden]{display:none!important}

/* страница помощи с JS: страна не выбрана, пока не нажата */
.t-pickhint{margin-bottom:12px;color:var(--text)}
.t-pick .t-country,.t-pick .t-checked{display:none}
.t-pick .t-country.is-on{display:grid}
.t-pick .t-checked.is-on{display:block}
.t-chips a[aria-current]{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* прохождение: один вопрос на экран */
#t-app,#t-result,#t-crisis{overflow-wrap:anywhere}
.t-start{display:grid;gap:14px;justify-items:start}
.t-progress{display:grid;gap:6px;margin-bottom:10px;font-size:14px;font-weight:700;color:var(--text);scroll-margin-top:140px}
.t-bar{display:block;height:4px;background:var(--line);border-radius:4px}
.t-bar i{display:block;height:100%;background:var(--red);border-radius:4px}
.t-q{border:0;padding:0;margin:0;min-width:0}
.t-q legend{padding:0;margin-bottom:14px;font-weight:700;font-size:19px;line-height:1.4;scroll-margin-top:140px}
.t-q legend:focus,.t-rh:focus{outline:3px solid var(--red);outline-offset:4px;border-radius:4px}
.t-opts{display:grid;gap:10px}
.t-opt{box-sizing:border-box;width:100%;min-height:48px;padding:12px 16px;text-align:left;font:600 16px/1.35 var(--body);color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.t-opt:hover{border-color:var(--terra)}
.t-opt[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.t-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}

/* кризисный блок */
.t-crisis{margin:0 0 20px;padding:18px;border:2px solid var(--red);border-radius:var(--radius);background:var(--paper);display:grid;gap:10px}
.t-crisis h3{font-size:22px;line-height:1.2}
.t-crisis label{font-weight:700}
.t-select{box-sizing:border-box;width:100%;min-height:48px;padding:0 12px;font:600 16px/1.2 var(--body);color:var(--ink);background:var(--paper);border:1px solid var(--ink);border-radius:var(--radius)}
.t-cout{display:grid;gap:8px}
.t-lines{list-style:none;padding:0;display:grid;gap:10px}
.t-em{font-size:18px}
.t-crisis a{text-underline-offset:3px;text-decoration-color:var(--red)}

/* результат */
#t-result{display:grid;gap:18px}
#t-result h3{font-size:24px;line-height:1.2;scroll-margin-top:140px}
#t-result h4{font-size:17px;margin-bottom:6px}
.t-zone{padding:16px 18px;border-left:6px solid var(--terra);border-radius:var(--radius);background:var(--scene)}
.t-zone[data-tone="direct"]{border-left-color:var(--red);background:#FBEDE8}
.t-part p+p,.t-zone p+p{margin-top:8px}
.t-seek{padding:14px 16px;border:1px solid var(--red);border-radius:var(--radius)}
.t-measured{display:grid;gap:6px;font-size:15px;color:var(--text)}
.t-resultnote{font-size:15px;color:var(--text)}
.t-wa{display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--line)}
.t-check{display:flex;gap:10px;align-items:flex-start;min-height:44px;font-weight:600}
.t-check input{flex:0 0 auto;width:24px;height:24px;margin:2px 0 0;accent-color:var(--red)}
.t-actions{display:flex;flex-wrap:wrap;gap:10px}

/* шапка сайта на самом узком телефоне (320 px) не помещалась: подтягиваем только на страницах раздела */
@media (max-width:380px){
  body:has(.testy) .top .wrap{gap:8px}
  body:has(.testy) .brand{gap:8px}
  body:has(.testy) .brand img{width:32px;height:32px}
  body:has(.testy) .brand span{font-size:17px}
  body:has(.testy) .toc-menu summary{padding:10px 8px;gap:6px}
}
#t-crisis{scroll-margin-top:130px}
.t-fine p+p{margin-top:8px}
.t-score{margin:0 0 8px;font-size:15px;color:var(--text)}
.t-score b{color:var(--ink);font-size:18px}
.t-traitval{margin:0 0 8px;font-size:15px;color:var(--text)}
.t-traitval b{color:var(--ink);font-size:18px}
.t-attrib{margin-top:14px;color:var(--text)}

/* белый по киновари даёт 4,06:1; в разделе тестов крупный жирный текст (>=19px, bold), для него порог WCAG 3:1; цвет бренда и site.css не трогаем */
body:has(.testy) .testy .btn{font-size:19px;font-weight:700}

/* каталог: входная анкета и подборка */
.t-quiz{display:grid;gap:14px}
.t-quizlead{color:var(--text);max-width:62ch}
.t-quizset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:4px}
.t-quizset legend{padding:0;margin-bottom:8px;font-weight:700}
.t-quiz .t-check{padding:6px 0;overflow-wrap:anywhere}
.t-quiz .t-check:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
#t-picked{margin-top:26px;display:grid;gap:16px}
#t-picked:empty{margin:0}
.t-pickedh{font-size:24px;line-height:1.2;scroll-margin-top:140px}
.t-pickedh:focus{outline:3px solid var(--red);outline-offset:4px;border-radius:4px}
.card .t-cardcover{width:96px;height:96px;object-fit:cover;border-radius:var(--radius)}

/* тест отделён от текста: своя карточка на белом, с рамкой */
.t-card{background:#fff;border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);padding:clamp(18px,4vw,32px);margin:22px 0;box-shadow:0 6px 0 rgba(44,38,32,.08)}
.t-card .t-progress{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:15px}
.t-card .t-bar{height:8px;border-radius:8px}
.t-card .t-bar i{border-radius:8px}
.t-card .t-q legend{font-size:clamp(22px,5.4vw,28px);line-height:1.3;margin-bottom:18px;font-family:var(--display)}
.t-card .t-opt{background:var(--paper);min-height:52px}
.t-startfree{font-weight:700;padding-left:12px;border-left:3px solid var(--red)}
.t-aboutbox>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0}
.t-aboutbox>summary::-webkit-details-marker{display:none}
.t-aboutbox>summary::after{content:"+";flex:0 0 auto;font-family:var(--body);font-stretch:100%;font-weight:700;font-size:28px;line-height:1;color:var(--red)}
.t-aboutbox[open]>summary::after{content:"\2212"}
.t-aboutbox:not([open])>summary{margin-bottom:0;font-size:clamp(20px,3vw,26px)}
.t-aboutbox>summary:focus-visible{outline:3px solid var(--red);outline-offset:4px;border-radius:4px}
.t-aboutbox[open]>summary{margin-bottom:18px}

/* знакомство на результате: заметная карточка сразу под итогом, одинаковая при любом результате */
.t-introcard{display:grid;gap:12px;padding:clamp(18px,4vw,28px);background:#fff;border:2px solid var(--red);border-radius:calc(var(--radius) + 6px);box-shadow:0 6px 0 rgba(229,64,30,.14)}
.t-introcard h3{font-size:clamp(24px,6vw,30px)}
.t-introcard .t-cta{width:100%;min-height:60px;font-size:20px}
.t-wa .t-cta{width:100%}
@media (min-width:560px){.t-introcard .t-cta{width:auto;padding:0 32px}.t-wa .t-cta{width:auto}}
.t-card .t-opt[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* график профиля: полосы по шкалам, значения «Вы» и «Другой человек» */
.t-scales{margin:22px 0;padding:0}
.t-scales figcaption{font-size:15px;color:var(--text);margin-bottom:8px}
.t-scales-svg{display:block;width:100%;max-width:560px;height:auto;overflow:visible;font-family:'Manrope',sans-serif}
.t-scales .c-trait{font-size:14px;font-weight:800;fill:var(--ink)}
.t-scales .c-track{stroke:var(--ink);stroke-width:2;stroke-linecap:round;opacity:.35}
.t-scales .c-mine{fill:var(--red)}
.t-scales .c-other{fill:none;stroke:var(--ink);stroke-width:2}
.t-scales .c-val{font-size:13px;font-weight:800;fill:var(--ink)}
.t-scales .c-end{font-size:12px;fill:var(--ink);opacity:.8}
.t-legend{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px;margin:0 0 6px}
.t-legend .c-key::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.t-legend .c-key-mine::before{background:var(--red)}
.t-legend .c-key-other::before{width:14px;height:14px;border:2px solid var(--ink);box-sizing:border-box;vertical-align:-2px}
.t-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0;list-style:none}

/* тест на двоих: плашка получателя, приглашение, сравнение */
.t-pair-banner{margin:0 0 16px;padding:12px 16px;border-left:3px solid var(--red);background:var(--scene);color:var(--ink);font-size:15px;overflow-wrap:anywhere}
.t-pair-banner[data-state="error"]{background:#FBEDE8}
.t-pair{display:grid;gap:12px;padding:clamp(16px,4vw,24px);background:#fff;border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);margin:22px 0}
.t-pair h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2;overflow-wrap:anywhere}
.t-pair h3:focus{outline:3px solid var(--red);outline-offset:4px;border-radius:4px}
.t-pair h4{font-size:17px}
.t-pair p{overflow-wrap:anywhere}
.t-pair-warn{padding:10px 14px;border-left:3px solid var(--red);background:var(--scene)}
.t-pair a{color:var(--ink);text-decoration-color:var(--red);text-underline-offset:3px}
.t-pair .btn,.t-pair .btn2,.t-pair-reply{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.t-pair .btn[disabled]{opacity:.45;cursor:not-allowed}
.t-pair .t-check:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
.t-pair .btn:focus-visible,.t-pair .btn2:focus-visible,.t-pair-reply:focus-visible,.t-pair-addr:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-pair-prevbox{padding:12px 14px;border:1px dashed var(--line);border-radius:var(--radius);min-width:0}
.t-pair-prevbox .t-scales{margin:8px 0 0}
.t-pair-addr{box-sizing:border-box;width:100%;min-height:48px;padding:0 12px;font:600 16px/1.2 var(--body);color:var(--ink);background:var(--paper);border:1px solid var(--ink);border-radius:var(--radius)}
.t-pair-qbox{padding:12px 14px;border-left:6px solid var(--terra);background:var(--scene);border-radius:var(--radius)}
.t-pair-wrap{display:grid;gap:4px}
.t-pair-wrap>p{margin:0}

/* короткое имя характера и инструкция к себе */
.t-naming{display:grid;gap:14px;padding:clamp(16px,4vw,24px);background:#fff;border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);margin:22px 0}
.t-naming h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2;overflow-wrap:anywhere}
.t-naming h4{font-size:17px}
.t-naming p{overflow-wrap:anywhere}
.t-naming-name,.t-naming-instr{display:grid;gap:10px;justify-items:start}
.t-naming-line b{font-size:clamp(20px,5vw,26px);line-height:1.25}
.t-naming-list{display:grid;gap:2px;border:0;margin:0;padding:0;min-width:0;width:100%}
.t-naming-list legend{font-weight:700;padding:0;margin-bottom:6px;overflow-wrap:anywhere}
.t-naming .t-check{overflow-wrap:anywhere;padding:4px 0}
.t-naming .t-check:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
.t-naming .t-check:has(input:disabled){opacity:.55}
.t-linkbtn{background:none;border:0;padding:8px 0;min-height:44px;font:inherit;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:3px;cursor:pointer;text-align:left}
.t-linkbtn:focus-visible,.t-naming .btn2:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-naming .btn2{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* тест на темперамент: плоскость двух шкал, названия углов только метафора */
.t-quadrant{display:grid;gap:12px;margin:22px 0}
.t-quadrant h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2}
.t-quadrant .t-scales{margin:0}
.t-quad{margin:0;padding:0}
.t-quad figcaption{font-size:15px;color:var(--text);margin-bottom:8px}
.t-quad-svg{display:block;width:100%;max-width:420px;height:auto;overflow:visible;font-family:'Manrope',sans-serif}
.t-quad .c-frame{fill:var(--paper);stroke:var(--ink);stroke-width:2}
.t-quad .c-mid{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4 4;opacity:.45}
.t-quad .c-midlab{font-size:10px;fill:var(--ink);opacity:.8}
.t-quad .c-axis{font-size:13px;font-weight:800;fill:var(--ink)}
.t-quad .c-corner{font-size:13px;font-weight:800;fill:var(--ink);opacity:.85}
.t-quad .c-mine{fill:var(--red);stroke:var(--paper);stroke-width:2}
.t-quad-toggle{justify-self:start;max-width:100%;white-space:normal}
.t-quad-toggle:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-quad-note{margin:0;padding:10px 14px;border-left:3px solid var(--red);background:var(--scene);color:var(--ink);overflow-wrap:anywhere}

/* поправка к фразе о себе: красная ручка и событие в календаре */
.t-corr{display:grid;gap:14px;padding:clamp(16px,4vw,24px);background:var(--paper);border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);margin:22px 0}
.t-corr h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2;overflow-wrap:anywhere}
.t-corr h4,.t-corr h5{font-size:17px;margin:0}
.t-corr p,.t-corr dd{overflow-wrap:anywhere}
.t-corr-stage{display:grid;gap:14px}
.t-corr-list{display:grid;gap:2px;border:0;margin:0;padding:0;min-width:0;width:100%}
.t-corr-list legend{font-weight:700;padding:0;margin-bottom:6px;overflow-wrap:anywhere}
.t-corr .t-check{overflow-wrap:anywhere;padding:4px 0}
.t-corr .t-check:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
.t-corr-line{font-size:clamp(18px,4.6vw,22px);line-height:1.35}
.t-strike{text-decoration:line-through;text-decoration-color:var(--red);text-decoration-thickness:3px}
.t-corr-new{font-weight:700}
.t-corr-observe{display:grid;gap:10px;justify-items:start}
.t-corr-preview{display:grid;gap:10px;justify-items:start;width:100%;padding:12px 14px;border-left:6px solid var(--red);background:var(--scene);border-radius:var(--radius)}
.t-corr-preview dl{margin:0;display:grid;gap:2px}
.t-corr-preview dt{font-weight:700;font-size:14px}
.t-corr-preview dd{margin:0 0 6px}
.t-corr .btn,.t-corr .btn2{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.t-corr .btn:focus-visible,.t-corr .btn2:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-cardmk{display:grid;gap:14px;padding:clamp(16px,4vw,24px);background:var(--paper);border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);margin:22px 0}
.t-cardmk h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2;overflow-wrap:anywhere}
.t-cardmk h4{font-size:17px;margin:0}
.t-cardmk p{overflow-wrap:anywhere}
.t-card-panel{display:grid;gap:14px;min-width:0}
.t-card-panel[hidden]{display:none}
.t-card-formats{display:grid;gap:2px;border:0;margin:0;padding:0;min-width:0}
.t-card-formats legend{font-weight:700;padding:0;margin-bottom:6px}
.t-cardmk .t-check{overflow-wrap:anywhere;padding:4px 0}
.t-cardmk .t-check:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
.t-card-canvas{display:block;width:100%;max-width:360px;height:auto;border:2px solid var(--ink);background:var(--paper)}
.t-card-canvas[hidden]{display:none}
.t-card-reason{padding:12px 14px;border-left:6px solid var(--red);background:var(--scene);border-radius:var(--radius);font-weight:700}
.t-card-text{margin:0;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;background:var(--scene);border-radius:var(--radius)}
.t-card-actions{display:flex;flex-wrap:wrap;gap:10px}
.t-card-fallback{width:100%;font:inherit;padding:10px;border:2px solid var(--ink);border-radius:var(--radius);background:var(--paper);color:var(--ink)}
.t-cardmk .btn,.t-cardmk .btn2{max-width:100%;white-space:normal;overflow-wrap:anywhere;justify-self:start}
.t-cardmk .btn:focus-visible,.t-cardmk .btn2:focus-visible,.t-card-fallback:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-cardmk .btn:disabled{opacity:.5;cursor:not-allowed}

/* памятка для специалиста: блок результата, предпросмотр листа и печать */
.t-memo{display:grid;gap:14px;padding:clamp(16px,4vw,24px);background:var(--paper);border:2px solid var(--ink);border-radius:calc(var(--radius) + 6px);margin:22px 0}
.t-memo>h3{font-size:clamp(22px,5.4vw,28px);line-height:1.2;overflow-wrap:anywhere}
.t-memo p{overflow-wrap:anywhere}
.t-memo-fields{display:grid;gap:12px;min-width:0}
.t-memo-field{display:grid;gap:4px;min-width:0}
.t-memo-field label{font-weight:700;overflow-wrap:anywhere}
.t-memo-ta{width:100%;max-width:100%;box-sizing:border-box;font:inherit;color:var(--ink);background:var(--paper);border:2px solid var(--ink);border-radius:var(--radius);padding:10px 12px;resize:vertical;min-height:84px}
.t-memo-ta:focus-visible,.t-memo .btn:focus-visible,.t-memo .btn2:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.t-memo-actions{display:grid;gap:10px}
.t-memo-actions [hidden],.t-memo-preview[hidden]{display:none}
@media (min-width:560px){.t-memo-actions{grid-template-columns:repeat(2,max-content)}}
.t-memo-preview{min-width:0}
.t-sheet{border:2px dashed var(--ink);border-radius:var(--radius);padding:clamp(14px,4vw,22px);background:var(--paper);color:var(--ink);overflow-wrap:anywhere;word-break:break-word}
.t-memo .t-sheet h2,#t-print .t-sheet h2{font-size:clamp(20px,5vw,26px);line-height:1.2;margin:0 0 8px}
#t-result .t-memo .t-sheet h3,#t-print .t-sheet h3{font-size:16px;line-height:1.3;margin:14px 0 4px}
.t-sheet p{margin:0 0 8px}
.t-sheet-meta{font-size:15px}
.t-sheet-scales{list-style:none;margin:12px 0;padding:0;display:grid;gap:6px}
.t-sheet-crisis{font-weight:700;border-left:4px solid var(--red);padding-left:10px}
.t-sheet-foot{margin-top:14px;padding-top:10px;border-top:1px solid var(--line);font-size:14px}
#t-print{display:none}
@media print{
  body>*:not(#t-print){display:none!important}
  #t-print{display:block!important;padding:0;background:var(--paper);color:var(--ink)}
  #t-print .t-sheet{border:0;padding:0;overflow-wrap:anywhere;word-break:break-word}
  #t-print .t-sheet-crisis{break-inside:avoid}
#t-picked .t-pickedsub{font-size:19px;line-height:1.25;margin-top:6px}
.t-consult{display:grid;gap:10px;align-content:start}

/* страница помощи на телефоне: чипы стран на первом экране, до длинных абзацев */
@media (max-width:560px){
  .testy:has(.t-chips) .pagehead{padding-block:14px 16px}
  .testy:has(.t-chips) .runhead{margin-bottom:10px;padding-bottom:6px}
  .testy:has(.t-chips) .t-head .h1{font-size:28px}
  .testy:has(.t-chips) .sec{padding-block:12px}
  .testy:has(.t-chips) .t-h2{font-size:21px;margin-bottom:8px}
  .testy:has(.t-chips) .prose{font-size:15px;line-height:1.4;gap:8px}
  .t-pickhint{font-size:14px;margin-bottom:8px}
  .t-chips{margin-bottom:16px}
}
/* кризисный блок в тесте на самом узком телефоне: выбор страны виден без прокрутки */
@media (max-width:380px){
  .t-crisis{padding:12px;gap:6px}
  .t-crisis h3{font-size:18px}
  .t-crisis p{font-size:15px;line-height:1.4}
  .t-crisis label{font-size:15px}
}
