/* Decisões de RH: área própria e responsiva, sem detalhes no aviso da secretária. */
#rhView { max-width: 1200px; }
#hrNotice { margin: 18px 0; }
#hrStatus { min-height: 1.4em; }
.hr-create, .hr-list-panel, .hr-detail { margin-top: 18px; padding-bottom: 18px; }
.hr-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; padding: 0 20px 20px; align-items: end; }
.hr-form label { display: grid; gap: 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.hr-form input, .hr-form select, .hr-form textarea { width: 100%; min-width: 0; box-sizing: border-box; color: var(--ink); }
.hr-form textarea { resize: vertical; line-height: 1.45; }
.hr-form .hr-wide { grid-column: 1 / -1; }
.hr-form button { justify-self: start; }
.hr-list { display: grid; gap: 10px; padding: 0 20px 20px; }
.hr-case { display: flex; justify-content: space-between; align-items: start; gap: 20px; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); text-align: left; }
.hr-case:hover, .hr-case:focus-visible { border-color: var(--teal); }
.hr-case strong, .hr-case small { display: block; }
.hr-case small { margin-top: 5px; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.hr-case-side { flex: none; text-align: right; }
.hr-case-side b { color: var(--teal); font-size: .8rem; }
.hr-detail { padding: 0 20px 20px; overflow-wrap: anywhere; }
.hr-detail .panel-head { padding-inline: 0; }
.hr-detail h3 { margin: 0; }
.hr-summary { white-space: pre-wrap; line-height: 1.55; }
.hr-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.hr-facts div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.hr-facts dt { color: var(--muted); font-size: .76rem; }
.hr-facts dd { margin: 4px 0 0; font-weight: 700; }
.hr-actions { display: flex; gap: 9px; flex-wrap: wrap; margin: 20px 0; }
.hr-events { padding-left: 22px; }
.hr-events li { margin: 12px 0; line-height: 1.45; }
.hr-events small { display: block; color: var(--muted); }
.hr-events p { white-space: pre-wrap; }
.hr-disclaimer { margin-top: 20px; padding: 12px; border-left: 3px solid var(--teal); color: var(--muted); font-size: .82rem; }
@media (max-width: 720px) {
  .hr-form, .hr-facts { grid-template-columns: 1fr; }
  .hr-case { flex-direction: column; gap: 8px; }
  .hr-case-side { text-align: left; }
  .sidebar nav { overflow-x: auto; grid-auto-columns: minmax(68px,1fr) !important; scrollbar-width: thin; }
}
