#project-editor{width:min(940px,calc(100vw - 32px))}
#project-editor-form{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}
#project-editor .dialog-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin:10px 0 0}
.project-editor-tabs{display:flex;gap:25px;padding:0 32px;border-bottom:1px solid var(--line);flex:none;overflow-x:auto}
.project-editor-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:18px 2px;font-size:14px;color:var(--muted);white-space:nowrap}
.project-editor-tabs [aria-selected=true]{border-color:var(--green);color:var(--green);font-weight:600}
.project-editor-scroll{padding:28px 48px;min-height:0}
.project-editor-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.project-editor-hint{font-size:14px;color:var(--muted);line-height:1.8;margin:14px 0 0}
.project-editor-section{border-top:1px solid var(--line);margin:25px 0;padding-top:20px}
.project-editor-section legend{float:left;width:100%;padding-bottom:15px}
.project-editor-section legend+*{clear:both}
.project-address-choice{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.7;margin-bottom:16px}
.project-address-choice input{margin-top:4px;accent-color:var(--green);flex:none}
.project-address-preview{padding:16px 18px;background:#f3f5ed;border:1px solid var(--line);border-radius:8px}
.project-address-preview>span{font-size:14px;color:var(--muted)}
.project-address-preview p{font-size:14px;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}
.project-address-preview button{margin-top:9px;text-align:left;font-size:14px}
.project-person-entry{display:flex;gap:5px;border:1px solid #dce3d8;border-radius:6px;background:#fdfefa;padding-right:4px}
.field .project-person-entry input{border:0;background:none;min-width:0}
.project-person-entry .icon-button{flex:none}
.project-people-list{display:flex;gap:7px;flex-wrap:wrap;padding-top:10px;min-height:25px}
.project-people-list>.small-note{color:var(--muted);line-height:1.7}
.project-person-tag{display:inline-flex;align-items:center;gap:7px;background:#edf3e6;color:#425f36;border-radius:6px;font-size:14px;padding:3px 5px 3px 9px;overflow-wrap:anywhere;max-width:100%}
.project-person-tag button{background:none;border:0;display:flex;padding:5px;color:#627555;flex:none}
.project-person-tag svg{width:13px;height:13px}
.project-notes-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:23px;padding:18px;background:#f3f5ed;border-radius:9px}
.project-notes-heading>svg{flex:none;width:20px;margin-top:1px}
.project-notes-heading h3{font-size:15px;margin:0 0 7px}
.project-notes-heading p{font-size:14px;line-height:1.7;margin:0;color:var(--muted)}
.project-editor-coming{max-width:530px;margin:20px auto;text-align:center;padding:20px 0 40px}
.project-editor-coming .tag{display:inline-block;margin:16px 0 0}
.project-editor-coming h3{font-size:22px;margin:18px 0}
.project-editor-coming p{font-size:14px;line-height:1.9;color:var(--muted)}
#project-editor .dialog-footer{align-items:center}
.project-editor-save-note{font-size:14px;color:var(--muted);margin-right:auto;line-height:1.6}
.project-work-team{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}
.project-work-team h4{font-size:14px;margin:0 0 10px}
.project-work-team ul{list-style:none;padding:0;margin:0;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
@media(max-width:650px){#project-editor{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}#project-editor-form{max-height:calc(100dvh - 14px)}#project-editor .dialog-heading{padding:20px}.project-editor-tabs{gap:18px;padding:0 20px}.project-editor-tabs button{font-size:14px}.project-editor-scroll{padding:22px 20px}.project-editor-intro{flex-wrap:wrap;gap:12px}.project-person-tag{font-size:14px}.project-address-choice{font-size:14px}#project-editor .dialog-footer{flex-wrap:wrap;gap:9px;padding:14px 18px}.project-editor-save-note{flex-basis:100%}.project-editor-save-note+.button{margin-left:auto}.project-work-team{grid-template-columns:1fr}}
@media(max-width:650px){#project-editor{max-width:calc(100vw - 12px)}#project-editor .dialog-footer>button{flex:1;min-width:0;font-size:14px;padding:10px 8px}#project-editor .dialog-footer>button.primary{flex:2}#project-editor .project-editor-save-note+.button{margin-left:0}}
.project-unsaved{padding:18px;border:1px solid #e4d7b3;background:#fcf8eb;border-radius:9px;margin-bottom:22px;font-size:14px;line-height:1.7}.project-unsaved p{margin:7px 0 12px;color:#756743}.project-unsaved>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
