/* Shared manual/OCR editor. Native controls keep keyboard and touch behaviour. */
.expense-payer-choice,.expense-participants{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:10px;min-width:0}
.expense-payer-choice legend,.expense-participants legend,.item-participants legend{font-weight:700;padding:0 4px}
.expense-payer-choice{display:flex;gap:12px;flex-wrap:wrap}
.expense-payer-choice .checkrow{min-height:44px;flex:1 1 160px;margin:0}
.expense-payer-choice input[type=radio]{width:18px;height:18px;min-width:18px;accent-color:var(--teal)}
.central-participant-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.participant-chip{min-height:44px;max-width:100%;margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}
.participant-chip .profile-label{min-width:0;overflow-wrap:anywhere}
.participant-picker-list{max-height:min(48vh,420px);overflow:auto;overscroll-behavior:contain}
.participant-picker-list .checkrow{min-height:44px}
.participant-picker-list [hidden]{display:none}
.item-row .participant-checks{display:flex;flex-direction:column;gap:6px}
.item-participant-value{display:flex;align-items:center;gap:8px;min-width:0}
.item-participant-value .checkrow{flex:1;min-height:44px;min-width:0}
.item-participant-value>input{width:100px;flex:0 0 100px}
.item-row .item-error{margin:4px 0;empty-cells:hide}
.item-row[aria-invalid=true]{border-color:var(--error);border-width:2px}
.item-row .field input,.item-row .field select{min-width:0;max-width:100%}
@media (min-width:1024px){.group-context-expense{display:inline-flex;align-items:center;gap:8px}.expense-payer-choice .checkrow{flex:0 1 240px}}
@media (max-width:420px){.item-participant-value>input{width:82px;flex-basis:82px}.expense-payer-choice{gap:2px}.expense-payer-choice .checkrow{flex-basis:100%}}
