.dispatch-upload-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr) auto minmax(120px,auto);gap:12px;align-items:end}
.dispatch-upload-grid label{font-size:12px;color:var(--muted)}
.primary-action{background:var(--green);color:#fff;border-color:var(--green)}
.dispatch-summary{margin-top:16px}
.dispatch-summary .summary-row{display:grid;grid-template-columns:130px 1fr;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}
.dispatch-summary .action{margin-top:15px}
.confirm-strip{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.confirm-strip span{padding:7px 10px;background:#fff3dd;color:#805b1d;border:1px solid #ecd7ad;font-size:12px}
.dispatch-error td{background:#fff7f5}
.dispatch-pending td{background:#fffbf2}
.dispatch-success td:first-child{box-shadow:inset 3px 0 #26785b}
.insurance-automation-band{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;padding:18px 20px;background:#1F3F82;color:#fff;border-radius:6px}
.insurance-automation-band small{color:#C9D8F0}.insurance-automation-band h2{margin:3px 0 5px;font-size:20px;letter-spacing:0}.insurance-automation-band p{margin:0;color:#E2EAF7;font-size:12px}
.automation-stats{display:grid;grid-template-columns:repeat(4,minmax(78px,1fr));gap:18px}.automation-stats span{display:flex;flex-direction:column;gap:2px;color:#D5E0F2;font-size:11px;white-space:nowrap}.automation-stats b{font-size:20px;color:#fff}
.rule-step{display:block;line-height:1.5;color:#53625d}.rule-step+.rule-step{margin-top:2px}.match-ok{color:#147a52;font-weight:700}.match-pending{color:#95640e;font-weight:700}.match-error{color:#b23a2b;font-weight:700}
.downstream-file-list{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px}.downstream-file{height:auto!important;min-height:78px;text-align:left!important;display:grid!important;grid-template-columns:82px 1fr auto;align-items:center;gap:12px;padding:14px 16px!important}.downstream-file span{font-size:11px;color:#315AA8}.downstream-file b{font-size:14px}.downstream-file small{color:var(--muted)}
body .workflow-steps{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:980px){.insurance-automation-band{align-items:flex-start;flex-direction:column}.automation-stats{width:100%}.downstream-file-list{grid-template-columns:1fr}}
@media(max-width:720px){.dispatch-upload-grid{grid-template-columns:1fr}.automation-stats{grid-template-columns:repeat(2,1fr)}.downstream-file{grid-template-columns:1fr}.insurance-automation-band{padding:16px}body .workflow-steps{grid-template-columns:1fr 1fr}}
.rule-config-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;margin-bottom:14px;background:#1F3F82;color:#fff;border-radius:6px}.rule-config-head h2{margin:3px 0 5px;font-size:20px;letter-spacing:0}.rule-config-head p{margin:0;color:#E2EAF7;font-size:12px}.rule-config-head small{color:#C9D8F0}.rule-config-metrics{display:flex;gap:22px}.rule-config-metrics span{display:flex;flex-direction:column;color:#D5E0F2;font-size:11px;white-space:nowrap}.rule-config-metrics b{font-size:20px;color:#fff}.rule-config-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:12px 0}.rule-config-toolbar label{min-width:280px;font-size:12px;color:var(--muted)}.rule-config-toolbar>div{display:flex;gap:8px}.rule-config-section{margin-top:16px}.rule-config-section table b{font-size:12px}.rule-config-section table small{color:var(--muted)}.rule-status{display:inline-block;padding:3px 7px;border-radius:3px;font-size:11px}.rule-status.active{background:#e7f4ee;color:#147a52}.rule-status.inactive{background:#f1f2f2;color:#6b7370}.rule-dialog-body{width:min(820px,calc(100vw - 40px));max-width:100%;overflow-x:hidden;box-sizing:border-box}.rule-dialog-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-dialog-body .form-grid label{min-width:0}.rule-dialog-body input,.rule-dialog-body select{width:100%;box-sizing:border-box}.rule-check{display:flex!important;align-items:center;gap:8px;padding-top:22px}.rule-check input{width:auto!important}.rule-config-section .table-wrap{max-height:440px;overflow:auto}@media(max-width:850px){.rule-config-head{align-items:flex-start;flex-direction:column}.rule-config-metrics{width:100%;justify-content:space-between}.rule-config-toolbar{align-items:stretch;flex-direction:column}.rule-config-toolbar label{min-width:0}.rule-config-toolbar>div{flex-wrap:wrap}}@media(max-width:620px){.rule-dialog-body .form-grid{grid-template-columns:1fr}}
.contract-sync-section .table-wrap{max-height:520px}.step-index{display:inline-block;margin-bottom:5px;padding:3px 7px;background:#e7f4ee;color:#147a52;font-size:11px;font-weight:700;border-radius:3px}.configure-contract-rule{white-space:nowrap}.rule-config-metrics{flex-wrap:wrap}
.rule-config-head{display:none}.rule-config-section .section-title p{display:none}
.dispatch-methods{display:grid;grid-template-columns:1fr 1fr;margin:18px 0 14px;border:1px solid var(--line)}.dispatch-methods button{border:0;border-right:1px solid var(--line);background:#fff;padding:13px}.dispatch-methods button:last-child{border-right:0}.dispatch-methods button.active{background:var(--green);color:#fff}.dispatch-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.dispatch-file-row input{margin:0}.compact-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.dispatch-template-types{display:flex;gap:22px;align-items:center;padding:12px 14px;margin-bottom:14px;border:1px solid var(--line);background:#fff}.dispatch-template-types label{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:13px}.dispatch-template-types input{width:16px;height:16px;margin:0}
#insuranceRuleDialog label:has(#rulePremium),#insuranceRuleDialog label:has(#ruleServiceFee),#insuranceRuleDialog label:has(#ruleChargeTotal),#insuranceRuleDialog label:has(#ruleBillingFormula){display:none!important}.contract-sync-section+.rule-config-section table th:nth-child(5),.contract-sync-section+.rule-config-section table td:nth-child(5),.contract-sync-section+.rule-config-section table th:nth-child(6),.contract-sync-section+.rule-config-section table td:nth-child(6){display:none}.billing-field-group{display:contents}
.compact-fieldset{border:1px solid var(--line);padding:10px 12px;margin:0;display:flex;gap:12px;flex-wrap:wrap}.compact-fieldset legend{font-size:12px;color:var(--muted);padding:0 4px}.compact-fieldset label{display:flex!important;align-items:center;gap:5px;padding:0!important}.compact-fieldset input{width:auto!important}.contract-tabs{overflow-x:auto}.contract-tabs button{white-space:nowrap}
.contract-governance-metrics{grid-template-columns:repeat(7,minmax(0,1fr))}.contract-view-tabs{display:flex;gap:0;margin:14px 0;border-bottom:1px solid var(--line)}.contract-view-tabs button{padding:9px 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:13px}.contract-view-tabs button.active{border-bottom-color:var(--green);color:var(--green);font-weight:700}@media(max-width:1200px){.contract-governance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.contract-governance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-view-tabs{overflow-x:auto}.contract-view-tabs button{white-space:nowrap}}
.workflow-dialog [hidden]{display:none!important}
.customer-relations{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.relation-tags{display:flex;flex-wrap:wrap;gap:6px;max-width:360px}
.billing-rule-dialog{width:min(920px,calc(100vw - 40px))}.billing-multi-select{position:relative;margin-top:5px}.billing-multi-select summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;box-sizing:border-box;border:1px solid #D9DCE4;border-radius:4px;background:#fff;color:#15181E;padding:8px 10px;cursor:pointer;list-style:none;overflow:hidden}.billing-multi-select summary::-webkit-details-marker{display:none}.billing-multi-select summary::after{content:'⌄';flex:0 0 auto;color:#3A3F4A;font-size:15px}.billing-multi-select[open] summary{border-color:#002FA7;box-shadow:0 0 0 2px #EEF2FB}.billing-multi-select-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;display:grid;gap:2px;border:1px solid #D9DCE4;border-radius:4px;background:#fff;padding:6px;box-shadow:0 8px 20px rgba(21,24,30,.12)}.billing-multi-select-menu label{display:flex!important;align-items:center;gap:8px;min-height:32px;margin:0!important;padding:5px 7px;border-radius:3px;color:#15181E;cursor:pointer}.billing-multi-select-menu label:hover{background:#EEF2FB}.billing-multi-select-menu input{width:15px!important;height:15px;margin:0;accent-color:#002FA7}.billing-formula-builder{display:grid;gap:11px;border:1px solid #E8E9EF;border-radius:6px;background:#FAFBFC;padding:12px}.billing-formula-title{border-bottom:1px solid #E8E9EF;padding-bottom:9px;color:#15181E;font-size:13px;font-weight:700}.billing-quick-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:start}.billing-quick-row>span{padding-top:7px;color:#3A3F4A;font-size:12px;font-weight:600}.billing-operator-bar{display:flex;flex-wrap:wrap;gap:5px}.billing-operator-bar button{width:32px;height:32px;border:1px solid #E8E9EF;border-radius:4px;background:#fff;color:#15181E;padding:0;font-size:15px}.billing-operator-bar button:hover{border-color:#002FA7;color:#002FA7;background:#EEF2FB}.billing-parameter-bank{display:flex;flex-wrap:wrap;gap:7px;min-height:32px}.billing-parameter-capsule{display:inline-flex;align-items:center;min-height:32px;border:1px solid #002FA7;border-radius:16px;background:#EEF2FB;color:#002FA7;padding:5px 11px;font-size:12px;font-weight:600;letter-spacing:0}.billing-parameter-capsule.parameter{border-color:#001B6B;background:#fff;color:#001B6B}.billing-parameter-capsule:hover{background:#002FA7;color:#fff}.billing-formula-canvas{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;min-height:54px;border:1px dashed #002FA7;border-radius:4px;background:#fff;padding:9px}.billing-formula-token{max-width:100%;min-height:30px;border:1px solid #002FA7;border-radius:15px;background:#EEF2FB;color:#002FA7;padding:4px 9px;overflow-wrap:anywhere;font-size:12px;letter-spacing:0}.billing-formula-token.parameter{border-color:#001B6B;background:#fff;color:#001B6B}.billing-formula-token.operator,.billing-formula-token.paren{min-width:30px;border-radius:4px;border-color:#15181E;background:#15181E;color:#fff;padding-inline:7px}.billing-formula-token:hover{border-color:#D92D20;background:#fff;color:#D92D20}.billing-formula-builder textarea{width:100%;min-height:58px;box-sizing:border-box;margin-top:5px;border:1px solid #E8E9EF;background:#fff;padding:8px 10px;resize:none;font:inherit;line-height:1.45;color:#15181E}@media(max-width:620px){.billing-rule-dialog{width:calc(100vw - 20px)}.billing-quick-row{grid-template-columns:1fr;gap:5px}.billing-quick-row>span{padding-top:0}.billing-operator-bar{width:100%}}
.billing-charge-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #E8E9EF;padding-bottom:10px}.billing-charge-tabs{display:flex;gap:0;min-width:0;overflow-x:auto}.billing-charge-tabs button{min-height:34px;border:0;border-bottom:2px solid transparent;background:transparent;color:#3A3F4A;padding:7px 12px;white-space:nowrap}.billing-charge-tabs button.active{border-bottom-color:#002FA7;color:#002FA7;font-weight:700}.billing-charge-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(140px,.7fr) 34px;align-items:end;gap:10px}.billing-charge-fields label{margin:0}.billing-charge-fields .icon-action{width:34px;height:38px;border:1px solid #E8E9EF;border-radius:4px;background:#fff;color:#3A3F4A;padding:0}.billing-charge-fields .icon-action:hover{border-color:#D92D20;color:#D92D20}.billing-charge-fields .icon-action:disabled{opacity:.35;cursor:not-allowed}.billing-formula-cell{min-width:310px;line-height:1.65}@media(max-width:620px){.billing-charge-head{align-items:flex-start;flex-direction:column}.billing-charge-fields{grid-template-columns:1fr}.billing-charge-fields .icon-action{justify-self:end}}
.relation-tag{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:4px;padding:3px 7px;line-height:1.35;cursor:pointer;text-align:left}
.relation-tag:hover{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}
.sync-source{font-size:12px;color:#64748b}
.pending-tag{border-color:#f59e0b;background:#fffbeb;color:#92400e}
.insurance-command-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:stretch;margin-bottom:12px}
.insurance-command-metrics{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:1px;border:1px solid var(--line);background:var(--line);border-radius:6px;overflow:hidden}
.insurance-command-metrics>div{min-width:0;background:#fff;padding:12px 14px}
.insurance-command-metrics small,.insurance-handoff-head small,.insurance-field-list span{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.insurance-command-metrics b,.insurance-handoff-head b{display:block;margin-top:4px;color:var(--ink-strong);font-size:19px;line-height:1.2;font-family:Georgia,"Times New Roman",serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-command-actions{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:10px}
.insurance-command-actions .action{height:34px;white-space:nowrap}
.insurance-workbench-tabs{display:flex;gap:0;margin:0 0 12px;border-bottom:1px solid var(--line);overflow-x:auto}
.insurance-workbench-tabs button{height:38px;padding:0 15px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap}
.insurance-workbench-tabs button:hover{background:#f7f9fc;color:var(--ink-strong)}
.insurance-workbench-tabs button.active{border-bottom-color:var(--green);color:var(--green);font-weight:700}
.insurance-architecture-tabs{display:flex;gap:0;margin:0 0 12px;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden;width:max-content;max-width:100%}
.insurance-architecture-tabs button{min-width:112px;height:36px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--muted);padding:0 16px;font-size:13px;white-space:nowrap}
.insurance-architecture-tabs button:last-child{border-right:0}
.insurance-architecture-tabs button.active{background:var(--green);color:#fff;font-weight:700}
.insurance-workbench-body{min-width:0}
.insurance-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);gap:14px;align-items:start}
.insurance-split.wide-left{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr)}
.insurance-status-panel{margin:0}
.insurance-status-panel h2{margin-bottom:12px}
.insurance-field-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid var(--line);background:var(--line)}
.insurance-field-list>div{min-width:0;background:#fff;padding:10px 12px}
.insurance-field-list b{display:block;margin-top:3px;color:var(--ink-strong);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-run-list{display:grid;gap:8px;max-height:430px;overflow:auto}
.insurance-run-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:4px 10px;width:100%;min-height:46px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;text-align:left}
.insurance-run-row span{color:var(--muted);font-size:11px;white-space:nowrap}
.insurance-run-row b{color:var(--ink-strong);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-run-row small{grid-column:2;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-empty{display:grid;place-items:center;min-height:92px;border:1px dashed var(--line-strong);border-radius:6px;color:var(--muted);font-size:12px}
.insurance-focus-table{max-height:min(66vh,700px)}
.insurance-focus-table td small{color:var(--muted)}
.insurance-chip{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;color:var(--ink);font-size:11px;font-weight:700;white-space:nowrap}
.insurance-chip.ok{border-color:#b8ddcf;background:#edf8f3;color:#147a52}
.insurance-chip.warn{border-color:#efd59a;background:#fff8e7;color:#8a5a08}
.insurance-handoff-head{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:1px;margin-bottom:12px;border:1px solid var(--line);border-radius:6px;background:var(--line);overflow:hidden}
.insurance-handoff-head>div{background:#fff;padding:13px 15px}
.insurance-batch-bar+.insurance-workbench-tabs{margin-top:4px}
.traditional-entry-band{background:#fff;color:var(--ink);border:1px solid var(--line)}
.traditional-entry-band .automation-stats span{color:var(--muted)}
.traditional-entry-band .automation-stats b{color:var(--ink-strong)}
.traditional-entry-band .insurance-command-actions{border:0;padding:0;background:transparent}
.traditional-workbuddy-inline{display:flex;gap:8px;margin-top:12px;justify-content:flex-end}
@media(max-width:1180px){.insurance-command-bar{grid-template-columns:1fr}.insurance-command-actions{justify-content:flex-end}.insurance-command-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.insurance-split,.insurance-split.wide-left{grid-template-columns:1fr}}
@media(max-width:720px){.insurance-command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insurance-command-actions{align-items:stretch;flex-direction:column}.insurance-command-actions .action{width:100%}.insurance-field-list,.insurance-handoff-head{grid-template-columns:1fr}.insurance-run-row{grid-template-columns:1fr}.insurance-run-row small{grid-column:auto}.insurance-architecture-tabs{width:100%}.insurance-architecture-tabs button{flex:1;min-width:0}.traditional-workbuddy-inline{flex-direction:column}}
.insurance-dispatch-page{display:grid;gap:12px;min-width:0;padding:0 2px}
.insurance-dispatch-toolbar{display:flex;align-items:center;gap:12px;min-width:0;overflow-x:visible;flex-wrap:wrap;padding:0;background:transparent;border:0;box-shadow:none}
.insurance-main-actions,.insurance-filters{display:flex;align-items:center;gap:8px;min-width:0}
.insurance-main-actions{flex:0 1 auto;flex-wrap:wrap}
.insurance-main-actions .action{height:36px;padding:0 21px;border:1px solid #c9d3ec;border-radius:4px;background:#dfe7fb;color:#25314a;font-size:14px;font-weight:600;white-space:nowrap}
.insurance-main-actions .action:hover{border-color:#315aa8;background:#d5e0fb;color:#1f3f82}
.insurance-main-actions .action.primary-action{background:#dfe7fb;color:#25314a;border-color:#c9d3ec}
.insurance-main-actions .action.primary-action:hover{background:#d5e0fb;border-color:#315aa8;color:#1f3f82}
.insurance-main-actions .action.active{background:#d5e0fb;color:#1f3f82;border-color:#315aa8}
.insurance-search{position:relative;flex:1 1 270px;min-width:240px;max-width:320px}
.insurance-search:before{content:"";position:absolute;left:11px;top:50%;width:12px;height:12px;border:1.7px solid var(--muted-strong);border-radius:50%;transform:translateY(-58%);pointer-events:none}
.insurance-search:after{content:"";position:absolute;left:23px;top:20px;width:7px;height:1.7px;background:var(--muted-strong);border-radius:2px;transform:rotate(45deg);transform-origin:left center;pointer-events:none}
.insurance-search input,.insurance-filters select,.insurance-filters input[type=date],.insurance-filters .customer-picker-input{height:36px;margin:0;border:1px solid #2c2c2c;border-radius:4px;background:#fff;color:#1f2937;padding:7px 10px;font-size:13px;box-sizing:border-box}
.insurance-search input{width:100%;min-width:0;padding-left:34px}
.insurance-filters{flex:1 1 620px;justify-content:flex-start;flex-wrap:wrap}
.insurance-select-shell{position:relative;display:block;flex:0 1 128px;min-width:128px;max-width:150px}
.insurance-date-shell{flex-basis:142px;min-width:142px;max-width:142px}
.insurance-select-shell:after,.insurance-filters .customer-picker:after{content:"";position:absolute;right:13px;top:10px;width:7px;height:7px;border-right:1.6px solid var(--ink);border-bottom:1.6px solid var(--ink);transform:rotate(45deg);pointer-events:none}
.insurance-filters select{appearance:none;-webkit-appearance:none;width:100%;padding-right:30px}
.insurance-filters input[type=date]{width:100%;padding-right:30px}
.insurance-filters input[type=date]::-webkit-calendar-picker-indicator{opacity:0}
.insurance-filters .insurance-filter-picker{flex:0 1 168px;min-width:168px;max-width:210px;margin:0}
.insurance-filters .insurance-customer-picker{flex-basis:170px;min-width:170px;max-width:220px}
.insurance-filters .insurance-contract-picker{flex-basis:190px;min-width:190px;max-width:250px}
.insurance-filters .customer-picker-input{width:100%;padding-right:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-filters .customer-picker-menu{left:0;right:auto;width:max(100%,300px);max-width:min(440px,calc(100vw - 48px))}
.insurance-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-top:2px}
.insurance-status-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.insurance-status-tabs button{height:40px;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px;padding:0 25px;border:1px solid #2c2c2c;border-radius:0;background:#fff;color:#25314a;font-size:14px;font-weight:600;white-space:nowrap}
.insurance-status-tabs button b{font-size:13px;color:#4b5563;font-weight:500}
.insurance-status-tabs button:hover{background:#f7f9fc;color:#1f3f82}
.insurance-status-tabs button.active{border-color:#2c2c2c;background:#fff;color:#25314a}
.insurance-status-tabs button.active b{color:#4b5563}
.insurance-table-shell{display:grid;gap:8px}
.insurance-list-pager{display:flex;justify-content:flex-end;align-items:center;gap:8px;color:#6b7280;font-size:12px;white-space:nowrap}
.insurance-list-head .insurance-list-pager{flex:0 0 auto;margin-left:auto}
.insurance-list-pager button{height:28px;border:0;background:transparent;color:#1f2937;padding:0 2px;font-size:12px}
.insurance-list-pager button:disabled{opacity:.35}
.insurance-page-size{width:auto;height:32px;margin:0;border:1px solid #e1e5eb;border-radius:0;background:#fff url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23343a46' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 9px center/14px;color:#1f2937;padding:0 30px 0 10px;font-size:12px;appearance:none;-webkit-appearance:none}
.insurance-record-table{max-height:calc(100vh - 250px);border:1px solid #2c2c2c;border-radius:0;background:#fff;overflow:auto;box-shadow:none}
.insurance-record-table table{width:100%;min-width:1580px;border-collapse:collapse;table-layout:fixed}
.insurance-record-table th,.insurance-record-table td{height:39px;border-bottom:1px solid #2c2c2c;border-right:1px solid #2c2c2c;padding:6px 10px;vertical-align:middle;font-size:12px;line-height:1.35;background:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.insurance-record-table th:last-child,.insurance-record-table td:last-child{border-right:0;position:sticky;right:0;z-index:2;box-shadow:-1px 0 0 var(--line),-10px 0 16px rgba(24,35,31,.05)}
.insurance-record-table th:last-child{z-index:4}
.insurance-record-table th{height:40px;background:#f0f2f5;color:#8d96a3;text-align:center;font-weight:700}
.insurance-record-table td{color:#20242c}
.insurance-record-table th:nth-child(1){width:72px}
.insurance-record-table th:nth-child(2){width:130px}
.insurance-record-table th:nth-child(3){width:150px}
.insurance-record-table th:nth-child(4){width:170px}
.insurance-record-table th:nth-child(5){width:150px}
.insurance-record-table th:nth-child(6),.insurance-record-table th:nth-child(7),.insurance-record-table th:nth-child(9),.insurance-record-table th:nth-child(10),.insurance-record-table th:nth-child(11),.insurance-record-table th:nth-child(12){width:98px}
.insurance-record-table th:nth-child(8){width:140px}
.insurance-record-table th:nth-child(13){width:135px}
.insurance-record-table td:last-child{overflow:visible}
.insurance-check-cell{text-align:center}
.insurance-operation-head{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%}
.insurance-row-actions{display:flex;gap:4px;align-items:center;justify-content:center;white-space:nowrap}
.mini-action{min-width:36px;height:18px;border:1px solid #5268ff;border-radius:4px;background:#fff;color:#5268ff;padding:0 7px;font-size:10px;line-height:16px}
.mini-action:hover{border-color:#315aa8;background:#eef2ff;color:#315aa8}
.mini-action:disabled{opacity:.38;cursor:not-allowed}
.insurance-gear{width:20px;height:20px;margin-left:8px;border:0;background:transparent;color:#7a8492;padding:0;font-size:16px;line-height:18px;vertical-align:middle}
.insurance-record-table input[type=checkbox]{display:inline-block;width:20px;height:20px;margin:0;border:2px solid #dde2e8;border-radius:5px;accent-color:#315aa8}
.insurance-commercial-record-table{position:relative}
.insurance-commercial-record-table table{table-layout:fixed}
.insurance-commercial-record-table th{width:auto!important}
.insurance-seq-col{width:72px}
.insurance-action-col{width:135px}
.insurance-commercial-record-table .insurance-seq-cell{position:sticky;left:0;z-index:3;text-align:center;background:#fff}
.insurance-commercial-record-table th.insurance-seq-cell{z-index:5;background:#f0f2f5}
.insurance-commercial-record-table .insurance-action-cell{position:sticky;right:0;z-index:3;background:#fff;box-shadow:-1px 0 0 var(--line),-10px 0 16px rgba(24,35,31,.05)}
.insurance-commercial-record-table th.insurance-action-cell{z-index:5;background:#f0f2f5}
.insurance-column-panel{position:absolute;right:8px;top:42px;width:280px;max-height:min(560px,calc(100vh - 190px));padding:14px 14px 12px;border:1px solid var(--line);border-radius:4px;background:#fff;box-shadow:0 14px 38px rgba(21,24,30,.12);z-index:20;color:#3a3f4a}
.insurance-column-panel-head{display:flex;align-items:center;justify-content:space-between;height:24px;margin-bottom:8px}
.insurance-column-panel-head button{border:0;background:transparent;color:#315aa8;padding:0;font-size:13px;font-weight:700}
.insurance-column-section{height:26px;display:flex;align-items:center;color:#8a93a3;font-size:12px}
.insurance-column-scroll{max-height:350px;overflow:auto;padding-right:4px}
.insurance-column-row{display:grid;grid-template-columns:22px minmax(0,1fr) 24px 24px;align-items:center;gap:6px;min-height:31px;font-size:13px}
.insurance-column-row label{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#3a3f4a}
.insurance-column-row input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#4f7dff}
.insurance-column-drag{color:#6f7684;font-size:17px;line-height:1;letter-spacing:-3px}
.insurance-column-move{width:24px;height:24px;border:0;background:transparent;color:#4f7dff;padding:0;font-size:16px;line-height:22px}
.insurance-column-move:disabled{color:#c7cdd7;cursor:not-allowed}
.insurance-column-row.locked{grid-template-columns:22px minmax(0,1fr) 24px 24px}
.insurance-dispatch-dialog .workflow-dialog-body,.insurance-workbuddy-dialog .workflow-dialog-body{width:min(720px,calc(100vw - 40px))}
.insurance-dispatch-dialog:has(.insurance-direct-worker-table) .workflow-dialog-body{width:min(1060px,calc(100vw - 40px))}
.insurance-direct-worker-table{max-height:360px;overflow:auto}
.insurance-direct-worker-table table{min-width:920px}
.insurance-field-list.compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}
.insurance-compact-table{max-height:260px}
.batch-validation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:1px;align-items:stretch;border:1px solid var(--line);background:var(--line);padding:0}
.batch-validation-summary .summary-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:8px;margin:0;padding:10px 12px;background:#fff;border:0}
.batch-validation-summary .summary-row span{color:var(--muted);font-size:12px}
.batch-validation-summary .summary-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.batch-validation-summary .workflow-actions{margin:0;padding:8px 10px;background:#fff;align-items:center}
.batch-validation-tabs{margin:0;border-bottom:1px solid var(--line)}
.batch-validation-tabs button{min-width:112px}
.batch-validation-table{max-height:calc(100vh - 330px);overflow:auto}
.batch-validation-table table{min-width:1180px;table-layout:fixed}
.batch-validation-table th,.batch-validation-table td{height:38px;white-space:nowrap}
.batch-validation-table.failed th:first-child,.batch-validation-table.failed td:first-child{width:230px;color:#9a3412}
.batch-validation-table.success th:first-child,.batch-validation-table.success td:first-child{width:176px;color:#166534;font-weight:600}
.batch-edit-input{width:100%;height:28px;margin:0;border:1px solid #d9dfe8;border-radius:4px;background:#fff;padding:4px 7px;font-size:12px;box-sizing:border-box}
.batch-edit-input:focus{border-color:#315aa8;outline:0;box-shadow:0 0 0 2px rgba(49,90,168,.12)}
@media(max-width:960px){.insurance-main-actions{width:100%;flex-wrap:wrap}.insurance-main-actions .action{flex:1 1 calc(50% - 8px)}.insurance-search{flex:1 1 100%;width:100%;max-width:none}.insurance-filters{width:100%;flex-wrap:wrap}.insurance-filters .insurance-filter-picker,.insurance-select-shell{flex:1 1 calc(50% - 8px);max-width:none}}
@media(max-width:720px){.insurance-main-actions .action,.insurance-search input,.insurance-filters select,.insurance-filters input[type=date]{width:100%;max-width:none}.insurance-main-actions,.insurance-filters{display:grid;grid-template-columns:1fr}.insurance-filters .insurance-filter-picker,.insurance-select-shell{width:100%;max-width:none}.insurance-filters .customer-picker-menu{width:100%;max-width:100%}.insurance-list-head{display:grid;grid-template-columns:1fr}.insurance-list-head .insurance-list-pager{justify-content:flex-end;margin-left:0}.insurance-status-tabs{display:grid;grid-template-columns:1fr}.insurance-status-tabs button{width:100%}.insurance-record-table{max-height:none;border-radius:var(--radius-sm)}.insurance-field-list.compact{grid-template-columns:1fr 1fr}.batch-validation-summary{grid-template-columns:1fr}.batch-validation-summary .workflow-actions{justify-content:flex-end}.batch-validation-table{max-height:none}}
