.ops-dialog{width:min(1380px,94vw);max-width:94vw;max-height:90vh;padding:0;border:1px solid #c7ced8;border-radius:10px;color:#172b4d}.ops-dialog::backdrop{background:#091e4280}.ops-dialog>header{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #dce1e8;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px}.ops-dialog h2{font-size:20px;margin:0}.ops-body{padding:20px 24px}.ops-body h3{margin:24px 0 12px}.ops-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ops-scroll{overflow:auto;max-height:380px;border:1px solid #dce1e8;border-radius:6px}.ops-scroll table{width:100%;border-collapse:collapse}.ops-scroll th{position:sticky;top:0;background:#f1f3f5;text-align:left;color:#172b4d;z-index:1}.ops-scroll td,.ops-scroll th{padding:10px 12px;border-bottom:1px solid #e6e9ef;white-space:nowrap}.ops-scroll tr:hover td{background:#f7f9fc}.ops-scroll td button{margin-left:8px}.ops-scroll td small{color:#626f86}#ops-review-summary>button{margin:4px}
/* Keep member actions within their own cell, including at browser zoom. */
#people #agent-list .member-management-actions{flex-wrap:wrap;justify-content:flex-start;white-space:normal;min-width:0;width:100%;gap:6px;box-sizing:border-box}
#people #agent-list .member-management-actions>span{flex:0 0 100%;box-sizing:border-box;white-space:normal;line-height:1.5;text-align:left}
#people #agent-list .member-management-actions>button{max-width:100%;white-space:normal;overflow-wrap:anywhere;flex-shrink:1}
#people #agent-list .member-management-cell{white-space:normal}
/* Allocate spare width to actions instead of the identity columns. */
#people #agent-list table.member-management-table{width:100%;min-width:1440px;table-layout:fixed}
#people #agent-list table.member-management-table th{box-sizing:border-box}
#people #agent-list table.member-management-table th:nth-child(1){width:72px}
#people #agent-list table.member-management-table th:nth-child(2){width:132px}
#people #agent-list table.member-management-table th:nth-child(3){width:88px}
#people #agent-list table.member-management-table th:nth-child(4){width:100px}
#people #agent-list table.member-management-table th:nth-child(5){width:108px}
#people #agent-list table.member-management-table th:nth-child(6){width:102px}
#people #agent-list table.member-management-table th:nth-child(8){width:76px}
#people #agent-list table.member-management-table th:nth-child(9),#people #agent-list table.member-management-table th:nth-child(10){width:104px}
#people #agent-list table.member-management-table th:nth-child(12){width:68px}
#people #agent-list table.member-management-table th.member-management-heading{width:auto;min-width:0;text-align:left}
#people #agent-list table.member-management-table :is(th,td){padding:8px!important;font-size:13px!important}
#people #agent-list table.member-management-table td:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5)){white-space:normal;overflow-wrap:anywhere}
#people #agent-list table.member-management-table .member-management-actions{gap:5px;justify-content:flex-start}
#people #agent-list table.member-management-table .member-management-actions>button{flex:0 0 auto;max-width:none;white-space:nowrap;overflow-wrap:normal;margin:0;font-size:12px;min-height:30px;padding:5px 8px}
.processing-workspace .processing-help{margin:12px 0 20px;padding:12px 16px;background:#f7f8fa;border:1px solid #dfe1e6;border-radius:6px;font-size:13px}
.processing-help summary{cursor:pointer;font-weight:600;color:#44546f}.processing-help li{margin:8px 0}
.processing-workspace>.controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}
.processing-table-wrap{display:block;overflow:auto;max-height:68vh;border:1px solid #dfe1e6;border-radius:8px}
.processing-workspace .processing-table{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px}
.processing-table th{position:sticky;top:0;z-index:2;background:#f1f3f5;color:#44546f;text-align:left;padding:12px;border-bottom:1px solid #dfe1e6}
.processing-table th:first-child{width:34%}.processing-table th:nth-child(2){width:10%}.processing-table th:nth-child(3){width:12%}.processing-table th:nth-child(4){width:18%}.processing-table th:last-child{width:26%}
.processing-table td{padding:14px 12px;border-bottom:1px solid #e8ebef;vertical-align:top;white-space:normal;overflow-wrap:anywhere;background:#fff}
.processing-table tr:hover td{background:#fafbfc}.processing-table td>strong{display:block;line-height:1.5}.processing-table td>small{display:block;margin-top:4px;color:#626f86}
.processing-table details{margin-top:10px;color:#44546f;font-size:12px}.processing-table summary{cursor:pointer;color:#315f8d}.processing-table details p{margin:8px 0;line-height:1.6}
.processing-status{display:inline-block;padding:4px 8px;border-radius:4px;background:#eef1f4;color:#44546f;font-weight:600;white-space:nowrap}
.processing-status[data-state=done]{background:#dcfce7;color:#166534}.processing-status[data-state=failed]{background:#fee2e2;color:#991b1b}.processing-status[data-state=blocked]{background:#fff0cf;color:#854d0e}.processing-status[data-state=pending]{background:#e0edff;color:#174ea6}
.processing-actions button{margin:0 6px 6px 0!important;min-height:34px;white-space:normal}.processing-actions label{display:block;font-size:12px;margin-bottom:8px}.processing-actions select{display:block;width:100%;max-width:100%;margin-top:5px;min-height:36px}
/* Processing presentation: override the shared legacy table theme only here. */
#workspace #processing-issues{font-family:EverycallPretendard,"Malgun Gothic",sans-serif;color:#172b4d;}
#processing-issues :is(input,select,button,table){font-family:inherit;}
#workspace #processing-issues>h2{font-size:20px;font-weight:650;margin:0 0 12px;}
#workspace #processing-issues>p{font-size:14px;line-height:1.6;color:#626f86;}
#workspace #processing-issues .processing-help{padding:12px 16px;background:#fff;border-color:#dfe1e6;border-radius:8px;margin:16px 0;line-height:1.65;}
#workspace #processing-issues>.controls{padding:16px;background:#f7f8f9;border:1px solid #dfe1e6;border-radius:8px;gap:10px;align-items:center;}
#workspace #processing-issues>.controls :is(input,select,button){box-sizing:border-box;min-height:40px;height:40px;margin:0;padding:8px 12px;border-radius:6px;font-size:14px;}
#workspace #processing-issues>.controls :is(input,select){background:#fff;border:1px solid #8590a2;color:#172b4d;}
#workspace #processing-issues>.controls input{flex:1 1 260px;max-width:440px;min-width:0;}
#workspace #processing-issues>.controls select{min-width:140px;}
#workspace #processing-issues>.controls>span{font-size:13px;color:#626f86;}
#workspace #processing-issues button{box-shadow:none;border-radius:6px;font-size:13px;}
#workspace #processing-issues>.controls button,#workspace #processing-issues .processing-actions button{background:#0c66e4;color:#fff;border:1px solid #0c66e4;min-height:36px;padding:8px 12px;font-weight:600;line-height:1.4;}
#workspace #processing-issues button:hover:not(:disabled){background:#0055cc;border-color:#0055cc;color:#fff;}
#workspace #processing-issues button:disabled{background:#f1f2f4;color:#8590a2;border-color:#dfe1e6;cursor:not-allowed;}
#workspace #processing-issues .processing-table-wrap{border:1px solid #dfe1e6;border-radius:8px;max-height:68vh;}
#workspace #processing-issues .processing-table{border:0;min-width:900px;font-variant-numeric:tabular-nums;}
#workspace #processing-issues .processing-table th{position:sticky!important;top:0;z-index:2;background:#f7f8f9!important;color:#44546f!important;text-align:left!important;font-size:13px!important;font-weight:600!important;border:0!important;border-bottom:1px solid #dfe1e6!important;padding:12px 16px!important;}
#workspace #processing-issues .processing-table td{position:static!important;text-align:left!important;vertical-align:top!important;background:#fff!important;color:#172b4d;border:0!important;border-bottom:1px solid #dfe1e6!important;padding:14px 16px!important;font-size:14px!important;line-height:1.5;white-space:normal!important;}
#workspace #processing-issues .processing-table tr:hover td{background:#f7f8f9!important;}
#workspace #processing-issues .processing-table td>strong{font-weight:600;overflow-wrap:anywhere;}
#workspace #processing-issues .processing-table td>small{font-size:12px;color:#626f86;}
#workspace #processing-issues .processing-table details{margin-top:8px;font-size:13px;}
#workspace #processing-issues .processing-table summary{color:#0c66e4;}
#workspace #processing-issues .processing-status{font-size:12px;line-height:1.5;padding:4px 8px;border-radius:4px;}
#processing-issues :is(input,select,button,summary):focus-visible{outline:2px solid #0c66e4;outline-offset:3px;}
@media(max-width:640px){#workspace #processing-issues>.controls{padding:12px;}#workspace #processing-issues>.controls input{max-width:none;flex-basis:100%;}}
/* Paid DB reports share the admin presentation without changing billing logic. */
#workspace #paid-db{font-family:EverycallPretendard,"Malgun Gothic",sans-serif;color:#172b4d;}
#paid-db :is(input,select,button,table){font-family:inherit;}
#workspace #paid-db h2{font-size:20px;font-weight:650;}
#workspace #paid-db h3{font-size:16px;font-weight:650;margin:24px 0 12px;}
#workspace #paid-db .reference-scope{font-size:13px;line-height:1.7;color:#626f86;margin:14px 0 20px;}
#workspace #paid-db .filter-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;background:#f7f8f9;border:1px solid #dfe1e6;border-radius:8px;margin:16px 0;}
#workspace #paid-db :is(input:not([type=checkbox]),select,button){box-sizing:border-box;min-height:38px;border-radius:6px;font-size:14px;line-height:1.4;box-shadow:none;}
#workspace #paid-db .filter-strip :is(input,select,button){margin:0;padding:8px 12px;height:40px;}
#workspace #paid-db :is(input:not([type=checkbox]),select){background:#fff;border:1px solid #8590a2;color:#172b4d;}
#workspace #paid-db button{background:#fff;border:1px solid #c7ced8;color:#172b4d;padding:8px 12px;font-weight:600;}
#workspace #paid-db button.primary{background:#0c66e4;color:#fff;border-color:#0c66e4;}
#workspace #paid-db button:hover:not(:disabled){background:#e9f2ff;border-color:#0c66e4;color:#0055cc;}
#workspace #paid-db button.primary:hover:not(:disabled){background:#0055cc;color:#fff;}
#workspace #paid-db button:disabled{background:#f1f2f4;color:#8590a2;border-color:#dfe1e6;cursor:not-allowed;}
#workspace #paid-db .billing-reference>.filter-strip{display:grid;grid-template-columns:repeat(2,minmax(180px,240px)) minmax(180px,1fr) auto;}
#workspace #paid-db .billing-reference>.filter-strip>input[type=datetime-local]{width:100%;min-width:0;}
#workspace #paid-db .billing-reference>.filter-strip>.quick-dates{grid-column:3 / 5;display:flex;flex-wrap:wrap;gap:6px;}
#workspace #paid-db .quick-dates button{font-size:13px;padding:8px 10px;}
#workspace #paid-db .billing-reference>.filter-strip>select:nth-child(4){grid-row:2;grid-column:1;}
#workspace #paid-db .billing-reference>.filter-strip>input:nth-child(5){grid-row:2;grid-column:2 / 4;width:100%;min-width:0;}
#workspace #paid-db .billing-reference>.filter-strip>button:nth-child(6){grid-row:2;grid-column:4;}
#workspace #paid-db .billing-reference>.filter-strip>select:nth-child(7){grid-row:3;grid-column:1;}
#workspace #paid-db .billing-reference>.filter-strip>select:nth-child(8){grid-row:3;grid-column:2;}
#workspace #paid-db .billing-reference>.filter-strip>button:nth-child(9){grid-row:3;grid-column:3 / 5;justify-self:end;}
#workspace #paid-db .table-wrap{overflow:auto;max-height:60vh;border:1px solid #dfe1e6;border-radius:8px;}
#workspace #paid-db table{width:100%;border-collapse:separate;border-spacing:0;border:0;font-variant-numeric:tabular-nums;}
#workspace #paid-db table th{position:sticky!important;top:0;z-index:2;background:#f7f8f9!important;color:#44546f!important;font-size:13px!important;font-weight:600!important;text-align:left!important;padding:12px 16px!important;border:0!important;border-bottom:1px solid #dfe1e6!important;white-space:nowrap;}
#workspace #paid-db table td{position:static!important;padding:12px 16px!important;font-size:14px!important;line-height:1.5;color:#172b4d;background:#fff!important;border:0!important;border-bottom:1px solid #ebecf0!important;text-align:left;}
#workspace #paid-db table tr:hover td{background:#f7f8f9!important;}
#workspace #paid-db table td[colspan]{text-align:center;padding:28px 16px!important;color:#626f86;}
#workspace #paid-db .billing-reference>div:nth-last-child(2) td:not([colspan]):nth-child(n+3){text-align:right;}
#workspace #paid-db .billing-reference>div:last-child table{min-width:1200px;}
#workspace #paid-db .billing-reference>div:last-child td:not([colspan]):nth-child(n+8){white-space:nowrap;}
#workspace #paid-db .billing-reference>div:last-child .controls{display:flex;justify-content:center;align-items:center;gap:10px;margin:16px 0;font-size:13px;}
#workspace #paid-db .paid-file-details{margin-top:24px;padding:16px;border:1px solid #dfe1e6;border-radius:8px;background:#fff;}
#workspace #paid-db .paid-file-details>summary{cursor:pointer;font-size:14px;font-weight:600;color:#172b4d;}
#paid-db :is(input,select,button,summary):focus-visible{outline:2px solid #0c66e4;outline-offset:2px;}
#workspace #paid-db>.filter-strip:has(>select[hidden]){background:transparent;border:0;padding:0;margin:0 0 12px;justify-content:flex-end;}
@media(max-width:1000px){#workspace #paid-db .billing-reference>.filter-strip{display:flex;}#workspace #paid-db .billing-reference>.filter-strip>input[type=datetime-local]{width:220px;}#workspace #paid-db .billing-reference>.filter-strip>input:nth-child(5){flex:1 1 250px;}#workspace #paid-db .billing-reference>.filter-strip>.quick-dates{flex-basis:100%;}}

/* Keep pagination outside the independently scrolling processing list. */
#workspace #processing-issues:not([hidden]){display:flex;flex-direction:column;box-sizing:border-box;height:calc(100dvh - var(--processing-top,100px));min-height:0;overflow:hidden;padding:16px 20px 12px;}
#workspace #processing-issues>h2,#workspace #processing-issues>p,#workspace #processing-issues>.controls,#workspace #processing-issues>.processing-pagination{flex:none;}
#workspace #processing-issues>.processing-help{flex:0 1 auto;min-height:0;max-height:25vh;overflow:auto;margin:8px 0;padding:8px 12px;}
#workspace #processing-issues>.controls{margin:8px 0 12px;padding:10px 12px;}
#workspace #processing-issues>.processing-table-wrap{flex:1 1 0;min-height:0;max-height:none;overflow:auto;}
#workspace #processing-issues>.processing-pagination{position:static;width:auto;background:#fff;border-top:1px solid #dfe1e6;font-size:13px;}
/* Compact processing toolbar; guidance opens without moving the list. */
#workspace #processing-issues>.controls{margin-top:0;}
#workspace #processing-issues>.controls .processing-help-button{margin-left:auto;background:#fff;color:#44546f;border:1px solid #b7c1cf;white-space:nowrap;}
.processing-help-dialog{width:min(640px,92vw);max-height:85dvh;padding:0;border:1px solid #dfe1e6;border-radius:10px;color:#172b4d;font-family:EverycallPretendard,"Malgun Gothic",sans-serif;}
.processing-help-dialog::backdrop{background:#091e4280;}
.processing-help-dialog>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fff;border-bottom:1px solid #dfe1e6;}
.processing-help-dialog h2{margin:0;font-size:18px;}
.processing-help-dialog header button{padding:7px 14px;border:1px solid #b7c1cf;border-radius:6px;background:#fff;color:#172b4d;cursor:pointer;}
.processing-help-body{padding:16px 20px;font-size:14px;line-height:1.7;}
.processing-help-body h3{margin:0 0 8px;font-size:15px;}
.processing-help-body p{margin:8px 0;}
.processing-help-body ol{padding-left:22px;}.processing-help-body li{margin:12px 0;}
.processing-help-dialog :focus-visible{outline:2px solid #0c66e4;outline-offset:2px;}
