/* A short creation form keeps its validation and draft lifecycle without a wizard. */
#modal:has(.project-create-form) .flow-progress,#modal:has(.project-create-form) .flow-status{display:none}
.project-create-form>.flow-step>legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.project-create-form .flow-hint{margin:0 0 16px}
.project-client-details{margin:12px 0 0}
.project-client-details>summary{min-height:44px;padding:12px 0;cursor:pointer;line-height:1.4}
.project-client-details[open]>summary{margin-bottom:12px}
.form-draft-feedback{font-size:12px;line-height:1.4;color:var(--muted);margin:12px 0 0;min-height:34px}
.form-draft-feedback p{margin:0}
#local-form-drafts{margin:8px 16px 100px;max-width:calc(100% - 32px);min-height:44px}
@media(min-width:701px){#local-form-drafts{margin-bottom:24px}}

/* Preserve the short, single-screen creation form when shared wizard styles evolve. */
#modal:has(.project-create-form){height:fit-content;min-height:0}
#modal:has(.project-create-form) .form-draft-feedback:empty,#modal:has(.project-create-form)>#form-error:empty{display:none}
#modal:has(.project-create-form) .form-draft-feedback{min-height:34px;margin:8px 0 0}
#modal:has(.project-create-form)>.dialog-actions{border-top:0;margin-top:16px;padding-top:0}
#modal:has(.project-create-form) .project-client-details{border-bottom:0}
@media(max-width:700px){
 #modal:has(.project-create-form){padding:22px 20px 0}
 #modal:has(.project-create-form)>.dialog-actions>[data-action=close-modal]{border-color:transparent;background:transparent}
}
