/* combo (combo.js): the box that stands in front of a person dropdown, and its list */
.combo{position:relative;display:inline-flex;min-width:0;max-width:100%;vertical-align:middle}
.combo[hidden]{display:none}
:where(.combo-in){font:.75rem var(--sans);color:var(--ink);background:var(--surface);border:1px solid var(--line-2);border-radius:5px;padding:3px 6px;color-scheme:light dark}
.combo .combo-in{flex:1;width:100%;min-width:0;font-weight:400;text-overflow:ellipsis}
.combo .combo-in.bad{border-color:#D93025;outline:2px solid color-mix(in srgb,#D93025 35%,transparent);outline-offset:1px}
.combo .combo-in::-webkit-search-cancel-button{cursor:pointer}
select.combo-src{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
.combo-l{position:fixed;z-index:120;margin:0;padding:3px 0;list-style:none;overflow:auto;background:var(--surface);color:var(--ink);border:1px solid var(--line-2);border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,.18);font:.76rem var(--sans)}
.combo-l[hidden]{display:none}
.combo-l li{display:flex;align-items:baseline;gap:6px;padding:3px 8px;cursor:pointer;white-space:nowrap}
.combo-l li b{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.combo-l li.cur b{font-weight:700}
.combo-l li.none b{font-weight:400;color:var(--muted)}
.combo-l li span{margin-left:auto;color:var(--muted);font-size:.68rem}
.combo-l li.on,.combo-l li[data-i]:hover{background:color-mix(in srgb,#2563eb 12%,transparent)}
.combo-l li.combo-g{padding-top:5px;color:var(--muted);cursor:default;font-size:.64rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}

/* where a form sized or placed its dropdown, the box takes that over */
.ct-to .combo,.cstep-with .combo,.ct-pop .row .combo{flex:1}
.upd-re .combo-in,.obit-tell .combo-in{font-size:.74rem;padding:2px 4px}
.upd .upd-re .combo{width:11em}
.bud-side .upd-re .combo,.obit-tell .combo{width:14em}
.ctr-for .combo{width:16em}
.ctr-for .combo-in{font-size:.76rem;padding:2px 5px}
.em-f .combo{grid-column:2;width:16em}
.em-f .combo-in{font-size:.72rem;padding:3px 4px}
/* the contract builder's and the notary package's "for": plain text in the bar until it has the cursor */
.wt-selw .combo{width:20em}
.wt-selw .combo-in::-webkit-search-cancel-button{display:none}
.wt-selw .combo-in{min-height:36px;padding:0 24px 0 6px;font:500 15px/1 var(--sans);background:transparent;border-color:transparent;border-radius:6px;cursor:pointer}
.wt-selw .combo-in:hover{border-color:var(--line-2)}
.wt-selw .combo-in:focus{background:var(--surface);border-color:var(--line-2);cursor:text}
