.sg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.sg-panel,.sg-form,.sg-settings,.sg-list{line-height:1.6}.sg-panel h3,.sg-form h3,.sg-row h3{font-size:1.1rem;line-height:1.4;margin:0 0 12px}.sg-status{font-size:1.05rem;margin:18px 0 8px}.sg-blockers{margin:16px 0 24px}.sg-blockers summary,.sg-history summary{font-weight:600;cursor:pointer}.sg-blockers ul{padding-left:20px}.sg-steps{list-style:none;padding:0;margin:24px 0}.sg-steps>li,.sg-row{padding:20px 0;border-bottom:1px solid var(--line)}.sg-step-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.sg-step-title h4{font-size:1rem;margin:0}.sg-step-title span{font-size:.88rem;white-space:nowrap}.sg-steps p{margin:8px 0 12px}.sg-note{white-space:pre-wrap;overflow-wrap:anywhere}.sg-steps details{margin:8px 0 12px}.sg-correspondence{margin-top:28px}.sg-template{padding:20px 0;border-bottom:1px solid var(--line)}.sg-settings fieldset{border:0;margin:0;padding:0;min-width:0}.sg-check{display:flex;gap:10px;align-items:center;margin:16px 0}.sg-history{margin-top:20px}.edit-modal:has(.sg-panel,.sg-form,.sg-list,.sg-settings){width:min(820px,calc(100vw - 24px))}@media(max-width:700px){.sg-step-title{align-items:flex-start;flex-direction:column;gap:4px}.sg-step-title span{white-space:normal}.sg-actions .btn{max-width:100%;white-space:normal}.sg-form .form-footer{flex-wrap:wrap}.sg-form .form-footer>*{flex:1 1 180px}}

.sg-panel .form-footer,.sg-form .form-footer,.sg-settings .form-footer{position:static;background:transparent;flex-wrap:wrap}
