:root{color:#17211d;background:#f6f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;padding:24px}.workspace,.upload-entry{display:grid;gap:24px;max-width:1180px;margin:0 auto;align-items:start}.workspace{grid-template-columns:minmax(280px,420px) minmax(0,1fr)}.upload-entry{min-height:calc(100vh - 48px);grid-template-columns:minmax(260px,.85fr) minmax(300px,460px);align-items:center}.loading-view{min-height:calc(100vh - 48px);display:grid;place-items:center;color:#5c6c65}.upload-copy p:last-child{max-width:520px;margin:18px 0 0;color:#40544b;font-size:1.08rem;line-height:1.6}.capture-panel,.record-card{border:1px solid #d8ded4;border-radius:8px;background:#fff;box-shadow:0 12px 30px #24332a14}.capture-panel{position:sticky;top:24px;display:grid;gap:18px;padding:22px}.upload-panel{position:static}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.eyebrow{margin:0 0 4px;color:#5d766c;font-size:.78rem;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(2rem,5vw,3.25rem);line-height:.95}h2{margin-bottom:6px;font-size:1.05rem}.count{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#235347;color:#fff;font-weight:800}label{display:grid;gap:8px;color:#31433b;font-weight:700}input,textarea{width:100%;border:1px solid #cbd4ca;border-radius:6px;padding:12px 13px;color:#17211d;background:#fbfcfa}textarea{resize:vertical}input:focus,textarea:focus{outline:3px solid rgb(35 83 71 / 20%);border-color:#235347}.file-drop{min-height:112px;place-items:center;border:1px dashed #91a69d;border-radius:8px;padding:18px;text-align:center;background:#f8faf7}.file-drop input{position:absolute;width:1px;height:1px;opacity:0}.file-drop span{color:#235347}.file-drop small,.record-body small,time,.status{color:#667970;font-size:.88rem}.preview{width:100%;max-height:260px;object-fit:cover;border-radius:8px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary,.ghost,.danger{min-height:44px;border-radius:6px;border:1px solid transparent;padding:10px 14px;font-weight:800}.primary{background:#235347;color:#fff}.ghost{border-color:#cbd4ca;background:#fff;color:#235347}.danger{width:fit-content;border-color:#ead1cc;background:#fff6f4;color:#9a3424}.status{min-height:1.4em;margin:0}.records{display:grid;gap:16px}.record-card{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);overflow:hidden}.record-card>img{width:100%;height:100%;min-height:210px;object-fit:cover;background:#e8eee9}.record-body{display:grid;gap:14px;align-content:start;padding:18px}.record-body p{margin-bottom:0;color:#2e3e37;white-space:pre-wrap}@media(max-width:820px){.app-shell{padding:14px}.workspace,.upload-entry{grid-template-columns:1fr}.upload-entry{min-height:auto}.capture-panel{position:static}}@media(max-width:560px){.actions,.record-card{grid-template-columns:1fr}.record-card>img{max-height:300px}}.restore-button.svelte-dtls9u{margin-top:1rem}button.svelte-dtls9u{padding:.55rem 1rem;border:1px solid #005b9e;background:#005b9e;color:#fff;border-radius:6px;cursor:pointer}button.svelte-dtls9u:disabled{opacity:.65;cursor:not-allowed}.error.svelte-dtls9u{margin-top:.5rem;color:#a00;font-size:.95rem}.admin-page.svelte-108n9vk{max-width:600px;margin:2rem auto;padding:0 1rem}.back-btn.svelte-108n9vk{background:none;border:none;color:#235347;cursor:pointer;font-size:.9rem;margin-bottom:1rem;display:block;padding:0}.back-btn.svelte-108n9vk:hover{text-decoration:underline}h2.svelte-108n9vk{margin-top:0}.section.svelte-108n9vk{margin-top:1.75rem;padding-top:1.75rem;border-top:1px solid #d8ded4}.section.svelte-108n9vk:first-of-type{border-top:none;margin-top:0;padding-top:0}h3.svelte-108n9vk{margin-top:0;color:#235347}.meta-list.svelte-108n9vk{margin:0 0 1rem;display:flex;flex-direction:column;gap:.4rem}.meta-row.svelte-108n9vk{display:flex;gap:.5rem;font-size:.9rem}.meta-row.svelte-108n9vk dt:where(.svelte-108n9vk){flex-shrink:0;min-width:9rem;color:#667970;font-weight:700}.meta-row.svelte-108n9vk dd:where(.svelte-108n9vk){margin:0;color:#17211d;word-break:break-word}.meta-form.svelte-108n9vk{display:flex;flex-direction:column;gap:.85rem}.field.svelte-108n9vk{display:grid;gap:.3rem;font-size:.9rem;color:#31433b;font-weight:600}.field.svelte-108n9vk input:where(.svelte-108n9vk){width:100%;min-height:40px;border:1px solid #cbd4ca;border-radius:6px;padding:0 12px;color:#17211d;background:#fbfcfa;font:inherit;font-weight:400;box-sizing:border-box}.field.svelte-108n9vk input:where(.svelte-108n9vk):focus{border-color:#235347;outline:3px solid rgb(35 83 71 / 20%)}.form-actions.svelte-108n9vk{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.25rem}.btn.svelte-108n9vk{padding:.45rem 1rem;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.btn--primary.svelte-108n9vk{border:1px solid #235347;background:#235347;color:#fff}.btn--primary.svelte-108n9vk:hover:not(:disabled),.btn--primary.svelte-108n9vk:focus-visible:not(:disabled){background:#1a3f35;outline:none}.btn--primary.svelte-108n9vk:disabled{opacity:.65;cursor:not-allowed}.btn--secondary.svelte-108n9vk{border:1px solid #235347;background:transparent;color:#235347}.btn--secondary.svelte-108n9vk:hover:not(:disabled),.btn--secondary.svelte-108n9vk:focus-visible:not(:disabled){background:#e4efe6;outline:none}.empty-hint.svelte-108n9vk{background:#fff8e1;border-left:4px solid #f59e0b;padding:.75rem 1rem;border-radius:0 6px 6px 0;color:#78350f;margin-top:1.25rem;font-size:.9rem}.no-meta-hint.svelte-108n9vk{color:#667970;font-size:.9rem;margin-bottom:.75rem}.save-error.svelte-108n9vk{color:#a00;font-size:.9rem;margin:0}.editor-backdrop.svelte-1phb74d{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#00000073;display:flex;align-items:center;justify-content:center;padding:1rem}.editor-panel.svelte-1phb74d{background:#fff;border-radius:12px;box-shadow:0 20px 60px #00000040;width:100%;max-width:480px;max-height:90dvh;display:flex;flex-direction:column;overflow:hidden}.editor-header.svelte-1phb74d{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e4ece4;flex-shrink:0}.editor-header.svelte-1phb74d h2:where(.svelte-1phb74d){margin:0;font-size:1.1rem;font-weight:800;color:#17211d}.close-btn.svelte-1phb74d{width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:#667970;font-size:1.6rem;line-height:1;cursor:pointer;display:grid;place-items:center}.close-btn.svelte-1phb74d:hover,.close-btn.svelte-1phb74d:focus-visible{background:#f0f7f4;color:#235347;outline:none}.editor-form.svelte-1phb74d{padding:1.25rem;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.field-group.svelte-1phb74d{display:grid;gap:.35rem}.field-group.svelte-1phb74d label:where(.svelte-1phb74d){font-size:.85rem;font-weight:700;color:#31433b}.field-group.svelte-1phb74d input:where(.svelte-1phb74d){min-height:44px;border:1px solid #cbd4ca;border-radius:6px;padding:0 12px;font:inherit;font-size:.95rem;color:#17211d;background:#fbfcfa}.field-group.svelte-1phb74d input:where(.svelte-1phb74d):focus{border-color:#235347;outline:3px solid rgb(35 83 71 / 20%)}.error.svelte-1phb74d{color:#b91c1c;font-size:.875rem;margin:0}.section-divider.svelte-1phb74d{border:none;border-top:1px solid #e4ece4;margin:.25rem 0}.section-label.svelte-1phb74d{margin:0;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#667970}.editor-actions.svelte-1phb74d{display:flex;gap:.75rem;justify-content:flex-end;padding-top:.5rem}.btn-cancel.svelte-1phb74d,.btn-save.svelte-1phb74d{min-height:40px;padding:0 1.25rem;border-radius:6px;font:inherit;font-weight:700;cursor:pointer}.btn-cancel.svelte-1phb74d{border:1px solid #cbd4ca;background:#fff;color:#40544b}.btn-cancel.svelte-1phb74d:hover:not(:disabled),.btn-cancel.svelte-1phb74d:focus-visible:not(:disabled){background:#f0f7f4;outline:none}.btn-save.svelte-1phb74d{border:0;background:#235347;color:#fff}.btn-save.svelte-1phb74d:hover:not(:disabled),.btn-save.svelte-1phb74d:focus-visible:not(:disabled){background:#1a3f35;outline:2px solid rgb(35 83 71 / 40%);outline-offset:2px}.btn-cancel.svelte-1phb74d:disabled,.btn-save.svelte-1phb74d:disabled{opacity:.6;cursor:not-allowed}.backup-button.svelte-1romc6q{display:contents}button.svelte-1romc6q{padding:.4rem .9rem;border:1px solid #235347;background:#235347;color:#fff;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}button.svelte-1romc6q:hover,button.svelte-1romc6q:focus-visible{background:#1a3f35;outline:none}button.svelte-1romc6q:disabled{opacity:.65;cursor:not-allowed}.error.svelte-1romc6q{margin-top:.5rem;color:#a00;font-size:.95rem}.wrap.svelte-182jhp8{max-width:1100px;margin:1rem auto}.toolbar.svelte-182jhp8{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1.25rem}.filter-field.svelte-182jhp8{flex:1;min-width:14rem;display:grid;gap:.35rem;color:#31433b;font-weight:700}.filter-field.svelte-182jhp8 input:where(.svelte-182jhp8){width:100%;min-height:44px;border:1px solid #cbd4ca;border-radius:6px;padding:0 13px;color:#17211d;background:#fbfcfa;font:inherit;font-weight:400}.filter-field.svelte-182jhp8 input:where(.svelte-182jhp8):focus{border-color:#235347;outline:3px solid rgb(35 83 71 / 20%)}.sort-chips.svelte-182jhp8{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.chip.svelte-182jhp8{display:inline-flex;align-items:center;gap:.25rem;padding:0 .75rem;min-height:34px;border:1px solid #b8c9b8;border-radius:99px;background:#f2f7f2;color:#40544b;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.chip.svelte-182jhp8:hover,.chip.svelte-182jhp8:focus-visible{border-color:#235347;background:#e4efe6;color:#235347;outline:none}.chip--active.svelte-182jhp8{border-color:#235347;background:#235347;color:#fff}.chip--active.svelte-182jhp8:hover,.chip--active.svelte-182jhp8:focus-visible{background:#1a3f35;color:#fff}.chip-arrow.svelte-182jhp8{font-size:.85rem}.status-chips.svelte-182jhp8{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;flex-basis:100%}.chip--outdated.svelte-182jhp8{border-color:#a16207;background:#fef9c3;color:#a16207}.chip--outdated.svelte-182jhp8:hover,.chip--outdated.svelte-182jhp8:focus-visible{background:#fde68a;outline:none}.chip--outdated.chip--active.svelte-182jhp8{background:#a16207;border-color:#a16207;color:#fff}.chip--outdated.chip--active.svelte-182jhp8:hover,.chip--outdated.chip--active.svelte-182jhp8:focus-visible{background:#78350f}.chip--current.svelte-182jhp8{border-color:#235347;background:#f0f7f4;color:#235347}.chip--current.svelte-182jhp8:hover,.chip--current.svelte-182jhp8:focus-visible{background:#e4efe6;outline:none}.chip--current.chip--active.svelte-182jhp8{background:#235347;border-color:#235347;color:#fff}.chip--current.chip--active.svelte-182jhp8:hover,.chip--current.chip--active.svelte-182jhp8:focus-visible{background:#1a3f35}.chip--all.svelte-182jhp8{border-color:#b8c9b8;background:#fff;color:#40544b}.chip--all.svelte-182jhp8:hover,.chip--all.svelte-182jhp8:focus-visible{background:#f2f7f2;outline:none}.chip--all.chip--active.svelte-182jhp8{background:#40544b;border-color:#40544b;color:#fff}.chip--all.chip--active.svelte-182jhp8:hover,.chip--all.chip--active.svelte-182jhp8:focus-visible{background:#31433b}.result-count.svelte-182jhp8{min-width:4.5rem;min-height:34px;display:grid;align-items:center;color:#667970;font-weight:700;text-align:right;white-space:nowrap;font-size:.9rem}.header-actions.svelte-182jhp8{display:flex;align-items:center;gap:.5rem;margin-left:auto}.backup-date.svelte-182jhp8{color:#667970;font-size:.8rem;white-space:nowrap}.empty-hint.svelte-182jhp8,.truncate-hint.svelte-182jhp8{text-align:center;padding:1rem;color:#667970;font-size:.9rem}.empty-hint.svelte-182jhp8{padding:3rem 1rem}.card-grid.svelte-182jhp8{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:1rem}.card.svelte-182jhp8{position:relative;background:#fff;border:1px solid #d8ded4;border-radius:10px;padding:0;box-shadow:0 4px 16px #23534712;display:flex;flex-direction:row;align-items:stretch;transition:box-shadow .18s,border-color .18s;overflow:hidden}.card.svelte-182jhp8:hover{border-color:#235347;box-shadow:0 8px 28px #23534724}.inspect-btn.svelte-182jhp8{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:52px;align-self:stretch;border:none;border-right:1.5px solid #235347;border-radius:0;background:#f0f7f4;color:#235347;cursor:pointer;padding:0;transition:background .15s,color .15s}.inspect-btn.svelte-182jhp8:hover,.inspect-btn.svelte-182jhp8:focus-visible{background:#235347;color:#fff;outline:none}.inspect-btn--outdated.svelte-182jhp8{background:#fef9c3;border-right-color:#a16207;color:#a16207}.inspect-btn--outdated.svelte-182jhp8:hover,.inspect-btn--outdated.svelte-182jhp8:focus-visible{background:#a16207;color:#fff;outline:none}.card-body.svelte-182jhp8{flex:1;min-width:0;padding:.75rem 1rem;display:flex;flex-direction:column;gap:.5rem}.card-title.svelte-182jhp8{margin:0;font-size:.95rem;font-weight:800;color:#17211d;line-height:1.35;word-break:break-word}.card-details.svelte-182jhp8{margin:0;display:flex;flex-direction:column;gap:.3rem;font-size:.82rem}.detail-row.svelte-182jhp8{display:flex;gap:.4rem;align-items:baseline}.card-details.svelte-182jhp8 dt:where(.svelte-182jhp8){flex-shrink:0;color:#667970;font-weight:700;min-width:7rem}.card-details.svelte-182jhp8 dd:where(.svelte-182jhp8){margin:0;color:#31433b;word-break:break-word}@media(max-width:600px){.toolbar.svelte-182jhp8{align-items:stretch;flex-direction:column;gap:.6rem}.filter-field.svelte-182jhp8{min-width:0}.result-count.svelte-182jhp8{text-align:left}.sort-chips.svelte-182jhp8{order:2}}.fab.svelte-182jhp8{position:fixed;bottom:1.75rem;right:1.75rem;z-index:100;width:56px;height:56px;border-radius:50%;border:none;background:#235347;color:#fff;font-size:2rem;line-height:1;display:grid;place-items:center;box-shadow:0 4px 16px #23534759;cursor:pointer;transition:background .15s,box-shadow .15s,transform .1s}.fab.svelte-182jhp8:hover,.fab.svelte-182jhp8:focus-visible{background:#1a3f35;box-shadow:0 6px 24px #2353477f;transform:scale(1.07);outline:none}.fab.svelte-182jhp8:active{transform:scale(.96)}.images-section.svelte-1o27rq0{margin-top:1rem}.image-drop.svelte-1o27rq0{border:2px dashed var(--border, #bbb);padding:1rem;border-radius:8px;text-align:center;cursor:pointer;background:var(--bg, #fff);margin-bottom:.75rem}.image-drop.svelte-1o27rq0:hover,.image-drop.svelte-1o27rq0:focus{border-color:#006c5b}.hint.svelte-1o27rq0{color:#555;font-size:.95rem}.picture-grid.svelte-tqvm9e{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:.5rem}.picture-thumb.svelte-tqvm9e{width:80px;height:80px;padding:0;border:1px solid #eee;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f8f8f8;cursor:pointer}.picture-thumb.svelte-tqvm9e img:where(.svelte-tqvm9e){width:80px;height:80px;object-fit:cover}.picture-thumb.svelte-tqvm9e:hover,.picture-thumb.svelte-tqvm9e:focus-visible{border-color:#006c5b;outline:2px solid #006c5b;outline-offset:2px}.lightbox.svelte-tqvm9e{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:4.5rem;background:#000000e6}.lightbox-image.svelte-tqvm9e{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 1rem 3rem #00000059}.lightbox-close.svelte-tqvm9e,.lightbox-nav.svelte-tqvm9e{position:fixed;border:0;color:#fff;background:#00000073;cursor:pointer;line-height:1}.lightbox-close.svelte-tqvm9e:hover,.lightbox-close.svelte-tqvm9e:focus-visible,.lightbox-nav.svelte-tqvm9e:hover,.lightbox-nav.svelte-tqvm9e:focus-visible{background:#ffffff2e;outline:2px solid #fff;outline-offset:2px}.lightbox-close.svelte-tqvm9e{top:1rem;right:1rem;width:4rem;height:4rem;border-radius:50%;font-size:3.25rem}.lightbox-nav.svelte-tqvm9e{top:50%;width:4rem;height:5rem;border-radius:8px;font-size:4rem;transform:translateY(-50%)}.lightbox-nav-previous.svelte-tqvm9e{left:1rem}.lightbox-nav-next.svelte-tqvm9e{right:1rem}@media(max-width:600px){.lightbox.svelte-tqvm9e{padding:4rem 3.25rem}.lightbox-close.svelte-tqvm9e{width:3.5rem;height:3.5rem;font-size:2.75rem}.lightbox-nav.svelte-tqvm9e{width:3rem;height:4rem;font-size:3.25rem}.lightbox-nav-previous.svelte-tqvm9e{left:.25rem}.lightbox-nav-next.svelte-tqvm9e{right:.25rem}}.device-header.svelte-4ft9ku{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.back.svelte-4ft9ku{border:1px solid #cbd4ca;border-radius:6px;padding:0 14px;min-height:36px;background:#fff;color:#40544b;font:inherit;font-weight:700;cursor:pointer}.back.svelte-4ft9ku:hover,.back.svelte-4ft9ku:focus-visible{background:#f0f7f4;outline:none}.edit-btn.svelte-4ft9ku{display:inline-flex;align-items:center;gap:.4rem;min-height:36px;padding:0 14px;border:1px solid #235347;border-radius:6px;background:#fff;color:#235347;font:inherit;font-weight:700;cursor:pointer}.edit-btn.svelte-4ft9ku:hover,.edit-btn.svelte-4ft9ku:focus-visible{background:#f0f7f4;outline:none}dl.svelte-4ft9ku div:where(.svelte-4ft9ku){display:flex;gap:.5rem}dt.svelte-4ft9ku{font-weight:600}table.svelte-4ft9ku{width:100%;border-collapse:collapse;margin-top:.5rem}th.svelte-4ft9ku,td.svelte-4ft9ku{border:1px solid #eee;padding:.35rem}.splash.svelte-1lnmc29{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#235347;display:flex;align-items:center;justify-content:center}h1.svelte-1lnmc29{color:#fff;font-size:clamp(2rem,8vw,4rem);font-weight:700;letter-spacing:.05em;margin:0;text-align:center;font-family:inherit}main.svelte-1v6mg1i{padding:1rem;max-width:900px;margin:0 auto}.app-header.svelte-1v6mg1i{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.app-header.svelte-1v6mg1i h1:where(.svelte-1v6mg1i){margin:0}.admin-btn.svelte-1v6mg1i{padding:.4rem .9rem;border:1px solid #235347;border-radius:6px;background:transparent;color:#235347;font:inherit;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.admin-btn.svelte-1v6mg1i:hover,.admin-btn.svelte-1v6mg1i:focus-visible{background:#235347;color:#fff;outline:none}.loading.svelte-1v6mg1i{text-align:center;padding:3rem;color:#667970}
