/* Таблицы на широком экране, карточки на телефоне; общая палитра приложения. */
.hb-screen,.hb-vacancy-header{min-width:0;max-width:1100px;color:var(--ink);overflow-wrap:anywhere}
.hb-screen h2,.hb-vacancy-header h2{font-size:20px;text-transform:none;letter-spacing:normal;margin:12px 0}
.hb-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}
.hb-screen button,.hb-screen input,.hb-screen select{min-height:44px;max-width:100%;white-space:normal;font:inherit}
.hb-screen .chip.active{background:var(--olive);color:var(--card)}
.hb-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.hb-table th,.hb-table td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.hb-table th{font-weight:600}
.hb-table th:first-child{width:22%}
.hb-table .badge,.hb-item .badge,.hb-vacancy-header .badge{white-space:normal;margin:0;max-width:100%;box-sizing:border-box}
.hb-table .badge,.hb-item .badge,.hb-vacancy-header .badge{display:inline-block;border-radius:10px;padding:5px 10px;line-height:1.4;text-align:left;font-size:12px}   /* длинный текст контрольной точки — прямоугольной плашкой, не овалом */
.hb-table th:last-child{width:30%}.hb-table th:nth-child(5){width:13%}
.hb-open{display:block;border:0;background:transparent;color:var(--olive-d);text-align:left;font-weight:600!important;padding:0;width:100%;cursor:pointer}
.hb-clickable{cursor:pointer}
.hb-olive{background:var(--beige);color:var(--olive-d)}
.hb-berry{background:var(--milk);color:var(--berry);border:1px solid var(--line)}
.hb-muted{background:var(--milk);color:var(--muted)}
.hb-attention{background:var(--milk);color:var(--amber);border-left:3px solid var(--amber)}
.hb-error{color:var(--berry);white-space:pre-wrap;overflow-wrap:anywhere}
.hb-error:empty{display:none}
.hb-field{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%;margin:8px 0}
.hb-field input,.hb-field select{box-sizing:border-box;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
.hb-detail summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--olive-d)}
.hb-detail-body{padding:8px 0;line-height:1.6}
.hb-detail-body p{margin:4px 0}
.hb-mobile{display:none}
.hb-item{padding:14px;min-width:0;overflow-wrap:anywhere}
.hb-item>div{margin-bottom:8px}
.hb-caption{color:var(--muted);font-size:13px}
.hb-daterow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 6px}
.hb-screen .hb-daterow button,.hb-screen .hb-daterow input{height:44px;min-height:44px;box-sizing:border-box;margin:0}
.hb-screen .hb-daterow .hb-prev,.hb-screen .hb-daterow .hb-next{min-width:44px;padding:0 12px;font-size:20px;line-height:1}
.hb-daterow .hb-date{width:auto;min-width:150px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
.hb-daylabel{margin:0 0 12px;color:var(--muted)}
.hb-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 14px}
.hb-group{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;text-align:left;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:12px;min-width:0}
.hb-group strong{font-size:22px;font-variant-numeric:tabular-nums;line-height:1.2}
.hb-group span{font-size:13px}
button.hb-group{cursor:pointer}
.hb-g-fit{background:#def2e5}.hb-g-doubt{background:#fff0cf}.hb-g-ask{background:#dceeff}.hb-g-no{background:#f8dddd}
.hb-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:14px 0}
.hb-metric{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding-right:30px}   /* число и подпись не заходят под значок «?» */
.hb-metric>span{flex:1 1 100%}
.hb-metric>strong{font-size:28px;font-variant-numeric:tabular-nums}
.hb-metric .note{flex:1 1 100%;margin:0}
/* «?» — маленький круглый значок в правом верхнем углу цифры; область нажатия остаётся пальцем (::after), 13.10 по просьбе «hh.ru агента» */
.hb-screen .hb-help{position:absolute;top:6px;right:6px;min-width:0;width:24px;min-height:0;height:24px;padding:0;border-radius:50%;font-size:12px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.hb-help::after{content:'';position:absolute;inset:-10px}
.hb-screen :focus-visible,.hb-vacancy-header :focus-visible{outline:2px solid var(--olive-d);outline-offset:3px}
.hb-screen [hidden]{display:none!important}
.hb-demo{max-width:1100px;margin:auto;padding:16px;box-sizing:border-box}
.hb-demo-caption{color:var(--muted);line-height:1.6}
@media(max-width:640px){.hb-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-table{display:none}.hb-mobile{display:flex;flex-direction:column;gap:8px}.hb-metrics{grid-template-columns:1fr}.hb-actions>*{min-width:0}.hb-screen .hb-field{width:100%}}
@media(pointer:coarse){.hb-screen button:not(.hb-help),.hb-screen summary,.hb-screen select,.hb-screen input{min-height:44px}.hb-screen .hb-help{min-height:0}}
.hb-search-note{margin:4px 0;color:var(--ink)}
.hb-report-actions{margin:18px 0 8px}
.hb-report{padding:14px;margin:8px 0 16px}
.hb-report h3{margin:0 0 6px}
.hb-report-totals{margin:8px 0;padding-left:18px;columns:2;column-gap:24px}
.hb-report-text{width:100%;box-sizing:border-box;min-height:200px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;line-height:1.5}
@media(max-width:640px){.hb-report-totals{columns:1}}

