.stst229-layout{font:inherit;min-width:0}.stst229-field{display:flex;flex-direction:column;gap:3px;min-width:0}.stst229-field input,.stst229-field textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line);border-radius:5px;background:#fff;padding:6px;color:var(--navy);font:inherit}.stst229-field input:disabled,.stst229-field textarea:disabled{background:#f4f6fc;color:var(--muted)}.stst229-header{display:grid;grid-template-columns:minmax(210px,1fr) repeat(2,minmax(150px,1fr));gap:10px;padding:12px;background:#f0f4ff;border:1px solid var(--line)}.stst229-h0{grid-column:1;grid-row:1}.stst229-h1{grid-column:1;grid-row:2/4}.stst229-h2{grid-column:2;grid-row:1}.stst229-h3{grid-column:3;grid-row:1}.stst229-h4{grid-column:2;grid-row:2}.stst229-h5{grid-column:3;grid-row:2}.stst229-h6{grid-column:2/4;grid-row:3}.stst229-grid-wrap{max-width:100%;overflow:auto;border:1px solid var(--line)}.stst229-grid{border-collapse:collapse;table-layout:fixed;width:1580px;min-width:1580px}.stst229-grid th,.stst229-grid td{border:1px solid var(--line);padding:4px;vertical-align:top}.stst229-grid th{background:#e9eefb;font-weight:600}.stst229-grid th:first-child{width:32px}.stst229-grid th:nth-child(2){width:36px}.stst229-grid th:nth-child(3){width:170px}.stst229-grid th:nth-child(4){width:240px}.stst229-grid input{font:inherit;width:100%;min-width:0;box-sizing:border-box;padding:5px;border:1px solid var(--line)}.stst229-code-cell{display:flex;gap:3px}.stst229-code-cell input{flex:1}.stst229-grid [aria-pressed=true]{background:var(--navy);color:#fff}.stst229-row-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0}.stst229-bottom{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,400px);gap:15px;margin-top:12px}.stst229-summary{display:grid;gap:5px}.stst229-discounts{display:grid;grid-template-columns:1fr 1fr auto;gap:5px;align-items:end}.stst229-additional,.stst229-payment{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stst229-additional>div{min-width:0;display:flex;gap:4px;align-items:end}.stst229-additional .stst229-field{flex:1}.stst229-additional>div:nth-child(-n+5),.stst229-d7,.stst229-d8{grid-column:1/-1}.stst229-p4,.stst229-p5{grid-column:1/-1}.stst229-conditions{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;border:1px solid var(--line)}.stst229-commands{margin-top:12px}.stst229-review dd,.stst229-review .print-memo{white-space:pre-wrap}.stst229-variant{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.stst229-header-slot>button{max-width:36px}.stst229-header-slot .stst229-field{min-width:0}@media(max-width:700px){.stst229-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stst229-h0,.stst229-h1,.stst229-h6{grid-column:1/-1;grid-row:auto}.stst229-h2,.stst229-h4{grid-column:1;grid-row:auto}.stst229-h3,.stst229-h5{grid-column:2;grid-row:auto}.stst229-bottom{grid-template-columns:minmax(0,1fr)}.stst229-additional,.stst229-payment{grid-template-columns:minmax(0,1fr)}.stst229-additional>div,.stst229-payment>div{grid-column:1}.stst229-variant select{max-width:100%}}

/* Child widths follow their own resizable container, not only the viewport. */
.stst229-layout{container-type:inline-size}.stst229-additional,.stst229-payment{gap:6px 10px}.stst229-additional .stst229-field{display:grid;grid-template-columns:155px minmax(0,1fr);gap:6px;align-items:center}.stst229-payment .stst229-field{display:grid;grid-template-columns:126px minmax(0,1fr);gap:4px;align-items:center}.stst229-additional .stst229-field input,.stst229-payment .stst229-field input{padding:4px 6px;min-height:30px}.stst229-additional>div>button,.stst229-payment>div>button{min-height:30px;padding:3px 6px}.stst229-additional .stst229-field>span,.stst229-payment .stst229-field>span{font-size:13px}.stst229-conditions{gap:5px 12px;margin-top:9px;padding:8px}.stst229-conditions label{display:flex;gap:5px;align-items:center;font-size:13px}.stst229-layout button:focus-visible{outline-color:var(--red)}@container(max-width:440px){.stst229-additional,.stst229-payment{grid-template-columns:minmax(0,1fr)}.stst229-additional>div,.stst229-payment>div{grid-column:1}.stst229-additional .stst229-field,.stst229-payment .stst229-field{grid-template-columns:minmax(0,1fr)}}

/* SW container: chooser placeholder, row marker and separate conditions. */
.stst229-h6{display:flex;align-items:end;gap:4px}.stst229-h6>.stst229-field{flex:1}.stst229-h6>button{flex:0 0 32px;min-width:0;min-height:38px;padding:4px}.stst229-grid td:first-child>button{box-sizing:border-box;width:100%;min-width:0;min-height:30px;padding:4px 0;font:inherit}.stst229-conditions{display:flex;flex-direction:column;gap:2px;padding:5px 8px}.stst229-conditions label{min-height:18px;line-height:18px}.stst229-conditions input{margin:0}.stst229-additional{row-gap:4px}

/* SW payment inline unknown chooser: disabled beside cash-discount input. */
.stst229-p4{display:flex;gap:4px;align-items:end}.stst229-p4>.stst229-field{flex:1;min-width:0}.stst229-p4>button{flex:0 0 28px;min-width:0;max-width:28px}

/* ORX/ORM SW review only: print as a flowing sheet, not inside a floating frame. */
@media print{
html:has(.stst229-review),body:has(.stst229-review){background:#fff!important}
#panel-dialog:has(.stst229-review){position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;inline-size:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important}
#panel-dialog:has(.stst229-review)::backdrop{background:transparent!important}
#panel-dialog:has(.stst229-review)>#panel-content,#panel-dialog:has(.stst229-review)>#panel-content>[data-stst229-owner]{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;overflow:visible!important;container-type:normal!important}
#panel-dialog:has(.stst229-review) button,#panel-dialog:has(.stst229-review)>.dialog-heading,#panel-dialog:has(.stst229-review)>.dialog-actions,#panel-dialog:has(.stst229-review)>.sw-child-resize{display:none!important}
#sw-preview-print-sheet.stst229-review{container-type:normal!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;color:#000!important}
.stst229-review .table-wrap{width:100%!important;max-width:100%!important;overflow:visible!important}.stst229-review table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;font-size:9pt!important}.stst229-review th,.stst229-review td{min-width:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;vertical-align:top;padding:4px 3px!important}.stst229-review th{color:#000!important;font-weight:600!important}.stst229-review th:first-child{width:24px}.stst229-review thead{display:table-header-group}
#sw-preview-print-sheet.stst229-review dl{grid-template-columns:minmax(0,.35fr) minmax(0,1fr)!important}.stst229-review dt,.stst229-review dd,.stst229-review p{min-width:0!important;max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
}

.stst229-discounts{grid-template-columns:1fr 1fr}.stst229-layout .stst229-grid input:disabled{background:#f4f6fc;color:var(--muted)}

/* A floating document can be narrow inside a wide desktop viewport. */
@container(max-width:650px){.stst229-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stst229-h0,.stst229-h1,.stst229-h6{grid-column:1/-1;grid-row:auto}.stst229-h2,.stst229-h4{grid-column:1;grid-row:auto}.stst229-h3,.stst229-h5{grid-column:2;grid-row:auto}.stst229-bottom{grid-template-columns:minmax(0,1fr)}}
@container(max-width:440px){.stst229-header{grid-template-columns:minmax(0,1fr)}.stst229-h0,.stst229-h1,.stst229-h2,.stst229-h3,.stst229-h4,.stst229-h5,.stst229-h6{grid-column:1;grid-row:auto}}

.stst229-workflow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.stst229-workflow select{max-width:100%;font:inherit}
