.tx-contextual-modal{width:min(720px,96vw);max-height:94vh;overflow:auto;padding:26px 28px 30px;background:#f8fbf9}
.tx-contextual-modal h2{margin:0 42px 4px 0;font-size:25px;color:#143b29}
.tx-context-intro{margin:0 42px 18px 0;color:#60776a;font-size:13px;line-height:1.45}
.tx-contextual-form{display:grid!important;grid-template-columns:1fr!important;gap:13px!important}
.tx-core-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.55fr);gap:12px}
.tx-context-step,.tx-core-grid{animation:txStepIn .18s ease-out}
.tx-context-step[hidden],.tx-inline-picker[hidden],.tx-quick-panel[hidden],.tx-quick-card [hidden]{display:none!important}
.tx-contextual-form>label,.tx-core-grid label,.tx-inline-picker>label,.tx-quick-card label{display:grid;gap:6px;color:#244836;font-size:12px;font-weight:800}
.tx-contextual-form input,.tx-contextual-form select,.tx-quick-card input,.tx-quick-card select{width:100%;min-width:0;border:1px solid #cddbd3;border-radius:10px;background:#fff;color:#18271f;padding:12px 13px;font:inherit}
.tx-contextual-form input:focus,.tx-contextual-form select:focus,.tx-quick-card input:focus,.tx-quick-card select:focus{outline:3px solid #25a76a22;border-color:#25a76a}
.tx-contextual-form input[readonly]{background:#edf6f1;color:#315b45;border-color:#bad6c7}
.tx-contextual-form small,.tx-quick-card p{color:#6b8074;font-size:11px;line-height:1.4;font-weight:500}
.tx-inline-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}
.tx-inline-action{white-space:nowrap;min-height:43px}
.tx-context-status{min-height:0;border-radius:9px;font-size:12px;font-weight:700;line-height:1.35}
.tx-context-status:not(:empty){padding:10px 12px;margin-bottom:12px;background:#e8f7ef;color:#17623d;border:1px solid #b9dfc9}
.tx-context-status.is-error:not(:empty){background:#fff0ee;color:#9b2c2c;border-color:#efc0ba}
.tx-context-status.is-loading:not(:empty){background:#eef4ff;color:#28578c;border-color:#c7d8ee}
.tx-contextual-form .payment-split-box{margin:0}
.tx-contextual-form .tx-save-primary{width:100%;margin-top:3px;font-size:14px;min-height:47px}
.tx-contextual-form .tx-save-primary:disabled{opacity:.52;cursor:not-allowed}
.tx-quick-panel{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:18px;background:#102a1ccc;border-radius:15px}
.tx-quick-card{width:min(540px,100%);max-height:88vh;overflow:auto;display:grid;gap:12px;background:#fff;border-radius:15px;padding:22px;box-shadow:0 18px 60px #0004}
.tx-quick-card h3{margin:0;color:#143b29;font-size:21px}
.tx-quick-card p{margin:-5px 0 3px}
.tx-quick-feedback{padding:11px 12px;border-radius:10px;font-size:12px;font-weight:750;line-height:1.4;background:#e9f7ef;color:#17623d;border:1px solid #b9dfc9}
.tx-quick-feedback.is-error{background:#fff0ee;color:#9b2c2c;border-color:#efc0ba}
.tx-quick-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}
.tx-quick-actions button{min-height:42px}
@keyframes txStepIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:620px){.tx-contextual-modal{width:100vw;max-width:none;max-height:100dvh;min-height:100dvh;border-radius:0;padding:22px 16px 28px}.tx-core-grid{grid-template-columns:1fr 1fr}.tx-inline-picker{grid-template-columns:1fr}.tx-inline-action{width:100%}.tx-quick-panel{position:fixed;border-radius:0;padding:12px}.tx-quick-card{max-height:94dvh;padding:18px}.tx-quick-actions{display:grid;grid-template-columns:1fr}.payment-split-head{align-items:flex-start}.payment-split-head button{white-space:nowrap}}
