/* Layout review using unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
.ops-modal.repeat-outbound-modal{width:calc(100vw - 48px);max-width:1440px;height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border-radius:16px;min-width:0}
.repeat-outbound-modal .ops-modal-heading{position:static;flex:none;padding:20px 24px;gap:16px}
.repeat-outbound-modal .ops-modal-heading h2{font-size:22px;letter-spacing:0;font-weight:600}
.repeat-outbound-modal .ops-modal-heading p{font-size:13px;color:var(--muted,#637586);margin-top:8px;overflow-wrap:anywhere}
.repeat-outbound-modal .ops-modal-body{flex:1;min-height:0;min-width:0;overflow:auto;padding:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"intro intro" "parties preview" "prices preview" "note note";gap:20px;align-content:start;align-items:start;background:var(--bg,#f6f8fa)}
.repeat-outbound-modal .ops-modal-body>p:first-child{display:none}
.repeat-outbound-modal .ops-modal-body>.form-hint{grid-area:intro;margin:0;font-size:13px;line-height:1.6;color:var(--muted,#637586);max-width:none}
.repeat-outbound-modal .ets-parties{grid-area:parties}
.repeat-outbound-modal .ets-price-section{grid-area:prices}
.repeat-outbound-modal .ets-parties,.repeat-outbound-modal .ets-price-section,.repeat-outbound-modal .ets-preview{min-width:0;border:1px solid var(--line,#dce4e9);border-radius:12px;background:var(--surface,#fff);box-shadow:none;padding:20px;margin:0}
.repeat-outbound-modal .ets-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.repeat-outbound-modal h3{font-size:16px;font-weight:600;letter-spacing:0;margin:0;color:var(--text,#203647)}
.repeat-outbound-modal .ets-section-heading>span{font-size:12px;color:var(--muted,#637586)}
.repeat-outbound-modal .ets-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.repeat-outbound-modal .ets-client-field{grid-column:1/-1}
.repeat-outbound-modal .field{min-width:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.5}
.repeat-outbound-modal .field>span{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-weight:500}
.repeat-outbound-modal .field>small{font-size:12px;line-height:1.5;color:var(--muted,#637586);font-weight:400;white-space:normal;overflow-wrap:anywhere}
.repeat-outbound-modal select,.repeat-outbound-modal input{width:100%;max-width:100%;min-width:0;min-height:44px;border-radius:8px;padding:10px 12px;font-size:14px;box-sizing:border-box}
.repeat-outbound-modal .ets-required{font-size:11px;font-weight:500;background:#fff3dc;color:#805500;border-radius:4px;padding:2px 6px}
.repeat-outbound-modal .ets-optional{font-size:12px;color:var(--muted,#637586);font-weight:400}
.repeat-outbound-modal .ets-price-mode{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0}
.repeat-outbound-modal .ets-price-mode>button{width:100%;padding:12px 16px;border-radius:8px;background:var(--surface,#fff);text-align:left;min-width:0;transition:border-color 140ms ease,background-color 140ms ease;box-shadow:none}
.repeat-outbound-modal .ets-price-mode>button.active{border-color:var(--brand,#0d7183);background:color-mix(in srgb,var(--brand,#0d7183) 5%,var(--surface,#fff));box-shadow:inset 3px 0 var(--brand,#0d7183)}
.repeat-outbound-modal .ets-price-mode strong{font-size:13px;font-weight:600;line-height:1.5;white-space:normal}
.repeat-outbound-modal .ets-price-mode small{font-size:12px;line-height:1.5;margin-top:4px;color:var(--muted,#637586);white-space:normal}
.repeat-outbound-modal .ets-origin-summary{font-size:12px;line-height:1.5;color:var(--muted,#637586);margin:12px 0 16px}
.repeat-outbound-modal .ets-price-section .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0!important}
.repeat-outbound-modal .ets-preview{grid-area:preview;max-width:100%;position:sticky;top:0}
.repeat-outbound-modal .ets-preview-head strong{font-size:16px;font-weight:600;letter-spacing:0}
.repeat-outbound-modal .ets-preview-totals{gap:8px}
.repeat-outbound-modal .ets-preview-totals>div{padding:12px;min-width:0;box-shadow:none}
.repeat-outbound-modal .ets-preview-totals small{font-size:12px;letter-spacing:0;text-transform:none;font-weight:400}
.repeat-outbound-modal .ets-preview-totals b{font-size:20px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.repeat-outbound-modal .ets-item-table-wrap{width:100%;max-width:100%;max-height:360px;overflow:auto;overscroll-behavior:contain}
.repeat-outbound-modal .ets-item-table{min-width:720px}
.repeat-outbound-modal .ets-item-table th,.repeat-outbound-modal .ets-item-table td{font-size:12px;padding:12px;line-height:1.5}
.repeat-outbound-modal .ets-item-table th{position:sticky;top:0;background:var(--surface,#fff);z-index:1}
.repeat-outbound-modal .ets-item-table .prod{max-width:240px;min-width:180px;white-space:normal;overflow-wrap:anywhere}
.repeat-outbound-modal .ets-preview-note,.repeat-outbound-modal .ets-compare,.repeat-outbound-modal .ets-preview-warn{font-size:12px;line-height:1.6}
.repeat-outbound-modal .ops-inline-note{grid-area:note;margin:0;font-size:12px!important;line-height:1.6!important;padding:12px 16px}
.repeat-outbound-modal .ops-modal-footer{position:static;flex:none;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:16px 24px;background:var(--surface,#fff);border-top:1px solid var(--line,#dce4e9)}
.repeat-outbound-modal .ops-modal-footer .btn{flex:none;min-height:44px;width:auto;white-space:normal;padding:10px 16px;border-radius:8px;line-height:1.5}
.repeat-outbound-modal :is(button,select,input):focus-visible{outline:2px solid var(--brand,#0d7183);outline-offset:2px}
@media(max-width:1000px){.ops-modal.repeat-outbound-modal{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.repeat-outbound-modal .ops-modal-body{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "parties" "prices" "preview" "note";gap:16px}.repeat-outbound-modal .ets-preview{position:static}}
@media(max-width:600px){.ops-modal.repeat-outbound-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.repeat-outbound-modal .ops-modal-heading{padding:16px}.repeat-outbound-modal .ops-modal-body{padding:16px}.repeat-outbound-modal .ets-parties,.repeat-outbound-modal .ets-price-section,.repeat-outbound-modal .ets-preview{padding:16px}.repeat-outbound-modal .ets-party-grid,.repeat-outbound-modal .ets-price-section .form-grid{grid-template-columns:1fr}.repeat-outbound-modal .ops-modal-footer{padding:12px 16px}.repeat-outbound-modal .ops-modal-footer .btn{flex:1 1 140px}.repeat-outbound-modal .ets-preview-totals b{font-size:16px}.repeat-outbound-modal .ets-preview-totals>div{padding:8px}.repeat-outbound-modal .ops-modal-heading h2{font-size:20px}}

.ops-overlay-repeat-outbound-modal{padding:0}.repeat-outbound-modal .ets-seller-error{color:#a42b2b!important}.repeat-outbound-modal [aria-invalid="true"]{border-color:#b54242}.repeat-outbound-modal .ets-selected-seller{overflow-wrap:anywhere}
