.order-lifecycle-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #cbd5e1;border-radius:14px;color:inherit;background:var(--surface,#fff)}
.order-lifecycle-dialog::backdrop{background:#0f172a80}.order-lifecycle-dialog header{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:16px;border-bottom:1px solid #cbd5e1}.order-lifecycle-dialog h2{font-size:1.1rem;margin:0;overflow-wrap:anywhere}.order-lifecycle-content{padding:16px;overflow:auto;max-height:calc(100dvh - 130px);overflow-wrap:anywhere}.order-lifecycle-content label{display:grid;gap:6px;margin:14px 0}.order-lifecycle-content textarea,.order-lifecycle-content input{box-sizing:border-box;max-width:100%;width:100%;padding:10px}.order-lifecycle-content .button{min-height:44px;margin:4px;white-space:normal}.order-lifecycle-error{color:#b91c1c}.order-lifecycle-entry{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.order-lifecycle-entry small{flex-basis:100%}

/* Native fieldsets/selects must shrink inside the mobile confirmation drawer. */
@media screen{.order-lifecycle-content fieldset{box-sizing:border-box;min-inline-size:0;max-inline-size:100%;margin-inline:0}.order-lifecycle-content legend{box-sizing:border-box;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}.order-lifecycle-content select{box-sizing:border-box;min-inline-size:0;max-inline-size:100%;width:100%}.order-lifecycle-content fieldset label{min-inline-size:0}.order-lifecycle-content [data-lifecycle-zero-confirm]{width:auto;justify-self:start}}
