.photo-dialog{color:var(--text,#e7eff4);background:#111e27;border:1px solid #426071;border-radius:18px;padding:24px;width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 36px);overflow:auto;box-sizing:border-box}
.photo-dialog::backdrop{background:#02090fd9}.photo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.photo-heading h2{margin:4px 0 8px;font-size:26px}.photo-heading p{margin:4px 0}.photo-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:24px;margin-top:22px}.photo-image-panel,.photo-review{min-width:0}.photo-frame{position:relative;line-height:0;border:1px solid #536977;border-radius:8px;overflow:hidden}.photo-frame img{display:block;width:100%;max-height:58vh;object-fit:contain;background:#09131a}.photo-frame:has(img){width:fit-content;max-width:100%;margin:auto}.photo-frame img{height:auto;max-height:none}.photo-frame svg{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair}.photo-dialog input:not([type=checkbox]),.photo-dialog select{display:block;box-sizing:border-box;width:100%;min-height:42px;color:#f2f6f9;background:#1a303d;border:1px solid #56707e;border-radius:7px;padding:9px;font:inherit}.photo-dialog label{display:block;font-size:13px}.photo-upload{padding:14px;border:1px dashed #647d8e;border-radius:9px}.photo-upload span{display:block;margin-bottom:8px}.photo-dialog input[type=file]{font-size:12px;padding:8px;max-width:100%}.photo-dialog .photo-check{display:flex;align-items:flex-start;gap:9px;margin:14px 0;line-height:1.5}.photo-check input[type=checkbox]{width:18px;height:18px;flex:0 0 auto;margin-top:2px;accent-color:#ff762e}.photo-dialog button{min-height:42px;white-space:normal}.photo-review>.primary-button{width:100%}.photo-dialog p{line-height:1.5}.photo-proposal{padding:16px;border:1px solid #405763;border-radius:12px;margin:12px 0;background:#0c1820;overflow-wrap:anywhere}.photo-proposal h4{margin-top:0}.photo-proposal>button,.photo-proposal>select{width:100%;margin-top:9px}.photo-origins p{font-size:12px;line-height:1.55;color:#bfd3e0}.photo-points{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.photo-footer{margin-top:20px;border-top:1px solid #334754;padding-top:12px}.photo-dialog details{margin-top:14px}.photo-dialog summary{cursor:pointer;line-height:1.5}.photo-dialog output{display:block;margin-top:10px;color:#ffd0b6;line-height:1.5}.photo-provenance-fields{font-size:12px;line-height:1.6;border-left:2px solid #ec7e3b;padding-left:10px}.photo-provenance-fields p{margin:5px 0}.photo-measured{display:flex!important;gap:10px;align-items:flex-start;font-size:12px;margin:12px 0}.photo-measured input{width:18px;min-width:18px;accent-color:#ff762e}.photo-dialog [hidden]{display:none!important}#wall-photo-entry{margin-left:auto;font-size:12px}#photo-reopen{font-size:12px}
@media(max-width:680px){.photo-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:15px;border-radius:12px}.photo-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:12px}.photo-heading{gap:10px}.photo-heading h2{font-size:20px}.photo-heading .eyebrow{font-size:10px}.photo-heading button{padding:7px 12px}.photo-frame{max-width:100%;width:min(100%,340px)!important}.elevation-header{flex-wrap:wrap}#wall-photo-entry{margin-left:0}#view-switch{flex-wrap:wrap}}
.photo-measured[hidden]{display:none!important}
.photo-dialog .photo-frame{height:auto;width:min(100%,calc(50vh * var(--photo-ratio)))!important;aspect-ratio:var(--photo-ratio);max-width:100%;margin:auto}
.photo-dialog .photo-frame img{width:100%;height:auto;max-height:none}
