.match-page .company-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.match-page td small{display:block;margin-top:6px}.match-warning{color:#a34817!important;line-height:1.6}.match-provider-name{padding:12px;background:#eef5f0;border-radius:8px;font-weight:700}.match-worker-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;max-height:300px;overflow:auto}.match-worker-picker label{display:flex!important;align-items:center;gap:10px;min-width:0;padding:14px;border:1px solid #c8d9ce;border-radius:8px;background:#f5f8f5}.match-worker-picker input{width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px}.match-worker-picker span{overflow-wrap:anywhere}.match-selection{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.match-history{margin:20px;padding:16px;background:#f0f5f1;border-radius:10px}.match-history article{padding:12px 0;border-bottom:1px solid #cedbd0}.match-history p{margin:6px 0}.match-history small{color:#657b6d}#match-error{margin:16px 20px;color:#ac2633}#detail-dialog.match-dialog{max-width:760px}#detail-dialog.match-dialog fieldset{min-width:0}.match-dialog input[type=date]{width:100%;min-width:0}.match-dialog legend{overflow-wrap:anywhere}@media(max-width:600px){.match-page .company-filters{grid-template-columns:minmax(0,1fr)}.match-worker-picker{grid-template-columns:minmax(0,1fr)}.match-selection{flex-wrap:wrap}.match-dialog .dialog-head h2{font-size:21px}.match-history{margin:12px}}
.match-page .company-filters{padding:22px 22px 16px;margin:0;align-items:end;gap:16px}
.match-page .company-filters label{margin:0;font-size:16px;line-height:1.5}
.match-page .company-filters :is(input,select){height:46px;min-width:0;margin:0;font-size:16px}
.match-page .company-summary{margin:0;padding:0 22px 20px;line-height:1.5}
.match-page .beneficiary-table{width:100%;table-layout:fixed}
.match-page .beneficiary-table th:nth-child(1){width:15%}
.match-page .beneficiary-table th:nth-child(2){width:20%}
.match-page .beneficiary-table th:nth-child(3){width:23%}
.match-page .beneficiary-table th:nth-child(4){width:12%}
.match-page .beneficiary-table th:nth-child(5){width:18%}
.match-page .beneficiary-table th:nth-child(6){width:12%}
.match-page .beneficiary-table :is(th,td){vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.match-page .beneficiary-table :is(th,td):last-child{text-align:center}
.operations-shell .match-page .beneficiary-table :is(th,td):last-child{padding-left:8px;padding-right:8px}
.match-page [data-match]{white-space:nowrap;padding:10px 12px}
#detail-dialog.match-dialog .match-worker-picker{align-items:stretch;gap:10px;margin:16px 0}
#detail-dialog.match-dialog .match-worker-picker label{margin:0;box-sizing:border-box;min-height:56px;font-size:16px;line-height:1.5;font-weight:600;cursor:pointer}
#detail-dialog.match-dialog .match-worker-picker input{margin:0;accent-color:#176b51}
#detail-dialog.match-dialog .match-worker-picker label:has(input:checked){background:#e5f3eb;border-color:#298261}
#detail-dialog.match-dialog .match-worker-picker p{grid-column:1/-1;margin:0}
#detail-dialog.match-dialog .match-provider-name{margin:0 0 18px;line-height:1.6;overflow-wrap:anywhere}
#detail-dialog.match-dialog fieldset>p{margin:0 0 12px;line-height:1.6}
#detail-dialog.match-dialog .match-history{margin:0 0 24px;padding:16px;overflow-wrap:anywhere}
#detail-dialog.match-dialog .match-history summary{cursor:pointer;font-weight:700;line-height:1.5}
#detail-dialog.match-dialog .match-selection{margin:12px 0;min-height:44px}
#detail-dialog.match-dialog #match-selected-count{font-weight:700;white-space:nowrap}
#detail-dialog.match-dialog #match-error{margin:0 0 18px;overflow-wrap:anywhere}
@media(max-width:600px){
 .match-page .company-filters{padding:18px 16px 14px;gap:14px}
 .match-page .company-summary{padding:0 16px 18px}
 #detail-dialog.match-dialog .match-worker-picker{grid-template-columns:minmax(0,1fr)}
 #detail-dialog.match-dialog .match-worker-picker label{padding:12px}
 #detail-dialog.match-dialog .match-history{padding:14px}
}
.match-page .beneficiary-table th:nth-child(3){width:13%}
.match-page .beneficiary-table th:nth-child(4){width:20%}
.match-page .beneficiary-table th:nth-child(6){width:14%}
.match-page .match-person-start td{border-top:2px solid #d5e1da}
.match-page .match-person{background:#fafcf9}
.match-service-name{display:inline-block;max-width:100%;box-sizing:border-box;padding:4px 6px;border-radius:6px;background:#f0f4f1;color:#345747;line-height:1.55;overflow-wrap:anywhere}
.match-status{display:inline-block;padding:4px 8px;border:1px solid transparent;border-radius:6px;font-weight:600;line-height:1.55}
.match-status.current{background:#e4f3e9;color:#17603a;border-color:#a7d3b6}
.match-status.requested{background:#e7f0fc;color:#235a91;border-color:#b0c9e8}
.match-status.hold{background:#fff1dc;color:#88500e;border-color:#e9c58b}
.match-status.ended{background:#e9edf1;color:#495663;border-color:#c3ccd4}
.match-status.unknown{background:#f5f6f4;color:#59645b;border-color:#d8ded7}
.match-worker-names{display:grid;gap:4px;overflow-wrap:anywhere}
#detail-dialog.match-dialog .dialog-head{background:#edf6f1}
.match-dialog-eyebrow{display:inline-block;border-radius:20px;padding:3px 10px;background:#176b51;color:white;font-size:13px;font-weight:700;margin-bottom:8px}
#detail-dialog.match-dialog .match-dialog-intro{font-size:14px;color:#527065;line-height:1.6;margin:6px 0 0}
#detail-dialog.match-dialog fieldset{background:#f7faf8;border:1px solid #d6e4dc;border-radius:12px;padding:18px;margin:0 0 22px}
#detail-dialog.match-dialog legend{padding:0 8px;margin:0;font-size:18px;width:auto}
#detail-dialog.match-dialog legend small{font-size:13px;color:#63796e;font-weight:400}
.match-context{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}
.match-context>div{min-width:0}
.match-context dt{font-size:13px;color:#63796e;margin-bottom:6px}
.match-context dd{margin:0;font-size:17px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.match-context-provider{grid-column:1/-1;border-top:1px solid #d6e4dc;padding-top:14px}
#detail-dialog.match-dialog .match-pick-section>p{font-size:14px;color:#527065}
#detail-dialog.match-dialog #match-selected-count{background:#deeee4;color:#17603a;border-radius:20px;padding:5px 10px}
.match-selected-names{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.match-selected-names span{background:white;border:1px solid #b5d5c3;border-radius:6px;padding:4px 8px;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box;font-size:14px}
#detail-dialog.match-dialog .match-save-guidance{font-size:13px;margin:12px 0 0;line-height:1.6}
#detail-dialog.match-dialog .match-save-guidance.release{color:#88500e;background:#fff1dc;border-radius:7px;padding:10px}
#detail-dialog.match-dialog .match-history{border:1px solid #d6e4dc;background:#fafcf9}
#detail-dialog.match-dialog .match-worker-picker label:has(input:focus-visible){outline:3px solid #b08c35;outline-offset:2px}
@media(max-width:600px){
 #detail-dialog.match-dialog fieldset{padding:14px;margin-bottom:18px}
 .match-context{grid-template-columns:minmax(0,1fr);gap:12px}
 .match-context-provider{grid-column:auto}
 #detail-dialog.match-dialog legend small{display:block;white-space:nowrap;margin-top:3px}
}
