@font-face{font-family:FotoUI;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;background:#f5f4ee;color:#183c38;font-family:FotoUI,system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{min-height:48px;padding:12px 20px;border-radius:12px;border:1px solid #ccd5cd;background:#fff;color:#183c38;font-weight:650;cursor:pointer}button:hover{filter:brightness(.96)}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #da832d;outline-offset:3px}.primary{background:#153f3a;color:#fff;border-color:#153f3a}.danger{color:#9c3026;border-color:#d2a8a3}.quiet{border:0;background:transparent}.shell{max-width:1200px;margin:auto;padding:0 40px 110px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:26px 0;border-bottom:1px solid #d9ded4}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#153f3a;color:#fff;letter-spacing:0}.status-pill{font-size:13px;max-width:50%;text-align:right}.small{font-size:13px;color:#5e736b}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:#64786b;margin:35px 0 8px}h1{font-size:clamp(32px,5vw,48px);letter-spacing:-1.5px;line-height:1.1;margin:0 0 15px}h2{font-size:23px;letter-spacing:-.5px;margin:0 0 14px}h3{margin:0;font-size:18px}.lede{color:#5a7067;max-width:650px;font-size:17px;margin:0 0 25px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0}.search{flex:1;min-width:200px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}input,select{min-height:48px;border:1px solid #bdcbbf;border-radius:10px;padding:12px;background:#fff;color:#183c38;max-width:100%}.field{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:14px;font-weight:600}.field input,.field select{width:100%}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.card{padding:24px;border:1px solid #d9dfd3;border-radius:18px;background:#fff;min-width:0}.folder-card{display:flex;flex-direction:column;gap:10px;text-align:left;min-height:190px;align-items:flex-start}.folder-card h3{overflow-wrap:anywhere}.folder-glyph{color:#ae6b2f;font-size:30px;line-height:1;margin-bottom:14px}.badge{font-size:11px;text-transform:uppercase;letter-spacing:1px;border:1px solid #ccd8c9;padding:3px 7px;border-radius:5px;display:inline-block}.empty{padding:60px 25px;text-align:center;border:1px dashed #bdc9b7;border-radius:22px;background:#eeefe5}.empty p{max-width:420px;margin:12px auto 22px;color:#5b6e61}.notice,.error,.success{padding:14px 18px;border-radius:12px;font-size:14px;margin:18px 0;white-space:pre-line;overflow-wrap:anywhere}.notice{background:#ecebdc;color:#59603e}.error{background:#f9e4df;color:#8f3028}.success{background:#dfeddf;color:#255935}.navigation{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;gap:6px;background:#fff;padding:7px;box-shadow:0 8px 40px #243a2520;border:1px solid #dde2d6;border-radius:18px;z-index:20}.navigation button{border:0;background:transparent;font-size:14px;padding:12px 22px}.navigation button.active{background:#e8eee3}.camera-frame{background:#112721;border-radius:20px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;min-height:240px}video{display:block;max-width:100%;max-height:65vh;width:100%;object-fit:contain}.camera-frame img{width:100%}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.photo-card{padding:0;border-radius:14px;overflow:hidden;background:#fff;border:1px solid #d9dfd3}.photo-card img{width:100%;height:150px;object-fit:cover;display:block}.photo-card button{display:block;width:100%;border:0;border-radius:0;font-size:13px;padding:10px}.photo-card label{display:flex;align-items:center;gap:8px;padding:8px;font-size:12px}.photo-card input{min-height:24px}.detail-image{width:100%;max-height:65vh;object-fit:contain;background:#e1e5dc;border-radius:12px}.zoomed{max-height:none;min-width:100%;width:auto}.detail-viewport{overflow:auto}.data-list{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:8px;font-size:14px;overflow-wrap:anywhere}.data-list dt{color:#687c6e}.data-list dd{margin:0}.section{margin:30px 0}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:18px}.progress{white-space:pre-line;margin:15px 0}.import-preview{max-height:250px;max-width:100%;display:block;margin:10px auto}.seed-row{padding:13px 0;border-bottom:1px solid #e0e4da;overflow-wrap:anywhere}.seed-row select{width:100%;margin-top:6px}dialog{border:1px solid #d6ddcf;border-radius:20px;padding:28px;width:min(92vw,520px);color:#183c38;box-shadow:0 25px 100px #153f3a44}dialog::backdrop{background:#10292388}.test-note{font-size:12px;color:#746952;margin:24px 0}.footer-line{display:flex;justify-content:space-between;gap:10px;margin:25px 0;color:#778474;font-size:12px}a{color:#19665c}hr{border:0;border-top:1px solid #d9dfd3;margin:25px 0}.hidden{display:none}@media(max-width:600px){.shell{padding:0 20px 120px}.topbar{padding:19px 0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.folder-card{padding:18px 14px;min-height:165px}.navigation{width:calc(100% - 32px);justify-content:space-between;gap:0}.navigation button{padding:10px 12px;font-size:13px}.card{padding:20px}.data-list{grid-template-columns:1fr}.data-list dd{margin-bottom:7px}.settings-grid{display:block}.settings-grid .card{margin:15px 0}.toolbar .primary{width:100%}.status-pill{font-size:11px}.brand{font-size:22px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,filter .15s}}.project-notes{margin-block:1.25rem}.project-notes h2{margin-top:0}.project-notes summary{cursor:pointer;padding:.8rem 0;font-weight:650}.project-note{padding:.75rem 0;border-top:1px solid #aac2b8}.project-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0}.project-transfer .actions{margin:.75rem 0}.project-notes [role=status]:empty{display:none}.folder-picker{position:relative;max-width:760px;margin:24px 0;min-width:0}.folder-picker-label{display:block;font-weight:650;margin-bottom:8px}.folder-picker-control{display:flex;align-items:stretch;gap:0;border:1px solid #bdcbbf;border-radius:12px;background:#fff;min-width:0}.folder-picker-input{width:100%;min-width:0;flex:1;border:0;border-radius:12px 0 0 12px;padding:13px 12px;min-height:52px;background:transparent}.folder-picker-toggle,.folder-picker-clear{flex:0 0 48px;min-width:48px;min-height:52px;padding:6px;border:0;border-radius:10px;background:transparent;font-size:24px}.folder-picker-toggle{border-left:1px solid #e0e5da}.folder-picker-popup{margin-top:6px;border:1px solid #bdcbbf;border-radius:12px;background:#fff;box-shadow:0 8px 22px #183c3812;overflow:hidden}.folder-picker-list{max-height:21rem;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-gutter:stable}.folder-picker-option{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:2px;align-items:center;min-height:54px;padding:12px 14px;border-bottom:1px solid #e4e8df;cursor:pointer;touch-action:pan-y}.folder-picker-option:last-child{border-bottom:0}.folder-picker-option[aria-selected=true]{background:#e0ece2;box-shadow:inset 4px 0 #19665c}.folder-picker-name{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.45;min-width:0}.folder-picker-photo-count{font-size:.8125em;color:#51695c;white-space:nowrap}.folder-picker-recent{grid-column:1 / -1;font-size:.75em;color:#526e59}.folder-picker-count{margin:0;border-top:1px solid #e4e8df;padding:7px 14px;font-size:.8125em;color:#526959}.folder-picker-empty{margin:0;padding:18px 14px}.folder-picker-create{margin-top:12px;max-width:100%;white-space:normal}.folder-picker-error{background:#f9e4df;color:#8f3028;padding:12px 14px;border-radius:10px;white-space:pre-line}.folder-picker [hidden]{display:none!important}@media(hover:hover){.folder-picker-option:hover{background:#eef2e9}}@media(max-width:420px){.folder-picker-option{column-gap:8px;padding:12px}.folder-picker-photo-count{font-size:.75em}.folder-picker-create{width:100%}.folder-picker-input{padding-left:10px}}@media(forced-colors:active){.folder-picker-option[aria-selected=true]{outline:2px solid Highlight;outline-offset:-2px}.folder-picker-control,.folder-picker-popup{border:1px solid CanvasText}}.has-camera-stamp-preview{position:relative}.camera-stamp-preview{position:absolute;display:block;pointer-events:none;z-index:1;max-width:none;max-height:none;margin:0;padding:0;border:0;transform:none}h1{overflow-wrap:anywhere}.folder-actions{margin:0 0 16px}.photo-grid{margin-top:20px}.folder-management{margin-top:28px;border-top:1px solid #d9dfd3;padding-top:16px}summary{cursor:pointer;min-height:48px;padding:12px 4px;font-weight:650}.archive-list{display:grid;gap:10px;margin:24px 0}.archive-list button{text-align:left;overflow-wrap:anywhere}.license-card{margin-top:18px}.license-text{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.55 ui-monospace,monospace;max-height:60vh;overflow:auto}.license-card a{display:inline-flex;align-items:center;min-height:48px}.status-pill[data-state=ready]{color:#255935}.status-pill[data-state=error]{color:#8f3028}button[hidden]{display:none}.camera-mode{height:100dvh;display:flex;flex-direction:column;padding-bottom:max(8px,env(safe-area-inset-bottom))}.camera-mode .topbar{padding:8px 0;flex:none}.camera-mode .brand{font-size:19px}.camera-mode .brand-mark{width:32px;height:32px}.camera-mode .status-pill{max-height:3em;overflow:auto;font-size:11px}.camera-mode>div[role=status]:empty{display:none}.camera-mode>div[role=status]{flex:none;max-height:15dvh;overflow:auto}.camera-mode>div[role=status] .notice,.camera-mode>div[role=status] .error,.camera-mode>div[role=status] .success{margin:5px 0;padding:5px}.camera-mode main{min-height:0;flex:1;display:flex;flex-direction:column;gap:6px}.camera-mode .eyebrow{display:none}.camera-mode h1{font-size:clamp(16px,2.6vw,24px);line-height:1.25;letter-spacing:0;margin:6px 0;max-height:3.75em;overflow:auto;flex:none}.camera-mode .camera-frame{min-height:60px;flex:1;border-radius:12px}.camera-mode video{width:100%;height:100%;max-height:none;object-fit:contain;transform:none}.camera-mode .camera-actions{flex:none;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}.camera-mode .camera-actions button{padding:6px 10px}.camera-mode .camera-actions button:nth-child(3){grid-column:1/-1}.camera-mode .camera-status{flex:none;margin:0;padding:4px 8px;max-height:4.5em;overflow:auto;font-size:13px}.camera-mode .navigation{display:none}@media(max-width:600px){.camera-mode{padding-left:12px;padding-right:12px}.camera-mode .camera-actions button{font-size:.9em}.folder-actions>*{flex:1 1 140px}.license-text{font-size:13px}}@media(orientation:landscape)and (max-height:550px){.camera-mode .topbar{display:none}.camera-mode main{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,30%);grid-template-rows:auto minmax(60px,1fr) auto;gap:6px}.camera-mode h1{grid-column:1/-1;margin:4px 0;font-size:16px;max-height:2.5em}.camera-mode .camera-frame{grid-column:1;grid-row:2/4}.camera-mode .camera-actions{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-self:center}.camera-mode .camera-actions button{font-size:.85em}.camera-mode .camera-status{grid-column:2;grid-row:3;max-height:4em;font-size:11px}}@media(max-height:350px){.camera-mode{height:auto;min-height:100dvh}.camera-mode .camera-frame{min-height:100px}.camera-mode .camera-actions{position:sticky;bottom:0;background:#f5f4ee}}.page-navigation{display:flex;align-items:center;margin:18px 0 0;flex:none}.page-navigation button{min-width:44px;min-height:48px}.shell:not(.camera-mode){padding-bottom:calc(130px + var(--keyboard-inset,0px))}.navigation{bottom:calc(max(18px,env(safe-area-inset-bottom)) + var(--keyboard-inset,0px));max-width:calc(100vw - 24px)}.navigation button{min-width:44px;min-height:48px;overflow-wrap:anywhere}.photo-card label{min-height:44px}.shell.camera-mode .page-navigation{margin:0}.shell.camera-mode .page-navigation button{padding:6px 12px}.shell.camera-mode main{overflow:auto}dialog{top:calc(16px + var(--visual-top,0px));bottom:calc(16px + var(--keyboard-inset,0px));max-height:calc(var(--visual-height,100dvh) - 32px);margin:auto;overflow:auto}dialog .actions{position:sticky;bottom:-28px;padding:12px 0;background:#fff}dialog .actions button{min-width:44px;min-height:48px}@media(max-width:600px){.navigation button{flex:1;min-width:0;padding:10px 6px}.page-navigation{margin-top:12px}}@media(orientation:landscape)and (max-height:550px){.shell.camera-mode main{grid-template-rows:auto auto minmax(60px,1fr) auto}.shell.camera-mode .page-navigation{grid-column:1/-1;grid-row:1}.shell.camera-mode h1{grid-row:2}.shell.camera-mode .camera-frame{grid-row:3/5}.shell.camera-mode .camera-actions{grid-row:3}.shell.camera-mode .camera-status{grid-row:4}}.compact-app-status{text-align:right;min-width:0}.app-version-hint{display:block;font-size:12px;color:#4e5a50}.update-banner{border:1px solid #698463;border-radius:14px;padding:12px 16px;background:#edf3e8;margin:4px 0 20px}.update-banner[hidden]{display:none}.update-banner p{margin:0 0 8px}.app-version-card p{overflow-wrap:anywhere}.active-version{font-weight:650}.camera-mode .update-banner{display:none}.photo-comment-editor{margin-top:20px;scroll-margin-top:16px}.photo-comment-editor textarea{width:100%;min-height:10em;resize:vertical;max-width:100%;font:inherit;font-size:1rem;line-height:1.5;padding:12px;border:1px solid #bdcbbf;border-radius:10px;background:#fff;color:#183c38;overflow-wrap:anywhere}.photo-comment-editor textarea:focus-visible{outline:3px solid #da832d;outline-offset:3px}.photo-comment-editor textarea[aria-invalid=true]{border-color:#9c3026}.comment-count{margin:0;text-align:right}.comment-preview-container{width:100%;min-width:0}.comment-preview{display:block;max-width:100%;max-height:65dvh;width:auto;height:auto;margin:16px auto;border-radius:12px;background:#e1e5dc;object-fit:contain}.comment-preview[hidden]{display:none}.comment-status{margin-top:14px;overflow-wrap:anywhere}.comment-actions{position:sticky;bottom:calc(90px + var(--keyboard-inset,0px));padding:10px 0;background:#fff;z-index:2}.comment-actions button{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.photo-comment-editor{padding:16px}.comment-actions{position:static}.comment-actions button{flex-basis:100%}}
