/* hiring-module.css — internal review inbox (Director+). Token-driven
   (var(--rr-*)) per repo convention — survives the pending Neon Glass merge. */

.hm-section { padding: 4px 2px 40px; }

.hm-stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 18px; }

.hm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.hm-tab { background: transparent; border: 1px solid var(--rr-border); color: var(--rr-text-muted); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-family: inherit; cursor: pointer; }
.hm-tab-active { background: rgba(242,57,247,0.14); border-color: var(--rr-pink); color: var(--rr-text); }

.hm-list { display: flex; flex-direction: column; gap: 8px; }
.hm-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--rr-panel); border: 1px solid var(--rr-border); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.hm-row.is-unread .hm-row-name { font-weight: 800; }
.hm-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rr-pink); box-shadow: 0 0 8px var(--rr-pink); flex-shrink: 0; margin-right: -4px; }
.hm-row-main { min-width: 0; }
.hm-row-name { font-size: 14.5px; }
.hm-row-meta { font-size: 12px; color: var(--rr-text-muted); margin-top: 3px; }
.hm-row-side { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }

.hm-detail-head { margin-bottom: 14px; }
.hm-back { background: none; border: none; color: var(--rr-cyan); font-family: inherit; font-size: 13px; cursor: pointer; padding: 0 0 10px; display: block; }
.hm-detail-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.hm-detail-sub { font-size: 12.5px; color: var(--rr-text-muted); margin-top: 6px; }
.hm-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 860px) { .hm-detail-grid { grid-template-columns: 1fr; } }

.hm-block-title { font-weight: 700; font-size: 13.5px; color: var(--rr-text-dim); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .3px; }
.hm-answer { padding: 10px 0; border-bottom: 1px solid var(--rr-border); }
.hm-answer:last-child { border-bottom: none; }
.hm-answer-q { font-size: 13px; color: var(--rr-text-muted); margin-bottom: 4px; }
.hm-answer-a { font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.hm-video-dur { font-size: 11px; color: var(--rr-text-muted); }

.hm-avail-grid { display: grid; grid-template-columns: 44px repeat(3, 1fr); gap: 4px; font-size: 11px; }
.hm-avail-h { text-align: center; color: var(--rr-text-muted); }
.hm-avail-day { color: var(--rr-text-dim); font-weight: 600; display: flex; align-items: center; }
.hm-avail-cell { aspect-ratio: 1.6; border-radius: 6px; border: 1px solid var(--rr-border); background: rgba(0,0,0,0.2); }
.hm-avail-cell.is-on { background: rgba(88,249,244,0.22); border-color: var(--rr-cyan); }
.hm-avail-note { font-size: 12px; color: var(--rr-text-muted); margin-top: 10px; }

.hm-note-add { display: flex; gap: 8px; margin-bottom: 12px; }
.hm-note-add input { flex: 1; background: rgba(0,0,0,0.25); border: 1px solid var(--rr-border); border-radius: 8px; padding: 8px 10px; color: var(--rr-text); font-family: inherit; }
.hm-timeline { max-height: 340px; overflow-y: auto; }
.hm-tl-row { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--rr-border); font-size: 12.5px; }
.hm-tl-row:last-child { border-bottom: none; }
.hm-tl-time { color: var(--rr-text-muted); font-size: 11px; }

.hm-decision-bar { position: sticky; bottom: 0; display: flex; gap: 10px; flex-wrap: wrap; background: var(--rr-panel-2); border: 1px solid var(--rr-border); border-radius: 14px; padding: 12px; margin-top: 16px; }

.hm-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; }
.hm-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 201; width: min(480px, 92vw); max-height: 85vh; overflow-y: auto; background: var(--rr-violet-2); border: 1px solid var(--rr-border); border-radius: 16px; padding: 18px; }
.hm-modal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hm-modal-h h3 { font-size: 16px; }
.hm-modal-x { cursor: pointer; color: var(--rr-text-muted); font-size: 16px; }
.hm-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

.hm-field { margin-bottom: 12px; }
.hm-field label { display: block; font-size: 12px; color: var(--rr-text-dim); margin-bottom: 5px; font-weight: 600; }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; background: rgba(0,0,0,0.28); border: 1px solid var(--rr-border); border-radius: 9px; padding: 9px 11px; color: var(--rr-text); font-family: inherit; font-size: 13.5px; }
.hm-field textarea { min-height: 80px; resize: vertical; }
.hm-preview { background: rgba(0,0,0,0.25); border-radius: 10px; padding: 12px; margin-top: 8px; }
.hm-preview-subject { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.hm-preview-body { font-size: 12.5px; color: var(--rr-text-muted); max-height: 160px; overflow-y: auto; }

.hm-templates { max-width: 620px; }
.hm-tmpl-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rr-border); cursor: pointer; }
.hm-tmpl-row:last-child { border-bottom: none; }
.hm-edit-link { color: var(--rr-cyan); font-size: 12.5px; }
.hm-tmpl-edit { max-width: 620px; }
