.photo-viewer-dialog[data-slot=dialog-content],.comparison-viewer-dialog[data-slot=dialog-content]{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;background:#fffdf6!important;border-radius:0!important;flex-direction:column!important;gap:10px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important;transform:translate(0,0)!important}.photo-viewer-dialog [data-slot=dialog-title],.comparison-viewer-dialog [data-slot=dialog-title]{overflow-wrap:anywhere;flex:none;max-height:50px;padding-right:30px;font-size:18px;overflow:auto}.photo-viewer-dialog [data-slot=dialog-description],.comparison-viewer-dialog [data-slot=dialog-description]{flex:none;font-size:13px}.photo-viewer-tools{flex:none;min-height:40px;gap:6px!important}.photo-viewer-tools button{min-height:40px;padding-inline:12px;font-size:14px}.photo-zoom-stage{touch-action:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#edf0eb;border-radius:10px;flex:1;width:100%;min-height:0;overflow:auto}.photo-zoom-content{min-width:100%;min-height:100%;position:relative}.photo-zoom-image{position:absolute}.photo-zoom-image>img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block;max-height:none!important}.photo-viewer-dialog>.actions{flex:none;gap:20px;font-size:14px;margin:0!important}.photo-viewer-dialog .photo-viewer-stage{flex:1;height:auto;min-height:0}.shared-comparison-pair.full-body{aspect-ratio:1200/1664;gap:4px;transform:none}.shared-comparison-pair.full-body .shared-comparison-image{flex-direction:column;min-height:0;display:flex;overflow:hidden}.shared-comparison-pair.full-body .shared-comparison-image img{object-fit:contain;flex:1;width:100%;height:calc(100% - 30px);min-height:0;max-height:none}.shared-comparison-pair.full-body .shared-comparison-image span{flex:none;height:30px;padding:3px;font-size:12px}.photo-zoom-image>.shared-comparison-pair.full-body{aspect-ratio:auto;width:100%;height:100%}.shared-comparison-pair.full-body.overlay>.shared-comparison-image{background:0 0;position:absolute;inset:0}.record-photo-strip .comparison-photo img,.record-photo-strip .historical-photo img{object-fit:contain;width:100%;height:auto!important;max-height:none!important}.record-photo-strip .historical-photo{flex:100%;max-width:none}.record-photo-strip .comparison-photo span,.record-photo-strip .historical-photo span{padding:12px;font-size:14px}.record-photo-open-hint{color:#536b6c;margin-top:5px;font-weight:500;display:block;font-size:13px!important}.historical-photo-card{margin:20px 0;overflow:hidden;padding:0!important}.historical-photo-card .record-photo-strip button{flex:100%;max-width:none}.photo-editor-fixed .editor-fit-actions{flex:none;gap:6px;display:flex}.editor-fit-actions button{white-space:normal;flex:1;min-height:40px;font-size:14px}.photo-editor-fixed .editor-clipping-notice{background:#fff3d9;border-radius:8px;flex:none;margin:0;padding:7px 10px;font-size:12px;line-height:1.5}.photo-editor-fixed .editor-preview-fixed{flex:1 1 0;gap:6px;min-height:0;overflow:hidden}.photo-editor-fixed .editor-canvas-wrap.editor-preview-large{justify-content:flex-start;align-items:flex-start;overflow:auto}.photo-editor-fixed .editor-canvas-wrap.editor-preview-large canvas{flex:none;touch-action:pan-y!important;width:100%!important;height:auto!important;max-height:none!important}.photo-import-form{gap:18px;margin-top:18px;display:grid}.photo-import-item{background:#fff;border:1px solid #d7e0dc;border-radius:12px;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:12px;padding:14px;display:grid}.photo-import-item img{object-fit:contain;background:#edf0eb;width:90px;height:140px}.photo-import-item .field{font-size:14px;margin:0 0 12px!important}.photo-import-item input,.photo-import-item select{font-size:16px}.photo-import-file-name{overflow-wrap:anywhere;color:#6b7978;font-size:12px}.photo-import-item .success{font-size:14px}.studio-dialog.photo-editor-dialog[data-slot=dialog-content]{gap:6px;height:98dvh;max-height:98dvh;width:min(1200px,100vw - 16px)!important;max-width:none!important;padding:12px!important}.photo-editor-dialog>[data-slot=dialog-title]{flex:none;min-height:26px;padding-right:42px;line-height:1.4}.photo-editor-dialog>[data-slot=dialog-description]{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.photo-editor-dialog>[data-slot=dialog-close]{top:max(6px,env(safe-area-inset-top));right:max(6px,env(safe-area-inset-right));place-items:center;width:40px;height:40px;display:grid}.photo-editor-fixed{gap:6px}.photo-editor-fixed .editor-touch-hint{font-size:12px;line-height:1.4}.photo-editor-fixed .editor-basic-controls{border:0;border-top:1px solid #d5e0df;flex:none;min-width:0;margin:0;padding:6px 4px 0}.editor-basic-controls .edit-range{gap:4px;margin:4px 4px 6px;font-size:13px}.editor-basic-controls [data-slot=slider]{min-height:32px}.editor-basic-controls [data-slot=slider-thumb]{width:22px;height:22px}.editor-basic-controls .editor-history{flex-wrap:nowrap;gap:6px;margin:0}.editor-basic-controls .editor-history button{flex:1;min-width:0;min-height:40px;padding:6px;font-size:12px;line-height:1.4}.editor-basic-controls .editor-history svg{width:15px;height:15px}.photo-editor-fixed .editor-settings{border-top:1px solid #d5e0df;flex:none;min-height:40px;max-height:40%;padding:0;overflow:auto}.photo-editor-fixed .editor-settings[open]{flex:0 40%;min-height:90px}.editor-settings>summary{z-index:2;background:var(--background,#fffdf6);cursor:pointer;min-height:40px;padding:10px 8px;font-size:14px;font-weight:600;position:sticky;top:0}.editor-settings fieldset{padding:4px 4px 10px}.photo-editor-fixed .editor-save-fixed .actions button{min-height:44px}.record-photo-strip button.comparison-photo{min-width:0;flex:0 0 100%!important;max-width:none!important}@media (max-width:700px){.studio-dialog.photo-editor-dialog[data-slot=dialog-content]{width:100vw!important;height:100dvh!important;max-height:100dvh!important;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;border-radius:0!important;inset:0!important;transform:translate(0,0)!important}.photo-editor-fixed .editor-photo-targets button,.photo-editor-fixed .editor-fit-actions button{min-height:40px;font-size:13px}.record-timeline>.record-card{width:calc(100% + 12px);max-width:none;margin-left:-6px;margin-right:-6px}.shared-comparison>.shared-comparison-pair.full-body{width:calc(100% + 16px);margin-inline:-8px}}@media (max-height:550px) and (min-width:600px){.photo-editor-fixed{grid-template-rows:auto minmax(40px,1fr) auto auto}.photo-editor-fixed .editor-preview-fixed{grid-row:1/4}.photo-editor-fixed .editor-basic-controls{grid-area:1/2}.photo-editor-fixed .editor-settings{grid-area:2/2}.photo-editor-fixed .editor-save-fixed{grid-area:3/2}.photo-editor-fixed .editor-clipping-notice{grid-area:4/1/auto/-1}.photo-editor-fixed .editor-settings{min-height:0;max-height:none}}
