/* VERVE POS WEB R24 FULL CLOSURE — UI, VERA, HR, Upload Bridge, Diagnostics */
:root{--r24-side-open:184px}
.vd-app{grid-template-columns:var(--r24-side-open) minmax(0,1fr)!important}
.vd-sidebar-head{padding-left:10px!important;padding-right:10px!important}.vd-sidebar-head img{width:82px!important}.vd-nav-item,.vd-nav-group>button{grid-template-columns:30px 1fr 16px!important;padding-left:6px!important;padding-right:6px!important}.vd-nav-label{font-size:12px!important}
/* HR desktop is a true workspace, not a centered column. */
.vd-content:has(.hr-workspace-wide){padding:12px 14px 14px!important;overflow:hidden!important}
.hr-workspace-wide{width:100%!important;max-width:none!important;height:calc(100vh - 92px)!important;min-height:0!important;grid-template-rows:auto auto auto minmax(0,1fr)!important;gap:8px!important}
.hr-workspace-head{margin:0!important;align-items:center!important}.hr-workspace-head h2{font-size:22px!important;margin:0!important}.hr-workspace-head p{margin:2px 0!important}
.hr-metrics-strip{grid-template-columns:repeat(4,minmax(120px,1fr))!important;gap:7px!important}.hr-metrics-strip .hr-metric{padding:8px 10px!important;border-radius:12px!important}.hr-metrics-strip strong{font-size:17px!important;margin-top:2px!important}.hr-workspace-controls{max-width:260px!important}.hr-workspace-controls select{min-height:34px!important;height:34px!important}
#hrMain{min-height:0!important;overflow:hidden!important}.hr-master-detail{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:10px!important;height:100%!important;min-height:0!important;max-width:none!important;margin:0!important}.hr-master-list,.hr-master-detail-panel{min-height:0!important;height:100%!important;overflow:hidden!important}.hr-master-list{display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;padding:11px!important}.hr-master-list .hr-list{overflow:auto!important;padding-right:3px!important}.hr-master-detail-panel{overflow:hidden!important}.hr-detail-card-layout{grid-template-columns:minmax(0,1fr) 270px!important;height:100%!important;min-height:0!important;gap:10px!important}.hr-detail-profile{overflow:auto!important;padding-right:4px!important}.hr-staff-card-aside{position:static!important;height:100%!important;overflow:auto!important;padding-right:2px!important}.hr-lifecycle-compact{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:8px!important;align-items:start!important}.hr-lifecycle-compact>*{min-width:0!important}.hr-lifecycle-compact .hr-kv,.hr-lifecycle-compact label{position:static!important;transform:none!important}.hr-lifecycle-compact select{width:100%!important;min-height:36px!important}.hr-row{padding:7px 0!important}.hr-avatar.sm{width:40px!important;height:40px!important}.verve-id-card{width:min(100%,244px)!important;border-radius:18px!important}.verve-card-controls{grid-template-columns:1fr 1fr!important}
/* K Shield: VERA is a contained companion rail and can never cover the form. */
.vd-modal-card:has(.fc-kshield-r21){width:min(720px,94vw)!important;max-height:86vh!important;padding:10px!important;overflow:hidden!important}.fc-kshield-r21{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;overflow:hidden!important}.fc-kshield-r21 .fc-kshield-vera{width:132px!important;min-width:132px!important;height:205px!important;min-height:205px!important;overflow:hidden!important;position:relative!important;isolation:isolate!important}.fc-kshield-r21 .fc-kshield-vera>.vera-motion-host{width:126px!important;height:198px!important;min-width:126px!important;min-height:198px!important;max-width:126px!important;max-height:198px!important}.fc-kshield-r21 .fc-kshield-talk{min-width:0!important;overflow:hidden!important}.fc-kshield-r21 .fc-vera-support-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.fc-kshield-r21 select,.fc-kshield-r21 textarea{width:100%!important;max-width:100%!important}.fc-kshield-r21 .fc-vera-tech-result{max-height:120px!important;overflow:auto!important}.fc-kshield-r21 .fc-vera-human-grid{grid-template-columns:1fr 1.2fr auto!important}.fc-kshield-r21 .fc-speech{padding:6px 8px!important}.fc-kshield-r21 .fc-speech h2{font-size:17px!important}.fc-kshield-r21 .fc-speech p{font-size:9.5px!important}.fc-kshield-r21 .fc-kshield-actions{padding-top:5px!important}
/* Compact quote/prayer: content first, no dead vertical space. */
.vd-modal-card:has(.vd-vera-quote){width:min(500px,92vw)!important;padding:9px 10px!important}.vd-vera-quote.vera-r21-quote{grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important;min-height:0!important;padding:0!important}.vera-r21-quote .vd-vera-quote-rail,.vera-r21-quote .vd-vera-quote-rail>.vera-motion-host{width:88px!important;height:118px!important;min-width:88px!important;min-height:118px!important}.vera-r21-quote .vd-vera-quote-copy h2{font-size:17px!important;line-height:1.25!important;margin:4px 0!important}.vd-modal-card:has(.vd-prayer-panel){width:min(590px,94vw)!important;padding:9px!important}.vd-prayer-panel.vera-r21-prayer{grid-template-columns:120px minmax(0,1fr)!important;gap:9px!important;padding:8px!important;width:100%!important;min-height:0!important}.vera-r21-prayer .vd-prayer-vera-rail,.vera-r21-prayer .vd-prayer-vera-rail>.vera-motion-host{width:116px!important;height:170px!important;min-width:116px!important;min-height:170px!important}.vera-r21-prayer .vd-prayer-times{gap:4px!important}.vera-r21-prayer .vd-prayer-times>div{padding:4px 5px!important}.vera-r21-prayer .vd-prayer-quote{margin-top:5px!important;padding:5px 7px!important}
/* VERA transparent art: no pink aura and no legacy sticker background. */
.vera-motion-aura{background:radial-gradient(circle,rgba(75,185,255,.18) 0,transparent 64%)!important;opacity:.08!important}.vera-motion-host img{background:transparent!important}.vera-motion-host{filter:drop-shadow(0 7px 12px rgba(0,0,0,.16))}
/* Phone Upload Bridge */
.verve-phone-upload-wrap{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}.verve-phone-upload-btn{min-height:32px!important;padding:6px 9px!important;font-size:10px!important}.verve-phone-upload-state{font-size:10px;color:var(--muted)}.verve-phone-bridge{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;align-items:center}.verve-phone-qr{background:#fff;border-radius:16px;padding:9px;width:210px;height:210px;display:grid;place-items:center}.verve-phone-qr svg{width:100%;height:100%}.verve-phone-meta{display:grid;gap:7px}.verve-phone-meta code{font-size:10px;overflow-wrap:anywhere}.verve-phone-status{font-weight:800}.verve-phone-status[data-state="ready"]{color:var(--good)}.verve-phone-status[data-state="failed"]{color:var(--bad)}
/* Admin diagnostics */
.verve-diagnostics-card{margin-top:12px}.verve-diag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.verve-diag-item{border:1px solid var(--line);background:var(--surface2);border-radius:12px;padding:9px;display:grid;gap:3px}.verve-diag-item small{color:var(--muted)}.verve-diag-item b[data-state="pass"]{color:var(--good)}.verve-diag-item b[data-state="fail"]{color:var(--bad)}.verve-diag-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.verve-diag-log{max-height:190px;overflow:auto;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;background:#0d1117;color:#dce7f3;padding:9px;border-radius:10px;white-space:pre-wrap}
@media(max-width:980px){.hr-master-detail{grid-template-columns:240px minmax(0,1fr)!important}.hr-detail-card-layout{grid-template-columns:minmax(0,1fr) 230px!important}.verve-diag-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.vd-content:has(.hr-workspace-wide){overflow:auto!important}.hr-workspace-wide{height:auto!important}.hr-master-detail{grid-template-columns:1fr!important;height:auto!important}.hr-master-list{max-height:270px!important}.hr-detail-card-layout{grid-template-columns:1fr!important}.fc-kshield-r21{grid-template-columns:102px minmax(0,1fr)!important}.fc-kshield-r21 .fc-kshield-vera{width:102px!important;min-width:102px!important;height:165px!important;min-height:165px!important}.fc-kshield-r21 .fc-kshield-vera>.vera-motion-host{width:98px!important;height:158px!important;min-width:98px!important;min-height:158px!important}.fc-kshield-r21 .fc-vera-support-grid{grid-template-columns:1fr!important}.verve-phone-bridge{grid-template-columns:1fr}.verve-phone-qr{margin:auto}.verve-diag-grid{grid-template-columns:1fr}}
