/* Connected Community — сборы данных для HR (23.10.2026): раздел «Сборы», окна заполнения, конструктора и ответов; «Дети» в «О себе».
   Часть оформления портала. Файлы подключаются в templates/index.html по порядку номеров: поздние правила перебивают ранние. Цвета — только переменными. */
.collect-h{margin:18px 0 10px;font-size:16px;color:var(--ink);}
.collect-list{display:flex;flex-direction:column;gap:8px;}
.collect-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;}
.collect-item.hot{border-left:4px solid var(--orange);cursor:pointer;}
.collect-item.hot:hover{border-color:var(--orange);}
.collect-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px;}
.collect-main b{color:var(--ink);overflow-wrap:anywhere;}
.collect-row .hr-row-main{cursor:pointer;}
.collect-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.collect-hr-head{display:flex;justify-content:flex-end;margin-bottom:10px;}
.collect-desc{white-space:pre-wrap;color:var(--ink);margin-bottom:6px;overflow-wrap:anywhere;}
.collect-req{color:var(--orange);}
.collect-rep{display:flex;flex-direction:column;gap:8px;}
.collect-rep-row,.pf-kid{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.collect-rep-row input,.pf-kid input{flex:1 1 120px;min-width:0;width:auto;margin:0;}
.collect-rep-row .icon-btn,.pf-kid .icon-btn{flex:none;}
.pf-kids{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;}
.pf-kids .btn.text,.collect-rep .btn.text{align-self:flex-start;}
.collect-files{display:flex;flex-direction:column;gap:6px;}
.collect-file{display:flex;align-items:center;gap:10px;}
.collect-tpl{display:flex;gap:8px;flex-wrap:wrap;}
.collect-depts{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto;padding:6px 0 0 4px;}
.collect-q{border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin-bottom:10px;background:var(--bg-soft);}
.collect-q-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;}
.collect-ans-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;color:var(--ink);font-weight:600;}
.collect-ans-bar select{padding:7px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-weight:400;}
.collect-ans-bar .btn{margin-left:auto;}
.collect-person .hr-row{cursor:pointer;}
.collect-answer{padding:4px 14px 12px 58px;display:flex;flex-direction:column;gap:8px;}
.collect-a-q{font-size:12.5px;color:var(--ink-soft);}
.collect-a-v{color:var(--ink);overflow-wrap:anywhere;display:flex;flex-direction:column;gap:2px;}
.collect-file-link{color:var(--orange);}
.modal.collect-modal.wide{max-width:860px;}
@media (max-width:700px){
  .collect-item{flex-wrap:wrap;}
  .collect-item .btn{width:100%;}
  .collect-row{flex-wrap:wrap;}
  .collect-acts{width:100%;justify-content:flex-start;}
  .collect-answer{padding-left:14px;}
  .collect-ans-bar .btn{margin-left:0;width:100%;}
}
