/* Intake-inspired camera: one stable frame from live preview to photo review. */
body.field-capturing{overflow:hidden;background:#111}
.field-capturing .appbar,.field-capturing .statusbar{display:none}
.field-capturing main{padding:0;max-width:none}
.field-capture-details .appbar{display:none}
.field-capture-details main{padding-top:16px}
.field-capturing #message:not([hidden]){position:fixed;top:105px;left:12px;right:12px;z-index:50;background:#fff;color:#111}
.capture-camera{position:relative;isolation:isolate;height:100dvh;min-height:360px;max-width:620px;margin:auto;overflow:hidden;background:#151a15;color:#fff}
.capture-view{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.capture-view[hidden]{display:none}
.capture-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#000b,transparent 32%,transparent 46%,#000b 72%,#000f)}
.capture-top{padding:max(18px,env(safe-area-inset-top)) 18px 0;position:relative}
.capture-eyebrow{color:#a6ee98;font-size:10px;letter-spacing:2px;margin:0;min-height:40px}
.capture-top h1{font-size:clamp(26px,7vw,36px);color:white;margin:0;white-space:nowrap;letter-spacing:-.4px}
.capture-done{position:absolute;top:max(12px,env(safe-area-inset-top));right:16px;background:#1119;border:1px solid #fff7;color:white;border-radius:24px;min-height:44px;padding:8px 14px;font-weight:700}
.capture-job{font-size:11px;margin:8px 18px;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 4px #000}
.capture-message{position:absolute;top:35%;left:22px;right:22px;text-align:center;font-size:15px;line-height:1.6;text-shadow:0 1px 6px #000}
.capture-bottom{position:absolute;bottom:0;left:0;right:0;padding:12px 18px max(14px,env(safe-area-inset-bottom));display:grid;gap:8px}
.capture-controls{display:grid;grid-template-columns:1fr 84px 1fr;gap:16px;align-items:center;margin-top:6px}
.capture-controls button,.capture-text{color:#fff;background:transparent;border:0;min-height:44px}
.capture-round{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;min-width:44px;padding:0}
.capture-round svg{width:28px;height:28px}
.capture-controls .capture-shutter{width:76px;height:76px;min-height:76px;border:4px solid white;outline:1px solid #ffffff80;outline-offset:3px;background:#44d62c;border-radius:50%;color:#111;display:grid;place-items:center;justify-self:center;padding:12px}
.capture-shutter svg{width:36px;height:36px;stroke-linecap:round;stroke-linejoin:round}
.capture-next{font-size:16px;font-weight:700;justify-self:end;padding:10px;min-width:60px}
.capture-filmstrip{display:flex;gap:8px;justify-content:center;overflow:auto;scrollbar-width:none}
.capture-thumb{padding:2px;width:48px;height:54px;flex:none;border:2px solid transparent;border-radius:8px;background:#1118}
.capture-thumb[aria-pressed=true]{border-color:#44d62c}.capture-thumb img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.capture-caption{font-size:11px;text-align:center;margin:0;color:#ddd}
.capture-tools{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}
.capture-text{padding:8px;font-size:12px}
.capture-tools .button{background:#1119;border-color:#fff5;color:#fff;font-size:12px;padding:8px 12px;min-height:44px}
.capture-bottom .voice-notes{max-height:80px;overflow:auto}.capture-bottom .voice-notes:empty{display:none}
.capture-bottom .voice-note{background:#111b;color:#fff;padding:6px}.capture-bottom .voice-note small{display:none}.capture-bottom audio{max-width:100%;height:32px}
.capture-camera button:focus-visible{outline:3px solid #44d62c;outline-offset:3px}
.capture-details-page{max-width:650px;margin:auto}.capture-details-page .photo-hero{height:23dvh;min-height:140px;object-fit:contain;background:#161b16;border-radius:16px}
.capture-details-page .photo-thumbnails{justify-content:center}.capture-details-page .photo-actions:empty{display:none}
.capture-details-page .panel{padding:20px;margin-top:18px}.capture-details-page .capture-save{position:sticky;bottom:0;background:#fff;z-index:2;padding:14px 0;margin-bottom:0}
@media(max-height:650px){.capture-top{padding-top:10px}.capture-top h1{font-size:26px}.capture-eyebrow{min-height:48px}.capture-filmstrip{display:none}.capture-bottom{gap:3px;padding-bottom:10px}.capture-controls{margin-top:0}.capture-controls .capture-shutter{height:58px;width:58px;min-height:58px;padding:8px}.capture-tools button{font-size:11px}.capture-job{margin-top:4px}}
@media(prefers-reduced-motion:no-preference){.capture-frozen{animation:photo-settle .16s ease-out}@keyframes photo-settle{from{opacity:.6}to{opacity:1}}}
