/* Раскраски профессий: сцена a4umka (viewBox 480×560) занимает всё, что осталось от слова, ряда инструментов, подсказок
   или легенды; слово для обводки — пунктирный контур шрифтом сайта. */
.hp-wrap { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 3mm; }
.hp-scene { flex: 1; min-height: 0; align-self: stretch; display: flex; justify-content: center; }
.hp-scene-svg { height: 100%; max-width: 100%; }
.hp-row { flex: 1; min-height: 0; align-self: stretch; display: flex; gap: 4mm; }
.hp-row .hp-scene { flex: 1; min-width: 0; }
.hp-side { flex: 0 0 66mm; display: flex; flex-direction: column; justify-content: center; }
.hp-hints { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3.6mm; }
.hp-hints li { display: flex; align-items: flex-start; gap: 2.6mm; font: 11.5pt/1.28 var(--body); color: #333; }
.hp-sw { flex: none; width: 6.5mm; height: 6.5mm; border-radius: 50%; border: 1.8px solid #3a3a3a; margin-top: 0.4mm; }
.hp-sw-white { border-style: dashed; }
.hp-word { flex: none; align-self: stretch; }
.hp-word svg { display: block; width: 100%; height: 24mm; }
.hp-trace { font-family: var(--head); font-weight: 600; letter-spacing: 3px; }
.hp-q { flex: none; font: 700 13pt/1.2 var(--head); color: var(--teal, #1fa39a); text-align: center; }
.hp-tools { flex: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.5mm; align-self: stretch; }
.hp-tool { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1mm; padding: 2mm 1mm; border: 1.5px solid #b8a86c; border-radius: 3mm; }
.hp-icon-svg { width: 17mm; height: 17mm; }
.hp-tl { font: 9pt/1.15 var(--body); color: #4a4030; text-align: center; overflow-wrap: break-word; hyphens: manual; }
.hp-yes { border-color: #5a9e3a; border-width: 2.4px; background: #eef6e4; }
.hp-no { border-color: #c0552f; border-width: 2.4px; background: #fbeae4; }
.hp-no::after { content: "✕"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 32pt/1 Arial, sans-serif; color: #c0552f; opacity: 0.7; }
.hp-legend { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5mm 4mm; }
.hp-chip { display: inline-flex; align-items: center; gap: 2mm; border: 1.4px solid #b8a86c; border-radius: 5mm; padding: 1.2mm 3.5mm 1.2mm 1.6mm; font: 11pt/1.2 var(--body); }
.hp-cn { width: 6.5mm; height: 6.5mm; border: 1.8px solid #3a3a3a; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 10.5pt/1 var(--head); }
.hp-chip .hp-sw { margin-top: 0; }
.hp-name { white-space: nowrap; }
