#photo-tool [hidden]{display:none!important}#photo-tool .photo-steps{color:var(--muted);flex-wrap:wrap;gap:.5rem 1rem;padding:0;font-size:.85rem;list-style:none;display:flex}#photo-tool .photo-upload{text-align:center;border:2px dashed var(--line);background:var(--paper);border-radius:18px;padding:20px;position:relative}#photo-tool #photo-files{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;top:0;left:0;overflow:hidden}#photo-tool .photo-upload h2{margin:0 0 8px}#photo-tool .photo-upload .btn{min-width:150px}#photo-tool .photo-upload.is-dragover{border-color:var(--green);background:var(--green-soft)}#photo-tool #photo-append-field{text-align:left;margin-top:12px}#photo-tool #photo-status{overflow-wrap:anywhere;margin:14px 0}#photo-tool .photo-summary{flex-wrap:wrap;gap:8px 18px;padding:12px 0;display:flex}#photo-tool .photo-summary strong{color:var(--green);font-variant-numeric:tabular-nums}#photo-tool .photo-filters{gap:6px}#photo-tool [aria-pressed=true]{border:2px solid var(--green);background:var(--green-soft);font-weight:700}#photo-tool .photo-workbench{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:24px;margin-top:18px;display:grid}#photo-tool .photo-workbench>*,#photo-tool .photo-preview-pane{min-width:0}#photo-tool h2[id],#photo-tool h3[id]{scroll-margin-top:100px}#photo-tool .photo-current-name{overflow-wrap:anywhere;font-size:.9rem;font-weight:600}#photo-tool .photo-selection{grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:8px;margin-bottom:12px;display:grid}#photo-tool .photo-selection .field{min-width:0;margin:0}#photo-tool input:not([type=checkbox]):not([type=file]),#photo-tool select{box-sizing:border-box;min-width:0;max-width:100%}#photo-tool button:not(#photo-drag),#photo-tool select{min-height:44px}#photo-tool .photo-list{scroll-snap-type:x proximity;align-items:flex-start;gap:8px;max-width:100%;max-height:360px;padding:3px 3px 10px;display:flex;overflow-x:auto}#photo-tool .photo-row{scroll-snap-align:start;flex:0 0 150px;grid-template-columns:minmax(0,1fr);align-content:start;gap:4px;min-width:0;display:grid}#photo-tool .photo-row .photo-pick{text-align:left;width:100%;min-width:0;padding:8px;font-size:.75rem;display:block}#photo-tool .photo-pick img{object-fit:contain;border-radius:5px;flex-basis:auto;width:100%;height:56px;margin-bottom:6px}#photo-tool .photo-pick>span{gap:3px;min-width:0;display:grid}#photo-tool .photo-file-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#photo-tool .photo-pick small{overflow-wrap:anywhere;font-size:.68rem;line-height:1.4}#photo-tool .photo-pick small:last-child{max-height:3em;overflow:auto}#photo-tool .photo-date-badge{font-weight:700}#photo-tool .photo-row[data-photo-state=attention] .photo-date-badge{color:#a24716}#photo-tool .photo-stage{width:fit-content;max-width:100%;margin:16px auto;position:relative}#photo-tool #photo-preview{width:auto;max-width:100%;height:auto;max-height:48vh;margin:0;display:block}#photo-tool #photo-drag{border:2px dashed var(--ink);cursor:move;touch-action:none;background:0 0;border-radius:4px;min-width:0;min-height:0;padding:0;position:absolute;box-shadow:0 0 0 1px #fff}#photo-tool #photo-drag:focus-visible{outline-offset:3px;outline:3px solid #207bba}#photo-tool .photo-empty{text-align:center;border:1px dashed var(--line);background:var(--paper);border-radius:12px;padding:14px 10px}#photo-tool .photo-source{background:var(--paper);overflow-wrap:anywhere;border-radius:12px;padding:12px}#photo-tool .photo-source p{margin:6px 0}#photo-tool #photo-progress{width:100%;accent-color:var(--green)}#photo-tool #photo-results{overflow-wrap:anywhere;max-height:24rem;overflow:auto}#photo-tool #photo-shift-comparison{overflow-wrap:anywhere;max-height:12rem;padding-left:1.3rem;overflow:auto}#photo-tool fieldset{border:1px solid var(--line);border-radius:12px;min-width:0;padding:12px}#photo-tool details{border-top:1px solid var(--line);min-width:0;margin-top:14px;padding-top:10px}#photo-tool summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600}#photo-tool .photo-upload details{border:0;margin-top:6px;padding:0}#photo-tool .photo-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}#photo-tool .photo-presets button{text-align:center;align-content:start;gap:5px;min-width:0;padding:7px;font-size:.8rem;display:grid}#photo-tool .photo-style-image{color:#fff;background:#50483e;border-radius:6px;justify-content:center;align-items:center;min-width:0;height:55px;font-size:.7rem;display:flex;overflow:hidden}#photo-tool .photo-style-image img{object-fit:contain;width:100%;height:100%}#photo-tool [data-photo-style-state]{font-size:.68rem}#photo-tool .photo-presets>small{grid-column:1/-1}#photo-tool .local-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#photo-tool .photo-download-buttons{flex-wrap:wrap;gap:8px;display:flex}#photo-tool #photo-output{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}#photo-tool #photo-output[data-batch=true] #photo-zip,#photo-tool #photo-output[data-batch=false] #photo-download{flex:100%;order:-1}#photo-tool #photo-output .btn.secondary{flex:120px}#photo-tool .photo-danger{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}#photo-tool .photo-error{color:#a24716;overflow-wrap:anywhere;font-weight:600}#photo-tool #photo-back-preview{width:100%;margin-top:20px}@media (width<=800px){#photo-tool .photo-workbench{grid-template-columns:minmax(0,1fr)}#photo-tool .actions>button{flex:120px}#photo-tool .photo-upload{padding:16px 10px}#photo-tool #photo-preview{max-height:52vh}}@media (width<=430px){#photo-tool .local-grid{grid-template-columns:minmax(0,1fr)}#photo-tool .photo-row{flex-basis:136px}#photo-tool .photo-steps{gap:.4rem .6rem;font-size:.75rem}#photo-tool .photo-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}#photo-tool .photo-filters .btn{min-width:0;padding-inline:6px;font-size:.8rem}#photo-tool .photo-summary{gap:6px 12px;font-size:.83rem}}.photo-scenarios{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:1rem 0;display:grid}.photo-scenarios button{white-space:normal;flex-direction:column;min-width:0;padding:.6rem;display:flex}.photo-scenarios [aria-pressed=true]{outline:2px solid var(--primary,var(--primary));outline-offset:-2px}.photo-scenario-thumb{color:#fff;box-sizing:border-box;background:#ded5c9;justify-content:end;align-items:end;width:100%;height:48px;padding:4px;display:flex}.photo-scenario-thumb span{background:#50483e;font-size:.65rem}[data-photo-scenario=retro] .photo-scenario-thumb span{color:#ffb347}#photo-p2{min-width:0}#photo-p2 details{margin-top:1rem}#photo-p2 input,#photo-p2 select,#photo-p2 textarea{max-width:100%;min-height:44px}#photo-p2 fieldset{min-width:0;margin:1rem 0}#photo-p2 button{white-space:normal;overflow-wrap:anywhere;min-height:44px}#photo-saved-list article{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}#photo-saved-list strong{overflow-wrap:anywhere;width:100%}.photo-report-checks{flex-wrap:wrap;gap:.5rem;display:flex}.photo-report-layout{aspect-ratio:210/297;box-sizing:border-box;background:#e9e7df;gap:4px;max-width:220px;padding:8px;display:grid}.photo-report-layout span{border:1px dashed var(--ink);color:var(--ink);background:#fff;place-items:center;font-size:.8rem;display:grid}#photo-report-preview{background:#fff;max-width:100%;height:auto}#photo-camera-dialog{box-sizing:border-box;background:var(--card-bg,#fffdf6);width:min(700px,100vw - 24px);max-width:calc(100vw - 24px);max-height:90dvh;color:var(--text,var(--ink));border:1px solid #ccc;border-radius:16px;padding:16px;overflow:auto}#photo-camera-dialog::backdrop{background:#0009}.photo-camera-stage{background:#2e2a24;max-height:50dvh;position:relative;overflow:hidden}#photo-camera-video{object-fit:contain;width:100%;max-height:50dvh;display:block}#photo-camera-overlay{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#photo-camera-dialog button{white-space:normal;min-height:44px}#photo-tool .photo-source-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:0 0 .75rem;display:grid}#photo-tool .photo-source-counts>div{border:1px solid var(--line);border-radius:10px;min-width:0;padding:.6rem}#photo-tool .photo-source-counts dt{overflow-wrap:anywhere;color:var(--muted);font-size:.75rem}#photo-tool .photo-source-counts dd{font-variant-numeric:tabular-nums;margin:.25rem 0 0}#photo-tool .photo-source-counts strong{color:var(--green)}#photo-tool #photo-source-summary{margin-top:0}#photo-tool .photo-workspace-nav{margin-top:.5rem}#photo-tool .photo-steps li{border:1px solid var(--line);background:var(--paper);border-radius:10px;flex:1;padding:.6rem}#photo-tool button:focus-visible,#photo-tool summary:focus-visible{outline-offset:3px;outline:3px solid #207bba}@media (width<=800px){#photo-tool .photo-source-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){#photo-tool .photo-steps{grid-template-columns:1fr;display:grid}#photo-tool .photo-steps li{padding:.4rem .6rem}}@media (prefers-reduced-motion:reduce){#photo-tool *{scroll-behavior:auto}}#photo-tool #photo-naming-preview{overflow-wrap:anywhere;padding-inline-start:1.5rem}#photo-tool #photo-position-scope .checkbox,#photo-tool #photo-preferences-panel .checkbox{align-items:center;min-height:44px}
