/* HF248 business-editing draft protection; no changes to legacy form dimensions. */
.hf248-draft-status{font-size:12px;line-height:1.4;padding:7px 10px;border-radius:6px;margin:0 0 10px;background:#eef2ff;color:#334155}
.hf248-draft-status[data-state="committed"]{background:#ecfdf5;color:#065f46}
.hf248-draft-status[data-state="error"]{background:#fff1f2;color:#9f1239}
#hf248DraftChip{position:fixed;right:18px;bottom:18px;z-index:2147482800;background:#0f172a;color:white;border:1px solid #94a3b8;border-radius:8px;padding:9px 13px;max-width:230px;font:600 12px/1.4 system-ui;cursor:pointer}
#hf248DraftChip[hidden]{display:none!important}
.hf248-draft-overlay{position:fixed;inset:0;z-index:2147483500;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.65)}
.hf248-draft-dialog{width:min(550px,95vw);max-height:90vh;overflow:auto;background:white;color:#0f172a;border-radius:12px;padding:18px 20px;box-shadow:0 8px 34px #0005}
.hf248-draft-dialog h3{margin:0 0 10px;font-size:19px}.hf248-draft-dialog p{font-size:13px;line-height:1.65;white-space:pre-line}
.hf248-draft-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:16px}
.hf248-draft-actions button{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;padding:9px 12px;cursor:pointer;font-weight:600}
.hf248-draft-actions button:last-child{background:#2563eb;color:white;border-color:#2563eb}
