.contract-heading .workbench-actions{display:flex;gap:10px;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end}.ratio-heading-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pair-leg .leg-collection{margin-top:12px;font-size:13px;min-height:36px}.target-collection-dialog{width:min(650px,calc(100vw - 24px));max-height:92dvh;overflow:auto;padding:26px;border:1px solid #dbe5df;border-radius:18px;color:#243d34;background:#fff;box-sizing:border-box}.target-collection-dialog::backdrop{background:#102b2566;backdrop-filter:blur(3px)}.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.collection-heading h2{font-size:24px;margin:5px 0 0}.collection-heading .eyebrow{margin:0;font-size:11px;letter-spacing:.14em;color:#648174}.collection-intro{line-height:1.7;color:#667a70;font-size:14px;margin:16px 0 20px}.collection-intro a,.collection-schedule-copy a{color:#246650;text-decoration:none}.target-collection-dialog label{display:flex;flex-direction:column;gap:7px;color:#4e665b;font-size:14px;font-weight:500}.target-collection-dialog input,.target-collection-dialog select{box-sizing:border-box;width:100%;min-width:0;font-size:15px;min-height:43px;padding:10px 12px;border:1px solid #d8e3dc;border-radius:8px;background:#fff;color:#243d34}.collection-stock-fields{display:grid;gap:8px}.collection-section{border-top:1px solid #e3ebe5;margin-top:22px;padding-top:20px}.collection-section h3{font-size:16px;margin:0 0 14px}.collection-model-fields{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px}.collection-mode-field{grid-column:1/-1}.collection-action{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px}.collection-action small,.collection-muted{font-size:13px;line-height:1.7;color:#75867b}.collection-action button{flex-shrink:0;min-height:43px}.collection-schedule-form{display:flex;align-items:end;gap:12px}.collection-schedule-form label{flex:1}.collection-schedule-form button{min-height:43px;flex-shrink:0}.collection-muted{margin:10px 0 0}.collection-feedback{font-size:14px;line-height:1.7;padding:12px 14px;border-radius:9px;background:#edf7f0;color:#286047;overflow-wrap:anywhere}.collection-feedback.is-error{background:#fff1eb;color:#9b4d3e}.collection-list-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.collection-list-heading h3 span{font-weight:400;color:#7b8d82;font-size:13px}.collection-schedule-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #edf1ee}.collection-schedule-copy{min-width:0;flex:1;overflow-wrap:anywhere}.collection-schedule-copy strong{display:block;font-size:15px}.collection-schedule-copy small{display:block;color:#718477;font-size:12px;line-height:1.8}.collection-schedule-copy p{font-size:14px;line-height:1.7;margin:7px 0}.collection-schedule-copy a{font-size:13px;display:inline-block;margin-top:8px}.collection-status{font-size:11px;background:#f0f3f1;color:#7b8b80;padding:3px 7px;border-radius:20px;font-weight:400;white-space:nowrap;margin-left:6px}.collection-status.enabled{background:#e8f4eb;color:#2d7754}.collection-row-actions{display:flex;gap:10px;flex-wrap:wrap;max-width:160px;justify-content:flex-end;align-items:center}.collection-row-actions button{min-height:36px;font-size:13px}.collection-row-actions .collection-delete{color:#a76556}.collection-schedule-copy .collection-row-error{color:#a15845;font-size:12px}.collection-empty{padding:10px 0 18px}.target-collection-dialog [hidden]{display:none!important}
.collection-picker-tools,.collection-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.collection-picker-tools small{font-size:13px;color:#75867b}.collection-picker-tools button,.collection-selection-heading button{font-size:13px;min-height:36px;white-space:nowrap}.collection-options{border:1px solid #dbe5df;border-radius:10px;max-height:228px;overflow-y:auto;overscroll-behavior:contain}.target-collection-dialog .collection-option{display:flex;flex-direction:row;align-items:center;gap:12px;padding:11px 12px;cursor:pointer;border-bottom:1px solid #edf1ee;min-width:0}.collection-option:last-child{border-bottom:0}.collection-option:has(input:checked){background:#eff7f1}.collection-option:has(input:focus-visible){outline:2px solid #2a6b53;outline-offset:-2px}.target-collection-dialog .collection-option input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#21654f}.collection-option>span{display:flex;flex-direction:column;gap:3px;min-width:0}.collection-option strong{font-size:14px;color:#264c3c}.collection-option small{font-size:12px;line-height:1.5;font-weight:400;color:#6c7f73;overflow-wrap:anywhere}.collection-no-matches{font-size:14px;line-height:1.7;color:#75867b;padding:15px;margin:0}.collection-selection-heading{margin-top:4px}.collection-selection-heading strong{font-size:13px;font-weight:500;color:#4e665b}.collection-selected{display:flex;flex-wrap:wrap;gap:7px;max-height:112px;overflow-y:auto;padding:2px}.collection-selected .collection-muted{margin:0}.collection-selected .collection-chip{display:inline-flex;align-items:center;gap:8px;background:#edf5ef;border:1px solid #d5e6d9;border-radius:20px;color:#2c6249;font-size:12px;line-height:1.4;padding:6px 9px;min-height:32px;max-width:100%;overflow-wrap:anywhere}.collection-chip span{font-size:18px;line-height:1}.target-collection-dialog button:disabled{cursor:default;opacity:.5}
@media(max-width:600px){.contract-heading .workbench-actions{justify-content:flex-start;flex:1 1 100%}.workbench-actions button{min-height:42px}.ratio-heading-actions{justify-content:flex-start}.target-collection-dialog{padding:20px;max-height:94dvh}.collection-heading h2{font-size:22px}.target-collection-dialog input,.target-collection-dialog select{font-size:16px}.collection-model-fields{grid-template-columns:minmax(0,1fr) 112px;gap:8px}.collection-mode-field{grid-column:1/-1}.collection-action{align-items:flex-start;flex-direction:column}.collection-action button{width:100%}.collection-schedule-form{gap:8px;flex-wrap:wrap}.collection-schedule-form label{min-width:140px}.collection-schedule-form button{font-size:13px;padding:10px 12px;flex-grow:1}.collection-schedule-row{flex-direction:column;gap:10px}.collection-row-actions{max-width:none;width:100%;justify-content:flex-start}.collection-row-actions button{min-height:40px}.collection-schedule-copy{width:100%}.collection-schedule-copy small{font-size:13px}.collection-options{max-height:210px}.target-collection-dialog .collection-option{min-height:50px;padding:10px}.collection-option small{font-size:13px}.collection-selected .collection-chip{min-height:36px}.collection-picker-tools button,.collection-selection-heading button{padding:6px 0;min-height:40px}}

.collection-schedule-form{align-items:flex-start;flex-wrap:wrap}.collection-time-editor{flex:1 1 100%;min-width:0}.collection-times-label{margin:0 0 10px;font-size:14px;color:#4e665b;font-weight:500}.collection-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.collection-time-row{display:flex;gap:9px;align-items:flex-end;min-width:0}.collection-time-row label{flex:1;min-width:0;font-size:12px}.collection-time-row .collection-remove-time{flex:0 0 auto;min-height:43px;padding:8px 0;font-size:13px;color:#98614f}.collection-time-tools{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-top:8px}.collection-time-tools button{min-height:40px;padding:6px 0;font-size:13px;flex:0 0 auto}.collection-time-tools small{color:#75867b;font-size:12px;line-height:1.6}.collection-schedule-form #collection-save{margin-top:3px}
@media(max-width:600px){.collection-times{grid-template-columns:minmax(0,1fr);gap:12px}.collection-time-row label{min-width:0;font-size:13px}.collection-time-row .collection-remove-time{min-width:44px;min-height:44px;flex-grow:0}.collection-time-tools button{flex-grow:0}.collection-schedule-form #collection-save{width:100%}}
