#homeInventoryLive{padding:22px;margin:0 0 24px;border:1px solid var(--line,#dce3ec);border-radius:14px;background:var(--card,#fff);min-width:0}
.hil-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.hil-heading h2,.hil-heading h3{margin:0 0 8px}.hil-heading p{margin:0 0 14px}#hilStatus{font-weight:700}
.hil-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px 0;border-bottom:1px solid var(--line,#dce3ec);margin-bottom:20px}.hil-totals b{display:block;font-size:2rem}.hil-totals span{display:block;margin-top:6px}
.hil-offices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.hil-offices button{text-align:left;color:inherit;background:var(--card,#fff);border:1px solid var(--line,#dce3ec);border-radius:12px;padding:18px;min-width:0;cursor:pointer;font:inherit}.hil-offices button[aria-pressed=true]{outline:3px solid #2164a5;outline-offset:-3px}.hil-offices h3{margin:0 0 12px;overflow-wrap:break-word}.hil-offices strong{font-size:2rem}.hil-offices p{line-height:1.5;margin:8px 0}.hil-table{overflow-x:auto}.hil-table table{width:100%;border-collapse:collapse}.hil-table td,.hil-table th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line,#dce3ec)}.hil-barcode{white-space:nowrap;font-family:monospace;font-size:1rem}.hil-preference{display:flex;align-items:center;gap:10px;line-height:1.5;margin:16px 0}.hil-preference input{width:20px;height:20px;flex-shrink:0}
@media(max-width:700px){.hil-offices{grid-template-columns:1fr}.hil-totals{grid-template-columns:repeat(2,minmax(0,1fr))}#homeInventoryLive{padding:15px}.hil-table table{min-width:610px}}
/* Participant report: office -> inventory -> person, with touch-friendly return actions. */
.hil-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#homeInventoryLive .hil-controls button,#homeInventoryLive [data-hil-back]{min-height:46px;padding:10px 16px;white-space:normal;word-break:normal;line-height:1.4;border-radius:9px}
.hil-detail-heading{margin:18px 0 10px}.hil-detail-heading label{display:grid;gap:6px}.hil-detail-heading select{min-height:44px;font:inherit;padding:8px;background:var(--card,#fff);color:inherit;border:1px solid var(--line,#dce3ec);border-radius:7px}
.hil-participant-office{margin:18px 0 24px;padding:18px;border:1px solid var(--line,#dce3ec);border-radius:12px;background:var(--card,#fff)}
.hil-participant-office>.hil-heading{padding-bottom:12px;border-bottom:1px solid var(--line,#dce3ec)}
.hil-participant-office h3{font-size:1.2rem;margin:0}.hil-participant-inventory{margin:16px 0}.hil-participant-inventory h4{margin:0;font-size:1rem}.hil-inventory-meta{font-size:.85rem;overflow-wrap:anywhere}
.hil-participant{display:grid;grid-template-columns:minmax(130px,1fr) auto minmax(250px,1.8fr);gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line,#dce3ec)}
.hil-participant b{overflow-wrap:anywhere}.hil-participant strong{white-space:nowrap}.hil-participant small{display:block;margin-top:5px;font-size:.85rem}.hil-participant p{margin:0}
.hil-accessories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0;padding:12px;border-radius:8px;background:var(--surface,#f3f6fa);color:var(--text,#17283a)}
.hil-accessories div{display:flex;flex-direction:column-reverse;gap:4px;min-width:0}.hil-accessories dd{font-size:1.15rem;font-weight:700;margin:0;font-variant-numeric:tabular-nums}.hil-accessories dt{font-size:.78rem;overflow-wrap:break-word}
.hil-inventory-total{margin:12px 0;padding:12px 0}.hil-office-total{border-top:1px solid var(--line,#dce3ec);padding-top:16px}
@media(max-width:800px){.hil-participant{grid-template-columns:minmax(0,1fr) auto;gap:10px}.hil-participant-material{grid-column:1/-1}}
@media(max-width:480px){.hil-controls{width:100%}.hil-controls button{width:100%}.hil-participant-office{padding:12px}.hil-accessories{grid-template-columns:repeat(2,minmax(0,1fr))}.hil-detail-heading label,.hil-detail-heading select{width:100%}#homeInventoryLive [data-hil-back]{width:100%}.hil-inventory-meta{line-height:1.5}}
