:root{color-scheme:light;--green:#123f35;--deep:#0c2924;--gold:#e8c982;--ink:#182e29;--muted:#576c64;--line:#dae3de;--paper:#f4f7f5;font-family:Arial,"Noto Sans Hebrew",sans-serif;font-size:16px;line-height:1.6;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b28026;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.85rem,4vw,3rem);line-height:1.2;letter-spacing:-.025em;margin:.4rem 0 .6rem}h2{font-size:1.6rem;line-height:1.35}h3{font-size:1.05rem}small{font-size:.875rem}.topbar{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 40px;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{display:grid;place-items:center;border:1px solid var(--green);border-radius:50%;width:44px;height:44px;font-size:1.8rem}.brand strong{display:block;font-size:1.25rem;line-height:1.3}.brand small{color:var(--muted)}.app-label{font-size:.9rem;color:var(--muted)}main{max-width:1160px;padding:32px 24px 20px;margin:auto}.intro>p{color:var(--muted);font-size:1.125rem}.eyebrow{font-size:.875rem;font-weight:700;color:var(--muted)}.steps{display:flex;padding:0;list-style:none;max-width:670px;margin:28px 0;gap:8px}.steps li{flex:1;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.95rem;border-bottom:2px solid var(--line);padding-bottom:12px}.steps li>span{border-radius:50%;width:27px;height:27px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--line);font-size:.875rem}.steps li[aria-current]{color:var(--green);border-color:var(--green);font-weight:700}.steps li[aria-current]>span,.steps li.done>span{background:var(--green);color:white;border-color:var(--green)}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);align-items:start;gap:32px}.capture-panel,.review-panel{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 8px 24px #143d3305;min-width:0}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.side-badge{font-size:.875rem;color:var(--green);background:#eaf1ed;border:1px solid #cedcd3;padding:5px 12px;border-radius:50px;white-space:nowrap}.viewfinder{background:var(--deep);border-radius:12px;overflow:hidden;position:relative;aspect-ratio:4/3;color:#fff;display:grid;place-items:center}.idle{text-align:center;padding:20px}.idle>svg{color:var(--gold);margin-bottom:8px}.idle h3{font-size:1.35rem}.idle p{color:#c7d7ce;margin:8px 0 20px}.idle small{display:block;color:#b8ccc0;margin-top:12px}.button{border:1px solid transparent;border-radius:9px;padding:12px 20px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:48px;line-height:1.5;text-align:center}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#205449}.idle .primary{background:var(--gold);color:var(--deep)}.idle .primary:hover{background:#f4d99c}.secondary{background:white;border-color:#c8d8cf;color:var(--green)}.secondary:hover{background:#f2f6f3}.text-button{padding:8px 4px;border:0;background:none;color:var(--green);font-size:.95rem;text-decoration:underline;text-underline-offset:4px}.fallback{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px;flex-wrap:wrap;color:#9caaa3}.hint{font-size:.875rem;color:var(--muted);margin-top:12px}.status{color:#704614;font-size:.95rem;margin-top:10px}.status:empty{display:none}video,#shot{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.camera-guide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:16px;pointer-events:none}.guide-label,.guide-bottom{font-size:.875rem;background:#0b1c18c9;padding:4px 10px;border-radius:5px;text-align:center}.guide-ring{border:2px dashed var(--gold);width:58%;height:40%;border-radius:50%}.capture-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.capture-actions>.primary{flex:1}.review-question{margin-top:18px;font-size:1rem}.zoom{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:16px;direction:rtl}.zoom input{flex:1;min-width:40px;accent-color:var(--green)}.zoom output{min-width:3rem;font-variant-numeric:tabular-nums}.guide-panel{padding:12px 0 0}.guide-panel h2{margin:8px 0 26px;font-size:1.7rem}.tips{list-style:none;padding:0;margin:0}.tips li{display:flex;gap:16px;padding:20px 0;border-top:1px solid var(--line)}.tip-number{font-size:.875rem;color:#4d6d60;font-variant-numeric:tabular-nums;padding-top:3px}.tips p{font-size:1rem;color:var(--muted);margin-top:4px}.privacy{display:flex;align-items:start;gap:10px;background:#e8eeea;padding:16px;border-radius:10px;margin-top:12px;font-size:.875rem}.privacy svg{flex-shrink:0;margin-top:3px}.privacy strong{color:var(--green)}.help-link{display:inline-block;margin-top:20px;font-size:.95rem;text-underline-offset:4px}.review-panel>p{color:var(--muted);margin:8px 0 20px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.photo-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.photo-button{display:block;border:0;padding:0;width:100%;background:var(--deep);aspect-ratio:4/3}.photo-button img{width:100%;height:100%;object-fit:contain}.photo-caption{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:8px 12px;flex-wrap:wrap}.photo-caption .text-button{font-size:.875rem}.download{display:block;padding:8px 12px 14px;color:var(--green);text-underline-offset:4px;font-size:.95rem}.review-check{display:flex;align-items:flex-start;gap:10px;background:var(--paper);padding:15px;border-radius:10px;margin:24px 0 16px}.review-check input{width:21px;height:21px;flex-shrink:0;margin:3px 0;accent-color:var(--green)}.review-check label{font-size:.95rem;cursor:pointer}.wide{width:100%}.contact-box{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.contact-box p{font-size:.95rem;color:var(--muted);margin:6px 0 16px}.reset{display:block;margin:18px auto 0;font-size:.875rem;color:var(--muted)}footer{margin-top:32px;font-size:.875rem;text-align:center;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;padding:16px;max-width:min(1000px,94vw);max-height:94dvh;overflow:auto}dialog::backdrop{background:#071c16dd}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}dialog img{display:block;max-width:100%;max-height:75dvh;object-fit:contain;margin:auto}body.camera-active .viewfinder{min-height:250px}@media(max-width:760px){.topbar{padding:16px 20px}.app-label{font-size:.875rem;max-width:95px}main{padding:24px 16px 18px}.intro>p{font-size:1rem}.workspace{grid-template-columns:1fr;gap:24px}.steps{margin:24px 0 20px}.steps li{font-size:.875rem;gap:6px}.capture-panel,.review-panel{padding:18px;border-radius:15px}.guide-panel{padding:8px}.guide-panel h2{font-size:1.5rem}.guide-panel h2 br{display:none}.guide-panel h2{margin-bottom:18px}.panel-top h2{font-size:1.4rem}.viewfinder{aspect-ratio:auto;min-height:330px}.idle h3{font-size:1.15rem}.idle{padding:20px 12px}.idle p{font-size:1rem}.camera-active .viewfinder{aspect-ratio:3/4;min-height:0}.capture-actions .button{font-size:1rem;padding:12px 16px}.photo-grid{gap:10px}.photo-caption{padding:8px}.photo-caption>strong{font-size:1rem}.photo-caption .text-button{font-size:.875rem}.tips li{padding:16px 0}.contact-box .button{width:100%}}@media(max-width:360px){.capture-panel,.review-panel{padding:12px}.side-badge{padding:4px 8px}.steps li{flex-wrap:wrap}.photo-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){.button{transition:background .15s}}

/* Rear-camera preview and exports keep the original orientation. */
#video{transform:none}
.camera-guide .guide-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);flex-shrink:0}
.viewfinder.eye-result{aspect-ratio:8/5;min-height:0}
.screen-flash{position:fixed;inset:0;background:#fff;z-index:1000;pointer-events:none}
.screen-flash.soft{background:#888}
.flash-toggle select{font:inherit;color:var(--green);background:#fff;border:1px solid var(--line);border-radius:8px;min-height:44px;max-width:100%;padding:8px}
.exposure-warning{background:#fff5e5;border:1px solid #d8b677;border-radius:10px;padding:12px;margin-top:12px;color:#68430d;font-size:.95rem}
.exposure-warning p{margin-bottom:8px}
.capture-options{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px}
.flash-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.95rem;cursor:pointer}
.flash-toggle input{width:22px;height:22px;accent-color:var(--green);margin:0}
.capture-options .text-button{min-height:44px}
.flash-hint{margin-top:0}
.camera-settings{min-width:0;margin:0;padding:0;border:0}
.camera-settings:disabled{opacity:.65}
.trial-download{padding:8px 0}
#alternate-camera{display:flex;margin:10px auto 0}

/* Keep the live preview and shutter together within the available screen. */
body.camera-active .viewfinder{aspect-ratio:auto;min-height:0;height:min(60vh,520px);height:min(60dvh,520px);scroll-margin-top:12px}
.shutter-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}
.shutter-actions .button{min-height:56px}
.shutter-actions .primary{font-size:1.125rem}

.lighting-tools{margin-top:16px;padding:16px;background:#f2f6f3;border:1px solid var(--line);border-radius:10px}.light-toggle{display:flex;align-items:flex-start;gap:10px}.light-toggle input{width:22px;height:22px;flex-shrink:0;margin:3px 0;accent-color:var(--green)}.light-toggle label{cursor:pointer}.light-toggle label span{display:block;font-size:.875rem;color:var(--muted)}.lighting-tools>.button{margin-top:12px}.closeup-tools{margin-top:12px;border:1px solid var(--line);border-radius:10px;padding:12px 16px}.closeup-tools summary{cursor:pointer;font-weight:700}.closeup-tools input[type=range]{width:100%;accent-color:var(--green);margin:12px 0}#focus-control{margin-top:12px}#focus-control label{font-size:.95rem}.screen-light-active,.screen-light-active .capture-panel{background:#fff}.screen-light-active .viewfinder{background:#fff;border:1px solid #dee5e1}.screen-light-active #video{inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);border-radius:8px}.screen-light-active .camera-guide{inset:18px;padding:8px}.screen-light-active .guide-label,.screen-light-active .guide-bottom{font-size:.875rem}

.auto-option,.share-originals{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f0f5f2;border-radius:9px;margin-bottom:16px}.auto-option input,.share-originals input{width:21px;height:21px;flex-shrink:0;margin:3px 0;accent-color:var(--green)}.auto-option label,.share-originals label{cursor:pointer;font-size:.95rem}.auto-option label span{display:block;font-size:.875rem;color:var(--muted)}#processed-choice{margin-top:16px;margin-bottom:8px}.version-label{font-size:.875rem;color:var(--muted);padding:0 12px 12px}.original-download{padding-top:0;font-size:.875rem}.share-originals{margin:0 0 16px}.capture-panel[aria-busy=true] #shot{opacity:.6}

.timer-option{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:.95rem}.timer-option input{width:21px;height:21px;flex-shrink:0;accent-color:var(--green);margin:3px 0}.countdown{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);background:#0c2924de;color:#fff;border-radius:14px;padding:12px 28px;font-size:2.5rem;pointer-events:none}.frame-callout{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:14px;padding:13px 15px;background:#fff6b8;border:2px solid #e2bd26;border-radius:11px;color:#183c2e;text-align:right;box-shadow:0 2px 0 #d7af1726;cursor:pointer}.frame-callout:focus-visible{outline:3px solid #0c6753;outline-offset:3px}.frame-callout:hover{background:#fff1a0}.frame-callout-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#e9c43a;color:#17392d;font-size:1.45rem;font-weight:700;line-height:1}.frame-callout strong,.frame-callout small{display:block}.frame-callout strong{font-size:1.08rem}.frame-callout small{margin-top:2px;font-size:.86rem;color:#35564b}#crop-dialog{width:min(640px,94vw)}.crop-surface{position:relative;width:fit-content;margin:16px auto;cursor:crosshair;touch-action:manipulation;outline-offset:4px}#crop-image{max-width:100%;max-height:48dvh;width:auto;height:auto;margin:0;user-select:none}#crop-outline{position:absolute;border:2px solid #e8c982;box-shadow:0 0 0 1px #143c2b;pointer-events:none}#crop-dialog label{display:flex;justify-content:space-between;gap:16px}#crop-zoom{width:100%;accent-color:var(--green);margin:12px 0}#crop-dialog>.button{margin-top:18px}

.voice-tools{margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f2f6f3}
.final-crop{display:block;width:calc(100% - 24px);margin:4px 12px 12px;min-height:48px;font-weight:700}
.voice-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.voice-actions label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:1rem}
.voice-actions input{width:22px;height:22px;accent-color:var(--green);margin:0}
.voice-actions .text-button{min-height:44px}
.guide-text{margin:8px 0;font-size:1rem;line-height:1.7}
.voice-tools .hint{margin:6px 0 0;font-size:.875rem}
.closeup-tools h3{font-size:1rem;margin:0 0 8px}
#focus-distance,#zoom{min-height:44px;direction:ltr}

.live-quality{margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f2f6f3}
.quality-row{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.9rem;margin:4px 0}
.live-quality .hint{font-size:.85rem;margin:6px 0 0;line-height:1.5}
#sharpness-meter{display:block;width:100%;height:12px;accent-color:var(--green);direction:ltr}
.exposure-tools{margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
#exposure-control label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}
#exposure-value{font-weight:400;font-size:.9rem}
#exposure{width:100%;min-height:44px;accent-color:var(--green);direction:ltr}
.exposure-labels{display:flex;justify-content:space-between;direction:ltr;font-size:.85rem;color:var(--muted)}
.exposure-labels span{direction:rtl}
.exposure-tools .hint{margin:6px 0;font-size:.9rem}
#exposure-status:empty{display:none}

.detail-tools{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f2f6f3}
.detail-tools label{display:block;font-weight:700;margin-bottom:8px}
.detail-tools select{width:100%;min-height:46px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font:inherit}
.detail-tools .hint{margin:8px 0;font-size:.9rem}
.detail-tools button{width:100%}
.comparison-label{padding:12px;border-radius:8px;background:#fff5df;color:#614919;font-weight:600}

.zoom-presets{display:flex;gap:8px;flex-wrap:wrap;width:100%;direction:ltr}
.zoom-presets button{flex:1;min-width:64px;min-height:44px}
.refocus-button{width:100%;margin-top:8px}

.zoom>label{flex-basis:100%}

#reset-flash{margin:14px 0 4px}
.phone-mode-help{margin:12px 0;font-size:.95rem}
.phone-mode-help summary{cursor:pointer;padding:8px 0;color:var(--green)}

.auto-capture-option{margin:14px 0 12px;padding:12px 14px;border:1px solid #b9d5c5;border-radius:12px;background:#edf6ef;color:var(--green)}
.auto-capture-option label{display:flex;align-items:center;gap:10px;font-weight:700;cursor:pointer}
.auto-capture-option input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--green)}
.auto-capture-option p{margin:6px 32px 2px 0;font-size:.92rem;font-weight:600}
.auto-capture-option small{display:block;margin:0 32px 0 0;color:var(--muted);font-weight:400;line-height:1.4}


/* One camera image; secondary controls stay folded until requested. */
main{max-width:760px}.workspace{grid-template-columns:minmax(0,1fr);gap:16px}.intro h1{font-size:1.85rem}.intro>p{font-size:1rem}.steps{margin:18px 0}.guide-panel{padding:12px 16px;border:1px solid var(--line);border-radius:10px}.guide-panel>summary,.advanced-options>summary{cursor:pointer;font-weight:700;min-height:44px;padding:8px 0}.advanced-options{margin-top:12px;border-top:1px solid var(--line);padding-top:4px}.advanced-options .auto-option,.advanced-options .detail-tools,.advanced-options .exposure-tools,.advanced-options .live-quality{border:0;background:none;padding:8px 0;margin:4px 0}.zoom>label{flex-basis:auto}.zoom>output{margin-inline-start:auto}.zoom>input{width:100%}.zoom-presets button[aria-pressed=true]{background:var(--green);color:#fff}.refocus-button{margin-top:10px}.review-question{margin-top:12px}#focus-distance{width:100%;accent-color:var(--green)}
#crop-surface{position:relative;width:fit-content;max-width:100%;overflow:hidden;background:var(--deep);border:0;border-radius:8px;cursor:crosshair;touch-action:none;direction:ltr}#crop-surface:active{cursor:grabbing}#crop-image{position:static;display:block;max-width:100%;max-height:48dvh;width:auto;height:auto;object-fit:contain;margin:0;pointer-events:none;user-select:none}#crop-outline{border:2px solid var(--gold);box-shadow:0 0 0 1px var(--deep),0 0 0 9999px #0005;border-radius:3px}#crop-dialog{width:min(640px,94vw)}

/* Supplied brand mark replaces the temporary letter icon. */
.brand-mark{display:block;width:52px;height:52px;flex:0 0 52px;object-fit:cover;border-color:var(--gold);background:#000}
@media(max-width:760px){.brand-mark{width:46px;height:46px;flex-basis:46px}}

/* Tight, natural iris close-up at the top of the photography flow. */
.eye-banner{max-width:760px;height:160px;margin:16px auto 0;padding:0 24px;overflow:hidden}
.eye-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:16px;border:1px solid #d7dfda;box-shadow:0 8px 24px #143d3312}
.eye-banner+main{padding-top:22px}
@media(max-width:760px){.eye-banner{height:104px;margin-top:12px;padding:0 16px}.eye-banner img{border-radius:12px}.eye-banner+main{padding-top:16px}}
.copyright{display:block;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:.78rem;line-height:1.55;color:#6c7d76}

/* Short tutorial stays folded so the camera remains the primary action. */
.video-guide{margin:18px 0 6px;border:1px solid #cbdad2;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 20px #143d330a}
.video-guide>summary{min-height:68px;display:flex;align-items:center;gap:12px;padding:11px 14px;cursor:pointer;list-style:none;color:var(--green)}
.video-guide>summary::-webkit-details-marker{display:none}
.video-guide>summary::after{content:"⌄";margin-inline-start:auto;font-size:1.45rem;line-height:1;color:#577269;transition:transform .18s ease}
.video-guide[open]>summary::after{transform:rotate(180deg)}
.video-guide-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:1rem;padding-inline-start:2px}
.video-guide strong,.video-guide small{display:block}
.video-guide strong{font-size:1.05rem;line-height:1.4}
.video-guide small{margin-top:1px;color:var(--muted);font-weight:400}
.video-guide-body{padding:0 14px 14px;border-top:1px solid var(--line)}
.video-guide-body video{position:static;display:block;width:min(100%,360px);height:auto;aspect-ratio:9/16;margin:14px auto 10px;border-radius:14px;background:#061c17;object-fit:contain;box-shadow:0 8px 22px #0c292426}
.video-guide-body p{font-size:.9rem;color:var(--muted);text-align:center}
@media(max-width:480px){.video-guide>summary{min-height:64px;padding:10px 12px}.video-guide-icon{width:38px;height:38px;flex-basis:38px}.video-guide strong{font-size:1rem}.video-guide small{font-size:.82rem}.video-guide-body{padding-inline:10px}}
