.employee-picker{position:relative;min-width:230px;max-width:100%;font-weight:400}
.employee-picker .employee-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;background:var(--surface,#fff);color:var(--text,#20232d)}
.employee-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-picker svg,.workspace-search svg,.flow-result>svg,#flow-search svg{width:20px;height:20px;min-width:20px;flex:0 0 20px;display:block}
.employee-trigger svg{fill:none;stroke:currentColor;stroke-width:1.7}
.employee-popover{position:absolute;top:calc(100% + 6px);left:0;width:360px;max-width:min(360px,calc(100vw - 48px));z-index:40;padding:10px;border:1px solid var(--border,#e1e4ea);border-radius:10px;background:var(--surface,#fff);box-shadow:0 8px 24px #18223018}
.employee-popover[hidden]{display:none}
.employee-popover input{width:100%;margin:0 0 6px}
.employee-options{max-height:230px;overflow-y:auto;overscroll-behavior:contain}
.employee-options [role=option]{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border-radius:6px;cursor:pointer;color:var(--text,#20232d);font-size:14px}
.employee-options small{display:block;color:var(--muted,#667085);font-size:12px;margin-top:3px}
.employee-options [aria-selected=true]{color:var(--accent,#5144e8)}
.employee-options [role=option]:hover,.employee-options .is-active{background:var(--accent-soft,#efedff)}
.employee-hint{font-size:12px;line-height:1.5;margin:8px 4px 0;color:var(--muted,#667085)}
#content:has(#merch-holder)> .toolbar{gap:12px;align-items:end;justify-content:flex-start;flex-wrap:wrap}
#content:has(#merch-holder)> .toolbar>label{margin-right:auto;margin-bottom:0;min-width:250px}
#content:has(#merch-holder)> .panel:has(>h2:first-child) table{min-width:0}
#merch-history table{min-width:850px!important}
#flow-search{display:flex;align-items:center;gap:10px;min-width:190px;text-align:left}
#flow-search kbd{margin-left:auto;font-family:inherit;font-size:11px;white-space:nowrap;border:1px solid var(--border,#e1e4ea);border-radius:4px;padding:2px 5px;color:var(--muted,#667085)}
dialog.workspace-search-dialog{width:620px;max-width:calc(100vw - 24px)}
dialog.workspace-search-dialog #modal-form>footer{display:none}
.workspace-search-input{display:flex;align-items:center;gap:10px;border:1px solid var(--border,#e1e4ea);border-radius:8px;padding:0 12px;background:var(--surface,#fff)}
.workspace-search-input:focus-within{outline:2px solid var(--accent,#5144e8);outline-offset:1px}
.workspace-search-input input{border:0!important;box-shadow:none!important;outline:none!important;min-width:0;width:100%;margin:0;background:transparent}
.workspace-search .flow-results{display:block;max-height:min(410px,50dvh);overflow-y:auto;overscroll-behavior:contain}
.search-group+.search-group{border-top:1px solid var(--border,#e1e4ea);margin-top:10px;padding-top:6px}
.search-group h3{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#667085);margin:12px 10px 6px}
.workspace-search .flow-result{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;color:var(--text,#20232d);padding:10px;border-radius:7px;margin:0;min-height:42px}
.workspace-search .flow-result>span:not(.search-arrow){min-width:0;flex:1;overflow-wrap:anywhere}
.workspace-search .flow-result small{display:block;font-size:12px;line-height:1.5;color:var(--muted,#667085);font-weight:400;margin-top:3px}
.workspace-search .flow-result:hover,.workspace-search .flow-result.is-active{background:var(--accent-soft,#efedff)}
.search-arrow{color:var(--muted,#667085);font-size:14px}
.search-status{padding:8px 10px;color:var(--muted,#667085);font-size:13px}
.search-keyboard{border-top:1px solid var(--border,#e1e4ea);padding-top:12px;margin-bottom:0;font-size:12px;color:var(--muted,#667085)}
@media(max-width:600px){.employee-picker{min-width:0}.employee-popover{width:100%;min-width:230px}#flow-search{min-width:0;justify-content:center}#flow-search kbd,.search-keyboard{display:none}#content:has(#merch-holder)>.toolbar>label{width:100%;min-width:0}.workspace-search-dialog #modal-body{padding:14px}.workspace-search .flow-results{max-height:48dvh}}
