.panel-programs>button.material-orders-open{grid-column:3;flex-direction:column;gap:2px}
.material-orders-toolbar{display:flex;justify-content:flex-end;margin:0 0 8px}
.material-orders article{padding:10px;border:1px solid #64748b;border-radius:7px;margin:6px 0;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}
.material-orders article>div{font-size:12px;color:#cbd5e1}
.material-orders article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:15px}
.material-orders article:focus-visible{outline:2px solid #93c5fd}
.material-orders [role=status]{font-size:13px}
.material-orders [role=status]:empty{display:none}
.material-orders [hidden]{display:none!important}
.material-orders.card.material-orders-is-open{border-color:transparent;background:transparent;box-shadow:none}
.material-order-dialog{position:fixed;inset:auto;z-index:4;box-sizing:border-box;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:14px 14px max(12px,env(safe-area-inset-bottom));background:#111827;color:#f8fafc;overflow:hidden}
.material-order-dialog[open]{display:flex;flex-direction:column;gap:10px}
.material-order-dialog h2{flex:0 0 auto;font-size:18px;line-height:1.3;margin:0}
.material-order-top-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);flex:0 0 auto;gap:8px;align-items:stretch;width:100%}
.material-order-top-actions>button{width:100%;min-width:0;margin:0}
.material-order-dialog button{box-sizing:border-box;min-height:44px;padding:8px 14px;font:inherit;border:1px solid #06953f;border-radius:6px;background:#536474;color:#fff}
.material-order-dialog button:disabled{opacity:.55}
.material-order-dialog .is-destructive{background:#b91c1c;border-color:#b91c1c}
.material-order-content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
.material-order-dialog textarea{display:block;flex:1 1 0;min-height:0;height:0;overflow:auto;width:100%;box-sizing:border-box;resize:none;border:1px solid #64748b;border-radius:6px;background:#111827;color:#f8fafc;padding:12px;font:16px/1.45 sans-serif;color-scheme:dark}
.material-order-dialog textarea::placeholder{color:#94a3b8;opacity:1}
.material-order-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}
.material-order-dialog .material-order-meta{font-size:12px;color:#cbd5e1;margin:0 0 10px}
.material-order-body{font-size:16px;line-height:1.45;margin:0}
.material-order-dialog [role=alert]{flex:0 0 auto;color:#fca5a5;font-size:14px;margin:8px 0 0}
.material-order-dialog [role=alert]:empty{display:none}
.material-order-confirm{overflow:auto;font-size:18px}
.material-order-confirm>div{display:flex;gap:12px;justify-content:flex-end}
