.project-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 40px; border: 0; border-radius: 8px; background: #fff; color: #171717; overflow-y: auto; overscroll-behavior: contain; }
.project-dialog::backdrop { background: rgb(0 0 0 / 40%); }
.project-dialog h2 { margin: 0 36px 16px 0; color: var(--red); font-size: 32px; font-weight: 400; line-height: 1.2; }
.project-dialog p { font-size: 14px; line-height: 1.5; }
.project-dialog .ae-enquiry-fields { margin-top: 24px; gap: 16px 20px; }
.project-dialog .ae-enquiry-fields textarea { min-height: 100px; }
.project-dialog .ae-enquiry-fields input { padding: 12px 16px; }
.project-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #f3f3f3; cursor: pointer; }
.project-close img { display: block; }
.project-dialog :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.project-upload { margin-top: 20px; font-size: 14px; }
.project-upload > label { display: block; margin-bottom: 8px; }
.project-file-picker { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px; border: 1px solid #eee; border-radius: 8px; background: #f3f3f3; }
.project-file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.project-file-picker:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.project-upload > p { margin: 8px 0 0; color: #666; font-size: 12px; }
.project-upload [data-project-file-error] { color: var(--red); }
.project-files { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.project-files li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f3f3f3; border-radius: 6px; }
.project-files span { min-width: 0; overflow-wrap: anywhere; }
.project-files button { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.project-files img { width: 20px; height: 20px; }
.project-status { margin: 16px 0 0; }
.project-status:empty, .project-upload > p:empty, .project-files:empty { display: none; }
.project-thanks p { margin-bottom: 28px; }
.project-dialog[open] { animation: project-enter 200ms ease-out; }
@keyframes project-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) { .project-close:hover, .project-file-picker:hover { background: #eaeaea; } .project-files button:hover { background: #e5e5e5; } }
@media (max-width: 767px) { .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 64px 20px 24px; } .project-dialog h2 { font-size: 28px; margin-right: 0; } .project-dialog .ae-enquiry-fields { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .project-dialog[open] { animation: none; } }
