:root{--accent:#1d4ed8;--on-accent:#fff;--bg:#f6f7f9;--surface:#fff;--text:#111827;--muted:#4b5563;--border:#d1d5db;--danger:#b91c1c;--danger-bg:#fef2f2;--ok:#15803d;--warn:#b45309;--focus:#f59e0b;--radius:12px;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Noto Sans Bengali,Arial,sans-serif;font-size:16px;line-height:1.5}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);margin:0;padding:0}.app{min-height:100vh;max-width:40rem;min-height:100dvh;padding:0 16px env(safe-area-inset-bottom);flex-direction:column;margin:0 auto;display:flex}.app-header{border-bottom:1px solid var(--border);padding:12px 0}.header-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.brand{align-items:center;gap:8px;min-height:32px;display:flex}.brand-name{font-size:1.05rem;font-weight:700}.brand-logo{width:auto;max-height:40px}.locale{align-items:center;gap:8px;font-size:.9rem;display:flex}.locale select{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;min-height:44px;padding:6px 8px}.app-main{outline:none;flex:1;padding:16px 0 24px}.app-footer{border-top:1px solid var(--border);color:var(--muted);padding:12px 0 16px;font-size:.875rem}.app-footer p{margin:4px 0}.powered{font-weight:600}.screen h1{outline:none;margin:0 0 12px;font-size:1.4rem;line-height:1.25}.lead{margin:0 0 16px;font-size:1.05rem}.note,.meta{color:var(--muted);margin:8px 0;font-size:.925rem}.steps{margin:0 0 12px;padding-left:1.4rem}.steps li{margin-bottom:8px}.consent{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:flex-start;gap:12px;margin:16px 0 8px;padding:12px;display:flex}.consent input{width:24px;height:24px;accent-color:var(--accent);flex:none;margin:2px 0 0}.legal a,.app-footer a{color:var(--accent);text-underline-offset:2px}.field-error{color:var(--danger);min-height:1.5em;margin:4px 0;font-weight:600}.alert{color:var(--danger);background:var(--danger-bg);border:1px solid var(--danger);border-radius:8px;padding:10px 12px;font-weight:600}.actions{flex-direction:column;gap:10px;margin-top:16px;display:flex}.btn{font:inherit;border:2px solid var(--accent);cursor:pointer;border-radius:10px;width:100%;min-height:48px;padding:12px 16px;font-weight:600}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-secondary{background:var(--surface);color:var(--accent)}.btn:disabled{opacity:.55;cursor:not-allowed}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.stage{aspect-ratio:16/9;border-radius:var(--radius);background:#000;width:100%;position:relative;overflow:hidden}.preview{object-fit:contain;background:#000;width:100%;height:100%;display:block}.guide{pointer-events:none;border:3px dashed #fff;border-radius:14px;width:86%;height:80%;position:absolute;top:10%;left:7%;box-shadow:0 0 0 9999px #00000059}.guide[data-state=ok]{border:4px solid #4ade80}.guide[data-state=glare],.guide[data-state=tooDark],.guide[data-state=motion],.guide[data-state=lowDetail],.guide[data-state=tooFar],.guide[data-state=tooClose]{border-color:#fbbf24}.guidance{background:var(--surface);border:2px solid var(--border);border-radius:10px;align-items:center;gap:10px;min-height:3.2em;margin:12px 0 4px;padding:10px 12px;font-weight:600;display:flex}.guidance[data-code=ok]{border-color:var(--ok)}.guidance-symbol{border:2px solid;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.75em;height:1.75em;font-weight:800;display:inline-flex}.status{min-height:1.5em;font-weight:600}.review-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0 0 16px;padding:8px}.review-media{object-fit:contain;background:#000;border-radius:8px;width:100%;height:auto;max-height:60vh;display:block}.review-item figcaption{color:var(--muted);margin-top:6px;font-size:.9rem}progress{width:100%;height:16px;accent-color:var(--accent)}.spinner{border:4px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:40px;height:40px;margin:8px 0 16px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (min-width:640px){.actions{flex-direction:row}.btn{width:auto;min-width:12rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}.spinner{border-top-color:var(--border);border-left-color:var(--accent);animation:none}}
