.workflow-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.workflow-head h3{margin:0}.stage-pill{font-size:12px;font-weight:800;border-radius:999px;padding:5px 8px;background:#eef3f7;color:#5b6e83}.stage-pill.new{background:#edf4fb;color:#285b8c}.stage-pill.sent{background:#e9f2ff;color:#1766c3}.stage-pill.active,.stage-pill.won{background:#e9f8ef;color:#147746}.stage-pill.later{background:#fff4dc;color:#9a6410}.stage-pill.lost{background:#fbecec;color:#a54545}.workflow-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.workflow-actions button{min-height:39px;border-radius:9px;border:1px solid #dbe5ee;background:#fff;color:#23425f;font-size:12px;font-weight:750;padding:8px}.workflow-actions .wf-primary{grid-column:1/-1;background:#12385f;border-color:#12385f;color:#fff}.workflow-actions .wf-secondary{background:#eef5fc;color:#185b9f}.workflow-actions .wf-quiet{color:#7a5360;background:#fff}.workflow-note{grid-column:1/-1;margin:0;color:#5b6e83;font-size:12px;line-height:1.4}.workflow-sale{margin-top:10px;border-top:1px solid #eef2f6;padding-top:10px}.workflow-sale strong{display:block;font-size:15px}.workflow-sale span{display:block;color:#5b6e83;font-size:12px;margin-top:3px}
.workflow-dialog{border:0;padding:0;margin:auto 0 0;width:100%;max-width:none;background:transparent}.workflow-dialog::backdrop{background:rgba(4,18,31,.42)}.workflow-dialog form{background:#fff;border-radius:18px 18px 0 0;padding:0 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(7,28,48,.18)}.workflow-sheet-head{height:58px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7edf3}.workflow-sheet-head strong{font-size:14px}.workflow-sheet-head button{border:0;background:transparent;font-size:22px;color:#314b64}.workflow-sheet-body{display:grid;gap:11px;padding:14px 0}.wf-field{display:grid;gap:6px}.wf-field span{font-size:12px;font-weight:750;color:#5b6e83}.wf-field input,.wf-field select{width:100%;height:44px;border:1px solid #dce5ed;border-radius:9px;background:#fff;padding:0 10px;color:#17334e;outline:0;font-size:12px}.wf-field-row{display:grid;grid-template-columns:1.4fr .8fr;gap:8px}.workflow-sheet-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;padding-top:4px}.workflow-sheet-actions button{height:44px;border-radius:9px;border:1px solid #dbe5ee;background:#fff;color:#31506d;font-weight:750;font-size:12px}.workflow-sheet-actions .primary{background:#12385f;border-color:#12385f;color:#fff}.workflow-busy .workflow-actions button,.workflow-busy .workflow-sheet-actions button{pointer-events:none;opacity:.55}
@media(min-width:720px){.workflow-dialog{width:420px;margin:auto;}.workflow-dialog form{border-radius:16px;padding-bottom:16px}.workflow-actions{grid-template-columns:repeat(3,1fr)}.workflow-actions .wf-primary{grid-column:auto}}
