.project-modal{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}.project-modal .modal-heading{position:sticky;top:-1px;z-index:2;background:var(--surface);padding-bottom:16px;border-bottom:1px solid var(--line)}.project-modal form{display:grid;gap:17px}.project-modal label{min-width:0}.project-modal label>small,.project-modal label span small{font-size:10px;color:var(--text-faint);font-weight:400}.project-modal input,.project-modal textarea{width:100%;min-width:0}.project-modal input[type=checkbox]{width:auto}.project-media-editor{padding:16px;border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;display:grid;gap:12px}.project-editor-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.project-editor-heading h3{font:700 12px var(--font-body);margin:0}.project-editor-heading small{font-size:10px;color:var(--text-faint)}.project-file-field input{font-size:11px;background:var(--surface);padding:8px;border:1px dashed var(--line-strong);border-radius:8px}.project-file-field input::file-selector-button{background:var(--accent-soft);color:var(--accent-strong);border:0;border-radius:5px;padding:6px 9px;margin-right:10px;cursor:pointer}.project-url-entry{display:flex;gap:8px}.project-url-entry input{flex:1;min-width:0}.project-url-entry button{flex-shrink:0}.project-image-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.project-editor-image{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:9px;overflow:hidden}.project-editor-image>img{width:100%;height:90px;object-fit:cover;display:block;background:var(--surface-soft)}.project-editor-image-info{padding:7px;display:flex;flex-direction:column;gap:5px}.project-editor-image-info small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:9px;color:var(--text-faint)}.project-image-actions{display:flex;align-items:center;gap:4px}.project-image-actions>span{flex:1;font-size:9px;font-weight:600;color:var(--accent-strong)}.project-image-actions button{width:23px;height:23px;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft);color:var(--text);cursor:pointer;font-size:12px}.project-image-actions button:last-child{color:var(--danger)}.project-image-actions button:disabled{opacity:.25;cursor:default}.project-modal .modal-actions{position:sticky;bottom:-1px;padding:14px 0 0;background:var(--surface);border-top:1px solid var(--line)}.project-management-cover{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:10px;border:1px solid var(--line);margin-bottom:10px}.project-management-card p{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:3;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.project-management-title h3{overflow-wrap:anywhere}.project-management-title img{object-fit:contain}.offline-notice{margin-bottom:18px}.project-live.unknown{color:var(--text-faint)}
@media(max-width:600px){.project-modal{padding:17px}.project-image-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.project-editor-heading{align-items:flex-start;flex-direction:column;gap:4px}.project-modal .form-grid{grid-template-columns:1fr}}
