.mq-facet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid #d5d8d2;background:#f7f6f1;color:#17252b;font-size:13px}
.mq-facet-toolbar label{display:flex;align-items:center;gap:8px}.mq-facet-toolbar select{max-width:100%;min-height:38px;padding:6px 8px;font:inherit;border:1px solid #a4b8ba;background:#fffefa;color:#073a4d}.mq-facet-toolbar button{min-height:38px}.mq-facet-export-status{font-size:12px;overflow-wrap:anywhere;color:#245b45}
.mq-facet-applied,.mq-facet-current{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;max-height:120px;overflow:auto}.mq-facet-applied[hidden]{display:none}.mq-facet-applied button,.mq-facet-current button{background:#e5f0e8;border:1px solid #a4b8ba;color:#073a4d;max-width:100%;padding:6px 10px;font:inherit;font-size:13px;text-align:left;overflow-wrap:anywhere;cursor:pointer}.mq-facet-current>span{font-size:13px;color:#49616a}
.mq-facet-dialog{width:min(850px,calc(100vw - 32px));height:min(730px,90dvh);max-height:90dvh;max-width:100%;padding:0;border:1px solid #a4b8ba;border-radius:3px;color:#17252b;background:#fffefa;box-shadow:0 16px 40px rgba(7,58,77,.12)}
.mq-facet-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.mq-facet-dialog::backdrop{background:rgba(7,30,40,.46)}
.mq-facet-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #d5d8d2}.mq-facet-dialog h2{font-size:21px;margin:0;color:#073a4d}.mq-facet-dialog header p{font-size:13px;margin:6px 0 0;color:#49616a}.mq-facet-dialog>header button{min-width:44px;min-height:44px}.mq-facet-current{flex-shrink:0;padding:10px 22px;border-bottom:1px solid #d5d8d2}
.mq-facet-body{display:grid;grid-template-columns:136px minmax(0,1fr);min-height:0;flex:1}.mq-facet-body nav{display:flex;flex-direction:column;overflow:auto;background:#edf3f3}.mq-facet-body nav button{min-height:50px;flex-shrink:0;padding:12px 14px;text-align:left;background:transparent;border:0;border-bottom:1px solid #d5d8d2;color:#073a4d;font:inherit;font-size:14px;display:flex;justify-content:space-between;gap:6px;cursor:pointer}.mq-facet-body nav button[aria-pressed=true]{background:#073a4d;color:#fffefa;font-weight:700}.mq-facet-body nav span{font-variant-numeric:tabular-nums}
.mq-facet-options{overflow:auto;min-width:0;padding:20px}.mq-facet-options h3{font-size:18px;margin:0 0 16px;color:#073a4d}.mq-facet-options h3 small{font-size:13px;font-weight:400;margin-left:12px;color:#49616a}.mq-facet-options p{font-size:14px;line-height:1.6;color:#49616a}
.mq-facet-search{display:grid;gap:6px;font-size:13px;color:#49616a;margin-bottom:16px}.mq-facet-options input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #a4b8ba;background:#fff;color:#17252b;padding:8px;font:inherit;font-size:16px;caret-color:#073a4d}
.mq-facet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mq-facet-grid button{min-height:64px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:1px solid #d5d8d2;border-radius:3px;background:#f7f6f1;color:#17252b;padding:10px 8px;font:inherit;font-size:14px;overflow-wrap:anywhere;cursor:pointer}.mq-facet-grid button small{font-size:12px;color:#49616a}.mq-facet-grid button[aria-pressed=true]{border-color:#2f765b;background:#e5f0e8;color:#245b45;box-shadow:inset 0 0 0 1px #2f765b;font-weight:700}
.mq-facet-time{display:grid;gap:18px}.mq-facet-time label{display:grid;gap:8px;font-size:14px}.mq-facet-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.mq-facet-quick button{border:1px solid #a4b8ba;color:#073a4d;background:#edf3f3;padding:8px 12px;min-height:40px;font:inherit;cursor:pointer}
.mq-facet-dialog>footer{flex-shrink:0;border-top:1px solid #d5d8d2;padding:14px 22px;background:#fffefa}.mq-facet-dialog footer strong{font-size:16px;color:#073a4d;font-variant-numeric:tabular-nums}.mq-facet-dialog footer p{margin:6px 0;font-size:12px;color:#49616a}.mq-facet-dialog [data-facet-error]{color:#a33122}.mq-facet-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.mq-facet-actions button{min-height:44px;min-width:130px}
.mq-facet-dialog :is(button,input):focus-visible,.mq-facet-toolbar :is(button,select):focus-visible,.mq-facet-applied button:focus-visible{outline:3px solid #b67a08;outline-offset:2px}.mq-facet-dialog button:hover:not(:disabled){filter:brightness(.96)}.mq-facet-dialog ::selection{background:#e5f0e8;color:#073a4d}.mq-facet-body nav,.mq-facet-options{scrollbar-color:#a4b8ba #edf3f3}
@media(max-width:600px){.mq-facet-dialog{width:100%;height:88dvh;max-height:88dvh;margin:auto 0 0;border-radius:12px 12px 0 0}.mq-facet-dialog>header{padding:14px 16px}.mq-facet-dialog h2{font-size:18px}.mq-facet-current{padding:8px 12px;max-height:90px}.mq-facet-body{grid-template-columns:100px minmax(0,1fr)}.mq-facet-body nav button{padding:12px 10px;font-size:13px}.mq-facet-options{padding:16px 12px}.mq-facet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mq-facet-grid button{min-height:62px;font-size:14px}.mq-facet-dialog>footer{padding:12px 14px max(14px,env(safe-area-inset-bottom))}.mq-facet-actions button{flex:1;min-width:0}.mq-facet-toolbar label{flex:1 1 100%;min-width:0}.mq-facet-toolbar select{flex:1;min-width:0}.mq-facet-toolbar button{min-height:44px}.mq-facet-export-status{flex-basis:100%}.mq-facet-time input{font-size:16px}}
.screening-column-controls [data-open-stage-facets]{min-height:36px;margin-left:0;font-size:12px}
.focus-table-tools{flex-wrap:wrap}
.focus-table th select[data-header-facet]{width:112px;max-width:100%;min-height:28px;margin-top:4px;padding:3px 5px;background:#fffefa;color:#073a4d;border:1px solid #a4b8ba;font-size:12px;text-overflow:ellipsis}
.focus-table th select[data-header-facet]:focus-visible{outline:2px solid #073a4d;outline-offset:1px}
@media(pointer:coarse){.focus-table th select[data-header-facet]{min-height:44px;font-size:16px}}
.focus-table .mq-column-drag{display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px;padding:2px;border:0;background:transparent;color:#073a4d;cursor:grab;flex-shrink:0}
.focus-table .mq-column-drag:hover{background:#dce8e8}
.focus-table .mq-column-drag:focus-visible{outline:2px solid #073a4d;outline-offset:-2px}
.focus-table th[data-column-drop]{box-shadow:inset 0 -3px 0 #2f765b;background:#e5f0e8}
.text-button.screening-row-back{flex:0 0 auto;min-width:44px;min-height:32px;padding:4px 6px;font-size:13px;line-height:1.25;font-weight:500;white-space:nowrap}
@media(pointer:coarse){.text-button.screening-row-back{min-height:44px}}
.screening-row-actions{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 44px;width:44px}
.screening-row-actions>button{margin:0;max-width:44px}
.screening-row-actions>.screening-row-back{width:44px}
/* Keep table scroll handles easy to grab without changing document-wide scrolling. */
:is(.focus-table-scroll,.wf-table-wrap){scrollbar-width:auto;scrollbar-color:auto;scrollbar-gutter:stable}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar{width:18px;height:18px}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar-track{background:var(--deep-soft);border-radius:3px}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar-thumb{background:var(--deep-2);border:2px solid var(--deep-soft);background-clip:padding-box;border-radius:6px;min-height:44px;min-width:44px}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar-thumb:hover{background:var(--deep)}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar-thumb:active{background:var(--ink)}
:is(.focus-table-scroll,.wf-table-wrap)::-webkit-scrollbar-corner{background:var(--deep-soft)}
@supports not selector(::-webkit-scrollbar){:is(.focus-table-scroll,.wf-table-wrap){scrollbar-color:var(--deep-2) var(--deep-soft)}}

/* Keep identity visible while inspecting wide candidate records. */
.focus-table.mq-name-frozen th:first-child,.focus-table.mq-name-frozen td:first-child{left:auto;position:static}
.focus-table.mq-name-frozen thead th:first-child{position:sticky;top:0;z-index:2}
.focus-table.mq-name-frozen .mq-frozen-name{position:sticky;left:0;z-index:3;background:#fffefa;box-shadow:4px 0 6px -5px #073a4d;min-width:112px;max-width:200px}
.focus-table.mq-name-frozen tbody tr:nth-child(even) .mq-frozen-name{background:#f5f6f2}
.focus-table.mq-name-frozen tr.is-selected .mq-frozen-name{background:#e2eef2}
.focus-table.mq-name-frozen thead .mq-frozen-name{top:0;z-index:5;background:#edf3f3}
@media(max-width:600px){.focus-table.mq-name-frozen td:last-child,.focus-table.mq-name-frozen th:last-child{right:auto;position:static}.focus-table.mq-name-frozen thead th:last-child{position:sticky;top:0}}
.offer-stage-table th:first-child,.offer-stage-table td:first-child{position:sticky;left:0;z-index:2;background:#fffefa;box-shadow:4px 0 6px -5px #073a4d}
.offer-stage-table thead th:first-child{z-index:4;background:#edf3f3}
