/* v0.40: separate upload slots and accessible photo lightbox */
.mh-upload-fieldset{min-width:0;border:1px solid #efd0dd;border-radius:20px;margin:12px 0;padding:16px;background:#fffafb}.mh-upload-fieldset legend{padding:0 6px;font-weight:750;color:#68334c}.mh-upload-fieldset .field-hint{margin:0 0 12px}.mh-upload-fieldset .field-hint:last-child{margin:12px 0 0}.mh-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mh-upload-slot{min-width:0;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #efd8e2;border-radius:15px;background:#fff}.mh-upload-main{border-color:#d994b0;background:#fff5f9}.mh-upload-slot label{margin:0;display:block}.mh-upload-name{display:block;color:#542b3d;font-weight:750}.mh-upload-slot small,.mh-upload-state{font-size:.77rem;color:#765c69;overflow-wrap:anywhere;line-height:1.35}.mh-upload-preview{display:grid;place-items:center;position:relative;overflow:hidden;height:94px;border:1px dashed #e6b5c9;border-radius:12px;background:#fff3f8;color:#bc5280;font-size:1.6rem}.mh-upload-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mh-upload-preview img[hidden]{display:none!important}.mh-upload-slot input[type=file]{min-width:0;width:100%;font-size:.73rem;padding:5px;border:1px solid #ecd7e0;border-radius:8px;background:#fff}.mh-upload-slot input::file-selector-button{border:0;border-radius:6px;background:#f8e0ec;color:#852d54;padding:7px;cursor:pointer;font:inherit;font-weight:700}.mh-upload-slot .test-checkbox{display:flex;gap:6px;font-size:.78rem;align-items:center}.mh-gallery-trigger{display:inline-flex!important;align-items:center;gap:6px;background:#fff2f7;border:1px solid #f1d0df;padding:7px 12px;border-radius:999px}.couple-photo-heart .mh-gallery-trigger svg{display:inline-block;width:17px;height:17px;filter:none;transform:none}.mh-gallery-dialog{box-sizing:border-box;width:min(760px,94vw);max-width:94vw;max-height:94dvh;border:1px solid #e8c5d5;border-radius:22px;background:#fffafa;padding:16px;color:#542b3d;box-shadow:0 24px 80px #280d2755;overflow:auto;text-align:left}.mh-gallery-dialog::backdrop{background:#291623cf;backdrop-filter:blur(4px)}.mh-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mh-gallery-top strong{font-size:clamp(1rem,3vw,1.3rem)}.mh-gallery-top small{display:block;color:#896475;font-size:.8rem;margin-top:3px}.mh-gallery-dialog button{cursor:pointer;font:inherit}.mh-gallery-close,.mh-gallery-prev,.mh-gallery-next{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ecd0dd;background:#fff;color:#9e285a;border-radius:50%;font-size:1.65rem!important;line-height:1;flex-shrink:0}.mh-gallery-stage{position:relative;background:#f7eaf0;display:grid;place-items:center;border-radius:14px;min-height:180px;height:min(56dvh,520px);overflow:hidden}.mh-gallery-stage img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}.mh-gallery-stage img:not([src]){visibility:hidden}.mh-gallery-prev,.mh-gallery-next{position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 4px 16px #38142825;background:#fffE}.mh-gallery-prev{left:10px}.mh-gallery-next{right:10px}.mh-gallery-dialog button[hidden],#mhGalleryError[hidden]{display:none!important}.mh-gallery-thumbs{display:flex;justify-content:center;gap:8px;margin-top:12px}.mh-gallery-thumbs button{width:clamp(48px,15vw,80px);height:clamp(46px,12vw,62px);overflow:hidden;border:2px solid transparent;border-radius:9px;padding:2px;background:#f2dce7}.mh-gallery-thumbs button[aria-current=true]{border-color:#c42864}.mh-gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:5px;display:block}.mh-gallery-dialog button:focus-visible,.mh-upload-slot input:focus-visible{outline:2px solid #ad275b;outline-offset:3px}.mh-review-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mh-review-gallery figure{margin:0;background:#fff4f8;border-radius:12px;padding:6px;min-width:0}.mh-review-gallery figure:first-child{grid-column:1/-1}.mh-review-gallery .review-photo{height:140px;object-fit:contain;background:#fff}.mh-review-gallery figure:first-child .review-photo{height:220px}.mh-review-gallery figcaption{text-align:center;font-size:.8rem;font-weight:700;color:#713d55;padding:5px 0}.mh-review-gallery img:focus-visible{outline:2px solid #ad275b}@media(max-width:480px){.mh-upload-fieldset{padding:10px}.mh-upload-grid{grid-template-columns:1fr}.mh-upload-slot{padding:10px}.mh-upload-preview{height:82px}.mh-gallery-dialog{padding:10px;border-radius:16px}.mh-gallery-stage{height:min(53dvh,420px)}.mh-gallery-prev,.mh-gallery-next{width:40px;height:40px}.mh-review-gallery figure:first-child .review-photo{height:180px}}@media(prefers-reduced-motion:reduce){.mh-gallery-dialog *{transition:none!important}}
