/* Optional contact photos, matching the existing green and beige. */
.contact-form .photo-upload{min-width:0;margin:0 0 26px;padding:0;border:0}
.photo-upload legend{float:none;padding:0;margin:0;font-size:16px;line-height:1.6;font-weight:650;color:var(--green)}
.photo-upload legend span{font-size:14px;font-weight:450;color:var(--muted);white-space:nowrap}
.photo-upload .photo-upload-intro{font-size:14px;line-height:1.75;color:var(--muted);margin:7px 0 17px}
.photo-upload-input{display:none!important}
.contact-form .photo-dropzone{appearance:none;width:100%;min-height:195px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:26px 22px;margin:0;border:0;border-radius:10px;background:#e8dece;color:var(--green);text-align:center;cursor:pointer;transition:background .18s ease,box-shadow .18s ease}
.photo-upload-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#d6bea0;color:var(--green);margin-bottom:3px}
.photo-upload-icon svg{width:28px;height:28px}
.photo-drop-title{display:block;font-size:17px;font-weight:650;line-height:1.5}
.photo-choose-label{display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1.5;font-weight:600;min-height:36px;padding:6px 14px;border-radius:10px;background:var(--green);color:#fff}
.contact-form .photo-dropzone.is-dragging{background:#d2ddce;box-shadow:inset 0 0 0 3px var(--green)}
.contact-form .photo-dropzone:focus-visible{outline:3px solid #9b6433;outline-offset:4px}
.contact-form .photo-dropzone:disabled{opacity:1;cursor:default}
.photo-upload.is-full .photo-dropzone{min-height:150px;background:#dfe5d8}
.photo-upload.is-full .photo-upload-icon{display:none}
.photo-upload.is-full .photo-choose-label{padding:0;background:transparent;color:var(--muted);font-weight:450;max-width:270px}
.photo-upload-meta{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-top:12px}
.photo-upload-meta p{font-size:14px;line-height:1.75;color:var(--muted)}
.photo-upload-counter{font-weight:600;white-space:nowrap;color:var(--green)!important}
.photo-upload .photo-upload-errors{padding:12px 15px;margin:14px 0 0;border-radius:8px;background:#f2e0d7;color:#792f1e;font-size:14px;line-height:1.75}
.photo-upload-errors:empty{display:none}
.photo-upload-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;margin:20px 0 0!important;padding:0;list-style:none}
.photo-upload-list:empty{display:none}
.photo-upload-item{min-width:0;list-style:none}
.photo-preview{position:relative;aspect-ratio:1;overflow:hidden;border-radius:10px;background:#e8dece}
.photo-preview img{width:100%;height:100%;object-fit:cover;display:block}
.contact-form .photo-remove{position:absolute;right:5px;top:5px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:10px;background:#f8f4edf5;color:var(--green);box-shadow:0 2px 12px #1134241a;font-size:27px;font-weight:400;line-height:1;cursor:pointer}
.photo-remove span{line-height:1}
.photo-remove:focus-visible{outline:3px solid #9b6433;outline-offset:-3px}
.photo-remove:disabled{cursor:wait}
.photo-upload-item .photo-file-name{font-size:14px;font-weight:600;line-height:1.65;color:var(--green);margin:8px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo-upload-item .photo-file-size{font-size:14px;line-height:1.65;color:var(--muted);margin:2px 0 0}
.form-upload-progress{display:block;appearance:none;width:100%;height:8px;margin:16px 0 0;border:0;border-radius:8px;overflow:hidden;background:#e0d5c5;accent-color:var(--green)}
.form-upload-progress::-webkit-progress-bar{background:#e0d5c5;border-radius:8px}.form-upload-progress::-webkit-progress-value{background:var(--green);border-radius:8px}.form-upload-progress::-moz-progress-bar{background:var(--green);border-radius:8px}
.form-upload-progress[hidden]{display:none!important}
.contact-form[aria-busy=true] .photo-dropzone{opacity:.7;cursor:wait}
@media(hover:hover) and (pointer:fine){.contact-form .photo-dropzone:not(:disabled):hover{background:#dfd0bb}.contact-form .photo-remove:not(:disabled):hover{background:#fff}}
@media(max-width:639px){.photo-upload legend{font-size:16px}.photo-upload .photo-upload-intro{margin-bottom:15px}.contact-form .photo-dropzone{min-height:190px;padding:24px 16px}.photo-upload-meta{flex-direction:column;gap:5px}.photo-upload-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.photo-drop-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){.contact-form .photo-dropzone{transition:none}}
