.page-scan-guide-area[hidden],.capture-readiness[hidden],#btnCapture[hidden],#btnSavePhoto[hidden]{display:none}.camera-light-hint:empty{display:none}.page-scan-guide-area{position:absolute;top:1rem;right:1rem;bottom:1rem;left:1rem;pointer-events:none;z-index:1}.page-scan-guide{position:absolute;pointer-events:none}.page-scan-guide span{position:absolute;width:28px;height:28px;border:solid #bfdbfe;filter:drop-shadow(0 1px 2px #0f172a)}.page-scan-guide span:nth-child(1){border-width:3px 0 0 3px;left:-2px;top:-2px}.page-scan-guide span:nth-child(2){border-width:3px 3px 0 0;right:-2px;top:-2px}.page-scan-guide span:nth-child(3){border-width:0 0 3px 3px;left:-2px;bottom:-2px}.page-scan-guide span:nth-child(4){border-width:0 3px 3px 0;right:-2px;bottom:-2px}.capture-readiness{width:100%;height:.35rem;accent-color:#60a5fa}.photo-scan-progress{margin:.65rem 0;min-width:0}.photo-scan-progress[hidden]{display:none}.photo-scan-progress p{margin:.2rem 0;overflow-wrap:anywhere}.photo-scan-progress .photo-scan-step{font-weight:600}.photo-scan-progress .photo-scan-timing{font-size:.85rem;font-variant-numeric:tabular-nums}.photo-scan-progress progress{display:block;width:100%;max-width:24rem;height:.4rem;margin-top:.45rem}.camera-capture-notice{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:max-content;max-width:min(24rem,calc(100% - 2rem));pointer-events:none}.camera-capture-notice:not(:empty){margin:0;padding:.7rem 1rem;border-radius:.75rem;background:#0f172a;color:#fff;font:700 clamp(1rem,3.5vw,1.25rem)/1.35 system-ui,sans-serif;text-align:center}.camera-capture-notice[data-hide-guide]~.page-scan-guide-area{visibility:hidden}@media (prefers-reduced-motion: reduce){.photo-scan-progress progress{visibility:hidden}}button[data-light-discoverable=true]{position:relative}button[data-light-discoverable=true]:before,button[data-light-discoverable=true]:after{content:"";position:absolute;width:.5rem;height:.5rem;pointer-events:none;background:#fde68a;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0;animation:camera-light-sparkle 3.6s ease-in-out 1}button[data-light-discoverable=true]:before{top:.15rem;right:.45rem}button[data-light-discoverable=true]:after{bottom:.15rem;left:.45rem;width:.35rem;height:.35rem;animation-delay:.45s}@keyframes camera-light-sparkle{0%,40%,to{opacity:0;transform:scale(.6) rotate(-15deg)}18%,65%{opacity:.95;transform:scale(1) rotate(15deg)}}@media (prefers-reduced-motion: reduce){button[data-light-discoverable=true]:before,button[data-light-discoverable=true]:after{animation:none;opacity:.65}}.photo-check{margin:1.5rem auto;padding:1.25rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033;max-width:780px;text-align:left;white-space:normal}.photo-result{scroll-margin-block-start:.25rem}.photo-review-header{display:flex;align-items:center;flex-wrap:wrap;gap:.15rem .75rem;padding:.25rem 0;border-bottom:1px solid #cbd5e1;background:#fff}.photo-check .photo-review-header h3{flex:1 1 12rem;font-size:1.05rem;line-height:1.3;margin:.15rem 0}.photo-review-header h3 .photo-note{font-size:.84rem}.page-check-list{display:flex;flex-wrap:wrap;gap:.25rem;max-width:100%}.photo-check .page-check-status{width:auto;min-width:44px;padding:.22rem .55rem;background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem}.photo-check .page-check-status[aria-pressed=true]{background:#213c60;color:#fff;border-color:#213c60}.photo-check .sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.page-state-mark:not(:empty){margin-left:.3em;font-weight:700}.photo-check .page-check-status.matches:not([aria-pressed=true]) .page-state-mark{color:#166534}.photo-check .page-check-status.differences:not([aria-pressed=true]) .page-state-mark{color:#9a3412}.photo-finding-controls,.photo-view-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .6rem;margin-top:.45rem}.photo-finding-steps{display:flex;flex:1 1 12rem;gap:.5rem}.photo-finding-steps button{flex:1}.photo-check :is(.photo-finding-controls,.photo-overview-header,.page-check-list) button{margin:0}.photo-check .photo-overview-link{background:#f1f5f9;color:#213c60}.photo-finding-heading{font-size:1rem;margin:.75rem 0 .5rem}.photo-differences>ol{list-style:none;padding:0;margin:0}.photo-check .photo-differences>ol>li{margin:0;padding:.75rem;border:1px solid #fecdd3;border-radius:8px;line-height:1.5}.photo-full-page{margin-top:1rem;border-top:1px solid #cbd5e1}.photo-overview-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding:.75rem 0}.photo-overview-header h4{font-size:1rem;margin:0}.photo-check .photo-view-tools label{font-size:.83rem}.photo-check .photo-view-tools select{min-height:44px;padding:.2rem}.difference-crop{display:block;width:100%;height:auto;max-height:14rem;margin-top:.6rem;background:#fff;border:1px solid #cbd5e1}.difference-visuals{display:grid;grid-template-columns:minmax(0,min(40%,10rem)) minmax(0,1fr);align-items:center;gap:.6rem;margin-top:.6rem}.difference-visuals figure{min-width:0;margin:0}.difference-visuals figcaption{margin-top:.25rem;color:#475569;font-size:.875rem;line-height:1.3}.difference-visuals .difference-crop{margin-top:0}.difference-visuals.with-reference{align-items:start;margin-top:0}.with-reference .difference-detail{grid-column:1 / -1}.review-sealed-text{min-width:0;align-self:center}.review-sealed-text .review-wording>strong{display:block;margin-bottom:.3rem}.photo-check .review-decisions .review-choice{margin:0}.review-machine-reading{margin-top:.65rem;border-top:1px solid #cbd5e1}.difference-thumbnail{display:block;width:100%;height:auto;max-height:14rem;background:#fff;border:1px solid #94a3b8}.difference-location-halo,.difference-location-mark{vector-effect:non-scaling-stroke}.difference-location-halo{fill:none;stroke:#fff;stroke-width:6px}.difference-location-mark{stroke-width:3px}.difference-location-mark.different{fill:#ef444435;stroke:#b91c1c}.difference-location-mark.uncertain{fill:#f59e0b40;stroke:#a16207}.difference-location-mark.matched{fill:#16a34a25;stroke:#15803d}.page-camera-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172ae6;z-index:100;padding:1rem;overflow:auto}.page-camera{max-width:600px;margin:auto;padding:1rem;background:#fff;border-radius:12px}.page-camera video{width:100%;max-height:60dvh;object-fit:contain;background:#0f172a}.verification-actions{display:flex;justify-content:flex-end}.verification-actions button{min-height:44px;padding:.6rem 1rem;font:inherit;border:1px solid #94a3b8;border-radius:8px;background:#f1f5f9;color:#172033;cursor:pointer}.verification-details summary{cursor:pointer;min-height:44px;padding:.7rem 0}.photo-check button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.photo-check h2{font-size:1.25rem;margin:0 0 .75rem}.photo-check h3{margin:1rem 0 .5rem}.photo-check p{line-height:1.5;margin:.7rem 0}.photo-check label{display:block;margin:.7rem 0 .3rem;font-weight:600}.photo-check select,.photo-check input[type=file]{box-sizing:border-box;width:100%;min-height:44px;padding:.5rem;border:1px solid #94a3b8;border-radius:5px;background:#fff;color:#172033;font:inherit}.photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:.75rem 0}.photo-check .photo-actions button{margin:0;font-size:.9rem}.photo-check .photo-actions select{width:auto}.photo-check button{margin:0;min-height:44px;padding:.6rem .8rem;background:#334155;color:#fff;border:0;border-radius:6px;font:inherit;cursor:pointer}.photo-check summary{min-height:44px;padding:.7rem 0;cursor:pointer}.photo-check button:disabled{opacity:.5;cursor:default}.photo-check .photo-inline{display:inline-flex;align-items:center;gap:.4rem;margin:0;font-size:.9rem}.photo-check .photo-inline input,.photo-check .photo-inline select{width:auto}.photo-note{color:#475569;font-size:.9rem}.photo-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem}.photo-summary{font-weight:700;border-left:5px solid #b45309;padding:.6rem;background:#fef3c7}.photo-summary.matches{border-color:#15803d;background:#dcfce7}.photo-legend{display:flex;flex-wrap:wrap;gap:.2rem .8rem;padding:0;margin:.35rem 0;list-style:none;font-size:.83rem}.photo-legend li{padding-left:.5rem;border-left:6px solid}.photo-legend .matched{border-color:#15803d}.photo-legend .different{border-color:#dc2626}.photo-legend .uncertain{border-color:#d97706}.photo-scroll{overflow:hidden;border:1px solid #94a3b8;border-radius:6px;background:#e2e8f0}.photo-scroll.zoomed{overflow:auto;max-height:52vh;max-height:52svh}.photo-stage{position:relative;margin-inline:auto;width:min(100%,calc(44vh * var(--photo-ratio, .75)));width:min(100%,calc(44svh * var(--photo-ratio, .75)))}.zoomed .photo-stage{width:calc(100% * var(--photo-zoom))}.photo-word.current-finding{stroke-width:3px}.photo-word.missing-region{stroke-dasharray:3 2}.photo-stage img{display:block;width:100%;height:auto}.photo-stage svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.photo-word{stroke-width:1.5px;vector-effect:non-scaling-stroke;pointer-events:all;cursor:pointer}.photo-word.matched{fill:#16a34a25;stroke:#15803d}.photo-word.different{fill:#ef444435;stroke:#dc2626}.photo-word.uncertain{fill:#f59e0b40;stroke:#b45309;stroke-dasharray:3 2}.photo-word:focus{stroke:#172033;stroke-width:3px;outline:none}.photo-selected{padding:.75rem;background:#f1f5f9;overflow-wrap:anywhere}.photo-differences details ol{padding-left:1.5rem}.photo-differences li{margin:.5rem 0;padding:.5rem;background:#fff1f2;overflow-wrap:anywhere}.photo-typography li{background:#fffbeb}.evidence-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.evidence-comparison figure{margin:0;min-width:0}.evidence-comparison figcaption{font-weight:600;margin:.5rem 0}.evidence-reference{position:relative;display:grid;place-items:center;background:#fff;border:1px solid #94a3b8}.evidence-reference canvas{width:100%;height:100%;image-rendering:pixelated}.evidence-reference svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.evidence-reference rect{fill:#f59e0b45;stroke:#b45309;stroke-width:2px;vector-effect:non-scaling-stroke}.evidence-photo{width:100%;height:auto;border:1px solid #94a3b8}@media (max-width: 520px){.evidence-comparison{gap:.5rem}.evidence-comparison figcaption{font-size:.85rem}}@media (max-width: 600px){.photo-check{padding:.75rem}.verification-card .photo-check{margin:1rem 0;padding:0;border:0;border-radius:0}.photo-review-header{gap:.35rem}.photo-check .photo-review-header h3{flex-basis:100%}.page-check-list{width:100%}.photo-check .page-check-status{flex:1}.photo-check .photo-view-tools label,.photo-legend,.photo-review-header h3 .photo-note{font-size:.875rem}}.photo-check .photo-summary{font-size:.9rem;padding:.4rem .55rem;margin:.5rem 0}.photo-result>.photo-summary{box-sizing:border-box;min-height:calc(3em + .8rem)}.review-status-label{font-weight:600}.review-progress{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.review-progress>span{color:#475569;font-size:.8rem;white-space:nowrap}.photo-finding-heading{scroll-margin-top:.6rem}.photo-check .review-reading{background:#fffcf4;border-color:#e3c988}.photo-check .review-reading.matches{background:#f5fbf6;border-color:#86b398}.photo-check .review-reading.differs{background:#fff4f4;border-color:#cf7777}.photo-check .review-reason{color:#72520f;font-size:.8rem;font-weight:700;margin:0 0 .35rem}.review-wording{font-size:1rem}.review-text,.review-reference{white-space:pre-wrap;overflow-wrap:anywhere}.text-change{background:#ffe29a;color:#172033;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.15em}.review-context{margin-top:.2rem;font-size:.875rem}.photo-check .review-context summary{padding:.4rem 0;min-height:44px;box-sizing:border-box}.photo-check .review-context p{margin:.3rem 0}.review-rereads{font-size:.875rem;padding:.3rem 0}.photo-check .review-image-button{position:relative;display:block;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.review-enlarge-mark{position:absolute;right:1px;bottom:1px;width:1.1rem;line-height:1.1rem;background:#fff;color:#213c60;font-size:1rem;border:1px solid #94a3b8}.photo-legend li{border:0;padding-left:0}.photo-check .page-state-mark:not(:empty){display:block;margin-left:0;font-size:.75rem}.review-image-button svg{box-sizing:border-box}.review-image-button:hover svg,.review-image-button:focus-visible svg{outline:2px solid #2563eb}.difference-visuals .photo-word{pointer-events:none}.review-decisions{min-width:0;padding:0;margin:.65rem 0 0;border:0}.review-decisions legend{font-size:.85rem;font-weight:700;padding:0 0 .35rem}.review-decisions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.photo-check .review-choice{min-height:54px;padding:.45rem .25rem;border:2px solid #a8b2be;background:#fff;color:#172033;font-size:.875rem;font-weight:600;line-height:1.3}.photo-check .review-choice.matches{border-color:#166534}.photo-check .review-choice.differs{border-color:#991b1b}.photo-check .review-choice[aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}.photo-check .review-choice.matches[aria-pressed=true]{background:#dcfce7;border-color:#166534;color:#14532d}.photo-check .review-choice.differs[aria-pressed=true]{background:#fee2e2;border-color:#991b1b;color:#7f1d1d}.photo-check .review-choice.unsure[aria-pressed=true]{background:#fef3c7;border-color:#854d0e;color:#713f12}.photo-finding-controls{position:sticky;bottom:0;z-index:2;padding:.4rem 0 max(.4rem,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0}.review-secondary-actions{display:flex;justify-content:space-between;gap:.4rem;width:100%}.photo-check .review-secondary-actions button{padding:.25rem .4rem;font-size:.85rem;background:#fff;text-decoration:underline;text-underline-offset:.15em}.review-summary-status{font-weight:700}.review-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.review-totals>div{padding:.6rem;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc}.review-totals dt{color:#475569;font-size:.85rem}.review-totals dd{font-size:1.35rem;font-weight:700;margin:.2rem 0 0}.review-page-results{list-style:none;padding:0}.review-page-results li{margin-top:.5rem}.photo-check .review-page-results button{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:.2rem;text-align:left;background:#f1f5f9;color:#213c60}.review-page-results span{font-size:.85rem}.reading-viewer{width:min(54rem,calc(100% - 2rem));max-width:none;max-height:calc(100dvh - 2rem);padding:.75rem;box-sizing:border-box;color:#172033;border:1px solid #94a3b8;border-radius:10px;background:#fff}.reading-viewer::backdrop{background:#0f172acf}.reading-viewer-header,.reading-viewer-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.photo-check .reading-viewer-header h3{margin:.25rem 0;font-size:1rem}.photo-check .reading-viewer-header button{font-size:.875rem}.reading-viewer-tools{justify-content:flex-start;padding:.5rem 0}.photo-check .reading-viewer-tools label{display:inline-flex;align-items:center;gap:.3rem;margin:0;font-size:.875rem}.image-zoom{display:flex;align-items:center;gap:.3rem;font-size:.875rem}.photo-check .image-zoom button{min-width:44px;min-height:44px;padding:.4rem .55rem;font-size:.875rem;font-weight:600;border:2px solid #94a3b8;background:#fff;color:#213c60}.photo-check .image-zoom button[aria-pressed=true]{background:#213c60;border-color:#213c60;color:#fff}.review-add-page{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.photo-check .review-add-page button{flex:1 1 8rem;background:#f1f5f9;color:#213c60;border:1px solid #94a3b8;font-size:.875rem}.reading-viewer-scroll{overflow:auto;max-height:60svh;background:#e2e8f0;overscroll-behavior:contain}.reading-viewer-scroll svg{display:block;height:auto;max-width:none;margin:auto}.reading-viewer-scroll .photo-word{pointer-events:none}.photo-check .reading-viewer>p{margin:.5rem 0 0}@media (max-width: 600px){.photo-check .photo-differences>ol>li{padding:.6rem}.photo-check .photo-review-header h3{font-size:1rem}.photo-check .photo-review-header h3 .photo-note{font-size:.8rem}.reading-viewer{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem)}}.pdf-seal-input{margin:1rem 0}.pdf-seal-input label{display:block;margin-bottom:.5rem;font-weight:600}.pdf-seal-input input{display:block;box-sizing:border-box;max-width:100%;color:inherit}.pdf-seal-input p{font-size:.9rem;line-height:1.5}
