/* VERVE POS HR Closure — scoped to CRΞW/HR surfaces only. RC6.4.3.3 global UI untouched. */
.hr-shell{display:grid;gap:16px}.hr-topnav,.hr-tabs{display:flex;gap:8px;flex-wrap:wrap}.hr-topnav button,.hr-tabs button{min-height:38px}.hr-topnav button.active,.hr-tabs button.active{border-color:rgba(255,79,147,.65);box-shadow:0 0 0 1px rgba(255,79,147,.18) inset}.hr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hr-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-profile-head{display:flex;align-items:center;gap:14px}.hr-avatar{width:74px;height:74px;border-radius:18px;object-fit:cover;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}.hr-avatar.sm{width:48px;height:48px;border-radius:14px}.hr-list{display:grid;gap:8px}.hr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07)}.hr-row:last-child{border-bottom:0}.hr-row-main{display:flex;gap:11px;align-items:center;min-width:0}.hr-row-main>div{min-width:0}.hr-row b,.hr-row small{overflow-wrap:anywhere}.hr-actions{display:flex;gap:8px;flex-wrap:wrap}.hr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hr-metric{padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025)}.hr-metric small{display:block}.hr-metric strong{display:block;font-size:22px;margin-top:5px}.hr-section{display:grid;gap:12px}.hr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hr-form-grid .full{grid-column:1/-1}.hr-kv{display:grid;grid-template-columns:minmax(120px,.7fr) 1.3fr;gap:8px 14px}.hr-kv>span:nth-child(odd){color:var(--muted,#9fa2ad)}.hr-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;border:1px solid rgba(255,255,255,.10)}.hr-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.hr-progress>i{display:block;height:100%;background:linear-gradient(90deg,#ff4f93,#bf7bff);border-radius:inherit}.hr-danger{border-color:rgba(255,87,87,.35)!important}.hr-signature{width:100%;height:150px;border:1px dashed rgba(255,255,255,.20);border-radius:14px;background:#fff;touch-action:none}.hr-doc{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.hr-anomaly{border-left:3px solid rgba(255,168,72,.8);padding-left:10px}.hr-private-note{font-size:12px;color:var(--muted,#9fa2ad)}.hr-wizard-steps{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.hr-wizard-steps span{font-size:12px;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.10)}.hr-wizard-steps span.on{border-color:rgba(255,79,147,.65)}.hr-photo-preview{width:104px;height:104px;border-radius:18px;object-fit:cover;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04)}.hr-print-only{display:none}@media(max-width:900px){.hr-grid,.hr-grid-3,.hr-metrics,.hr-form-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.hr-grid,.hr-grid-3,.hr-metrics,.hr-form-grid{grid-template-columns:1fr}.hr-row{align-items:flex-start;flex-direction:column}.hr-kv{grid-template-columns:1fr}.hr-profile-head{align-items:flex-start}.hr-actions{width:100%}.hr-actions button{flex:1 1 auto}}

/* HR Closure 2 — scoped letter library / wizard additions only. */
.hr-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hr-template-card{display:grid;text-align:left;gap:4px;min-height:72px;padding:11px}.hr-template-card.selected{border-color:rgba(255,79,147,.72);box-shadow:0 0 0 1px rgba(255,79,147,.20) inset}.hr-template-card small{color:var(--muted,#9fa2ad)}.hr-letter-group{margin-top:16px}.hr-letter-group h4{margin:0 0 8px}.hr-letter-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.55;background:rgba(255,255,255,.03);padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);max-height:46vh;overflow:auto}.hr-wizard-steps span.done{opacity:.72}@media(max-width:900px){.hr-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.hr-template-grid{grid-template-columns:1fr}}
