.order-ops-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.order-ops-tabs button{padding:10px 15px;border:1px solid #cdd9e7;background:white;border-radius:8px;color:#33465c;font-weight:700;font-size:.9rem;cursor:pointer}
.order-ops-tabs button.is-active{background:#245de9;color:white;border-color:#245de9}
.order-ops{display:grid;gap:16px;min-width:0;font-size:.95rem}
.order-ops .panel{min-width:0}.order-ops-help{color:#52647a;font-size:.875rem;line-height:1.6}
.order-ops-alert{padding:12px 16px;margin:8px 0 16px;border:1px solid #b5cef5;border-radius:8px;background:#f0f6ff;line-height:1.6}
.order-ops-alert p{margin:4px 0}.order-ops-alert.warning{border-color:#eac380;background:#fff9ef}.order-ops-alert.error{border-color:#e7a8a8;background:#fff3f3;color:#9b2525}
.order-ops-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(190px,2fr) minmax(160px,2fr) auto;align-items:end;gap:12px}
.order-ops label{display:grid;gap:6px;font-size:.875rem;min-width:0}.order-ops input,.order-ops select,.order-ops textarea{width:100%;max-width:100%;min-width:0;padding:10px;border:1px solid #cdd9e7;border-radius:6px;background:white;color:#172d45;font:inherit;box-sizing:border-box}
.order-ops input[type=checkbox]{width:18px;flex:0 0 18px}.order-ops label.order-ops-check{display:flex;align-items:center;gap:8px;line-height:1.5;min-height:42px}
.order-ops-cases{display:grid;gap:10px}.order-ops-case{display:grid;grid-template-columns:minmax(210px,2fr) minmax(210px,1.4fr) minmax(190px,1fr);gap:20px;padding:16px;border:1px solid #d8e3ef;border-radius:10px;align-items:start;background:#fff}
.order-ops-case h3{font-size:1rem;margin:10px 0 4px;overflow-wrap:anywhere}.order-ops-case small{font-size:.8rem;color:#53677e;overflow-wrap:anywhere}.order-ops-case p{margin:10px 0;line-height:1.5}.order-ops-case dl{margin:0;display:grid;gap:10px}.order-ops-case dl div{display:flex;justify-content:space-between;gap:12px}.order-ops-case dt{color:#52647a}.order-ops-case dd{margin:0;font-weight:700;text-align:right}.order-ops-case button{margin-top:12px}
.order-ops-review fieldset{border:0;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-ops-review .wide{grid-column:1/-1}.order-ops-review textarea{min-height:85px;resize:vertical}.order-ops-review button{justify-self:start}.order-ops-review fieldset:disabled{opacity:.7}
.order-ops-erp{margin-top:20px;padding-top:10px;border-top:1px solid #d8e3ef}.order-ops-erp p{color:#52647a;line-height:1.6;font-size:.875rem}.order-ops-history{padding:10px 0;border-top:1px solid #d8e3ef}.order-ops-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.85rem}
.order-ops-message{border-top:1px solid #d8e3ef;padding:18px 0}.order-ops-message h3{font-size:1rem}.order-ops-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.order-ops-message small{font-size:.8rem;color:#53677e}
.order-ops-connections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;margin:18px 0}.order-ops-connection{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #d8e3ef;border-radius:8px;padding:12px;min-width:0}.order-ops-connection strong{font-size:.9rem}.order-ops-connection small{color:#53677e;font-size:.78rem;line-height:1.6;overflow-wrap:anywhere}.order-ops-internal{border-top:1px solid #d8e3ef;margin-top:20px}.order-ops-message button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.order-ops-message h3,.order-ops-message small{overflow-wrap:anywhere}
.order-ops button:focus-visible,.order-ops-tabs button:focus-visible{outline:3px solid #75a6ff;outline-offset:2px}.order-ops details summary{cursor:pointer;padding:12px 0}
@media(max-width:1100px){.order-ops-case{grid-template-columns:1fr 1fr}.order-ops-case>div:last-child{grid-column:1/-1}.order-ops-filters{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.order-ops-case,.order-ops-review fieldset,.order-ops-filters{grid-template-columns:minmax(0,1fr)}.order-ops-tabs button{flex:1 1 28%;padding:10px 6px}.order-ops .panel-heading{flex-wrap:wrap;gap:8px}.order-ops-case{gap:14px}.order-ops-case dl{padding-top:12px;border-top:1px solid #e5ecf4}.order-ops .wide{grid-column:auto}}
.order-ops-seller-links { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.order-ops-connection > a { align-self:start; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
